master_driver.interfaces.obix module¶
-
class
master_driver.interfaces.obix.Interface(**kwargs)[source]¶ Bases:
master_driver.interfaces.BasicRevert,master_driver.interfaces.BaseInterface-
configure(config_dict, registry_config)[source]¶ Configures the
Interfacefor 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
master_driver.interfaces.obix.Register(url, point_name, obix_point_name, obix_type_str, read_only, units, description='')[source]¶ Bases:
master_driver.interfaces.BaseRegister-
obix_types= {'bool': <function Register.<lambda>>, 'int': <class 'int'>, 'real': <class 'float'>}¶
-