|
OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
|
A local status report reply. More...
Public Member Functions | |
| LocalStatus (bool tamper, bool powerFailure) | |
| Initializes a new instance of LocalStatus class. | |
| override ReadOnlySpan< byte > | SecurityControlBlock () |
| override byte[] | BuildData () |
| override byte[]? PowerFailure(byte) 0x01 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] |
| bool | Tamper [get] |
| Gets a value indicating whether this PD is tamper. | |
| bool | PowerFailure [get] |
| Gets a value indicating whether this PD is experiencing a power failure. | |
| 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 local status report reply.
Definition at line 11 of file LocalStatus.cs.
|
inline |
Initializes a new instance of LocalStatus class.
| tamper | |
| powerFailure |
Definition at line 18 of file LocalStatus.cs.
References PowerFailure, and Tamper.
Referenced by SecurityControlBlock().
|
inline |
Definition at line 64 of file LocalStatus.cs.
|
get |
Definition at line 25 of file LocalStatus.cs.
|
get |
Gets a value indicating whether this PD is experiencing a power failure.
true if power failure; otherwise, false.
Definition at line 37 of file LocalStatus.cs.
Referenced by BuildData(), and LocalStatus().
|
get |
Gets a value indicating whether this PD is tamper.
true if tamper; otherwise, false.
Definition at line 31 of file LocalStatus.cs.
Referenced by BuildData(), and LocalStatus().