From c944d37fcf25d9c217949a171fde868078049f02 Mon Sep 17 00:00:00 2001 From: yanjinhui <3306209981@qq.com> Date: 星期二, 20 五月 2025 16:32:09 +0800 Subject: [PATCH] 修改设置检修权限接口 --- project/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/ParametersController.cs | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/project/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/ParametersController.cs b/project/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/ParametersController.cs index 678df0c..8cbc170 100644 --- a/project/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/ParametersController.cs +++ b/project/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/ParametersController.cs @@ -63,5 +63,26 @@ { return Service.BackfillSpeed(); } + + + /// <summary> + ///褰撹嚜鍔ㄤ几鍑洪渶瑕佹殏鍋滄椂锛屾殏鍋滄寜閽� + /// </summary> + /// <returns></returns> + [HttpPost, Route("PauseButton"), AllowAnonymous] + public WebResponseContent PauseButton() + { + return Service.PauseButton(); + } + + /// <summary> + /// 鑾峰彇褰撳墠浼哥缉鏉嗙殑浣嶇疆 + /// </summary> + /// <returns></returns> + [HttpPost, Route("CurrentLocation"), AllowAnonymous] + public WebResponseContent CurrentLocation() + { + return Service.CurrentLocation(); + } } } -- Gitblit v1.9.3