|
OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
|
Extension methods for CommandType and ReplyType enums. More...
Static Public Member Functions | |
| static string | GetDisplayName (this CommandType commandType) |
| Gets the OSDP protocol name for the command type. | |
| static string | GetDisplayName (this ReplyType replyType) |
| Gets the OSDP protocol name for the reply type. | |
Extension methods for CommandType and ReplyType enums.
Definition at line 8 of file CommandReplyExtensions.cs.
|
inlinestatic |
Gets the OSDP protocol name for the command type.
| commandType | The command type. |
CommandType.LEDControl.GetDisplayName() returns "osdp_LED"
Definition at line 75 of file CommandReplyExtensions.cs.
|
inlinestatic |
Gets the OSDP protocol name for the reply type.
| replyType | The reply type. |
ReplyType.PdIdReport.GetDisplayName() returns "osdp_PDID"
Definition at line 90 of file CommandReplyExtensions.cs.