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
stringThe 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
HeaderError
The line header for Error "ER"
public const string HeaderError = "ER"
Field Value
HeaderMessage
The line header for message "ME"
public const string HeaderMessage = "ME"
Field Value
HeaderOk
The line header for OK "OK"
public const string HeaderOk = "OK"
Field Value
HeaderParameters
The line header for Parameters "PR"
public const string HeaderParameters = "PR"
Field Value
Properties
FullLine
Gets the full line
public string FullLine { get; }
Property Value
Header
Gets the two character header without the colon
public string Header { get; }
Property Value
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; }