我的配料修改
This commit is contained in:
@@ -148,9 +148,9 @@ namespace ZR.Admin.WebApi.Controllers.mes.mm
|
||||
/// <param name="reqCode"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("emergency_stop_agv")]
|
||||
public IActionResult EmergencyStopAgv(string reqCode)
|
||||
public IActionResult EmergencyStopAgv(string reqCode)
|
||||
{
|
||||
if(string.IsNullOrEmpty(reqCode))
|
||||
if (string.IsNullOrEmpty(reqCode))
|
||||
{
|
||||
SUCCESS(null);
|
||||
}
|
||||
@@ -160,14 +160,40 @@ namespace ZR.Admin.WebApi.Controllers.mes.mm
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// agv完成任务
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpPost("agv_final_task")]
|
||||
public IActionResult AgvFinalTask()
|
||||
public IActionResult AgvFinalTask()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 完成配料任务
|
||||
/// 1.更改站点托盘
|
||||
/// 2.完成的配料任务不可见
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet("finishBatchingTask")]
|
||||
public IActionResult FinishBatchingTask(string start_point, string end_point, string taskId)
|
||||
{
|
||||
if (string.IsNullOrEmpty(start_point))
|
||||
{
|
||||
return SUCCESS(null);
|
||||
}
|
||||
if (string.IsNullOrEmpty(end_point))
|
||||
{
|
||||
return SUCCESS(null);
|
||||
}
|
||||
if (string.IsNullOrEmpty(taskId))
|
||||
{
|
||||
return SUCCESS(null);
|
||||
}
|
||||
|
||||
var response = materialInputService.FinishBatchingTask(start_point, end_point, taskId);
|
||||
return SUCCESS(response);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user