You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
397 B
18 lines
397 B
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
|
|
};
|
|
}
|
|
} |