Dreamine.Communication.Serial 1.0.2
Dreamine.Communication.Serial 통신 기능과 관련 API를 제공합니다.
로딩중...
검색중...
일치하는것 없음
SerialPortTransportOptions.cs
이 파일의 문서화 페이지로 가기
1using System.IO.Ports;
2
4
13public sealed class SerialPortTransportOptions
14{
23 public string PortName { get; set; } = "COM1";
24
33 public int BaudRate { get; set; } = 9600;
34
43 public int DataBits { get; set; } = 8;
44
53 public Parity Parity { get; set; } = Parity.None;
54
63 public StopBits StopBits { get; set; } = StopBits.One;
64
73 public Handshake Handshake { get; set; } = Handshake.None;
74
83 public int ReadTimeoutMs { get; set; } = 3000;
84
93 public int WriteTimeoutMs { get; set; } = 3000;
94
103 public int ReadBufferSize { get; set; } = 4096;
104
113 public int WriteBufferSize { get; set; } = 4096;
114}