Class SerialPortSettings
- Namespace
- Acuit.Pinpoint.BarCodeScanning
- Assembly
- Acuit.Pinpoint.BarCodeScanning.dll
Serial port settings.
public class SerialPortSettings
- Inheritance
-
SerialPortSettings
- Inherited Members
Properties
BaudRate
Gets or sets the serial baud rate. The default value is 9600.
[GreaterThan(0)]
public int BaudRate { get; set; }
Property Value
DataBits
Gets or sets the standard length of data bits per byte. This must be from 5 to 8. The default is 8.
[Range(5, 8)]
public int DataBits { get; set; }
Property Value
DtrEnable
Gets or sets a value that enables the Data Terminal Ready (DTR) signal during serial communication. The default is false.
public bool DtrEnable { get; set; }
Property Value
Handshake
Gets or sets the handshaking protocol for serial port transmission of data. The default is None.
public Handshake Handshake { get; set; }
Property Value
Parity
Gets or sets the parity-checking protocol. The default is None.
public Parity Parity { get; set; }
Property Value
PortName
Gets or sets the port for communications, including but not limited to all available COM ports. The default is COM1.
[Required]
public string PortName { get; set; }
Property Value
RtsEnable
Gets or sets a value indicating whether the Request to Send (RTS) signal is enabled during serial communication. The default is false.
public bool RtsEnable { get; set; }
Property Value
StopBits
Gets or sets the standard number of stopbits per byte. The default is One.
public StopBits StopBits { get; set; }