xxyy
2025-02-15 26748f9d2337faa40e7ed59a29d58dad161cd8a3
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);
        }
    }
}