Device_Set_System_Status() now does some range checking (also has local flag to allow internal and external sources have different levels of control.

Simplified write property code using new validation helper functions in h_wp.c. Added location, description and model name to the writable properties.
This commit is contained in:
petermcs
2010-02-03 22:45:07 +00:00
parent 9b19207fd1
commit a076bca5dc
2 changed files with 120 additions and 75 deletions
+3 -2
View File
@@ -86,8 +86,9 @@ extern "C" {
BACNET_DEVICE_STATUS Device_System_Status(
void);
void Device_Set_System_Status(
BACNET_DEVICE_STATUS status);
int Device_Set_System_Status(
BACNET_DEVICE_STATUS status,
bool local);
const char *Device_Vendor_Name(
void);