From 82630f1bcd6c346e4273c8086eac715ed6d2f3e6 Mon Sep 17 00:00:00 2001 From: wangsr Date: Tue, 5 Dec 2023 13:46:02 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20true=20false=20=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=20=E6=96=87=E5=AD=97=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MainDetailControlAction.cs | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs index cee405e..8e1ef24 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs @@ -1509,30 +1509,30 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl SetControlCabinet(ControlCabinetE.PM1KDF01, PlcReadTemp.PM1KDF01_Set); SetControlCabinet(ControlCabinetE.PM1LDF01, PlcReadTemp.PM1LDF01_Set); - SetMCLabel(LabelE.DryMode4, DB2107.Dryer[3].Mode); - SetMCLabel(LabelE.DryStatus4, DB2107.Dryer[3].Status); + SetMCLabel(LabelE.DryMode4, DB2107.Dryer[3].Mode ? "自动" : "手动"); + SetMCLabel(LabelE.DryStatus4, DB2107.Dryer[3].Status ? "开启" : "关闭"); SetMCLabel(LabelE.DryStepCode4, DB2107.Dryer[3].StepCode); SetMCLabel(LabelE.DryTotalTime4, DB2107.Dryer[3].TotalTime); SetMCLabel(LabelE.DryStepTime4, DB2107.Dryer[3].StepTime); - SetMCLabel(LabelE.GelMode7, DB2107.Gelater[6].Mode); - SetMCLabel(LabelE.GelStatus7, DB2107.Gelater[6].Status); + SetMCLabel(LabelE.GelMode7, DB2107.Gelater[6].Mode ? "自动" : "手动"); + SetMCLabel(LabelE.GelStatus7, DB2107.Gelater[6].Status ? "开启" : "关闭"); SetMCLabel(LabelE.GelStepCode7, DB2107.Gelater[6].StepCode); SetMCLabel(LabelE.GelTotalTime7, DB2107.Gelater[6].TotalTime); SetMCLabel(LabelE.GelStepTime7, DB2107.Gelater[6].StepTime); - SetMCLabel(LabelE.GelMode8, DB2107.Gelater[7].Mode); - SetMCLabel(LabelE.GelStatus8, DB2107.Gelater[7].Status); + SetMCLabel(LabelE.GelMode8, DB2107.Gelater[7].Mode ? "自动" : "手动"); + SetMCLabel(LabelE.GelStatus8, DB2107.Gelater[7].Status ? "开启" : "关闭"); SetMCLabel(LabelE.GelStepCode8, DB2107.Gelater[7].StepCode); SetMCLabel(LabelE.GelTotalTime8, DB2107.Gelater[7].TotalTime); SetMCLabel(LabelE.GelStepTime8, DB2107.Gelater[7].StepTime); - SetMCLabel(LabelE.WetMode7, DB2107.Weter[6].Mode); - SetMCLabel(LabelE.WetStatus7, DB2107.Weter[6].Status); + SetMCLabel(LabelE.WetMode7, DB2107.Weter[6].Mode ? "自动" : "手动"); + SetMCLabel(LabelE.WetStatus7, DB2107.Weter[6].Status ? "开启" : "关闭"); SetMCLabel(LabelE.WetStepCode7, DB2107.Weter[6].StepCode); SetMCLabel(LabelE.WetTotalTime7, DB2107.Weter[6].TotalTime); SetMCLabel(LabelE.WetStepTime7, DB2107.Weter[6].StepTime); - SetMCLabel(LabelE.WetMode8, DB2107.Weter[7].Mode); - SetMCLabel(LabelE.WetStatus8, DB2107.Weter[7].Status); + SetMCLabel(LabelE.WetMode8, DB2107.Weter[7].Mode ? "自动" : "手动"); + SetMCLabel(LabelE.WetStatus8, DB2107.Weter[7].Status ? "开启" : "关闭"); SetMCLabel(LabelE.WetStepCode8, DB2107.Weter[7].StepCode); SetMCLabel(LabelE.WetTotalTime8, DB2107.Weter[7].TotalTime); SetMCLabel(LabelE.WetStepTime8, DB2107.Weter[7].StepTime);