From c28e58d62df8efc28d72699c4ec817078d39d754 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期五, 13 三月 2026 12:27:02 +0800
Subject: [PATCH] feat: add PLC type and instance status enums

---
 /dev/null                                                                           |    5 --
 Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Core/Enums/SiemensPLCType.cs |   33 ++++++++++++++++
 Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Core/Enums/InstanceStatus.cs |   33 ++++++++++++++++
 3 files changed, 66 insertions(+), 5 deletions(-)

diff --git a/Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Core/Class1.cs b/Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Core/Class1.cs
deleted file mode 100644
index 0f9eda5..0000000
--- a/Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Core/Class1.cs
+++ /dev/null
@@ -1,5 +0,0 @@
-锘縩amespace WIDESEAWCS_S7Simulator.Core;
-public class Class1
-{
-
-}
diff --git a/Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Core/Enums/InstanceStatus.cs b/Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Core/Enums/InstanceStatus.cs
new file mode 100644
index 0000000..e45b64f
--- /dev/null
+++ b/Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Core/Enums/InstanceStatus.cs
@@ -0,0 +1,33 @@
+namespace WIDESEAWCS_S7Simulator.Core.Enums
+{
+    /// <summary>
+    /// S7鏈嶅姟鍣ㄥ疄渚嬭繍琛岀姸鎬�
+    /// </summary>
+    public enum InstanceStatus
+    {
+        /// <summary>
+        /// 宸插仠姝�
+        /// </summary>
+        Stopped = 0,
+
+        /// <summary>
+        /// 鍚姩涓�
+        /// </summary>
+        Starting = 1,
+
+        /// <summary>
+        /// 杩愯涓�
+        /// </summary>
+        Running = 2,
+
+        /// <summary>
+        /// 鍋滄涓�
+        /// </summary>
+        Stopping = 3,
+
+        /// <summary>
+        /// 閿欒
+        /// </summary>
+        Error = 4
+    }
+}
diff --git a/Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Core/Enums/SiemensPLCType.cs b/Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Core/Enums/SiemensPLCType.cs
new file mode 100644
index 0000000..04c25a2
--- /dev/null
+++ b/Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Core/Enums/SiemensPLCType.cs
@@ -0,0 +1,33 @@
+namespace WIDESEAWCS_S7Simulator.Core.Enums
+{
+    /// <summary>
+    /// 瑗块棬瀛怭LC鍨嬪彿
+    /// </summary>
+    public enum SiemensPLCType
+    {
+        /// <summary>
+        /// S7-200 Smart
+        /// </summary>
+        S7200Smart = 0,
+
+        /// <summary>
+        /// S7-1200
+        /// </summary>
+        S71200 = 1,
+
+        /// <summary>
+        /// S7-1500
+        /// </summary>
+        S71500 = 2,
+
+        /// <summary>
+        /// S7-300
+        /// </summary>
+        S7300 = 3,
+
+        /// <summary>
+        /// S7-400
+        /// </summary>
+        S7400 = 4
+    }
+}

--
Gitblit v1.9.3