OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
Loading...
Searching...
No Matches
OSDP.Net.Model.ReplyData.InputStatus Class Reference

A input status report reply as defined in OSDP v2.2.2 specification. More...

Inheritance diagram for OSDP.Net.Model.ReplyData.InputStatus:
OSDP.Net.Model.PayloadData

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.

Detailed Description

A input status report reply as defined in OSDP v2.2.2 specification.

Definition at line 12 of file InputStatus.cs.

Constructor & Destructor Documentation

◆ InputStatus() [1/2]

OSDP.Net.Model.ReplyData.InputStatus.InputStatus ( InputStatusValue[] statuses)
inline

Initializes a new instance of InputStatus class.

Parameters
statusesArray of input status values ordered by input number.

Definition at line 18 of file InputStatus.cs.

References InputStatuses.

Referenced by SecurityControlBlock().

◆ InputStatus() [2/2]

OSDP.Net.Model.ReplyData.InputStatus.InputStatus ( bool[] statuses)
inline

Initializes a new instance of InputStatus class with boolean values for backward compatibility.

Parameters
statusesArray of boolean status values where true=Active, false=Inactive.

Definition at line 28 of file InputStatus.cs.

References InputStatuses.

Member Function Documentation

◆ ToString()

override string OSDP.Net.Model.ReplyData.InputStatus.ToString ( )
inline

Definition at line 60 of file InputStatus.cs.

References InputStatuses.

Property Documentation

◆ Code

override byte OSDP.Net.Model.ReplyData.InputStatus.Code
get

Definition at line 35 of file InputStatus.cs.

◆ InputStatuses

InputStatusValue [] OSDP.Net.Model.ReplyData.InputStatus.InputStatuses
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().


The documentation for this class was generated from the following file: