Пример #1
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;
 }
Пример #2
0
 public TesterObject()
 {
     _Disposed    = false;
     _TesterState = new TesterState();
     try
     {
         _CallbackProxyList = new ProxyListClass();
     }
     catch
     { }
     // TODO : The following complex processes should not exist in the constructor and should be considered for removal
     _BladeEventsThread = new Thread(doBladeEvents);
     _BladeEventsThread.IsBackground = true;
     _BladeEventsThread.Start();
 }
Пример #3
0
 public TesterState(TesterState that)
 {
     Assign(that);
 }