Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DeviceProtocolController.cs
@@ -1,4 +1,5 @@ using Microsoft.AspNetCore.Authorization; using Autofac.Core; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using WIDESEAWCS_Core; @@ -20,5 +21,12 @@ { return Service.GetImportData(fileInput); } [HttpPost, Route("AddDeviceProtocol"), AllowAnonymous] public WebResponseContent AddDeviceProtocol(int DeviceID,string DeviceChildCode, decimal DeviceProOffset) { return Service.AddDeviceProtocol(DeviceID, DeviceChildCode, DeviceProOffset); } } }