From f2e0d4dcb6602a452b7baff682706c07eb0158ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=91=E5=8F=AB=E9=94=84=E5=A4=B4?= Date: Mon, 15 Apr 2024 11:05:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProductionSystem/Untils/Tool/ExvTool.cs | 2 +- ProductionSystem/Untils/Tool/SitongTool.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ProductionSystem/Untils/Tool/ExvTool.cs b/ProductionSystem/Untils/Tool/ExvTool.cs index 5608e55..798103c 100644 --- a/ProductionSystem/Untils/Tool/ExvTool.cs +++ b/ProductionSystem/Untils/Tool/ExvTool.cs @@ -47,7 +47,7 @@ namespace ProductionSystem.Untils.Tool var by = me.GetByteDat(); var sendMes = by.ToHex(" "); - XTrace.WriteLine($"膨胀阀[{mo}-{com}]发送报文:{0}", sendMes); + XTrace.WriteLine($"膨胀阀[{mo}-{com}]发送报文:{sendMes}"); mfSerialInfo = new MfSerialInfo(0x13, 0x23, com, "19200"); diff --git a/ProductionSystem/Untils/Tool/SitongTool.cs b/ProductionSystem/Untils/Tool/SitongTool.cs index 20a8d38..86c3115 100644 --- a/ProductionSystem/Untils/Tool/SitongTool.cs +++ b/ProductionSystem/Untils/Tool/SitongTool.cs @@ -68,7 +68,7 @@ namespace ProductionSystem.Untils.Tool } int cou = 0; - XTrace.WriteLine($"四通阀[{mo}-{com}]发送报文:{0}", sendMes); + XTrace.WriteLine($"四通阀[{mo}-{com}]发送报文:{sendMes}"); bool b = false; mfSerialInfo.MsgFunc += (x) =>