|
OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
|
A input status report reply as defined in OSDP v2.2.2 specification. More...
Public Member Functions | |
| InputStatus (InputStatusValue[] statuses) | |
| Initializes a new instance of InputStatus class. | |
| InputStatus (bool[] statuses) | |
| Initializes a new instance of InputStatus class with boolean values for backward compatibility. | |
| 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. | |
Properties | |
| override byte | Code [get] |
| InputStatusValue[] | InputStatuses [get] |
| Gets all the PD's input statuses as an array ordered by input number. | |
| 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. | |
A input status report reply as defined in OSDP v2.2.2 specification.
Definition at line 12 of file InputStatus.cs.
|
inline |
Initializes a new instance of InputStatus class.
| statuses | Array of input status values ordered by input number. |
Definition at line 18 of file InputStatus.cs.
References InputStatuses.
Referenced by SecurityControlBlock().
|
inline |
Initializes a new instance of InputStatus class with boolean values for backward compatibility.
| statuses | Array of boolean status values where true=Active, false=Inactive. |
Definition at line 28 of file InputStatus.cs.
References InputStatuses.
|
inline |
Definition at line 60 of file InputStatus.cs.
References InputStatuses.
|
get |
Definition at line 35 of file InputStatus.cs.
|
get |
Gets all the PD's input statuses as an array ordered by input number.
Each value represents the status as defined in Table 52 of the OSDP v2.2.2 specification.
Definition at line 41 of file InputStatus.cs.
Referenced by BuildData(), InputStatus(), InputStatus(), and ToString().