Example #1
0
 private void ExceptionMesgSend3(string ErrCode, string SealerID, string EventMesg, string ExMesg)
 {
     networkmain.Client_SendAlarmMessage(ErrCode, EventMesg, "SET");
     LogEr.Info(ErrCode + ";" + EventMesg + "; SET");
     MyEventQ.AddQ("535;Sealer3Error;SealerID;" + SealerID + ";SealerErrorCode;" + ErrCode + ";ErrorMessage;" + EventMesg);
     EvtLog.Info("535;Sealer3Error;SealerID;" + SealerID + ";SealerErrorCode;" + ErrCode + ";ErrorMessage;" + EventMesg);
 }
Example #2
0
 private void Sealer3ErrResetTimer_Tick(object sender, EventArgs e)
 {
     if (Sealer3ErrorCode != "")
     {
         networkmain.Client_SendAlarmMessage(Sealer3ErrorCode, Sealer3EventMesg, "CLEAR");
         LogEr.Info(Sealer3ErrorCode + "," + Sealer3EventMesg + ", CLEAR");
         Sealer3ErrorCode = "";
         Sealer3EventMesg = "";
     }
     Sealer3ErrResetTimer.Tick -= Sealer3ErrResetTimer_Tick;
     Sealer3ErrResetTimer.Stop();
     Sealer3ErrAtv = false;
 }