From fcd49db2ee33ee2e1d33e5a41e53d9897a8a3b0f Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期四, 05 六月 2025 19:19:10 +0800
Subject: [PATCH] 限制plc伸到位报警,和限制开始作业无限点击问题
---
project/后台管理/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/ParametersController.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 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 6ae4d0e..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,7 +36,7 @@
/// <param name="ExtendedState">浼�/鍑虹姸鎬�</param>
/// <returns></returns>
- [HttpPost,Route("automation"),AllowAnonymous]
+ [HttpPost,Route("automation")]
public WebResponseContent automation(string ExtendedState)
{
return Service.automation(ExtendedState);
@@ -48,7 +48,7 @@
///褰撹嚜鍔ㄤ几鍑洪渶瑕佹殏鍋滄椂锛屾殏鍋滄寜閽�
/// </summary>
/// <returns></returns>
- [HttpPost, Route("PauseButton"), AllowAnonymous]
+ [HttpPost, Route("PauseButton")]
public WebResponseContent PauseButton(int deptid)
{
@@ -60,7 +60,7 @@
/// 浼哥缉鏉嗗綋鍓嶄綅缃�
/// <param name="deptid">杞ㄩ亾绔欏彿</param>
/// <returns></returns>
- [HttpPost, Route("CurrentLocation"), AllowAnonymous]
+ [HttpPost, Route("CurrentLocation")]
public WebResponseContent CurrentLocation(int deptid)
{
return Service.CurrentLocation(deptid);
--
Gitblit v1.9.3