dmroeder / pylogix

Read/Write data from Allen Bradley Compact/Control Logix PLC's
Apache License 2.0
599 stars 182 forks source link

Fix DeviceType return #217

Closed CLau72 closed 1 year ago

CLau72 commented 1 year ago

Short description of change

Fixes Issue#216. Device.get_device was originally writing to resp.Device instead of resp.DeviceType

Types of changes

What does it fix/add?

Fixes the getDeviceProperties and getModuleProperties methods which were originally returning "None" for device type.