qiuyao
2025-03-25 b46664a981918f4704df1b7b2108c0548c9c8187
项目代码/WIDESEAWCS_Server 正式/WIDESEAWCS_Server/Controllers/SerialPort/TorqueOpController.cs
@@ -3,6 +3,7 @@
using Microsoft.AspNetCore.Mvc;
using WIDESEAWCS_Core;
using WIDESEAWCS_Core.BaseController;
using WIDESEAWCS_DTO.SerialPort;
using WIDESEAWCS_DTO.TaskInfo;
using WIDESEAWCS_ITaskInfoService;
using WIDESEAWCS_Model.Models;
@@ -18,6 +19,17 @@
        {
        }
        [HttpPost,Route("Checkvalue"), AllowAnonymous]
        public WebResponseContent Checkvalue([FromBody]GetTorDTO getTorDTO)
        {
            return Service.Checkvalue(getTorDTO);
        }
        [HttpPost, Route("AddTorqueOp"), AllowAnonymous]
        public WebResponseContent AddTorqueOp([FromBody] Dt_TorqueOp torqueOp)
        {
            return Service.AddTorqueOp(torqueOp);
        }
    }
}