From 737dec3c384f394fd6f9849b4480b697d1ba35d5 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 17 三月 2026 09:16:44 +0800
Subject: [PATCH] chore: 提交所有当前改动

---
 Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Core/Entities/InstanceConfig.cs |   30 +++++++++++++++++-------------
 1 files changed, 17 insertions(+), 13 deletions(-)

diff --git a/Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Core/Entities/InstanceConfig.cs b/Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Core/Entities/InstanceConfig.cs
index a4fb716..91a7923 100644
--- a/Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Core/Entities/InstanceConfig.cs
+++ b/Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Core/Entities/InstanceConfig.cs
@@ -1,53 +1,57 @@
-using System.Text.Json.Serialization;
+锘縰sing System.Text.Json.Serialization;
 using WIDESEAWCS_S7Simulator.Core.Enums;
 
 namespace WIDESEAWCS_S7Simulator.Core.Entities
 {
     /// <summary>
-    /// S7鏈嶅姟鍣ㄥ疄渚嬮厤缃�
+    /// S7閺堝秴濮熼崳銊ョ杽娓氬鍘ょ純?
     /// </summary>
     public class InstanceConfig
     {
         /// <summary>
-        /// 瀹炰緥鍞竴鏍囪瘑
+        /// 鐎圭偘绶ラ崬顖欑閺嶅洩鐦�
         /// </summary>
-        [JsonPropertyName("id")]
+        //[JsonPropertyName("id")]
         public string Id { get; set; } = string.Empty;
 
         /// <summary>
-        /// 瀹炰緥鍚嶇О
+        /// 鐎圭偘绶ラ崥宥囆�
         /// </summary>
-        [JsonPropertyName("name")]
+        //[JsonPropertyName("name")]
         public string Name { get; set; } = string.Empty;
 
         /// <summary>
-        /// PLC鍨嬪彿
+        /// PLC閸ㄥ褰�
         /// </summary>
-        [JsonPropertyName("plcType")]
+        //[JsonPropertyName("plcType")]
         public SiemensPLCType PLCType { get; set; }
 
         /// <summary>
-        /// 鐩戝惉绔彛
+        /// 閻╂垵鎯夌粩顖氬經
         /// </summary>
-        [JsonPropertyName("port")]
+        //[JsonPropertyName("port")]
         public int Port { get; set; }
 
         /// <summary>
-        /// HSL婵�娲荤爜
+        /// HSL濠碘偓濞茶崵鐖�
         /// </summary>
         [JsonPropertyName("activationKey")]
         public string ActivationKey { get; set; } = string.Empty;
 
         /// <summary>
-        /// 鏄惁鑷姩鍚姩
+        /// 閺勵垰鎯侀懛顏勫З閸氼垰濮�
         /// </summary>
         [JsonPropertyName("autoStart")]
         public bool AutoStart { get; set; }
 
+        [JsonPropertyName("protocolTemplateId")]
+        public string ProtocolTemplateId { get; set; } = string.Empty;
+
         /// <summary>
-        /// 鍐呭瓨鍖哄煙閰嶇疆
+        /// 閸愬懎鐡ㄩ崠鍝勭厵闁板秶鐤�
         /// </summary>
         [JsonPropertyName("memoryConfig")]
         public MemoryRegionConfig MemoryConfig { get; set; } = new();
     }
 }
+

--
Gitblit v1.9.3