energyinterop — archive
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
— [Date Index]
| [Thread Index]
| [Month Index]
| [List Home]
Snaps and Reports
During the meeting this week, it was requested that Snaps and Reports be unified. The subject of compound reports was also broached. I have addressed the second of these in last night’s WIP. Now as to the first.
I am using code to generate report artifacts, and stopping periodically (half done) to check my work. The artifact below, before I had generated any Intervals, bubbled up. The Intervals collection is currently mandatory (it is a stream) but it may have 0 intervals. The artifact below could have an option “immediate value” to go alongside the empty “<strm:intervals/>”, and if so, reports and snaps would be the same object.
Requests are still different. There are many aspects of reporting that I do not require if I am requesting a snap. But the element returned could be the same.
Comments?
<eitc:eiReport xmlns:eip="http://docs.oasis-open.org/ns/energyinterop/201110/payloads" xmlns:xcal="urn:ietf:params:xml:ns:icalendar-2.0" xmlns:strm="urn:ietf:params:xml:ns:icalendar-2.0:stream" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xmlns:power="http://docs.oasis-open.org/ns/emix/2011/06/power" xmlns:eitc="http://docs.oasis-open.org/ns/energyinterop/201110" xmlns:si="http://docs.oasis-open.org/ns/emix/2011/06/siscale" xmlns:emix="http://docs.oasis-open.org/ns/emix/2011/06">
<strm:intervals/>
<eitc:reportID>**reportID*</eitc:reportID>
<eitc:reportDescription>
<eitc:reportType/>
</eitc:reportDescription>
<eitc:reportRequestID>idThatRequestedMe</eitc:reportRequestID>
<eitc:reportSpecifierID>idOfSpecification</eitc:reportSpecifierID>
<eitc:reportName>optional free-form report name</eitc:reportName>
<eitc:createdDateTime>2012-05-21T05:00:00</eitc:createdDateTime>
<power:energyReal>
<power:itemDescription>RealEnergy</power:itemDescription>
<power:itemUnits>Wh</power:itemUnits>
<si:siScaleCode>M</si:siScaleCode>
</power:energyReal>
</eitc:eiReport>
“The single biggest problem in communication is the illusion that it has taken place.” – George Bernard Shaw.
Toby Considine TC9, Inc
TC Chair: oBIX & WS-Calendar
TC Editor: EMIX, EnergyInterop
U.S. National Inst. of Standards and Tech. Smart Grid Architecture Committee
Email:
[email protected]
Phone: (919)619-2104
http://www.tcnine.com/ blog: www.NewDaedalus.com
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
— [Date Index]
| [Thread Index]
| [Month Index]
| [List Home]