platform_driver.interfaces.obix module
- class platform_driver.interfaces.obix.Interface(**kwargs)[source]
Bases:
BasicRevert
,BaseInterface
- configure(config_dict, registry_config)[source]
Configures the
Interface
for the specific instance of a device.- Parameters
This method must setup register representations of all points on a device by creating instances of
BaseRegister
(or a subclass) and adding them to the Interface withBaseInterface.insert_register()
.
- class platform_driver.interfaces.obix.Register(url, point_name, obix_point_name, obix_type_str, read_only, units, description='')[source]
Bases:
BaseRegister
- obix_types = {'bool': <function Register.<lambda>>, 'int': <class 'int'>, 'real': <class 'float'>}