예제 #1
0
파일: Reference.cs 프로젝트: rebider/soa
 /// <remarks/>
 public void AddScheduleHistoryAsync(ESB_SCHD_HISTORY history, object userState)
 {
     if ((this.AddScheduleHistoryOperationCompleted == null))
     {
         this.AddScheduleHistoryOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddScheduleHistoryOperationCompleted);
     }
     this.InvokeAsync("AddScheduleHistory", new object[] {
         history
     }, this.AddScheduleHistoryOperationCompleted, userState);
 }
예제 #2
0
파일: JobBase.cs 프로젝트: vebin/soa
        private void AfterCall()
        {
            try
            {
                endTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
                SchedulerService ss = new SchedulerService();

                ESB_SCHD_HISTORY history = new ESB_SCHD_HISTORY();
                history.BEGIN_TIME = beginTime;
                history.CALL_MEMO = callMemo;
                history.CALL_STATUS = callStatus;
                history.END_TIME = endTime;
                history.SCHD_ID = schedID;

                ss.AddScheduleHistory(history);
            }
            catch (Exception ex)
            {
                _log.Error("添加作业历史记录 失败! 错误信息:" + ex.Message);
            }

        }
예제 #3
0
파일: Reference.cs 프로젝트: rebider/soa
 /// <remarks/>
 public void AddScheduleHistoryAsync(ESB_SCHD_HISTORY history)
 {
     this.AddScheduleHistoryAsync(history, null);
 }
예제 #4
0
파일: Reference.cs 프로젝트: rebider/soa
 public void AddScheduleHistory(ESB_SCHD_HISTORY history)
 {
     this.Invoke("AddScheduleHistory", new object[] {
         history
     });
 }
예제 #5
0
파일: Reference.cs 프로젝트: BiYiTuan/soa
 /// <remarks/>
 public void AddScheduleHistoryAsync(ESB_SCHD_HISTORY history, object userState) {
     if ((this.AddScheduleHistoryOperationCompleted == null)) {
         this.AddScheduleHistoryOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddScheduleHistoryOperationCompleted);
     }
     this.InvokeAsync("AddScheduleHistory", new object[] {
                 history}, this.AddScheduleHistoryOperationCompleted, userState);
 }
예제 #6
0
파일: Reference.cs 프로젝트: BiYiTuan/soa
 /// <remarks/>
 public void AddScheduleHistoryAsync(ESB_SCHD_HISTORY history) {
     this.AddScheduleHistoryAsync(history, null);
 }
예제 #7
0
파일: Reference.cs 프로젝트: BiYiTuan/soa
 public void AddScheduleHistory(ESB_SCHD_HISTORY history) {
     this.Invoke("AddScheduleHistory", new object[] {
                 history});
 }