|
@@ -0,0 +1,47 @@
|
|
|
+using System;
|
|
|
+using System.Collections.Generic;
|
|
|
+using System.ComponentModel;
|
|
|
+using System.Linq;
|
|
|
+using System.Text;
|
|
|
+using System.Threading.Tasks;
|
|
|
+using WCS.Core;
|
|
|
+using WCS.WorkEngineering.WebApi.Models.AGV;
|
|
|
+using WCS.WorkEngineering.Worlds;
|
|
|
+
|
|
|
+namespace WCS.WorkEngineering.Systems
|
|
|
+{
|
|
|
+ /// <summary>
|
|
|
+ /// Agv交互系统
|
|
|
+ /// </summary>
|
|
|
+ [BelongTo(typeof(MainWorld))]
|
|
|
+ [Description("Agv交互系统")]
|
|
|
+ public class AgvSystems : ServiceSystem<AgvCallbackRequest, AgvCallbackResponse>
|
|
|
+ {
|
|
|
+ protected override AgvCallbackResponse Do(AgvCallbackRequest reqDto)
|
|
|
+ {
|
|
|
+ switch (reqDto.method)
|
|
|
+ {
|
|
|
+ case "申请":
|
|
|
+ break;
|
|
|
+
|
|
|
+ case "申请放货":
|
|
|
+ break;
|
|
|
+
|
|
|
+ case "申请取货":
|
|
|
+ break;
|
|
|
+
|
|
|
+ case "取放完成":
|
|
|
+ break;
|
|
|
+
|
|
|
+ default:
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ var res = new AgvCallbackResponse() { code = "0", message = "成功" };
|
|
|
+
|
|
|
+ return res;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+}
|