Example #1
0
 void Device_DiagnosisDetailsGot(object sender, Service.PLC.ModelGotEventArg <Models.Feedback.DiagnosisDetails> e)
 {
     if (CanOpPage)
     {
         this.BeginInvoke(new UIHelper.UIINvkoeParam1 <Models.Feedback.DiagnosisDetails>(CurrentPage.ProcessDiagnosisDetails), e.Data);
     }
 }
Example #2
0
 void Device_RealyTimeDataGot(object sender, Service.PLC.ModelGotEventArg <Models.Feedback.RealTimeData> e)
 {
     if (CanOpPage)
     {
         this.BeginInvoke(new UIHelper.UIINvkoeParam1 <Models.Feedback.RealTimeData>(CurrentPage.ProcessRealyTimeData), e.Data);
     }
 }
Example #3
0
 void Device_AdditionalInfoGot(object sender, Service.PLC.ModelGotEventArg <Models.Feedback.AdditionalInfo> e)
 {
     if (IsInit == false && IsDisposed == false)
     {
         try { this.Invoke(new UIHelper.UIINvkoeParam1 <Models.Feedback.AdditionalInfo>(ShowAdditionalInfo), e.Data); }
         catch (Exception) { }
     }
 }
Example #4
0
 void Device_RealyTimeDataGot(object sender, Service.PLC.ModelGotEventArg <Models.Feedback.RealTimeData> e)
 {
     if (Flag_IsRecording == 0)
     {
         return;
     }
     Record(e.Data);
 }