Table of Contents

Class AsciiResponseLine

Namespace
TechnologySolutions.Rfid.AsciiProtocol
Assembly
TechnologySolutions.Rfid.AsciiProtocol.Core.dll

Represents an ASCII response line (e.g. ME: message)

public class AsciiResponseLine : IAsciiResponseLine
Inheritance
AsciiResponseLine
Implements
Inherited Members
Extension Methods

Constructors

AsciiResponseLine(string)

Initializes a new instance of the AsciiResponseLine class

public AsciiResponseLine(string fullLine)

Parameters

fullLine string

The full line containing header and value received from the reader

Fields

HeaderCommandStarted

The line header for Command Started "CS"

public const string HeaderCommandStarted = "CS"

Field Value

string

HeaderError

The line header for Error "ER"

public const string HeaderError = "ER"

Field Value

string

HeaderMessage

The line header for message "ME"

public const string HeaderMessage = "ME"

Field Value

string

HeaderOk

The line header for OK "OK"

public const string HeaderOk = "OK"

Field Value

string

HeaderParameters

The line header for Parameters "PR"

public const string HeaderParameters = "PR"

Field Value

string

Properties

FullLine

Gets the full line

public string FullLine { get; }

Property Value

string

Header

Gets the two character header without the colon

public string Header { get; }

Property Value

string

Value

Gets the value of the line. The value after the colon with white-space from the start and end removed

public string Value { get; }

Property Value

string