米其林项目Giraf的新接口,采用WebAPI形式,会应用在上海玉兰及波兰米其林项目中
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.3 KiB

using Microsoft.AspNetCore.Mvc;
using WMS_GIRAF_Interface.Models;
using WMS_GIRAF_Interface.Repositories.Implement;
using WMS_GIRAF_Interface.Repositories.Interface;
namespace WMS_GIRAF_Interface.Controllers
{
[ApiController, Route("api/[controller]")]
public class SendInputStorageLinePathStateController :ControllerBase
{
private readonly IdestinationIdRepository _destinationIdRepository;
public SendInputStorageLinePathStateController(IdestinationIdRepository destinationIdRepository)
{
_destinationIdRepository = destinationIdRepository;
}
/// <summary>
/// 更新入库路径状态
/// </summary>
[HttpPost]
public void GetInputStatusFromGiraf(InputStorageLinePathState.Rootobject inputStorageLinePathState )
{
//根据LineNumber获取巷道信息
if (inputStorageLinePathState.LineNumber!=0)
{
var LaneWayInfo = _destinationIdRepository.GetDestinationId(inputStorageLinePathState.LineNumber);
if (LaneWayInfo!=null)
{
}
}
else
{
//tlt:line number不可以为0
}
}
}
}