using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WIDESEA_WCS;
namespace WIDESEA_WCSServer.Controllers.ToRGV
{
public class ToRGVController
{
///
/// WCS接收RGV上报的任务状态
///
///
///
[HttpPost, Route("/wms/pushTaskFinished"), AllowAnonymous]
public Dictionary WCSReceiveTaskFromWMS([FromBody] Dictionary statusData)
{
return WCSService.WCSReceiveRGVData(statusData);
}
///
/// WCS查询提升机状态信息
///
///
///
[HttpPost, Route("/wms/getElevatorInfos"), AllowAnonymous]
public Dictionary WCSGetElevatorInfoFromWMS()
{
return WCSService.GetElevatorInfo();
}
}
}