Hello,
I have noticed another issue with the CheckedListBox representation of GXObisValueItem values in GXDLMSDirector 9.0.2508.2701.
I have values similar to:
0 = Valve open
1 = Valve closed due to loss of communication
...
64 = Valve closed due to remote or local control
When the actual value received from the device is: 64
GXDLMSDirector displays CheckedListBox:
[x] Valve open (0)
[ ] ... (1)
[ ] ... (2)
[ ] ... (4)
[ ] ... (8)
[ ] ... (16)
[ ] ... (32)
[x] Valve closed due to remote or local control (64)
[ ] ... (128)
I would expect only value 64 to be selected:
[ ] Valve open (0)
...
[x] Valve closed due to remote or local control (64)
Specifically, Value=0 should only be active when the actual value itself is zero.
Could you please check whether zero is being treated as a bit mask?
A typical mask comparison can unintentionally match zero because: 64 & 0 = 0 which could cause both 0 and 64 to appear selected.
Thank you.