示例#1
0
 public TesterState()
 {
     base.NowTestsArePaused = false;
     base.PauseTests        = false;
     base.PauseEvents       = false;
     base.CmdBusy           = false;
     base.PleaseStop        = false;
     base.SeqGoing          = false;
     _TestNumber            = -1;
     _SequenceName          = "";
     _12VDC                = false;
     _5VDC                 = false;
     _AuxOut0              = false;
     _AuxOut1              = false;
     _AuxIn0               = false;
     _AuxIn1               = false;
     _MemsSolenoid         = false;
     _BackLight            = false;
     _GradeName            = "";
     _PinMotionType        = BunnyPinMotionType.NONE;
     _PinMotionOpenSensor  = BunnyPinMotionSensor.NONE;
     _PinMotionCloseSensor = BunnyPinMotionSensor.NONE;
     _RampInited           = false;
     _BunnyGood            = false;
     _ServoEnabled         = false;
 }
示例#2
0
 public void Assign(TesterState that)
 {
     base.CmdBusy               = that.CmdBusy;
     base.PleaseStop            = that.PleaseStop;
     base.SeqGoing              = that.SeqGoing;
     base.PauseEvents           = that.PauseEvents;
     base.PauseTests            = that.PauseTests;
     base.NowTestsArePaused     = that.NowTestsArePaused;
     this._12VDC                = that._12VDC;
     this._5VDC                 = that._5VDC;
     this._AuxIn0               = that._AuxIn0;
     this._AuxIn1               = that._AuxIn1;
     this._AuxOut0              = that._AuxOut0;
     this._AuxOut1              = that._AuxOut1;
     this._BackLight            = that._BackLight;
     this._MemsSolenoid         = that._MemsSolenoid;
     this._TestNumber           = that._TestNumber;
     this._SequenceName         = that._SequenceName;
     this._GradeName            = that._GradeName;
     this._PinMotionType        = that._PinMotionType;
     this._PinMotionOpenSensor  = that._PinMotionOpenSensor;
     this._PinMotionCloseSensor = that._PinMotionCloseSensor;
     this._RampInited           = that._RampInited;
     this._BunnyGood            = that._BunnyGood;
     this._ServoEnabled         = that._ServoEnabled;
     //base.bOnLine = that.bOnLine;
 }