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, "系统内部错误"); } }
private void 登录_onLogEvent(OnLogEventArgs e) { PcScan_log_Action(e); }
private void OmroPLCvar_onLogEvent(OnLogEventArgs e) { PcScan_log_Action(e); }
private void FormMain_OnLogEvent(OnLogEventArgs e) { PcScan_log_Action(e); }
private void 状态控制_OnLogEvent(OnLogEventArgs e) { PcScan_log_Action(e); }
private void 电子秤扫描_onExceptionV(OnLogEventArgs e) { PcScan_log_Action(e); }