From 7d9d48cf1e9d5b28e59ea52a0ee1acdfd15f88e7 Mon Sep 17 00:00:00 2001 From: IPC-610 <IPC-610@DESKTOP-6LEOOS3> Date: 星期二, 07 一月 2025 08:32:34 +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