示例#1
0
 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);
 }
示例#2
0
 public YState(MotorSignalTranslator st, MotorStateManager sm)
     : base(st, sm)
 {
     this._name = "Y";
 }
示例#3
0
 public SampleState(MotorSignalTranslator st, MotorStateManager sm)
     : base(st, sm)
 {
     this._name = "SAMPLE";
 }
示例#4
0
 public IdleState(MotorSignalTranslator st, MotorStateManager sm)
     : base(st, sm)
 {
     this._name = "IDLE";
 }