yanjinhui
2025-03-17 b8510ca5d1e56ef78cd27c45b6bd65a2c13f6b27
ÏîÄ¿´úÂë/WIDESEAWCS_Server Õýʽ/WIDESEAWCS_Server/Controllers/SerialPort/SerialPortController.cs
@@ -1,4 +1,4 @@
using Autofac.Core;
/*using Autofac.Core;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
@@ -6,7 +6,7 @@
using WIDESEA_SerialPortService;
using WIDESEAWCS_Core;
using WIDESEAWCS_Core.BaseController;
using WIDESEAWCS_Model.Models.SerialPort;
using WIDESEAWCS_Model.Models;
using WIDESEAWCS_QuartzJob.Service;
//using WIDESEA_ISerialPortService.ISerialPortService;
@@ -59,10 +59,9 @@
        [HttpGet, Route("GetSerialPortCom"), AllowAnonymous]
        public IActionResult GetSerialPortCom()
        {
            var receivedData = _serialPortService.GetSerialPortCom(); // è°ƒç”¨ SerialPortService çš„ GetReceivedData æ–¹æ³•
            return Ok(receivedData); // è¿”回接收到的数据
        }
    }
}
}*/