Exemplo n.º 1
0
 public StateMachine(scanProgressBar_Callback cb, dgrUpdateListRead_CallBack ucb, callback_ProgressBar cpb)
 {
     updateThread       = new Thread(new ThreadStart(updateTask));
     t6tAccess          = new TeSysTMbAccess(cb);
     ftpupdgr           = new upgradeTask(cpb);
     toolState          = TOOLSTATE.UNINIT;
     upgrade_Callback   = ucb;
     utility            = new ftpMassUpgrade.toolUitility();
     clientPort         = 0;
     serverPort         = 0;
     noOfDevice         = 0;
     deviceList         = new deviceEntry[250];
     upgradedDeviceList = new deviceEntry[250];
     tmpEntry           = new deviceEntry();
     btScanDisabled     = false;
     portInfo           = new tcpNIpInfoStruct();
     fileInfo           = new upgradeFileInfo();
 }
Exemplo n.º 2
0
 public NetworkScan(scanProgressBar_Callback cb)
 {
     t6tAccess  = new TeSysTMbAccess(cb);
     deviceList = new deviceEntry[MAX_DEVICE_SUPPORTED];
     portInfo   = new tcpNIpInfoStruct();
 }