From 4c771d5e9d41c4b5b8e9ac7e8586476c7d07783f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=94=84=E5=A4=B4?= Date: Wed, 12 Jun 2024 16:36:06 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=BA=E5=B0=91=E5=8D=95=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MainDetailControl/MainDetailControlAction.cs | 4 ++-- .../Mesnac.Action.ChemicalWeighing/Qu/InitAction.cs | 2 +- Main/MCEdit/Data/MCProject/nodeForm/MainDetail.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs index ea9f99f..9b665a7 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs @@ -1990,10 +1990,10 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl ControlsHelper.SetMCLabelMpa(LabelE.mainPress_V2_ActualValue, (float)Math.Round(PlcReadTemp.mainPress_V2_ActualValue_Set, 2)); ControlsHelper.SetMCLabelMpa(LabelE.mainPress_V3_ActualValue, (float)Math.Round(PlcReadTemp.mainPress_V3_ActualValue_Set, 2)); - ControlsHelper.SetMCLabel(LabelE.mainPress_V4_ActualValue, (float)Math.Round(PlcReadTemp.mainPress_V4_ActualValue_Set, 2)); + ControlsHelper.SetMCLabelMpa(LabelE.mainPress_V4_ActualValue, (float)Math.Round(PlcReadTemp.mainPress_V4_ActualValue_Set, 2)); - ControlsHelper.SetMCLabel(LabelE.mainPress_V5_ActualValue, (float)Math.Round(PlcReadTemp.mainPress_V5_ActualValue_Set, 2)); + ControlsHelper.SetMCLabelMpa(LabelE.mainPress_V5_ActualValue, (float)Math.Round(PlcReadTemp.mainPress_V5_ActualValue_Set, 2)); ControlsHelper.SetMCLabelMpa(LabelE.purgeV1_PV, (float)Math.Round(PlcReadTemp.purgeV1_PV_Set, 2)); ControlsHelper.SetMCLabelMpa(LabelE.purgeV2_PV, (float)Math.Round(PlcReadTemp.purgeV2_PV_Set, 2)); ControlsHelper.SetMCLabelMpa(LabelE.purgeV3_PV, (float)Math.Round(PlcReadTemp.purgeV3_PV_Set, 2)); diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Qu/InitAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Qu/InitAction.cs index f5209c6..7d1a1dd 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Qu/InitAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Qu/InitAction.cs @@ -492,7 +492,7 @@ namespace Mesnac.Action.ChemicalWeighing.Qu if (main.enable) { HslEnable.LanternBackground = System.Drawing.Color.Green; - BtnEnable.MCValue = "禁止使能"; + BtnEnable.MCValue = "关闭使能"; } else { diff --git a/Main/MCEdit/Data/MCProject/nodeForm/MainDetail.xml b/Main/MCEdit/Data/MCProject/nodeForm/MainDetail.xml index c065a2f..1326060 100644 --- a/Main/MCEdit/Data/MCProject/nodeForm/MainDetail.xml +++ b/Main/MCEdit/Data/MCProject/nodeForm/MainDetail.xml @@ -5234,7 +5234,7 @@ True 0 ButtonHighlight - 398, 265 + 397, 265 mainPress_V4_ActualValue 11, 12