From 69b4b758498b839aedbd82f7d4dee9d879ba65fe Mon Sep 17 00:00:00 2001 From: yanjinhui <3306209981@qq.com> Date: 星期四, 12 六月 2025 09:17:53 +0800 Subject: [PATCH] 修改开始检修和查看检修人员接口 --- project/后台管理/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/ParametersController.cs | 28 ++++++++++++++++++++++++++-- 1 files changed, 26 insertions(+), 2 deletions(-) diff --git "a/project/\345\220\216\345\217\260\347\256\241\347\220\206/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/ParametersController.cs" "b/project/\345\220\216\345\217\260\347\256\241\347\220\206/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/ParametersController.cs" index 1af844f..d48226b 100644 --- "a/project/\345\220\216\345\217\260\347\256\241\347\220\206/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/ParametersController.cs" +++ "b/project/\345\220\216\345\217\260\347\256\241\347\220\206/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/ParametersController.cs" @@ -24,7 +24,7 @@ /// <param name="ExtendedState">浼�/缂╃姸鎬�</param> /// <returns></returns> /// - [HttpPost,Route("ManualOperation"),AllowAnonymous] + [HttpPost,Route("ManualOperation")] public WebResponseContent ManualOperation(string position, string ExtendedState, int DeptId) { return Service.ManualOperation(position, ExtendedState, DeptId); @@ -36,10 +36,34 @@ /// <param name="ExtendedState">浼�/鍑虹姸鎬�</param> /// <returns></returns> - [HttpPost,Route("automation"),AllowAnonymous] + [HttpPost,Route("automation")] public WebResponseContent automation(string ExtendedState) { return Service.automation(ExtendedState); } + + + + /// <summary> + ///褰撹嚜鍔ㄤ几鍑洪渶瑕佹殏鍋滄椂锛屾殏鍋滄寜閽� + /// </summary> + /// <returns></returns> + [HttpPost, Route("PauseButton")] + public WebResponseContent PauseButton(int deptid) + { + + return Service.PauseButton(deptid); + } + + + /// <summary> + /// 浼哥缉鏉嗗綋鍓嶄綅缃� + /// <param name="deptid">杞ㄩ亾绔欏彿</param> + /// <returns></returns> + [HttpPost, Route("CurrentLocation")] + public WebResponseContent CurrentLocation(int deptid) + { + return Service.CurrentLocation(deptid); + } } } -- Gitblit v1.9.3