From a2f06e43a6f4ed3c613aefbb8bc0ccf3dd30ff8f Mon Sep 17 00:00:00 2001
From: xiazhengtongxue <133085197+xiazhengtongxue@users.noreply.github.com>
Date: 星期五, 26 十二月 2025 13:34:20 +0800
Subject: [PATCH] 1
---
项目代码/WCSServices/WIDESEAWCS_Server/Controllers/AGV/AGVController.cs | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Server/Controllers/AGV/AGVController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Server/Controllers/AGV/AGVController.cs"
index 8b7602e..ae54415 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Server/Controllers/AGV/AGVController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Server/Controllers/AGV/AGVController.cs"
@@ -141,11 +141,11 @@
if (stationManger.StationType == StationTypeEnum.StationType_OnlyOutbound.ObjToInt())
{
- commonConveyorLine.Communicator.Write("21", (short)256);
+ commonConveyorLine.Communicator.Write("21", new byte[] { 1, 0 });
}
else
{
- commonConveyorLine.Communicator.Write("23", (short)256);
+ commonConveyorLine.Communicator.Write("23", new byte[] { 1, 0 });
}
content.OK();
}
@@ -155,5 +155,14 @@
}
return content;
}
+ /// <summary>
+ /// AGV浣滀笟瀹屾垚
+ /// </summary>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("AgvSearchStatus"), AllowAnonymous]
+ public void AgvSearchStatus()
+ {
+ _taskService.AgvSearchStatus();
+ }
}
}
--
Gitblit v1.9.3