From 8520e36378e8e88cbbc45586bb31d1fec3be87ac Mon Sep 17 00:00:00 2001
From: wxw <Administrator@DESKTOP-5BIMHQ3>
Date: 星期三, 21 八月 2024 10:11:48 +0800
Subject: [PATCH] Merge branch 'master' of http://47.95.120.53:8083/r/WCSNet6
---
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