<body docProcLang="JavaLikeCalc.JavaScript">
<center>
<big><u>______________________<?dp return pEnterpr; ?></u></big><br/>
(enterprise name, where flowmeter located)
<h2>DAY REPORT</h2>
<p>over  "________________"</p>
<table cellpadding="0" cellspacing="0">
<TR><TD>made</TD><TD>________&nbsp;</TD><TD>&nbsp;___________</TD></TR>
<TR><TD></TD><TD><center><font size="-2">(date)</font></center></TD><TD><center><font size="-2">(time)</font></center></TD></TR>
</table>

<br/>

<table cellpadding="0" cellspacing="0">
<TR><TD>"FLOWTEC-TM"</TD><TD>&nbsp;<u>________________________<?dp return pTitle; ?></u>&nbsp;</TD><TD width="20pt"></TD><TD>Pipeline</TD><TD>&nbsp;___________</TD></TR>
<TR align="center"><TD></TD><TD><font size="-2">(calculator or corrector name)</font></TD><TD colspan="2"></TD><TD><font size="-2">(thread name)</font></TD></TR>
</table>

<h4>The flowmeter characterisation included standard narrowing:</h4>

<table width="90%">
<TR>
<TD>
  <table>
    <TR><TD>Contract hour</TD><TD width="5pt"></TD><TD><b>HH:MM<?dp return SYS.strftime(time,"%H %M");?></b></TD></TR>
    <TR><TD>Molar part of N<sub>2</sub>, %</TD><TD></TD><TD><b>XX.XXX<?dp return cMoldN;?></b></TD></TR>
    <TR><TD>Molar part of CO2<sub>2</sub>, %</TD><TD></TD><TD><b>XX.XXX<?dp return cMolsCO2;?></b></TD></TR>
    <TR><TD>Pipe diameter, mm</TD><TD></TD><TD><b>XX.XXX<?dp return cDTr;?></b></TD></TR>
    <TR><TD>Diameter of narrowing, mm</TD><TD></TD><TD><b>XX.XXX<?dp return сDSu;?></b></TD></TR>
  </table>
</TD>
<TD>
  <table style="border-right-style : solid; border-right-width : 1px; border-left-style : solid; border-left-width : 1px;">
    <TR><TD>Sensor's type</TD><TD width="5pt"></TD><TD><b>Corner<?dp return сOtbTp;?></b></TD></TR>
    <TR><TD>Ct. of harshness</TD><TD></TD><TD><b>X.XXXX<?dp return cKsh;?></b></TD></TR>
    <TR><TD>Ct of blunting</TD><TD></TD><TD><b>X.XXXX<?dp return cKtup;?></b></TD></TR>
    <TR><TD>Coefficient L (alpha)</TD><TD></TD><TD><b>X.XXXXXX<?dp return cKL;?></b></TD></TR>
    <TR><TD>Relative square of narrowing</TD><TD></TD><TD><b>X.XXXX<?dp return cSotn;?></b></TD></TR>
  </table>
</TD>
<TD>
  <table>
    <TR><TD>Atm. pressure, kPa</TD><TD width="5pt"></TD><TD><b>XXX.X<?dp return cPatm;?></b></TD></TR>
    <TR><TD>Cuting, kPa</TD><TD></TD><TD><b>XXX.X<?dp return cPots;?></b></TD></TR>
    <TR><TD>Upper border, kPa</TD><TD></TD><TD><b>XXX.XX<?dp return cDPup;?></b></TD></TR>
    <TR><TD>Trigger threshold, kPa</TD><TD></TD><TD><b>XXX.XX<?dp return cPperekl;?></b></TD></TR>
    <TR><TD>Dynamic ductility, kgF/m<sup>2</sup></TD><TD></TD><TD><b>X.XXXXXX<?dp return cVsDin;?></b></TD></TR>
  </table>
</TD>
</TR>
</table>

<h3>Hours data</h3>
<TABLE border="1" cellpadding="2" cellspacing="0" class="data" export="1">
  <TR valign="center">
    <TH>Date</TH><TH colspan="2">Time</TH><TH rowspan="2">Capacity,<br />m3</TH>
   <TH rowspan="2">Aver. pressure diff.,<br/>kgF/m2</TH><TH rowspan="2">Average pressure,<br/>kgF/cm</TH><TH rowspan="2">Average temperatura,<br/>°С</TH><TH rowspan="2">Average density ,<br/>kg.m<sup>3</sup></TH></TR>
  <TR align="center" valign="center"><TH>&nbsp;</TH><TH>begin</TH><TH>end</TH></TR>
  <TR docRept="3600" align="center" valign="center">
<?dp using DAQ.JavaLikeCalc.lib_doc;
	if(!(V1=getVal(pQ,rTime-rPer,0,-1,arch,false,rTime*1e6)).isEVal())	V1 = V1.toReal();
	if(!(V2=getVal(pQ,rTime,0,-1,arch,false,(rTime-rPer)*1e6)).isEVal())	V2 = V2.toReal();
	return "<TD>"+SYS.strftime(rTime,"%d %m")+"</TD>"+
		"<TD>"+SYS.strftime(rTime-rPer,"%H:%M")+"</TD><TD>"+SYS.strftime(rTime,"%H:%M")+"</TD>"+
		"<TD>"+((V1.isEVal() || V2.isEVal())?"Empty":abs(V2-V1).toFixed(3))+"</TD>"+
		"<TD>"+averVal(pDP,rTime-rPer,rTime,2,arch)+"</TD>"+
		"<TD>"+averVal(pP,rTime-rPer,rTime,2,arch)+"</TD>"+
		"<TD>"+averVal(pT,rTime-rPer,rTime,2,arch)+"</TD>"+
		"<TD>"+averVal(pDS,rTime-rPer,rTime,2,arch)+"</TD>";?>
  </TR>
  <TR align="center" valign="center"><TD colspan="3">Summary</TD>
	<TD>XXXXXX.XXX
<?dp using DAQ.JavaLikeCalc.lib_doc;
	if(!(V1=getVal(pQ,bTime,0,-1,arch,false,time*1e6)).isEVal())	V1 = V1.toReal();
	if(!(V2=getVal(pQ,time,0,-1,arch,false,bTime*1e6)).isEVal())	V2 = V2.toReal();
	return ((V1.isEVal() || V2.isEVal())?"Empty":abs(V2-V1).toFixed(3));?>
    </TD><TD colspan="4">&nbsp;</TD></TR>
</TABLE>

<h4>Diagnostic alarm's messages</h4>
<TABLE border="1" cellpadding="2" cellspacing="0" class="data">
  <TR align="center" valign="center"><TH>Date</TH><TH>Time</TH><TH>Alarm message</TH></TR>
  <TR align="center" valign="center" docAMess="3:*">
	<?dp return "<TD>"+Special.FLibSYS.tmFStr(mTime,"%d %m %Y")+"</TD>"+
		"<TD>"+Special.FLibSYS.tmFStr(mTime,"%H:%M:%S")+"</TD>"
		"<TD>"+Special.FLibSYS.strEnc2HTML(mVal)+"</TD>";?>
  </TR>
</TABLE>

<h4>Operator interruption's messages</h4>
<TABLE border="1" cellpadding="2" cellspacing="0" class="data">
  <TR align="center" valign="center"><TH rowspan="2">Date</TH><TH rowspan="2">Time</TH><TH rowspan="2">Changing parameter's name</TH><TH colspan="2">Parameter's value</TH></TR>
  <TR align="center" valign="center"><TH>Previous</TH><TH>New</TH></TR>
  <TR align="center" valign="center" docAMess="2:OP*">
	<?dp return "<TD>"+Special.FLibSYS.tmFStr(mTime,"%d %m %Y")+"</TD>"+
		"<TD>"+Special.FLibSYS.tmFStr(mTime,"%H:%M:%S")+"</TD>"+
		"<TD>"+Special.FLibSYS.strEnc2HTML(Special.FLibSYS.strParse(mVal,0,":"))+"</TD>"+
		"<TD>"+Special.FLibSYS.strParse(mVal,2,":")+"</TD>"+
		"<TD>"+Special.FLibSYS.strParse(mVal,3,":")+"</TD>";?>
  </TR>
</TABLE>
<br/>
<table>
  <TR><TD>The supplier side&nbsp;_______________________</TD></TR>
  <TR><TD>The consumer side&nbsp;_______________________</TD></TR>
</table>
<br/>
<table><TR><TD width="50%"></TD><TD>Day report end over "_________"</TD></TR></table>

</center>

</body>