Example #1
0
 private void initToDeafult()
 {
     deviceList   = null;
     deviceLstCnt = 0;
     cbPp         = null;
     progressInfo = new backupNRestoreProgressInfo();
     mbAccess     = new ModbusRegisterAccess();
     devIdObj     = new deviceIdentification();
     cParam       = new TeSysTConfFileCompatibilityParam();
 }
Example #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      = " ";
 }