From 70b4bdc6f999c55b75138e013abf436100e9987b Mon Sep 17 00:00:00 2001
From: liudl <673013083@qq.com>
Date: 星期一, 23 六月 2025 15:33:16 +0800
Subject: [PATCH] 修改手自动

---
 Admin.NET/WCS.Application/Service/WcsPlc/Dto/WcsPlcInput.cs |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/Admin.NET/WCS.Application/Service/WcsPlc/Dto/WcsPlcInput.cs b/Admin.NET/WCS.Application/Service/WcsPlc/Dto/WcsPlcInput.cs
index 68983b8..e7d16d1 100644
--- a/Admin.NET/WCS.Application/Service/WcsPlc/Dto/WcsPlcInput.cs
+++ b/Admin.NET/WCS.Application/Service/WcsPlc/Dto/WcsPlcInput.cs
@@ -12,6 +12,11 @@
     public virtual string IP { get; set; }
 
     /// <summary>
+    /// PLC绔彛鍙�
+    /// </summary>
+    public virtual int Port { get; set; }
+
+    /// <summary>
     /// PLC绫诲瀷
     /// </summary>
     public virtual PLCEnum PLCType { get; set; }
@@ -31,6 +36,10 @@
     /// </summary>
     public virtual string? Text { get; set; }
 
+    /// <summary>
+    /// 鏄惁鍚敤
+    /// </summary>
+    public virtual YesNoEnum Enable { get; set; }
 }
 
 /// <summary>
@@ -58,6 +67,10 @@
     /// </summary>
     public PLCTypeEnum? Type { get; set; }
 
+    /// <summary>
+    /// 鏄惁鍚敤
+    /// </summary>
+    public YesNoEnum? Enable { get; set; }
 }
 
 /// <summary>
@@ -83,6 +96,11 @@
     [Required(ErrorMessage = "璁惧绫诲瀷涓嶈兘涓虹┖")]
     public override PLCTypeEnum Type { get; set; }
 
+    /// <summary>
+    /// 鏄惁鍚敤
+    /// </summary>
+    [Required(ErrorMessage = "鏄惁鍚敤涓嶈兘涓虹┖")]
+    public override YesNoEnum Enable { get; set; }
 }
 
 /// <summary>

--
Gitblit v1.8.0