Exemple #1
0
 private void PcScan_log_Action(OnLogEventArgs e)
 {
     Program.FormSaveTODatabase.TaskSaveInfoToAccess(e.LogStr);
     if (e.LogStr.Contains("ERR") && (Program.FormExcuteCmd.vrStatemode == StateMode.AutoRun || Program.FormExcuteCmd.vrStatemode == StateMode.Init))
     {
         Program.FormExcuteCmd.vrStatemode = StateMode.ErrPC;
     }
     if (e.LogStr.Contains("ERR_B"))
     {
         MessageBox.Show(e.LogStr, "系统内部错误");
     }
 }
Exemple #2
0
 private void 登录_onLogEvent(OnLogEventArgs e)
 {
     PcScan_log_Action(e);
 }
Exemple #3
0
 private void OmroPLCvar_onLogEvent(OnLogEventArgs e)
 {
     PcScan_log_Action(e);
 }
Exemple #4
0
 private void FormMain_OnLogEvent(OnLogEventArgs e)
 {
     PcScan_log_Action(e);
 }
Exemple #5
0
 private void 状态控制_OnLogEvent(OnLogEventArgs e)
 {
     PcScan_log_Action(e);
 }
Exemple #6
0
 private void 电子秤扫描_onExceptionV(OnLogEventArgs e)
 {
     PcScan_log_Action(e);
 }