From 6abc355aeb4e6f7960c11795dbbcc26396b0c888 Mon Sep 17 00:00:00 2001
From: kazelee <1847801760@qq.com>
Date: 星期五, 16 五月 2025 17:20:45 +0800
Subject: [PATCH] 博实物料下发同步接口开发,满箱入库、出库逻辑测试与优化

---
 Devices/ProductionLineDevice.cs |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/Devices/ProductionLineDevice.cs b/Devices/ProductionLineDevice.cs
index 19e3d74..29ffb03 100644
--- a/Devices/ProductionLineDevice.cs
+++ b/Devices/ProductionLineDevice.cs
@@ -8,13 +8,19 @@
     /// <summary>
     /// 杈撻�绾縋LC璁惧
     /// </summary>
-    public class ProductionLineDevice : BaseModbusDevice {
+    public class ProductionLineDevice {
 
+        public string Ip { get; set; }
+        public int Port { get; set; }
 
-        public ProductionLineDevice(string ip, int port) : base(ip, port) {
+        public ProductionLineDevice(string ip, int port) {
+            Ip = ip;
+            Port = port;
         }
 
-        public ProductionLineDevice(string id, string ip, int port) : base(ip, port) {
+        public ProductionLineDevice(string id, string ip, int port) {
+            Ip = ip;
+            Port = port;
             Id = id;
         }
 

--
Gitblit v1.9.1