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