Rename PropertyIdentifier to be consistent with ASHRAE Standard #378
Replies: 1 comment
-
It's worse than that, the Examples uses object types in all uppercase like ANALOG_INPUT and property names in quotes like I proposed making an editorial change to the standard to make them all consistent and programmer friendly; UpperCamelCase names for things and lowerCamelCase names for properties. Because every API and tool kits makes its own decisions about naming conventions, this was regarded as ultimately a lot of work for very little gain. Because Annex Y references ASN.1 names, and BACnet Web Services does as well, I also use |
Beta Was this translation helpful? Give feedback.
-
Hello Joel,
As an entry level BACnet developer, I found it's a little hard to read the code against with the Standard because the PropertyIdentifiers are different in them. For example, the code uses 'presentValue', 'statusFlags', the standard uses 'Present_Value', 'Status_Flags'.
I understand it's hard to refactor the code, but it will be helpful.
Thanks,
Guangyu Zhang
Beta Was this translation helpful? Give feedback.
All reactions