{% for interval in event_signal.intervals %} {% if interval.dtstart is defined and interval.dtstart is not none %} {{ interval.dtstart|datetimeformat }} {% endif %} {% if interval.duration is defined and interval.duration is not none %} {{ interval.duration|timedeltaformat }} {% endif %} {{ loop.index0 }} {{ interval.signal_payload }} {% endfor %} {{ event_signal.signal_name }} {{ event_signal.signal_type }} {{ event_signal.signal_id }} {% if event_signal.measurement is defined and event_signal.measurement is not none %} {% include 'parts/eventSignalEmix.xml' %} {% endif %} {% if event_signal.current_value is defined and event_signal.current_value is not none %} {{ event_signal.current_value }} {% endif %}