示例#1
0
文件: XGTask.cs 项目: wwkkww1983/bt
        /// <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;
            }
        }
示例#2
0
文件: XGTask.cs 项目: wwkkww1983/bt
 public void ReadLocalXgDataComplete()
 {
     XGDB.SaveXgTaskResult(this);
     Reset();
 }