- {% if report_description.measurement is defined and report_description.measurement is not none %}
- <{{ report_description.measurement.ns }}:{{ report_description.measurement.name }} xmlns:scale="http://docs.oasis-open.org/ns/emix/2011/06/siscale" xmlns:power="http://docs.oasis-open.org/ns/emix/2011/06/power" >
- <{{ report_description.measurement.ns }}:itemDescription>{{ report_description.measurement.description }}</{{ report_description.measurement.ns }}:itemDescription>
- <{{ report_description.measurement.ns }}:itemUnits>{{ report_description.measurement.unit }}</{{ report_description.measurement.ns }}:itemUnits>
- {% if report_description.measurement.pulse_factor %}<oadr:pulseFactor>{{ report_description.measurement.pulse_factor }}</oadr:pulseFactor>{% else %}
- <scale:siScaleCode>{{ report_description.measurement.scale }}</scale:siScaleCode>
- {% endif %}
- {% if report_description.measurement.power_attributes %}
- <power:powerAttributes>
- <power:hertz>{{ report_description.measurement.power_attributes.hertz }}</power:hertz>
- <power:voltage>{{ report_description.measurement.power_attributes.voltage }}</power:voltage>
- <power:ac>{{ report_description.measurement.power_attributes.ac|booleanformat }}</power:ac>
- </power:powerAttributes>
- {% endif %}
- </{{ report_description.measurement.ns }}:{{ report_description.measurement.name }}>
- {% endif %}
|