public MotorBaseState(MotorSignalTranslator st, MotorStateManager sm) : base(st, sm) { motorStateManager = sm; settings = (MotorSignalSettings)motorStateManager.Settings; _minBlockDelay = TimeSpan.FromMilliseconds(settings.StateDelayConfig.MinBlockDelay); _minLeaveDelay = TimeSpan.FromMilliseconds(settings.StateDelayConfig.MinLeaveDelay); }
public YState(MotorSignalTranslator st, MotorStateManager sm) : base(st, sm) { this._name = "Y"; }
public SampleState(MotorSignalTranslator st, MotorStateManager sm) : base(st, sm) { this._name = "SAMPLE"; }
public IdleState(MotorSignalTranslator st, MotorStateManager sm) : base(st, sm) { this._name = "IDLE"; }