| | |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEAWCS_Core; |
| | | using WIDESEAWCS_Core.BaseController; |
| | | using WIDESEAWCS_DTO.Telescopic; |
| | | using WIDESEAWCS_ITelescopicService; |
| | | using WIDESEAWCS_IWMSPart; |
| | | using WIDESEAWCS_Model.Models; |
| | |
| | | { |
| | | return Service.automation(ExtendedState); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 根据账号添加伸缩杆速度 |
| | | /// </summary> |
| | | /// <param name="entity"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("AddSpeed"), AllowAnonymous] |
| | | public WebResponseContent AddSpeed([FromBody]SpeedDTO entity) |
| | | { |
| | | return Service.AddSpeed(entity); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 获取当前程序最新的伸缩杆速度回填给前端 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("BackfillSpeed"), AllowAnonymous] |
| | | public WebResponseContent BackfillSpeed() |
| | | { |
| | | return Service.BackfillSpeed(); |
| | | } |
| | | } |
| | | } |