SetpointReference value is Optional
Brought to you by:
joelhaggar,
mlohbihler
The SetpointReference in the loop object is a required property, but it's value is optional. This is explained in the BACnet specifications page 431 as follows:
______________________________________________
BACnetSetpointReference ::= SEQUENCE {
setpointReference [0] BACnetObjectPropertyReference OPTIONAL
}
__________________________________________________
I also included the toString() in SetPointReference and ObjectPropertyReference
Any comments or suggestions welcome.
Setpointreference and ObjectPropertyReference
The original code in SetpointReference is sufficient:
setpointReference = readOptional(queue, ObjectPropertyReference.class, 0);