Files
2025-04-29 09:04:50 +08:00

39 lines
866 B
C#

using System.Collections.Generic;
using linesider_screen_bankend.Services.Interfaces;
namespace linesider_screen_bankend.Services
{
public class PortService : IPortService
{
public List<string> GetBaudOptions()
{
return new List<string>
{
"9600",
"115200",
"230400",
"460800"
};
}
public List<string> GetPortOptions()
{
return new List<string>
{
"COM1",
"COM2",
"COM3",
"COM4"
};
}
public void OpenPort()
{
throw new System.NotImplementedException();
}
public void ClosePort()
{
throw new System.NotImplementedException();
}
}
}