Show / Hide Table of Contents

Class SerialComm

It represents a serial port in the client machine.

Inheritance
System.Object
SerialComm
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Neodynamic.Blazor
Assembly: cs.temp.dll.dll
Syntax
public class SerialComm

Properties

BaudRate

Gets or sets the serial port baud rate in bits per second. Default value is 9600

Declaration
public int BaudRate { get; set; }
Property Value
Type Description
System.Int32

DataBits

Gets or sets the serial port standard length of data bits per byte. Default value is 8

Declaration
public int DataBits { get; set; }
Property Value
Type Description
System.Int32

DataToSend

Gets or sets the data to send.

Declaration
public string DataToSend { get; set; }
Property Value
Type Description
System.String

FlowControl

Gets or sets the handshaking protocol for serial port transmission of data. Default value is XOnXOff

Declaration
public SerialPortHandshake FlowControl { get; set; }
Property Value
Type Description
SerialPortHandshake

Id

Gets an unique ID.

Declaration
public string Id { get; }
Property Value
Type Description
System.String

IsOpen

Gets whether the Serial Comm is open.

Declaration
public bool IsOpen { get; }
Property Value
Type Description
System.Boolean

Parity

Gets or sets the serial port parity-checking protocol. Default value is None

Declaration
public SerialPortParity Parity { get; set; }
Property Value
Type Description
SerialPortParity

PortName

Gets or sets the serial port name, for example COM1. Default value is an empty string.

Declaration
public string PortName { get; set; }
Property Value
Type Description
System.String

StopBits

Gets or sets the serial port standard number of stopbits per byte. Default value is One

Declaration
public SerialPortStopBits StopBits { get; set; }
Property Value
Type Description
SerialPortStopBits

Methods

GenerateUniqueId()

Generates an unique ID for this job.

Declaration
public void GenerateUniqueId()
Back to top Copyright © 2003- Neodynamic SRL
http://www.neodynamic.com