From 42ffa2417f1a7a21412fb7f0f9985e23e8013f9b Mon Sep 17 00:00:00 2001 From: yanjinhui <3306209981@qq.com> Date: 星期三, 26 三月 2025 10:09:02 +0800 Subject: [PATCH] 改用服务层 --- 项目代码/WIDESEAWCS_Server 正式/WIDESEAWCS_Server/Controllers/SerialPort/TorqueOpController.cs | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_Server/Controllers/SerialPort/TorqueOpController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_Server/Controllers/SerialPort/TorqueOpController.cs" index a1c17fb..b85a18f 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_Server/Controllers/SerialPort/TorqueOpController.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_Server/Controllers/SerialPort/TorqueOpController.cs" @@ -31,5 +31,11 @@ return Service.AddTorqueOp(torqueOp); } + [HttpPost,Route("WhetherSaveValueData"), AllowAnonymous] + public WebResponseContent WhetherSaveValueData(string takeid, string group, int setpunm) + { + return Service.WhetherSaveValueData(takeid, group, setpunm); + } + } } -- Gitblit v1.9.3