|
OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
|
Command data for sending text to be shown on a PD. More...
Public Member Functions | |
| ReaderTextOutput (byte readerNumber, TextCommand textCommand, byte temporaryTextTime, byte row, byte column, string text) | |
| Initializes a new instance of the ReaderTextOutput class. | |
| override ReadOnlySpan< byte > | SecurityControlBlock () |
| override byte[] | BuildData () |
| override string | ToString () |
| Public Member Functions inherited from OSDP.Net.Model.PayloadData | |
| byte[] | BuildData () |
| Converts the payload into a byte array to be sent over the wire. | |
| ReadOnlySpan< byte > | SecurityControlBlock () |
| Retrieves the security control block for a specific command data type. | |
| virtual void | CustomMessageUpdate (Span< byte > messageBuffer) |
| Updates the message data before sending in the specified byte buffer. | |
Static Public Member Functions | |
| static ReaderTextOutput | ParseData (ReadOnlySpan< byte > data) |
| Parses the message payload bytes. | |
Properties | |
| byte | ReaderNumber [get] |
| Gets the reader number starting at 0. | |
| TextCommand | TextCommand [get] |
| Gets the text command for displaying. | |
| byte | TemporaryTextTime [get] |
| Gets the temporary text time in units of 100ms. | |
| byte | Row [get] |
| Gets the row where the first character will be displayed. 0x01 = top row. | |
| byte | Column [get] |
| The column where the first character will be displayed 0x01 = leftmost column. | |
| string | Text [get] |
| Gets the text to display. | |
| override CommandType | CommandType [get] |
| override byte | Code [get] |
| Properties inherited from OSDP.Net.Model.CommandData.CommandData | |
| CommandType | CommandType [get] |
| Message command code. | |
| Properties inherited from OSDP.Net.Model.PayloadData | |
| byte | Code [get] |
| Gets the command or reply code byte value that represent the type of data. | |
| virtual bool | IsSecurityInitialization [get] |
| Gets a value indicating whether the security initialization is performed by this payload. | |
Additional Inherited Members | |
| Static Protected Member Functions inherited from OSDP.Net.Model.CommandData.CommandData | |
| static T[] | SplitData< T > (int size, Func< byte[], T > parseDataFunction, ReadOnlySpan< byte > payloadData) |
| Splits data into multiple elements of type T based on a specified size. | |
Command data for sending text to be shown on a PD.
Definition at line 12 of file ReaderTextOutput.cs.
|
inline |
Initializes a new instance of the ReaderTextOutput class.
| readerNumber | The reader number starting at 0. |
| textCommand | The text command for displaying. |
| temporaryTextTime | The temporary text time in units of 100ms. |
| row | The row where the first character will be displayed. 0x01 = top row. |
| column | The column where the first character will be displayed 0x01 = leftmost column. |
| text | The text to display. |
Definition at line 23 of file ReaderTextOutput.cs.
References Column, ReaderNumber, Row, TemporaryTextTime, Text, and TextCommand.
Referenced by ParseData().
|
inline |
Definition at line 81 of file ReaderTextOutput.cs.
References Column, ReaderNumber, Row, TemporaryTextTime, Text, and TextCommand.
|
inlinestatic |
Parses the message payload bytes.
| data | Message payload as bytes |
Definition at line 62 of file ReaderTextOutput.cs.
References ReaderTextOutput(), and TextCommand.
Referenced by OSDP.Net.Device.EnqueuePollReply(), and OSDP.Net.Model.Packet.ParsePayloadData().
|
inline |
Definition at line 75 of file ReaderTextOutput.cs.
|
inline |
Definition at line 90 of file ReaderTextOutput.cs.
|
get |
Definition at line 72 of file ReaderTextOutput.cs.
|
get |
The column where the first character will be displayed 0x01 = leftmost column.
Definition at line 52 of file ReaderTextOutput.cs.
Referenced by BuildData(), and ReaderTextOutput().
|
get |
Definition at line 69 of file ReaderTextOutput.cs.
|
get |
Gets the reader number starting at 0.
Definition at line 36 of file ReaderTextOutput.cs.
Referenced by BuildData(), and ReaderTextOutput().
|
get |
Gets the row where the first character will be displayed. 0x01 = top row.
Definition at line 49 of file ReaderTextOutput.cs.
Referenced by BuildData(), and ReaderTextOutput().
|
get |
Gets the temporary text time in units of 100ms.
Definition at line 46 of file ReaderTextOutput.cs.
Referenced by BuildData(), and ReaderTextOutput().
|
get |
Gets the text to display.
Definition at line 57 of file ReaderTextOutput.cs.
Referenced by BuildData(), and ReaderTextOutput().
|
get |
Gets the text command for displaying.
Definition at line 41 of file ReaderTextOutput.cs.
Referenced by BuildData(), ParseData(), and ReaderTextOutput().