diff --git a/ProductionSystem/Untils/Tool/UxTool.cs b/ProductionSystem/Untils/Tool/UxTool.cs index caa8c5f..9501f74 100644 --- a/ProductionSystem/Untils/Tool/UxTool.cs +++ b/ProductionSystem/Untils/Tool/UxTool.cs @@ -126,8 +126,10 @@ namespace ProductionSystem.Untils.Tool private void DoBackup(Object state) { + var sendMes = ""; XTrace.WriteLine("Ux定时器"); - mfSerialInfo.SendMessage(state.ToString()); + sendMes = state == null ? GetMsg(mo) : state.ToString(); + mfSerialInfo.SendMessage(sendMes); } public bool Exit { get; set; }