| | |
| | | { |
| | | return Service.RollbackTaskStatusToLast(taskNum); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// åå
¥è¾é线åé¦ |
| | | /// </summary> |
| | | /// <param name="TargetAddress"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("SetPlcResponState"), AllowAnonymous] |
| | | public WebResponseContent SetPlcResponState([FromBody] string TargetAddress) |
| | | { |
| | | return Service.SetPlcResponState(TargetAddress); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 读åè¾é线è¾é线åé¦ |
| | | /// </summary> |
| | | /// <param name="TargetAddress"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("GetPlcState"), AllowAnonymous] |
| | | public WebResponseContent GetPlcState([FromBody] string TargetAddress) |
| | | { |
| | | return Service.GetPlcState(TargetAddress); |
| | | } |
| | | } |
| | | } |