| | |
| | | /// <param name="ExtendedState">伸/缩状态</param> |
| | | /// <returns></returns> |
| | | /// |
| | | [HttpPost,Route("ManualOperation"),AllowAnonymous] |
| | | [HttpPost, Route("ManualOperation")] |
| | | public WebResponseContent ManualOperation(string position, string ExtendedState) |
| | | { |
| | | return Service.ManualOperation(position, ExtendedState); |
| | |
| | | /// <param name="ExtendedState">伸/出状态</param> |
| | | /// <returns></returns> |
| | | |
| | | [HttpPost,Route("automation"),AllowAnonymous] |
| | | [HttpPost,Route("automation")] |
| | | public WebResponseContent automation(string ExtendedState) |
| | | { |
| | | return Service.automation(ExtendedState); |
| | |
| | | /// 获取当前程序最新的伸缩杆速度回填给前端 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("BackfillSpeed"), AllowAnonymous] |
| | | [HttpPost, Route("BackfillSpeed")] |
| | | public WebResponseContent BackfillSpeed() |
| | | { |
| | | return Service.BackfillSpeed(); |
| | |
| | | ///当自动伸出需要暂停时,暂停按钮 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("PauseButton"), AllowAnonymous] |
| | | [HttpPost, Route("PauseButton")] |
| | | public WebResponseContent PauseButton() |
| | | { |
| | | return Service.PauseButton(); |
| | |
| | | /// 获取当前伸缩杆的位置 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("CurrentLocation"), AllowAnonymous] |
| | | [HttpPost, Route("CurrentLocation")] |
| | | public WebResponseContent CurrentLocation() |
| | | { |
| | | return Service.CurrentLocation(); |