| | |
| | | using Autofac.Core; |
| | | /*using Autofac.Core; |
| | | using Microsoft.AspNetCore.Authorization; |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Mvc; |
| | |
| | | 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; |
| | | |
| | |
| | | [HttpGet, Route("GetSerialPortCom"), AllowAnonymous] |
| | | public IActionResult GetSerialPortCom() |
| | | { |
| | | |
| | | var receivedData = _serialPortService.GetSerialPortCom(); // è°ç¨ SerialPortService ç GetReceivedData æ¹æ³ |
| | | return Ok(receivedData); // è¿åæ¥æ¶å°çæ°æ® |
| | | |
| | | |
| | | } |
| | | } |
| | | } |
| | | }*/ |