BaseStation.ItemDescriber Namespace
CAS.DataPorter.Configurator Namespace
CAS.Lib.CommonBus Namespace
CAS.Lib.CommonBus.ApplicationLayer Namespace
CAS.Lib.CommonBus.CommunicationLayer Namespace
CAS.Lib.DeviceSimulator Namespace
CAS.NetworkConfigLib Namespace
Object-Oriented Internet Process-Observer

SerialPortSettings Properties

The SerialPortSettings type exposes the following members.

Properties


  Name Description
Public property BaudRate
Gets or sets the serial baud rate.
Public property DataBits
Gets or sets the standard length of data bits per byte.
Public property Parity
Summary: Gets or sets the parity-checking protocol. Returns: One of the System.IO.Ports.Parity values that represents the parity-checking protocol. The default is None. Exceptions: System.IO.IOException: The port is in an invalid state. - or - An attempt to set the state of the underlying port failed. For example, the parameters passed from this System.IO.Ports.SerialPort object were invalid. System.ArgumentOutOfRangeException: The System.IO.Ports.SerialPort.Parity value passed is not a valid value in the System.IO.Ports.Parity enumeration.
Public property PortName
Summary: Gets or sets the port for communications, including but not limited to all available COM ports. Returns: The communications port. The default is COM1. Exceptions: System.ArgumentNullException: The System.IO.Ports.SerialPort.PortName property was set to null. System.ArgumentException: The System.IO.Ports.SerialPort.PortName property was set to a value with a length of zero.-or-The System.IO.Ports.SerialPort.PortName property was set to a value that starts with "\\".-or-The port name was not valid. System.InvalidOperationException: The specified port is open.
Public property StopBits
Summary: Gets or sets the standard number of stopbits per byte. Returns: One of the System.IO.Ports.StopBits values. Exceptions: System.ArgumentOutOfRangeException: The System.IO.Ports.SerialPort.StopBits value is not one of the values from the System.IO.Ports.StopBits enumeration. System.IO.IOException: The port is in an invalid state. - or - An attempt to set the state of the underlying port failed. For example, the parameters passed from this System.IO.Ports.SerialPort object were invalid.