From aa7daf29da4f6cda2c10a622a92bf86aa9820327 Mon Sep 17 00:00:00 2001
From: bklLiudl <673013083@qq.com>
Date: 星期四, 16 一月 2025 15:38:37 +0800
Subject: [PATCH] 自动分道 零箱 剔除
---
Admin.NET/WCS.Application/PLC/PLCUtil.cs | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/Admin.NET/WCS.Application/PLC/PLCUtil.cs b/Admin.NET/WCS.Application/PLC/PLCUtil.cs
index 0421e04..b771e4e 100644
--- a/Admin.NET/WCS.Application/PLC/PLCUtil.cs
+++ b/Admin.NET/WCS.Application/PLC/PLCUtil.cs
@@ -225,6 +225,19 @@
address = DbNumber + Pos;
return this.SetPlcDBValue(PosType, address, Value);
}
+
+ /// <summary>
+ /// 鍐欏叆PLC鍊�
+ /// </summary>
+ //public IoTClient.Result SetPlcDBValue(PLCDataTypeEnum PosType, string DbNumber, string Pos, byte Value)
+ //{
+ // string address;
+ // if (DbNumber.StartsWith("DB"))
+ // address = DbNumber + "." + Pos;
+ // else
+ // address = DbNumber + Pos;
+ // return this.SetPlcDBValue(PosType, address, Value);
+ //}
/// <summary>
/// 鍐欏叆PLC鍊�
/// </summary>
--
Gitblit v1.8.0