From f30896869a4c1a24b9a2367bb3ddabb56eb548f3 Mon Sep 17 00:00:00 2001 From: nodyang Date: Sat, 14 Oct 2023 13:44:28 +0800 Subject: [PATCH] =?UTF-8?q?PlcAddressUtil=20=E4=BF=AE=E6=94=B9Plc=E5=BE=97?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Mesnac.Action.ChemicalWeighing/PlcAddressUtil.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/PlcAddressUtil.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/PlcAddressUtil.cs index e013964..c58df37 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/PlcAddressUtil.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/PlcAddressUtil.cs @@ -2,11 +2,11 @@ { public class PlcAddressUtil { - //public static string IpAddress = "172.18.4.100"; - //public static int Port = 102; + public static readonly string IpAddress = "172.18.4.100"; + public static readonly int Port = 102; //测试的Plc - public static string IpAddress = "192.168.0.100"; - public static int Port = 7788; + // public static string IpAddress = "192.168.0.100"; + // public static int Port = 7788; } } \ No newline at end of file