1
huangxiaoqiang
2025-02-16 67844d0b962e62d65e5c118d3251aeeeda50810f
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);
        }
    }
}