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

A manufacturer specific reply. More...

Public Member Functions

override string ToString ()

Static Public Member Functions

static ManufacturerSpecific ParseData (ReadOnlySpan< byte > data)
 Parses the message payload bytes.

Properties

IEnumerable< byte > VendorCode [get]
 Gets the vendor code.
IEnumerable< byte > Data [get]
 Gets the manufacture specific data.

Detailed Description

A manufacturer specific reply.

Definition at line 11 of file ManufacturerSpecific.cs.

Member Function Documentation

◆ ParseData()

ManufacturerSpecific OSDP.Net.Model.ReplyData.ManufacturerSpecific.ParseData ( ReadOnlySpan< byte > data)
inlinestatic

Parses the message payload bytes.

Parameters
dataMessage payload as bytes
Returns
An instance of ManufacturerSpecific representing the message payload

Definition at line 33 of file ManufacturerSpecific.cs.

References Data, and VendorCode.

Referenced by OSDP.Net.Model.Packet.ParsePayloadData().

◆ ToString()

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

Definition at line 51 of file ManufacturerSpecific.cs.

Property Documentation

◆ Data

IEnumerable<byte> OSDP.Net.Model.ReplyData.ManufacturerSpecific.Data
get

Gets the manufacture specific data.

Definition at line 28 of file ManufacturerSpecific.cs.

Referenced by ParseData().

◆ VendorCode

IEnumerable<byte> OSDP.Net.Model.ReplyData.ManufacturerSpecific.VendorCode
get

Gets the vendor code.

Definition at line 23 of file ManufacturerSpecific.cs.

Referenced by ParseData().


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