internal void RegistSeialTaskInternal() { if (this._serialTsk != null) { this._serialTsk.Initialize(); } else { this._serialTsk = new WaitSerialTasks(); } base.StartTaskPararell(this._serialTsk); }
public void RegistSerial(params object[] objs) { WaitSerialTasks waitSerialTasks = new WaitSerialTasks(); for (int i = 0; i < objs.Length; i++) { NrTableBase nrTableBase = objs[i] as NrTableBase; if (nrTableBase != null) { waitSerialTasks.Add(new WaitTask(this._LoadTable(nrTableBase))); } else { TsLog.LogError("Non NrTableBase class. {0}", new object[] { objs[i].GetType().FullName }); } } this._listCoTsk.Add(waitSerialTasks); }