예제 #1
0
 def write_core_lighting_xml(p_element_tag, p_device_obj):
     """
     @param p_element_tag: is the tag/name of the element that will be created
     @param p_device_obj: is the device object that holds the device information.
     @return: the XML element for the device with some sub-elements already attached.
     """
     l_xml = deviceXML.write_base_device_object_xml(p_element_tag, p_device_obj)
     return l_xml
예제 #2
0
 def write_core_lighting_xml(p_element_tag, p_device_obj):
     """
     @param p_element_tag: is the tag/name of the element that will be created
     @param p_device_obj: is the device object that holds the device information.
     @return: the XML element for the device with some sub-elements already attached.
     """
     l_xml = deviceXML.write_base_device_object_xml(p_element_tag,
                                                    p_device_obj)
     return l_xml
예제 #3
0
 def _write_thermostat_base(p_tag_name, p_obj):
     l_xml = deviceXML.write_base_device_object_xml(p_tag_name, p_obj)
     return l_xml
예제 #4
0
 def _write_thermostat_base(p_tag_name, p_obj):
     l_xml = deviceXML.write_base_device_object_xml(p_tag_name, p_obj)
     return l_xml