xxyy
2025-03-10 ffe8ac13ba8bc9426f8b5f5b88f094a05b31b7ff
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);
        }
    }
}