From 2ea4ae2d4f578fb68e90992fd5b78e96f31acbd4 Mon Sep 17 00:00:00 2001 From: hwh <332078369@qq.com> Date: 星期四, 22 八月 2024 14:50:45 +0800 Subject: [PATCH] plc读写 --- Admin.NET/WCS.Application/Entity/WcsPlc.cs | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/Admin.NET/WCS.Application/Entity/WcsPlc.cs b/Admin.NET/WCS.Application/Entity/WcsPlc.cs index e3a1519..a80a039 100644 --- a/Admin.NET/WCS.Application/Entity/WcsPlc.cs +++ b/Admin.NET/WCS.Application/Entity/WcsPlc.cs @@ -15,6 +15,19 @@ public string IP { get; set; } /// <summary> + /// PLC绔彛鍙� + /// </summary> + [SugarColumn(ColumnName = "Port", ColumnDescription = "PLC绔彛鍙�")] + public int Port { get; set; } + + /// <summary> + /// PLC绫诲瀷 + /// </summary> + [Required] + [SugarColumn(ColumnName = "PLCType", ColumnDescription = "PLC绫诲瀷")] + public PLCEnum PLCType { get; set; } + + /// <summary> /// 璁惧绫诲瀷 /// </summary> [Required] -- Gitblit v1.8.0