sgr_commhandler.driver.generic.generic_interface_async ====================================================== .. py:module:: sgr_commhandler.driver.generic.generic_interface_async .. autoapi-nested-parse:: Provides the generic interface implementation. Attributes ---------- .. autoapisummary:: sgr_commhandler.driver.generic.generic_interface_async.logger Classes ------- .. autoapisummary:: sgr_commhandler.driver.generic.generic_interface_async.GenericDataPoint sgr_commhandler.driver.generic.generic_interface_async.GenericFunctionalProfile sgr_commhandler.driver.generic.generic_interface_async.SGrGenericInterface Functions --------- .. autoapisummary:: sgr_commhandler.driver.generic.generic_interface_async.build_generic_data_point Module Contents --------------- .. py:data:: logger .. py:function:: build_generic_data_point(data_point, functional_profile, interface) Builds a data point of a generic interface. .. py:class:: GenericDataPoint(dp_spec, fp_spec, interface) Bases: :py:obj:`sgr_commhandler.api.data_point_api.DataPointProtocol`\ [\ :py:obj:`sgr_specification.v0.product.GenericFunctionalProfile`\ , :py:obj:`sgr_specification.v0.generic.DataPointBase`\ ] Implements a data point of a generic interface. .. py:attribute:: _fp_name :value: '' .. py:attribute:: _dp_name :value: '' .. py:attribute:: _interface .. py:method:: get_val(parameters = None, skip_cache = False) :async: .. py:method:: set_val(value) :async: .. py:class:: GenericFunctionalProfile(fp_spec, interface) Bases: :py:obj:`sgr_commhandler.api.functional_profile_api.FunctionalProfile`\ [\ :py:obj:`sgr_specification.v0.product.GenericFunctionalProfile`\ ] Implements a functional profile of a generic interface. .. py:attribute:: _interface .. py:attribute:: _data_points .. py:method:: name() .. py:method:: get_data_points() .. py:method:: get_specification() .. py:class:: SGrGenericInterface(frame) Bases: :py:obj:`sgr_commhandler.api.device_api.SGrBaseInterface` SmartGridready External Interface Class for Generic Protocols Actually has no communication protocol, just generic data .. py:attribute:: functional_profiles .. py:method:: is_connected() .. py:method:: disconnect_async() :async: .. py:method:: connect_async() :async: