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

Generic capability data for a PD. More...

Inheritance diagram for OSDP.Net.Model.ReplyData.DeviceCapability:
OSDP.Net.Model.ReplyData.CommSecurityDeviceCap OSDP.Net.Model.ReplyData.MsgSizeDeviceCap

Public Member Functions

 DeviceCapability (CapabilityFunction function, byte compliance, byte numberOf)
 Initializes a new instance of DeviceCapability class.
override string ToString ()

Properties

CapabilityFunction Function [get]
 Gets the function code.
byte Compliance [get]
 Gets level of compliance with defined function.
byte NumberOf [get]
 Gets number of objects of this type.

Detailed Description

Generic capability data for a PD.

Definition at line 11 of file DeviceCapability.cs.

Constructor & Destructor Documentation

◆ DeviceCapability() [1/2]

OSDP.Net.Model.ReplyData.DeviceCapability.DeviceCapability ( )
inlineprotected

Definition at line 13 of file DeviceCapability.cs.

◆ DeviceCapability() [2/2]

OSDP.Net.Model.ReplyData.DeviceCapability.DeviceCapability ( CapabilityFunction function,
byte compliance,
byte numberOf )
inline

Initializes a new instance of DeviceCapability class.

Parameters
functionFunction/feature code
complianceLevel of compliance with above function
numberOfNumber of objects of this type

Definition at line 23 of file DeviceCapability.cs.

References Compliance, Function, and NumberOf.

Member Function Documentation

◆ ToString()

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

Definition at line 46 of file DeviceCapability.cs.

Property Documentation

◆ Compliance

byte OSDP.Net.Model.ReplyData.DeviceCapability.Compliance
get

Gets level of compliance with defined function.

Definition at line 38 of file DeviceCapability.cs.

Referenced by DeviceCapability().

◆ Function

CapabilityFunction OSDP.Net.Model.ReplyData.DeviceCapability.Function
get

Gets the function code.

Definition at line 33 of file DeviceCapability.cs.

Referenced by DeviceCapability().

◆ NumberOf

byte OSDP.Net.Model.ReplyData.DeviceCapability.NumberOf
get

Gets number of objects of this type.

Definition at line 43 of file DeviceCapability.cs.

Referenced by DeviceCapability().


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