12345678910111213141516171819202122 |
- <oadr:oadrEvent>
- <ei:eiEvent>
- {% include 'parts/eiEventDescriptor.xml' %}
- {% include 'parts/eiActivePeriod.xml' %}
- <ei:eiEventSignals>
- {% for signal in event.event_signals %}
- {% include 'parts/eiEventSignal.xml' %}
- {% endfor %}
- </ei:eiEventSignals>
- {% if event.report_requests %}
- <ei:eiReportRequests>
- {% for report_request in event.report_requests %}
- {% include 'parts/eiReportRequest.xml' %}
- {% endfor %}
- </ns1>
- {% endif %}
- {% if event.targets is defined and event.targets is not none %}
- {% include 'parts/eiEventTarget.xml' %}
- {% endif %}
- </ei:eiEvent>
- <oadr:oadrResponseRequired>{{ event.response_required }}</oadr:oadrResponseRequired>
- </oadr:oadrEvent>
|