From d4beffac7005967f3eeb5b175170de20ab963781 Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期五, 13 九月 2024 11:35:00 +0800
Subject: [PATCH] PLC添加禁用,修改写入bug

---
 Admin.NET/WCS.Application/Service/WcsPlc/Dto/WcsPlcInput.cs |   13 +++++++++++++
 1 files changed, 13 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 015930c..e7d16d1 100644
--- a/Admin.NET/WCS.Application/Service/WcsPlc/Dto/WcsPlcInput.cs
+++ b/Admin.NET/WCS.Application/Service/WcsPlc/Dto/WcsPlcInput.cs
@@ -36,6 +36,10 @@
     /// </summary>
     public virtual string? Text { get; set; }
 
+    /// <summary>
+    /// 鏄惁鍚敤
+    /// </summary>
+    public virtual YesNoEnum Enable { get; set; }
 }
 
 /// <summary>
@@ -63,6 +67,10 @@
     /// </summary>
     public PLCTypeEnum? Type { get; set; }
 
+    /// <summary>
+    /// 鏄惁鍚敤
+    /// </summary>
+    public YesNoEnum? Enable { get; set; }
 }
 
 /// <summary>
@@ -88,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