From 3f67529e0f492f30851f091fea7f97a01cb502e5 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 03 二月 2026 11:05:23 +0800
Subject: [PATCH] 添加机器人/套接字任务支持;更新枚举与 .gitignore 文件

---
 Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/appsettings.json |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/appsettings.json b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/appsettings.json
index fe6dfbb..dac24a5 100644
--- a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/appsettings.json
+++ b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/appsettings.json
@@ -44,5 +44,16 @@
   "PrintSql": true, //鎵撳嵃SQL璇彞
   "LogAOPEnable": true, //鏄惁璁板綍AOP鏃ュ織
   "WebSocketEnable": true, //鏄惁寮�鍚疻ebSocket鏈嶅姟
-  "WebSocketPort": 9296 //WebSocket鏈嶅姟绔彛
+  "WebSocketPort": 9296, //WebSocket鏈嶅姟绔彛
+  "SocketServer": {
+    "Enabled": true,
+    "Port": 2000,
+    "IpAddress": "0.0.0.0",
+    "Backlog": 100,
+    "EncodingName": "utf-8",
+    "AutoDetectEncoding": true,
+    "IdleTimeoutSeconds": 300,
+    "EnableHeartbeat": true,
+    "LogFilePath": "socketserver.log"
+  }
 }

--
Gitblit v1.9.3