From 57d07a051b29bafac4aa4c45cd79742cc668ca78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=94=84=E5=A4=B4?= Date: Fri, 26 Jul 2024 12:54:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=BD=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Mesnac.Action.ChemicalWeighing/Qu/InitAction.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Qu/InitAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Qu/InitAction.cs index ccb1bba..8f830db 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Qu/InitAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Qu/InitAction.cs @@ -547,28 +547,28 @@ namespace Mesnac.Action.ChemicalWeighing.Qu private void McD_Click(object sender, EventArgs e) { - var sss = "DB2119.28.3"; + var sss = "DB2119.14.3"; bool a = PlcConnect.Instance.ReadBool(sss).Content; PlcConnect.Instance.Write(sss, !a); } private void McC_Click(object sender, EventArgs e) { - var sss = "DB2119.28.2"; + var sss = "DB2119.14.2"; bool a = PlcConnect.Instance.ReadBool(sss).Content; PlcConnect.Instance.Write(sss, !a); } private void McB_Click(object sender, EventArgs e) { - var sss = "DB2119.28.1"; + var sss = "DB2119.14.1"; bool a = PlcConnect.Instance.ReadBool(sss).Content; PlcConnect.Instance.Write(sss, !a); } private void McA_Click(object sender, EventArgs e) { - var sss = "DB2119.28.0"; + var sss = "DB2119.14.0"; bool a = PlcConnect.Instance.ReadBool(sss).Content; PlcConnect.Instance.Write(sss, !a); } @@ -1102,7 +1102,7 @@ namespace Mesnac.Action.ChemicalWeighing.Qu - var bit = PlcConnect.Instance.ReadByte("DB2119.28.0").Content; + var bit = PlcConnect.Instance.ReadByte("DB2119.14.0").Content; var a1 = bit.GetBit(0); if (a1)