From 38a8b2931abd72ee04285794aacbea7ed7c49228 Mon Sep 17 00:00:00 2001 From: kazelee <1847801760@qq.com> Date: 星期二, 13 五月 2025 17:06:43 +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