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 }
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; }
public MitCOM(ComPortPars _parCOM, ComPort.DOnPr _OnPr, object _SyncObj) { comPort = ComPort.Create(_parCOM, _OnPr); SyncObj = _SyncObj; }
public ModBus(RectifiersPars _rectifiersPars, bool _verbose) { rectifiersPars = _rectifiersPars; comPort = ComPort.Create(rectifiersPars.ComPort, pr); verbose = _verbose; }
public JScanRotationTh(ComPortPars _ComPortPars) { comPort = ComPort.Create(_ComPortPars, pr); l_lastError = null; lastError = null; }