mirror of
https://github.com/JoelBender/bacpypes
synced 2025-09-28 22:15:23 +08:00
Fix typos in MultipleReadPropertyThreaded
This commit is contained in:
parent
9fca3f608a
commit
2999853343
|
@ -20,7 +20,7 @@ from bacpypes.pdu import Address
|
|||
from bacpypes.object import get_datatype
|
||||
|
||||
from bacpypes.apdu import ReadPropertyRequest
|
||||
from bacpypes.primitivedata import Unsigned
|
||||
from bacpypes.primitivedata import Unsigned, ObjectIdentifier
|
||||
from bacpypes.constructeddata import Array
|
||||
|
||||
from bacpypes.app import BIPSimpleApplication
|
||||
|
@ -64,7 +64,7 @@ class ReadPointListThread(Thread):
|
|||
for addr, obj_id, prop_id in self.point_queue:
|
||||
# build a request
|
||||
request = ReadPropertyRequest(
|
||||
objectIdentifier=ObjectIdentifer(obj_id).value,
|
||||
objectIdentifier=ObjectIdentifier(obj_id).value,
|
||||
propertyIdentifier=prop_id,
|
||||
)
|
||||
request.pduDestination = Address(addr)
|
||||
|
|
Loading…
Reference in New Issue
Block a user