huangxiaoqiang
2025-03-04 64b22157cf84fcb6d3cecee4d864f1af9e298f4c
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);
        }
    }
}