<body docProcLang="JavaLikeCalc.JavaScript">
<h1>Table of average over day values</h1>

<TABLE border="1" cellpadding="2" cellspacing="0" width="100%" class="data" export="1">
  <TR align="center" valign="center">
    <TH>View</TH><TH>Compare</TH><TH>Reports print</TH><TH>Point configuration</TH><TH>Archivation</TH><TH>Options</TH><TH>?</TH>
  </TR>
  <TR align="center" valign="center">
    <TH colspan="2">&nbsp;</TH><TH colspan="2">Information over day</TH>
    <TH colspan="3" rowspan="2">DD MM YYYY<?dp return Special.FLibSYS.tmFStr(time,"%d %m %Y");?></TH>
  </TR>
  <TR align="center" valign="center"><TH colspan="2">&nbsp;</TH><TH colspan="2">Information over month</TH></TR>
  <TR align="center" valign="center"><TH colspan="7">
Days data over XXXXX Calculator # Pipeline #.<?dp return "Day data over "+Special.FLibSYS.tmFStr(time,"%m %Y")+" Calculator # Pipeline #.";?>
  </TH></TR>
  <TR><TH>Date</TH><TH colspan="2">Capacity</TH><TH>Aver. pressure diff.</TH><TH>St. pressure</TH><TH>Aver. temp.</TH><TH>Density</TH></TR>
  <TR><TH>&nbsp;</TH><TH colspan="2">1000x m3</TH><TH>kgF/m2</TH><TH>kgF/cm</TH><TH>grad.C</TH><TH>kg/m3</TH></TR>
  <TR docRept="86400">
    <TD>DD MM YYYY<?dp return Special.FLibSYS.tmFStr(rTime-rPer,"%d %m %Y");?></TD>
    <TD colspan="2">XXX.XXX<?dp return DAQ.JavaLikeCalc.lib_doc.averVal(pQ,rTime-rPer,rTime,2,"FSArch.1h");?></TD>
    <TD>XXX.X<?dp return DAQ.JavaLikeCalc.lib_doc.averVal(pDP,rTime-rPer,rTime,2,"FSArch.1h");?></TD>
    <TD>X.XX<?dp return DAQ.JavaLikeCalc.lib_doc.averVal(pP,rTime-rPer,rTime,2,"FSArch.1h");?></TD>
    <TD>XX.XX<?dp return DAQ.JavaLikeCalc.lib_doc.averVal(pT,rTime-rPer,rTime,2,"FSArch.1h");?></TD>
    <TD>X.XXX<?dp return DAQ.JavaLikeCalc.lib_doc.averVal(pDS,rTime-rPer,rTime,2,"FSArch.1h");?></TD>
  </TR>
  <TR><TD>All</TD>
    <TD colspan="2">XXX.XXX (1000x m3)<?dp return DAQ.JavaLikeCalc.lib_doc.sumVal(pQ,bTime,time,2,"FSArch.1h")+" (1000x m3)";?></TD>
    <TD colspan="4">&nbsp;</TD>
  </TR>
</TABLE>
</body>