public mbWriteWin() { InitializeComponent(); utility = new toolUitility(); mbAccess = new ModbusRegisterAccess(); slaveInfo = new modbusSlaveInfo(); }
private void initToDefault() { sInfo = new scanInfo(); mbClient = new mbTCP(); utility = new toolUitility(); devIdObj = new deviceIdentification(); mbReadBuf = new UInt16[120]; mbWriteBuf = new UInt16[120]; clientPortNumber = 0; clientIpAdd = " "; }
public TeSysTMbAccess() { sInfo = new scanInfo(); mbClient = new mbTCP(); utility = new toolUitility(); callBack = null; mbReadBuf = new UInt16[120]; mbWriteBuf = new UInt16[120]; clientPortNumber = 0; clientIpAdd = " "; }
public TeSysTMbAccess(scanProgressBar_Callback cb) { sInfo = new scanInfo(); mbClient = new mbTCP(); utility = new toolUitility(); callBack = cb; mbReadBuf = new UInt16[120]; mbWriteBuf = new UInt16[120]; clientPortNumber = 0; clientIpAdd = " "; }