From d55fdfa85c23baad1a0532718da6f22e4443db3e Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <1247017146@qq.com>
Date: 星期三, 21 五月 2025 09:15:58 +0800
Subject: [PATCH] 1

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/AGV/AGVService.cs |   28 +++++++++++++++++++++++++---
 1 files changed, 25 insertions(+), 3 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/AGV/AGVService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/AGV/AGVService.cs"
index f533dc7..ed96e28 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/AGV/AGVService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/AGV/AGVService.cs"
@@ -73,7 +73,7 @@
                     var taskStation = BaseDal.QueryFirst(x => x.SourceAddress == item.stationName || x.TargetAddress == item.stationName);
                     outStationStatus.Add(new OutStationStatus()
                     {
-                        StationName = item.stationName,
+                        StationName = item.HostName,
                         StationEnable = station.StationEnable == "1" ? "0" : "1",
                         IsDistributionTask = taskStation == null ? "0" : "1",
                         Spare1 = "00"
@@ -161,12 +161,12 @@
                     switch (Status.AutoStatus)
                     {
                         case "MaintenanceMode":
-                            //杩愯
+                            //鎵嬪姩
                             _Socket.DeviceAutoStatusReport("1");
                             Thread.Sleep(500);
                             break;
                         case "ControlMode":
-                            //鍏虫満
+                            //鑷姩
                             _Socket.DeviceAutoStatusReport("0");
                             Thread.Sleep(500);
                             break;
@@ -319,6 +319,28 @@
                 return content.Error(ex.Message);
             }
         }
+        //public WebResponseContent Add()
+        //{
+        //    try
+        //    {
+        //        var x = BaseDal.GetTaskNo().Result;
+
+        //        task_call task_Call = new task_call()
+        //        {
+        //            d_task_type = 1,
+        //            d_floor = 1,
+        //            d_involed1 = "480101",
+        //            d_involed2 = "B001::1",
+        //            d_involed5 = x,
+        //        };
+        //        var y=SqlSugarHelper.DbAGV.Insertable(task_Call).ExecuteCommand();
+        //        return WebResponseContent.Instance.OK(data: y);
+        //    }
+        //    catch (Exception ex)
+        //    {
+        //        return WebResponseContent.Instance.Error(ex.Message);
+        //    }
+        //}
         #endregion 澶栭儴鎺ュ彛鏂规硶
 
         

--
Gitblit v1.9.3