using log4net; namespace Service.Execute.Step; public class ExceptionState : IState { private static readonly ILog _log = LogManager.GetLogger(typeof(ExceptionState)); public StateResult Handle(SwappingStateMachine machine) { _log.Info($"'goto cancel"); return new StateResult() { SwappingState = SwappingState.StationReady }; } }