From e755a1c79f29b42f9344e6ab87475e9a4d6c7dc6 Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期四, 15 一月 2026 13:52:25 +0800
Subject: [PATCH] 合托功能

---
 WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService.cs |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService.cs b/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService.cs
index ec175c1..ff6d505 100644
--- a/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService.cs
+++ b/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService.cs
@@ -502,28 +502,20 @@
             WebResponseContent content = new WebResponseContent();
             try
             {
-                // 鑾峰彇LED鏈嶅姟鍦板潃閰嶇疆
                 string ledApiAddress = AppSettings.Get("LEDApiAddress");
                 if (string.IsNullOrEmpty(ledApiAddress))
                 {
                     return WebResponseContent.Instance.Error("鏈壘鍒癓ED鏈嶅姟鍦板潃");
                 }
-
-                // 瑙f瀽IP鍦板潃锛堝鐞嗗彲鑳藉寘鍚殑http://鍓嶇紑锛�
                 string ipAddress = ledApiAddress;
                 int port = 8888; // 榛樿绔彛
-
-                // 鎷兼帴鎺ㄩ�佹牸寮�
                 string sendData = $"{stationCode}|{palletCode}|{taskType}";
 
-                // TCP杩炴帴WinForm
                 using (TcpClient tcpClient = new TcpClient())
                 {
-                    // 璁剧疆杩炴帴瓒呮椂
                     tcpClient.ReceiveTimeout = 5000;
                     tcpClient.SendTimeout = 5000;
 
-                    // 杩炴帴TCP鏈嶅姟
                     tcpClient.Connect(ipAddress, port);
 
                     NetworkStream stream = tcpClient.GetStream();

--
Gitblit v1.9.3