Added DCC enum text names.
This commit is contained in:
@@ -128,6 +128,9 @@ extern "C" {
|
|||||||
const char *bactext_life_safety_state_name(
|
const char *bactext_life_safety_state_name(
|
||||||
unsigned index);
|
unsigned index);
|
||||||
|
|
||||||
|
const char *bactext_device_communications_name(
|
||||||
|
unsigned index);
|
||||||
|
|
||||||
const char *bactext_lighting_operation_name(
|
const char *bactext_lighting_operation_name(
|
||||||
unsigned index);
|
unsigned index);
|
||||||
|
|
||||||
|
|||||||
@@ -2389,3 +2389,20 @@ const char *bactext_lighting_operation_name(
|
|||||||
else
|
else
|
||||||
return "Invalid BACnetLightingOperation";
|
return "Invalid BACnetLightingOperation";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
INDTEXT_DATA bacnet_device_communications_names[] = {
|
||||||
|
{COMMUNICATION_ENABLE, "enabled"}
|
||||||
|
,
|
||||||
|
{COMMUNICATION_DISABLE, "disabled"}
|
||||||
|
,
|
||||||
|
{COMMUNICATION_DISABLE_INITIATION, "initiation disabled"}
|
||||||
|
,
|
||||||
|
{0, NULL}
|
||||||
|
};
|
||||||
|
|
||||||
|
const char *bactext_device_communications_name(
|
||||||
|
unsigned index)
|
||||||
|
{
|
||||||
|
return indtext_by_index_default(bacnet_device_communications_names, index,
|
||||||
|
ASHRAE_Reserved_String);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user