From 22a99a978c1646345c3f2ed09eff602efdd125ae Mon Sep 17 00:00:00 2001 From: wangsr Date: Wed, 13 Dec 2023 09:29:28 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=202105=E6=9B=B4=E6=94=B9=E8=AF=BB?= =?UTF-8?q?=E5=8F=96=E9=95=BF=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DataBlockHelper/DBHelpers/DB2105Helper.cs | 2 +- DataBlockHelper/DBHelpers/DB2105WriteHelper.cs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DataBlockHelper/DBHelpers/DB2105Helper.cs b/DataBlockHelper/DBHelpers/DB2105Helper.cs index 4181e80..1ac0f4f 100644 --- a/DataBlockHelper/DBHelpers/DB2105Helper.cs +++ b/DataBlockHelper/DBHelpers/DB2105Helper.cs @@ -12,7 +12,7 @@ namespace DataBlockHelper.DBHelpers { public DB2105Helper() { - this.bytes = PlcConnect.Instance.Read("DB2105.0.0", 174).Content; + this.bytes = PlcConnect.Instance.Read("DB2105.0.0", 206).Content; } public List Plan => new PlanArrayManager(4, 0, 12, bytes).GetList(); public bool[] Status => new FourBoolArrayManager(48, bytes).GetList(); diff --git a/DataBlockHelper/DBHelpers/DB2105WriteHelper.cs b/DataBlockHelper/DBHelpers/DB2105WriteHelper.cs index e177d0c..e38ad63 100644 --- a/DataBlockHelper/DBHelpers/DB2105WriteHelper.cs +++ b/DataBlockHelper/DBHelpers/DB2105WriteHelper.cs @@ -454,10 +454,10 @@ namespace DataBlockHelper.DBHelpers return operate.IsSuccess; } - private static readonly int HaNo = 106; - public static readonly int HbNo = 114; - private static readonly int CaNo = 122; - private static readonly int CbNo = 130; + private static readonly int HaNo = 174; + public static readonly int HbNo = 182; + private static readonly int CaNo = 190; + private static readonly int CbNo = 198; #region 添加方法Ha