From 37c4da42e6bc67a0c40ef1d4f2527a5577f86a2e Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期三, 21 八月 2024 07:56:21 +0800
Subject: [PATCH] plc设备信息页面优化

---
 Admin.NET/WCS.Application/Enum/PLCEnum.cs |   86 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 86 insertions(+), 0 deletions(-)

diff --git a/Admin.NET/WCS.Application/Enum/PLCEnum.cs b/Admin.NET/WCS.Application/Enum/PLCEnum.cs
index 786fcbb..7b0d9e4 100644
--- a/Admin.NET/WCS.Application/Enum/PLCEnum.cs
+++ b/Admin.NET/WCS.Application/Enum/PLCEnum.cs
@@ -44,4 +44,90 @@
     /// </summary>
     [Description("宸ヤ綅绾у埆")]
     Station = 2,
+}
+/// <summary>
+/// PLC鏋氫妇
+/// </summary>
+[Description("PLC鏋氫妇")]
+public enum PLCEnum
+{
+    //鏈畾涔�
+    [Description("鏈畾涔�")]
+    None = 0,
+    //瑗块棬瀛怱7-200
+    [Description("瑗块棬瀛怱7-200")]
+    S7_200 = 1,
+    //瑗块棬瀛怱7-200Smar
+    [Description("瑗块棬瀛怱7-200Smar")]
+    S7_200Smart = 2,
+    //瑗块棬瀛怱7-300
+    [Description("瑗块棬瀛怱7-300")]
+    S7_300 = 3,
+    //瑗块棬瀛怱7-400
+    [Description("瑗块棬瀛怱7-400")]
+    S7_400 = 4,
+    //瑗块棬瀛怱7-1200
+    [Description("瑗块棬瀛怱7-1200")]
+    S7_1200 = 5,
+    //瑗块棬瀛怱7-1500
+    [Description("瑗块棬瀛怱7-1500")]
+    S7_1500 = 6,
+    //ModBusTcp
+    [Description("ModBusTcp")]
+    ModBusTcp =7,
+    //ModBusRtu
+    [Description("ModBusRtu")]
+    ModBusRtu = 8,
+    //ModBusAscii
+    [Description("ModBusAscii")]
+    ModBusAscii = 9,
+    //ModbusRtuOverTcp
+    [Description("ModbusRtuOverTcp")]
+    ModbusRtuOverTcp = 10,
+    //涓夎彵
+    [Description("涓夎彵")]
+    Mitsubishi = 11,
+    //娆у榫�
+    [Description("娆у榫�")]
+    OmronFins = 12,
+    //缃楀厠闊﹀皵
+    [Description("缃楀厠闊﹀皵")]
+    AllenBradley = 13,
+}
+/// <summary>
+/// PLC鏁版嵁绫诲瀷鏋氫妇
+/// </summary>
+[Description("PLC鏁版嵁绫诲瀷鏋氫妇")]
+public enum PLCDataTypeEnum
+{
+    //Bit
+    [Description("Bit")]
+    Bit = 1,
+    //Byte
+    [Description("Byte")]
+    Byte = 2,
+    //Char
+    [Description("Char")]
+    Char = 3,
+    //Word
+    [Description("Word")]
+    Word = 4,
+    //DWord
+    [Description("DWord")]
+    DWord = 5,
+    //Int
+    [Description("Int")]
+    Int = 6,
+    //DInt
+    [Description("DInt")]
+    DInt = 7,
+    //Real
+    [Description("Real")]
+    Real = 8,
+    //LReal
+    [Description("LReal")]
+    LReal = 9,
+    //String
+    [Description("String")]
+    String = 10,
 }
\ No newline at end of file

--
Gitblit v1.8.0