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

A reader status report reply. More...

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

Public Member Functions

 ReaderStatus (ReaderTamperStatus[] statuses)
 Creates a new instance of ReaderStatus 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.

Properties

override byte Code [get]
ReaderTamperStatus[] ReaderTamperStatuses [get]
 Gets the all the PDs reader statuses as an array ordered by reader 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 reader status report reply.

Definition at line 12 of file ReaderStatus.cs.

Constructor & Destructor Documentation

◆ ReaderStatus()

OSDP.Net.Model.ReplyData.ReaderStatus.ReaderStatus ( ReaderTamperStatus[] statuses)
inline

Creates a new instance of ReaderStatus class.

Parameters
statuses

Definition at line 18 of file ReaderStatus.cs.

References ReaderTamperStatuses.

Referenced by SecurityControlBlock().

Member Function Documentation

◆ ToString()

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

Definition at line 46 of file ReaderStatus.cs.

References ReaderTamperStatuses.

Property Documentation

◆ Code

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

Definition at line 24 of file ReaderStatus.cs.

◆ ReaderTamperStatuses

ReaderTamperStatus [] OSDP.Net.Model.ReplyData.ReaderStatus.ReaderTamperStatuses
get

Gets the all the PDs reader statuses as an array ordered by reader number.

Definition at line 29 of file ReaderStatus.cs.

Referenced by BuildData(), ReaderStatus(), and ToString().


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