杨前锦
2025-07-01 a93b0e99036c24b9bd58c79bf5e7364b1ba28bae
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using HH.WCS.Mobox3.HD.core;
using HH.WCS.Mobox3.HD.dispatch;
using HH.WCS.Mobox3.HD.process;
using HH.WCS.Mobox3.HD.wms;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Reflection;
using System.Web.Http;
using static HH.WCS.Mobox3.HD.api.ApiModel;
using static HH.WCS.Mobox3.HD.api.OtherModel;
using static HH.WCS.Mobox3.HD.api.WmsController;
 
namespace HH.WCS.Mobox3.HD.api
{
    /// <summary>
    /// 设备信息上报(hosttoagv上报、杭奥堆垛机)
    /// </summary>
    //[RoutePrefix("agv")]
    public class AgvController : System.Web.Http.ApiController
    {
        /// <summary>
        /// 合力  agv车辆状态回报
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        [HttpPost]
        public ReturnResult HLAGVCallbackState(HLAgvTaskState model)
        {
            LogHelper.Info("HLAGVCallbackState Request:" + JsonConvert.SerializeObject(model), "合力");
            WCSCore.OperateHLTaskStatus(model);
            return new ReturnResult();
        }
 
    }
}