コード例 #1
0
 public upgradeTask(int controlItem, callback_ProgressBar pb, string filePath, string fileName)
 {
     intitDeafault();
     info        = new updateInfo[controlItem];
     cbPb        = pb;
     srcFileName = fileName;
     srcFilePath = filePath;
     string st = new string(new char[8]);
 }
コード例 #2
0
 public upgradeTask(int controlItem, callback_ProgressBar pb, string filePath, string fileName)
 {
     // denty = new deviceEntry();
     listIndex   = 0;
     mainW       = null;
     info        = new updateInfo[controlItem];
     cbPb        = pb;
     srcFileName = fileName;
     srcFilePath = filePath;
     string st = new string(new char[8]);
 }
コード例 #3
0
 public upgradeTask(callback_ProgressBar pb)
 {
     listIndex = 0;
     mainW     = null;
     for (int i = 0; i < 8; i++)
     {
         info[i] = new updateInfo();
     }
     cbPb        = pb;
     srcFilePath = null;
     srcFileName = null;
 }
コード例 #4
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();
 }