Class SerialPortSettings
串口设置参数
Inheritance
System.Object
SerialPortSettings
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FBoxClientDriver.Contract
Assembly: FBoxClientDriver.Contract.dll
Syntax
public class SerialPortSettings
Properties
BaudRate
波特率
Declaration
public int BaudRate { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DataBits
数据位
Declaration
public int DataBits { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Parity
校验
Declaration
public SerialPortParityMode Parity { get; set; }
Property Value
Type | Description |
---|---|
SerialPortParityMode |
StopBits
停止位
Declaration
public int StopBits { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |