attpcdaq.daq.models.ConfigId.as_xml

ConfigId.as_xml()[source]

Get an XML representation of the object.

This is useful for sending to the ECC server. The format is as follows:

<ConfigId>
    <SubConfigId type="describe">[self.describe]</SubConfigId>
    <SubConfigId type="prepare">[self.prepare]</SubConfigId>
    <SubConfigId type="configure">[self.configure]</SubConfigId>
</ConfigId>
Returns:The XML representation.
Return type:str