From b412cc95a4ba771227f714edc8219ff2e7a9e758 Mon Sep 17 00:00:00 2001 From: "DESKTOP-GPE37UV\\THINKAPD" Date: Wed, 15 Mar 2023 14:27:11 +0800 Subject: [PATCH] =?UTF-8?q?Update=20from=20svn=E3=80=82=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E6=98=82=E5=9D=A4=E8=BE=93=E5=87=BA=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../HardwareUnits/Temps/AKunTemp/AKunTemp.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/FrameworkLocal/RTEquipmentLibrary/HardwareUnits/Temps/AKunTemp/AKunTemp.cs b/FrameworkLocal/RTEquipmentLibrary/HardwareUnits/Temps/AKunTemp/AKunTemp.cs index ee93362b..87481435 100644 --- a/FrameworkLocal/RTEquipmentLibrary/HardwareUnits/Temps/AKunTemp/AKunTemp.cs +++ b/FrameworkLocal/RTEquipmentLibrary/HardwareUnits/Temps/AKunTemp/AKunTemp.cs @@ -150,13 +150,13 @@ namespace MECF.Framework.RT.EquipmentLibrary.HardwareUnits.Temps if (_trigConnServiceError.Q) { System.Threading.Thread.Sleep(2000);//不加延时软件刚启动可能不打印 - ConnectError($"{Module} AKun Temp Software Maybe Not Open {Address} {Name}"); + ConnectError($"AKun Temp Software Maybe Not Open {Address} {Name}"); } } else//连接成功后不会再进入,只会提示一次 { _trigConnServiceError.RST = true; - ConnectOK($"{Module} Connect OK with AKun Temp Software Form {Address} {Name}"); + ConnectOK($"Connect OK with AKun Temp Software Form {Address} {Name}"); } System.Threading.Thread.Sleep(2000); @@ -259,7 +259,7 @@ namespace MECF.Framework.RT.EquipmentLibrary.HardwareUnits.Temps _trigUSBDataOK.CLK = false;//复位USB重连信号, _trigUSBDataError.CLK = true; if (_trigUSBDataError.Q) - ConnectError($"{Module} Can not connect with {Name} From USB"); + ConnectError($"Can not connect with {Name} From USB"); CountNum = 0; return; } @@ -268,7 +268,7 @@ namespace MECF.Framework.RT.EquipmentLibrary.HardwareUnits.Temps _trigUSBDataOK.CLK = true; if (_trigUSBDataOK.Q) { - ConnectOK($"{Module} Connect OK with {Name} From USB"); + ConnectOK($"Connect OK with {Name} From USB"); _trigUSBDataError.RST = true;//复位USB断联信号 } @@ -279,7 +279,7 @@ namespace MECF.Framework.RT.EquipmentLibrary.HardwareUnits.Temps for (var i = 0; i < all.Count; i++) { float _temp= all[i].Average(); - if (_temp <= 400)//设置温度下限, + if (_temp <= 400)//设置温度下限 _temp = 400; switch (i) { @@ -301,11 +301,11 @@ namespace MECF.Framework.RT.EquipmentLibrary.HardwareUnits.Temps } } - LOG.Write($"PM1 Middle{TempData1} Outer{TempData2} PM1 Inner{TempData3} TempData4 {TempData4}"); + LOG.Write($"{Name} Middle{TempData1} Outer{TempData2} PM1 Inner{TempData3} TempData4 {TempData4}"); } catch (Exception ex) { - LOG.Write($"AKunTemp GetValues Error {ex}"); + LOG.Write($"{Name} AKunTemp GetValues Error {ex}"); }