using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Wayne.Lib.StateEngine; using Wayne.Lib.StateEngine.Generic; namespace SinochemInternetPlusApp.EpsTrxCleanup.States { class WaitForWork : TimeoutState { protected override int TimeoutInterval => TimeoutValues.GetValueInMilliSec(TimeoutValues.EpsTrxCleanup.WaitForWork, 30); protected override void HandleNonTimeoutEvent(StateEngineEvent stateEngineEvent, ref Transition transition) { DebugLog("WaitForWork state, should not be here!!!"); } protected override void Timeout(ref Transition transition) { transition = new Transition(this, TransitionType.WorkStarted); } } }