Example #1
0
        public ACS(bool _IsLittleEndian)
        {
            IsLittleEndian = _IsLittleEndian;
#if ACS_VIRTUAL
            comPort = new ComPortBase(ParAll.ST.Defect.ComPortASC, pr);
#else
            comPort = ComPort.Create(ParAll.ST.Defect.ComPortASC, pr);
#endif
        }
Example #2
0
 public JDemagnetizer(DemagnetizerPars _Demagnetizer, DemagnetizerTSPars _DemagnetizerTSPars, bool _IsOnOff)
 {
     demagnetizerPars   = _Demagnetizer;
     demagnetizerTSPars = _DemagnetizerTSPars;
     verbose            = _Demagnetizer.Verbose;
     if (demagnetizerPars.InUse)
     {
         comPort = ComPort.Create(_Demagnetizer.ComPort, pr);
     }
     IsComplete = true;
     IsOnOff    = _IsOnOff;
 }
Example #3
0
 public MitCOM(ComPortPars _parCOM, ComPort.DOnPr _OnPr, object _SyncObj)
 {
     comPort = ComPort.Create(_parCOM, _OnPr);
     SyncObj = _SyncObj;
 }
Example #4
0
 public ModBus(RectifiersPars _rectifiersPars, bool _verbose)
 {
     rectifiersPars = _rectifiersPars;
     comPort        = ComPort.Create(rectifiersPars.ComPort, pr);
     verbose        = _verbose;
 }
Example #5
0
 public JScanRotationTh(ComPortPars _ComPortPars)
 {
     comPort     = ComPort.Create(_ComPortPars, pr);
     l_lastError = null;
     lastError   = null;
 }