| | |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Authorization; |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEAWCS_Core; |
| | | using WIDESEAWCS_Core.BaseController; |
| | | using WIDESEAWCS_ITelescopicService; |
| | | using WIDESEAWCS_IWMSPart; |
| | |
| | | { |
| | | public ParametersController(IParametersService service) : base(service) |
| | | { |
| | | |
| | | } |
| | | /// <summary> |
| | | /// æå¨æ§å¶ï¼ä¼¸ç¼©æç缩åå伸åºé度 |
| | | /// </summary> |
| | | /// <param name="position">伸缩æçä½ç½®ï¼å·¦å³ï¼</param> |
| | | /// <param name="ExtendedState">伸/ç¼©ç¶æ</param> |
| | | /// <returns></returns> |
| | | /// |
| | | [HttpPost,Route("ManualOperation"),AllowAnonymous] |
| | | public WebResponseContent ManualOperation(string position, string ExtendedState) |
| | | { |
| | | return Service.ManualOperation(position, ExtendedState); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// èªå¨æ§å¶ä¼¸ç¼©æç伸åºå缩åé度 |
| | | /// </summary> |
| | | /// <param name="ExtendedState">伸/åºç¶æ</param> |
| | | /// <returns></returns> |
| | | |
| | | [HttpPost,Route("automation"),AllowAnonymous] |
| | | public WebResponseContent automation(string ExtendedState) |
| | | { |
| | | return Service.automation(ExtendedState); |
| | | } |
| | | } |
| | | } |