mirror of
https://github.com/JoelBender/bacpypes
synced 2025-10-27 00:57:47 +08:00
ignore propertyList property during ReadPropertyMultiple request (#273)
* 0.17.6 released * ignore propertyList property during ReadPropertyMultiple request * correctly resolving conflicts...
This commit is contained in:
parent
4f6e50747c
commit
a5b0f98ada
|
|
@ -291,6 +291,11 @@ class ReadWritePropertyMultipleServices(Capability):
|
|||
for propId, prop in obj._properties.items():
|
||||
if _debug: ReadWritePropertyMultipleServices._debug(" - checking: %r %r", propId, prop.optional)
|
||||
|
||||
# skip propertyList for ReadPropertyMultiple
|
||||
if (propId == 'propertyList'):
|
||||
if _debug: ReadWritePropertyMultipleServices._debug(" - ignore propertyList")
|
||||
continue
|
||||
|
||||
if (propertyIdentifier == 'all'):
|
||||
pass
|
||||
elif (propertyIdentifier == 'required') and (prop.optional):
|
||||
|
|
|
|||
|
|
@ -288,6 +288,11 @@ class ReadWritePropertyMultipleServices(Capability):
|
|||
else:
|
||||
for propId, prop in obj._properties.items():
|
||||
if _debug: ReadWritePropertyMultipleServices._debug(" - checking: %r %r", propId, prop.optional)
|
||||
|
||||
# skip propertyList for ReadPropertyMultiple
|
||||
if (propId == 'propertyList'):
|
||||
if _debug: ReadWritePropertyMultipleServices._debug(" - ignore propertyList")
|
||||
continue
|
||||
|
||||
if (propertyIdentifier == 'all'):
|
||||
pass
|
||||
|
|
|
|||
|
|
@ -289,6 +289,11 @@ class ReadWritePropertyMultipleServices(Capability):
|
|||
for propId, prop in obj._properties.items():
|
||||
if _debug: ReadWritePropertyMultipleServices._debug(" - checking: %r %r", propId, prop.optional)
|
||||
|
||||
# skip propertyList for ReadPropertyMultiple
|
||||
if (propId == 'propertyList'):
|
||||
if _debug: ReadWritePropertyMultipleServices._debug(" - ignore propertyList")
|
||||
continue
|
||||
|
||||
if (propertyIdentifier == 'all'):
|
||||
pass
|
||||
elif (propertyIdentifier == 'required') and (prop.optional):
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user