From b079910e5de15863c26e479ffab15cc45d706f1a Mon Sep 17 00:00:00 2001 From: kazelee <1847801760@qq.com> Date: 星期一, 19 五月 2025 16:25:22 +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