public TeSysTMbAccess()
 {
     sInfo            = new scanInfo();
     mbClient         = new mbTCP();
     utility          = new toolUitility();
     callBack         = null;
     mbReadBuf        = new UInt16[120];
     mbWriteBuf       = new UInt16[120];
     clientPortNumber = 0;
     clientIpAdd      = " ";
 }
示例#2
0
 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(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      = " ";
 }
示例#4
0
 public ModbusRegisterAccess()
 {
     rxFrame     = new ushort[maxFrameSize];
     mbTcpClient = new mbTCP();
     slaveInfo   = new modbusSlaveInfo();
 }