diff --git a/ProductionSystem/Untils/Tool/Uy.cs b/ProductionSystem/Untils/Tool/Uy.cs index 0bc82c6..06e098b 100644 --- a/ProductionSystem/Untils/Tool/Uy.cs +++ b/ProductionSystem/Untils/Tool/Uy.cs @@ -118,7 +118,10 @@ namespace ProductionSystem.Untils.Tool private void DoBackup(Object state) { XTrace.WriteLine("Uy定时器"); - mfSerialInfo.SendMessage(state.ToString()); + var sendMes = ""; + + sendMes = state == null ? GetMsg(mo) : state.ToString(); + mfSerialInfo.SendMessage(sendMes); }