/// <summary> /// 任务取消激活事件处理 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void XGTask_Inactive(object sender, EventArgs e) { if (_isComplete) { XGDB.SaveXgTaskResult(this); Reset(); } else { //_xgTaskResult = XGTaskResult.CreateFailResult( this ); //Record[] records = ReadAndClearXgData(); //TODO: xgtask inactive! // XGData[] datas = ReadAndClearXgData(); _isWatingLocalXgData = true; } }
public void ReadLocalXgDataComplete() { XGDB.SaveXgTaskResult(this); Reset(); }