| | |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEAWCS_Core; |
| | | using WIDESEAWCS_Core.BaseController; |
| | | using WIDESEAWCS_DTO.StackerHandTask; |
| | | using WIDESEAWCS_ISystemServices; |
| | | using WIDESEAWCS_Model.Models; |
| | | using WIDESEAWCS_QuartzJob.DTO; |
| | |
| | | { |
| | | return await Service.QueryDeviceProInfos(); |
| | | } |
| | | |
| | | [HttpPost, Route("StackerHandTask"), AllowAnonymous] |
| | | public WebResponseContent StackerHandTask([FromBody] HandTask stackerhand) |
| | | { |
| | | return Service.StackerHandTask(stackerhand); |
| | | } |
| | | |
| | | [HttpPost, Route("StackerReset"), AllowAnonymous] |
| | | public WebResponseContent StackerReset(string DeviceCode) |
| | | { |
| | | return Service.StackerReset(DeviceCode); |
| | | } |
| | | |
| | | [HttpPost, Route("StackerEmergencyStop"), AllowAnonymous] |
| | | public WebResponseContent StackerEmergencyStop(string DeviceCode) |
| | | { |
| | | return Service.StackerEmergencyStop(DeviceCode); |
| | | } |
| | | |
| | | [HttpPost, Route("GetConveyorLineInfo"), AllowAnonymous] |
| | | public WebResponseContent GetConveyorLineInfo(string DeviceChildCode) |
| | | { |
| | | return Service.GetConveyorLineInfo(DeviceChildCode); |
| | | } |
| | | |
| | | [HttpPost, Route("ConveyorLineHandTask"), AllowAnonymous] |
| | | public WebResponseContent ConveyorLineHandTask([FromBody] HandTask ConveyorLinehand) |
| | | { |
| | | return Service.ConveyorLineHandTask(ConveyorLinehand); |
| | | } |
| | | |
| | | [HttpPost, Route("ConveyorLineReset"), AllowAnonymous] |
| | | public WebResponseContent ConveyorLineReset(string DeviceChildCode) |
| | | { |
| | | return Service.ConveyorLineReset(DeviceChildCode); |
| | | } |
| | | |
| | | [HttpPost, Route("ConveyorLineEmergencyStop"), AllowAnonymous] |
| | | public WebResponseContent ConveyorLineEmergencyStop(string DeviceChildCode) |
| | | { |
| | | return Service.ConveyorLineEmergencyStop(DeviceChildCode); |
| | | } |
| | | |
| | | [HttpPost, Route("ConveyorLineReturn"), AllowAnonymous] |
| | | public WebResponseContent ConveyorLineReturn(string DeviceChildCode) |
| | | { |
| | | return Service.ConveyorLineReturn(DeviceChildCode); |
| | | } |
| | | |
| | | [HttpPost, Route("ConveyorLineCancel"), AllowAnonymous] |
| | | public WebResponseContent ConveyorLineCancel(string DeviceChildCode) |
| | | { |
| | | return Service.ConveyorLineCancel(DeviceChildCode); |
| | | } |
| | | |
| | | [HttpPost, Route("ConveyorLineInitialize"), AllowAnonymous] |
| | | public WebResponseContent ConveyorLineInitialize(string DeviceChildCode) |
| | | { |
| | | return Service.ConveyorLineInitialize(DeviceChildCode); |
| | | } |
| | | |
| | | [HttpPost, Route("RGVHandTask"), AllowAnonymous] |
| | | public WebResponseContent RGVHandTask([FromBody] HandTask RGVhand) |
| | | { |
| | | return Service.RGVHandTask(RGVhand); |
| | | } |
| | | |
| | | [HttpPost, Route("RGVReset"), AllowAnonymous] |
| | | public WebResponseContent RGVReset(string DeviceCode) |
| | | { |
| | | return Service.RGVReset(DeviceCode); |
| | | } |
| | | |
| | | [HttpPost, Route("RGVEmergencyStop"), AllowAnonymous] |
| | | public WebResponseContent RGVEmergencyStop(string DeviceCode) |
| | | { |
| | | return Service.RGVEmergencyStop(DeviceCode); |
| | | } |
| | | |
| | | [HttpPost, Route("RGVCancel"), AllowAnonymous] |
| | | public WebResponseContent RGVCancel(string DeviceCode) |
| | | { |
| | | return Service.RGVCancel(DeviceCode); |
| | | } |
| | | |
| | | [HttpPost, Route("RGVInitialize"), AllowAnonymous] |
| | | public WebResponseContent RGVInitialize(string DeviceCode) |
| | | { |
| | | return Service.RGVInitialize(DeviceCode); |
| | | } |
| | | |
| | | [HttpPost, Route("RGVPause"), AllowAnonymous] |
| | | public WebResponseContent RGVPause(string DeviceCode) |
| | | { |
| | | return Service.RGVPause(DeviceCode); |
| | | } |
| | | } |
| | | } |