617 lines
28 KiB
PHP
617 lines
28 KiB
PHP
<?php
|
|
error_reporting(E_ERROR);
|
|
$username="corey";
|
|
$password="41945549";
|
|
$database="controls";
|
|
|
|
mysql_connect('127.0.0.1',$username,$password);
|
|
@mysql_select_db($database) or die( "Unable to select database");
|
|
$query = "(SELECT * FROM milling ORDER BY id DESC LIMIT 1)";
|
|
$result=mysql_query($query);
|
|
|
|
$num=mysql_numrows($result);
|
|
|
|
mysql_close();
|
|
?>
|
|
|
|
<?php
|
|
$i=0;
|
|
while ($i < $num) {
|
|
|
|
$f1=mysql_result($result,$i,"livstmpr");
|
|
$f2=mysql_result($result,$i,"mainspd");
|
|
$f3=mysql_result($result,$i,"mill1spd");
|
|
$f4=mysql_result($result,$i,"tonshr");
|
|
$f5=mysql_result($result,$i,"mccoutput");
|
|
$f6=mysql_result($result,$i,"exhaustpr");
|
|
$f7=mysql_result($result,$i,"mill1wsp");
|
|
$f8=mysql_result($result,$i,"canetot");
|
|
$f9=mysql_result($result,$i,"15minavg");
|
|
$f10=mysql_result($result,$i,"weightwsp");
|
|
$f11=mysql_result($result,$i,"Levelswitch");
|
|
$f12=mysql_result($result,$i,"cercoutput");
|
|
$f13=mysql_result($result,$i,"crecpv");
|
|
$f14=mysql_result($result,$i,"crecsp");
|
|
$f15=mysql_result($result,$i,"netablwt");
|
|
$f16=mysql_result($result,$i,"vaporpres");
|
|
$f17=mysql_result($result,$i,"pan8lvl");
|
|
$f18=mysql_result($result,$i,"pan8evapvapor");
|
|
$f19=mysql_result($result,$i,"pan7hdrpres");
|
|
$f20=mysql_result($result,$i,"pan9exhaust");
|
|
$f21=mysql_result($result,$i,"mill1lvl");
|
|
$f22=mysql_result($result,$i,"mill2lvl");
|
|
$f23=mysql_result($result,$i,"mill3lvl");
|
|
$f24=mysql_result($result,$i,"mill4lvl");
|
|
$f25=mysql_result($result,$i,"mill5lvl");
|
|
$f26=mysql_result($result,$i,"mill6lvl");
|
|
$f27=mysql_result($result,$i,"mill1pres");
|
|
$f28=mysql_result($result,$i,"mill2pres");
|
|
$f29=mysql_result($result,$i,"mill3pres");
|
|
$f30=mysql_result($result,$i,"mill4pres");
|
|
$f31=mysql_result($result,$i,"mill5pres");
|
|
$f32=mysql_result($result,$i,"mill6pres");
|
|
$f33=mysql_result($result,$i,"mill2spd");
|
|
$f34=mysql_result($result,$i,"mill3spd");
|
|
$f35=mysql_result($result,$i,"mill4spd");
|
|
$f36=mysql_result($result,$i,"mill5spd");
|
|
$f37=mysql_result($result,$i,"mill6spd");
|
|
$f38=mysql_result($result,$i,"mill1spd");
|
|
$f39=mysql_result($result,$i,"knife1pres");
|
|
$f40=mysql_result($result,$i,"knife2pres");
|
|
$f41=mysql_result($result,$i,"knife3pres");
|
|
$f42=mysql_result($result,$i,"knife1spd");
|
|
$f43=mysql_result($result,$i,"knife2spd");
|
|
$f44=mysql_result($result,$i,"knife3spd");
|
|
$f45=mysql_result($result,$i,"knife1op");
|
|
$f46=mysql_result($result,$i,"knife2op");
|
|
$f47=mysql_result($result,$i,"knife3op");
|
|
$f48=mysql_result($result,$i,"kc1");
|
|
$f49=mysql_result($result,$i,"kc2");
|
|
$f50=mysql_result($result,$i,"kc3");
|
|
$f51=mysql_result($result,$i,"neoutput");
|
|
$f52=mysql_result($result,$i,"nescale");
|
|
$f53=mysql_result($result,$i,"nesetpoint");
|
|
$f54=mysql_result($result,$i,"seoutput");
|
|
$f55=mysql_result($result,$i,"sescale");
|
|
$f56=mysql_result($result,$i,"sesetpoint");
|
|
$f57=mysql_result($result,$i,"woutput");
|
|
$f58=mysql_result($result,$i,"wscale");
|
|
$f59=mysql_result($result,$i,"wsetpoint");
|
|
$f60=mysql_result($result,$i,"latchon");
|
|
$f61=mysql_result($result,$i,"runhrstoday");
|
|
$f62=mysql_result($result,$i,"prevtons");
|
|
$f63=mysql_result($result,$i,"prevtime");
|
|
$f64=mysql_result($result,$i,"canetot");
|
|
$f65=mysql_result($result,$i,"avgtcd");
|
|
$f66=mysql_result($result,$i,"juicetankbit");
|
|
$f67=mysql_result($result,$i,"juicelvl");
|
|
$f68=mysql_result($result,$i,"nam");
|
|
$f69=mysql_result($result,$i,"sam");
|
|
$f70=mysql_result($result,$i,"wam");
|
|
$f71=mysql_result($result,$i,"tdoutput");
|
|
$f72=mysql_result($result,$i,"mill1highlvl");
|
|
$f73=mysql_result($result,$i,"mill5highlvl");
|
|
$f74=mysql_result($result,$i,"mill6highlvl");
|
|
$f75=mysql_result($result,$i,"imbflow");
|
|
$f76=mysql_result($result,$i,"imbsp");
|
|
$f77=mysql_result($result,$i,"pan8hrdpress");
|
|
$f78=mysql_result($result,$i,"mill1automan");
|
|
$f79=mysql_result($result,$i,"mill1output");
|
|
$f80=mysql_result($result,$i,"mill1automan1");
|
|
$f81=mysql_result($result,$i,"losstime");
|
|
$f82=mysql_result($result,$i,"tdratio");
|
|
$f83=mysql_result($result,$i,"tdsetpoint");
|
|
$f84=mysql_result($result,$i,"tdinput");
|
|
$f85=mysql_result($result,$i,"tdmg");
|
|
$f86=mysql_result($result,$i,"mill1sp");
|
|
$f87=mysql_result($result,$i,"mill2sp");
|
|
$f88=mysql_result($result,$i,"mill3sp");
|
|
$f89=mysql_result($result,$i,"mill4sp");
|
|
$f90=mysql_result($result,$i,"mill5sp");
|
|
$f91=mysql_result($result,$i,"mill6sp");
|
|
$f92=mysql_result($result,$i,"nesetpoint3");
|
|
$f93=mysql_result($result,$i,"nespswitch");
|
|
$f94=mysql_result($result,$i,"wsetpoint3");
|
|
$f95=mysql_result($result,$i,"wspswitch");
|
|
$f96=mysql_result($result,$i,"tdratios");
|
|
$f97=mysql_result($result,$i,"exhaustam");
|
|
$f98=mysql_result($result,$i,"b1pidswitch");
|
|
$f99=mysql_result($result,$i,"b1sf");
|
|
$f100=mysql_result($result,$i,"b2sf");
|
|
$f101=mysql_result($result,$i,"b3sf");
|
|
$f102=mysql_result($result,$i,"b4sf");
|
|
$f103=mysql_result($result,$i,"b5sf");
|
|
$f104=mysql_result($result,$i,"b6sf");
|
|
$f105=mysql_result($result,$i,"ttlstmflo");
|
|
$f106=mysql_result($result,$i,"tdsetpoint3");
|
|
$f107=mysql_result($result,$i,"tdsetpoint3switch");
|
|
$f108=mysql_result($result,$i,"stblsp3");
|
|
$f109=mysql_result($result,$i,"stblsp3switch");
|
|
$f110=mysql_result($result,$i,"dmbeltrunning");
|
|
$f111=mysql_result($result,$i,"tdbeltscale");
|
|
$f112=mysql_result($result,$i,"tdbeltscaleonoff");
|
|
?>
|
|
|
|
|
|
<style type="text/css">
|
|
|
|
.tftable1 {font-family:sans-serif;font-size:12px;color:#fbfbfb;width:100%;border-width: 1px;border-color: #686767;border-collapse: collapse;empty-cells: hide;}
|
|
.tftable1 th {font-family:arial;font-size:12px;background-color:#171515;border-width: 1px;padding: 8px;border-style: solid;border-color: #686767;text-align:left;}
|
|
.tftable1 tr {background-color:#171515;}
|
|
.tftable1 td {font-family:sans-serif;font-size:30px;font-weight:bold;border-width: 2px;padding: 3px;border-style: solid;border-color: #686767;}
|
|
|
|
.tftable2 {font-family:sans-serif;font-size:12px;color:#fbfbfb;width:100%;border-width: 1px;border-color: #686767;border-collapse: collapse;empty-cells: hide;}
|
|
.tftable2 th {font-family:sans-serif;font-size:12px;background-color:#171515;border-width: 1px;padding: 8px;border-style: solid;border-color: #686767;text-align:left;}
|
|
.tftable2 tr {background-color:#171515;}
|
|
.tftable2 td {font-family:sans-serif;font-size:32px;font-weight:bold;border-width: 2px;padding: 3px;border-style: solid;border-color: #686767;}
|
|
|
|
.tftable3 {font-family:sans-serif;font-size:12px;color:#fbfbfb;width:100%;border-width: 1px;border-color: #686767;border-collapse: collapse;empty-cells: hide;}
|
|
.tftable3 th {font-family:sans-serif;font-size:12px;background-color:#171515;border-width: 1px;padding: 8px;border-style: solid;border-color: #686767;text-align:left;}
|
|
.tftable3 tr {background-color:#171515;}
|
|
.tftable3 td {font-family:sans-serif;font-size:32px;font-weight:bold;border-width: 2px;padding: 3px;border-style: solid;border-color: #686767;}
|
|
|
|
.tftable4 {font-family:sans-serif;font-size:12px;color:#fbfbfb;width:100%;border-width: 1px;border-color: #686767;border-collapse: collapse;empty-cells: hide;}
|
|
.tftable4 th {font-family:sans-serif;font-size:12px;background-color:#171515;border-width: 1px;padding: 8px;border-style: solid;border-color: #686767;text-align:left;}
|
|
.tftable4 tr {background-color:#171515;}
|
|
.tftable4 td {font-family:sans-serif;font-size:32px;font-weight:bold;border-width: 1px;padding: 1px;border-style: solid;border-color: #686767;}
|
|
</style>
|
|
<table class="tftable1">
|
|
<tr>
|
|
<td width="500" align="left" colspan="5" border="0"><font color="#00BFFF"><i>LASUCA CONTROLS  <?php date_default_timezone_set('America/Chicago'); $date = date('M j, Y g:i:s A'); echo "$date";?> Day <?php include("cropday.php");?></i></font></td>
|
|
<td width="700" align="right" colspan="6" border="0"><font color="#00BFFF"><i>OVERVIEW</i></font></td>
|
|
<tr>
|
|
<tr>
|
|
<td colspan="4" align="center"><font color="#E9F2B6"><i>Mill Info</i></font></td>
|
|
<td colspan="1"><font color="#e0e0e0">Total Steam Flow:</font></td>
|
|
<td align="right" width="75"><font color="00FF00"><b><?php echo $f105; ?></b></font></td>
|
|
<td><font color="#e0e0e0">Kpph</font></td>
|
|
<td colspan="2"><font color="#e0e0e0">Total Tons Ground:</font></td>
|
|
<td align="right"><font color="00FF00"><b><?php include("../data/totground.php");?></b></font></td>
|
|
<td><font color="#e0e0e0">Tons</font></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><font color="#e0e0e0">Mill 1 Set Point:</font></td>
|
|
<?php
|
|
if ($f80 == 1)
|
|
echo "<td colspan=\"1\" align=\"center\" bgcolor=\"#0B3B17\"><font color=\"#e0e0e0\">A</font></td>";
|
|
if ($f80 == 0)
|
|
echo "<td colspan=\"1\" align=\"center\" bgcolor=\"#8A0808\"><font color=\"#e0e0e0\">M</font></td>";
|
|
?>
|
|
<?php
|
|
if ($f11 == 1)
|
|
echo "<td align=\"right\"><font color=\"00FF00\"><b> $f10 </b></font></td>";
|
|
if ($f11 == 0)
|
|
echo "<td align=\"right\"><font color=\"00FF00\"><b> $f7 </b></font></td>";
|
|
?>
|
|
<?php
|
|
if ($f11 == 1)
|
|
echo "<td><font color=\"#e0e0e0\">Tons/Hr</font></td>";
|
|
if ($f11 == 0)
|
|
echo "<td><font color=\"#e0e0e0\">%</font></td>";
|
|
?>
|
|
|
|
<td><font color="#e0e0e0">Grinding Rate:</font></td>
|
|
|
|
<?php
|
|
$color = "#FFFFFF";
|
|
|
|
if (($f4 >= 0) && ($f4 <= 299))
|
|
$color = "#FF0000";
|
|
else if (($f4 >= 200) && ($f4 <= 399))
|
|
$color = "#FFFF00";
|
|
else if ($f4 >= 400)
|
|
$color = "#00FF00";
|
|
|
|
echo "<td align=\"right\"><font color=\"$color\"><b> $f4 </b></font></td>";
|
|
?>
|
|
|
|
<td><font color="#e0e0e0">Tons/Hr</font></td>
|
|
<td colspan="2"><font color="#e0e0e0">Prev Tons Ground:</font></td>
|
|
<td align="right"><font color="00FF00"><b><?php echo $f62; ?></b></font></td>
|
|
<td><font color="#e0e0e0">Tons</font></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="2"><font color="#e0e0e0">MCC FPM:</font></td>
|
|
<td align="right" width="75"><font color="00FF00"><b><?php echo $f2; ?></b></font></td>
|
|
<td><font color="#e0e0e0">FPM</font></td>
|
|
<td><font color="#e0e0e0">15 Min Average:</font></td>
|
|
<td align="right"><font color="00FF00"><b><?php echo $f9; ?></b></font></td>
|
|
<td><font color="#e0e0e0">Tons/Hr</font></td>
|
|
<td colspan="2"><font color="#e0e0e0">Prev Run Hours:</font></td>
|
|
<td align="right"><font color="00FF00"><b><?php echo $f63; ?></b></font></td>
|
|
<td><font color="#e0e0e0">Hours</font></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><font color="#e0e0e0">MCC Output:</font></td>
|
|
<?php
|
|
if ($f98 == 1)
|
|
echo "<td colspan=\"1\" align=\"center\" bgcolor=\"#0B3B17\"><font color=\"#e0e0e0\">2</font></td>";
|
|
if ($f98 == 0)
|
|
echo "<td colspan=\"1\" align=\"center\" bgcolor=\"#8A0808\"><font color=\"#e0e0e0\">1</font></td>";
|
|
?>
|
|
<td align="right"><font color="00FF00"><b><?php echo $f5; ?></b></font></td>
|
|
<td><font color="#e0e0e0">%</font></td>
|
|
<td><font color="#e0e0e0">Run Hours:</font></td>
|
|
<td align="right"><font color="00FF00"><b><?php echo $f61; ?></b></font></td>
|
|
<td><font color="#e0e0e0">Hours</font></td>
|
|
<td colspan="2"><font color="#e0e0e0">Today's Tons In:</font></td>
|
|
<td align="right"><font color="00FF00"><b><?php include("tonsin.php");?></b></font></td>
|
|
<td><font color="#e0e0e0">Tons</font></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="2"><font color="#e0e0e0">MCC Tons:</font></td>
|
|
<td align="right"><font color="00FF00"><b><?php echo $f15; ?></b></font></td>
|
|
<td><font color="#e0e0e0">Tons</font></td>
|
|
<td><font color="#e0e0e0">Tons Ground:</font></td>
|
|
<td align="right"><font color="00FF00"><b><?php echo $f64; ?></b></font></td>
|
|
<td><font color="#e0e0e0">Tons</font></td>
|
|
|
|
<td colspan="2"><font color="#e0e0e0">Today's Loss Time:</font></td>
|
|
<td align="right" id="lsp"><font color="00FF00"><b><?php echo $f81; ?></b></font></td>
|
|
<td><font color="#e0e0e0">Hours</font></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><font color="#e0e0e0">Truck Dump Scale:</font></td>
|
|
<?php
|
|
if ($f112 == 0)
|
|
echo "<td colspan=\"1\" align=\"center\" bgcolor=\"#0B3B17\"><font color=\"#e0e0e0\">ON</font></td>";
|
|
if ($f112 == 1)
|
|
echo "<td colspan=\"1\" align=\"center\" bgcolor=\"#8A0808\"><font color=\"#e0e0e0\">OFF</font></td>";
|
|
?>
|
|
<td align="right"><font color="00FF00"><b><?php echo $f111; ?></b></font></td>
|
|
<td><font color="#e0e0e0">LBS</font></td>
|
|
<td><font color="#e0e0e0">Average Tons/Day:</font></td>
|
|
<td align="right"><font color="00FF00"><b><?php echo $f65; ?></b></font></td>
|
|
<td><font color="#e0e0e0">Tons</font></td>
|
|
<td colspan="2"><font color="#e0e0e0">Live Steam Pressure:</font></td>
|
|
<td align="right" id="lsp"><font color="00FF00"><b><?php echo $f1; ?></b></font></td>
|
|
<td><font color="#e0e0e0">PSI</font></td>
|
|
</tr>
|
|
<tr>
|
|
<?php
|
|
if ($f66 == 0)
|
|
echo "<td colspan=\"2\"><font color=\"#e0e0e0\">One Juice Tank</font></td>";
|
|
if ($f66 == 1)
|
|
echo "<td colspan=\"2\"><font color=\"#e0e0e0\">Two Juice Tanks</font></td>";
|
|
?>
|
|
<td align="right"><font color="00FF00"><b><?php echo $f67; ?></b></font></td>
|
|
<td><font color="#e0e0e0">%</font></td>
|
|
<td><font color="#e0e0e0">Imibition Flow:</font></td>
|
|
<td align="right" id="lsp"><font color="00FF00"><b><?php echo $f75; ?></b></font></td>
|
|
<td><font color="#e0e0e0">GPM</font></td>
|
|
<td><font color="#e0e0e0">Exhaust Pressure:</font></td>
|
|
<?php
|
|
if ($f97 == 0)
|
|
echo "<td align=\"center\" bgcolor=\"#0B3B17\"><font color=\"#e0e0e0\">A</font></td>";
|
|
if ($f97 == 1)
|
|
echo "<td align=\"center\" bgcolor=\"#8A0808\"><font color=\"#e0e0e0\">M</font></td>";
|
|
?>
|
|
<?php
|
|
$color = "#FFFFFF";
|
|
|
|
if (($f6 >= 0) && ($f6 <= 9))
|
|
$color = "#FF0000";
|
|
else if (($f6 >= 6) && ($f6 <= 13))
|
|
$color = "#FFFF00";
|
|
else if ($f6 >= 14)
|
|
$color = "#00FF00";
|
|
|
|
echo "<td align=\"right\"><font color=\"$color\"><b> $f6 </b></font></td>";
|
|
?>
|
|
|
|
<td><font color="#e0e0e0">PSI</font></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td><font color="#e0e0e0">Mill 1 Turbine Output:</font></td>
|
|
<?php
|
|
if ($f78 == 0)
|
|
echo "<td align=\"center\" bgcolor=\"#0B3B17\"><font color=\"#e0e0e0\">A</font></td>";
|
|
if ($f78 == 1)
|
|
echo "<td align=\"center\" bgcolor=\"#8A0808\"><font color=\"#e0e0e0\">M</font></td>";
|
|
?>
|
|
<td align="right"><font color="00FF00"><b><?php echo $f79; ?></b></font></td>
|
|
<td><font color="#e0e0e0">%</font></td>
|
|
<td><font color="#e0e0e0">Imibition SP:</font></td>
|
|
<td align="right" id="lsp"><font color="00FF00"><b><?php echo $f76; ?></b></font></td>
|
|
<td><font color="#e0e0e0">GPM</font></td>
|
|
<td colspan="2"><font color="#e0e0e0">Vapor Header Pressure:</font></td>
|
|
<td align="right" id="lsp"><font color="00FF00"><b><?php echo $f77; ?></b></font></td>
|
|
<td><font color="#e0e0e0">PSI</font></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
|
|
</tr>
|
|
</table>
|
|
|
|
<table class="tftable2" border="1">
|
|
<tr>
|
|
<td colspan="2" bgcolor="#0B3B17" align="center" width="16.6%"><font color="#e0e0e0">Mill 1</font></td>
|
|
<td colspan="2" bgcolor="#D7DF01" align="center" width="16.6%"><font color="#000000">Mill 2</font></td>
|
|
<td colspan="2" bgcolor="#04B404" align="center" width="16.6%"><font color="#e0e0e0">Mill 3</font></td>
|
|
<td colspan="2" bgcolor="#DF7401" align="center" width="16.6%"><font color="#000000">Mill 4</font></td>
|
|
<td colspan="2" bgcolor="#5858FA" align="center" width="16.6%"><font color="#e0e0e0">Mill 5</font></td>
|
|
<td colspan="2" bgcolor="#8A0808" align="center" width="16.6%"><font color="#e0e0e0">Mill 6</font></td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#0B3B17" align="right"><font color="#e0e0e0">RPM</font></td>
|
|
<td bgcolor="#0B3B17" align="left"><font color="#00FF00"><?php echo $f38; ?></font></td>
|
|
<td bgcolor="#D7DF01" align="right"><font color="#000000">RPM</font></td>
|
|
<td bgcolor="#D7DF01" align="left"><font color="#298A08"><?php echo $f33; ?></font></td>
|
|
<td bgcolor="#04B404" align="right"><font color="#e0e0e0">RPM</font></td>
|
|
<td bgcolor="#04B404" align="left"><font color="#81F781"><?php echo $f34; ?></font></td>
|
|
<td bgcolor="#DF7401" align="right"><font color="#000000">RPM</font></td>
|
|
<td bgcolor="#DF7401" align="left"><font color="#00FF00"><?php echo $f35; ?></font></td>
|
|
<td bgcolor="#5858FA" align="right"><font color="#e0e0e0">RPM</font></td>
|
|
<td bgcolor="#5858FA" align="left"><font color="#00FF00"><?php echo $f36; ?></font></td>
|
|
<td bgcolor="#8A0808" align="right"><font color="#e0e0e0">RPM</font></td>
|
|
<td bgcolor="#8A0808" align="left"><font color="#00FF00"><?php echo $f37; ?></font></td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#0B3B17" align="right"><font color="#e0e0e0">SP</font></td>
|
|
<td bgcolor="#0B3B17" align="left"><font color="#00FF00"><?php echo $f86; ?></font></td>
|
|
<td bgcolor="#D7DF01" align="right"><font color="#000000">SP</font></td>
|
|
<td bgcolor="#D7DF01" align="left"><font color="#298A08"><?php echo $f87; ?></font></td>
|
|
<td bgcolor="#04B404" align="right"><font color="#e0e0e0">SP</font></td>
|
|
<td bgcolor="#04B404" align="left"><font color="#81F781"><?php echo $f88; ?></font></td>
|
|
<td bgcolor="#DF7401" align="right"><font color="#000000">SP</font></td>
|
|
<td bgcolor="#DF7401" align="left"><font color="#00FF00"><?php echo $f89; ?></font></td>
|
|
<td bgcolor="#5858FA" align="right"><font color="#e0e0e0">SP</font></td>
|
|
<td bgcolor="#5858FA" align="left"><font color="#00FF00"><?php echo $f90; ?></font></td>
|
|
<td bgcolor="#8A0808" align="right"><font color="#e0e0e0">SP</font></td>
|
|
<td bgcolor="#8A0808" align="left"><font color="#00FF00"><?php echo $f91; ?></font></td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#0B3B17" align="right"><font color="#e0e0e0">Level</font></td>
|
|
<td bgcolor="#0B3B17" align="left"><font color="#00FF00"><?php echo $f21; ?>%</font></td>
|
|
<td bgcolor="#D7DF01" align="right"><font color="#000000">Level</font></td>
|
|
<td bgcolor="#D7DF01" align="left"><font color="#298A08"><?php echo $f22; ?>%</font></td>
|
|
<td bgcolor="#04B404" align="right"><font color="#e0e0e0">Level</font></td>
|
|
<td bgcolor="#04B404" align="left"><font color="#81F781"><?php echo $f23; ?>%</font></td>
|
|
<td bgcolor="#DF7401" align="right"><font color="#000000">Level</font></td>
|
|
<td bgcolor="#DF7401" align="left"><font color="#00FF00"><?php echo $f24; ?>%</font></td>
|
|
<td bgcolor="#5858FA" align="right"><font color="#e0e0e0">Level</font></td>
|
|
<td bgcolor="#5858FA" align="left"><font color="#00FF00"><?php echo $f25; ?>%</font></td>
|
|
<td bgcolor="#8A0808" align="right"><font color="#e0e0e0">Level</font></td>
|
|
<td bgcolor="#8A0808" align="left"><font color="#00FF00"><?php echo $f26; ?>%</font></td>
|
|
</tr>
|
|
<!--
|
|
<tr>
|
|
<td bgcolor="#0B3B17" align="right"><font color="#e0e0e0">PSI</font></td>
|
|
<td bgcolor="#0B3B17" align="left"><font color="#00FF00"><?php echo $f27; ?></font></td>
|
|
<td bgcolor="#D7DF01" align="right"><font color="#000000">PSI</font></td>
|
|
<td bgcolor="#D7DF01" align="left"><font color="#298A08"><?php echo $f28; ?></font></td>
|
|
<td bgcolor="#04B404" align="right"><font color="#e0e0e0">PSI</font></td>
|
|
<td bgcolor="#04B404" align="left"><font color="#81F781"><?php echo $f29; ?></font></td>
|
|
<td bgcolor="#DF7401" align="right"><font color="#000000">PSI</font></td>
|
|
<td bgcolor="#DF7401" align="left"><font color="#00FF00"><?php echo $f30; ?></font></td>
|
|
<td bgcolor="#5858FA" align="right"><font color="#e0e0e0">PSI</font></td>
|
|
<td bgcolor="#5858FA" align="left"><font color="#00FF00"><?php echo $f31; ?></font></td>
|
|
<td bgcolor="#8A0808" align="right"><font color="#e0e0e0">PSI</font></td>
|
|
<td bgcolor="#8A0808" align="left"><font color="#00FF00"><?php echo $f32; ?></font></td>
|
|
</tr>
|
|
-->
|
|
</table>
|
|
<table class="tftable2" border="1">
|
|
<tr>
|
|
<td colspan="2" bgcolor="#DF9401" align="center" width="16.6%"><font color="#000000">Boiler 1</font></td>
|
|
<td colspan="2" bgcolor="#DF9401" align="center" width="16.6%"><font color="#000000">Boiler 2</font></td>
|
|
<td colspan="2" bgcolor="#DF9401" align="center" width="16.6%"><font color="#000000">Boiler 3</font></td>
|
|
<td colspan="2" bgcolor="#DF9401" align="center" width="16.6%"><font color="#000000">Boiler 4</font></td>
|
|
<td colspan="2" bgcolor="#DF9401" align="center" width="16.6%"><font color="#000000">Boiler 5</font></td>
|
|
<td colspan="2" bgcolor="#DF9401" align="center" width="16.6%"><font color="#000000">Boiler 6</font></td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#DF9401" align="center"><font color="#000000">Steam Flow</font></td>
|
|
<td bgcolor="#DF9401" align="center"><font color="#009900"><?php echo $f99; ?></font></td>
|
|
<td bgcolor="#DF9401" align="center"><font color="#000000">Steam Flow</font></td>
|
|
<td bgcolor="#DF9401" align="center"><font color="#009900"><?php echo $f100; ?></font></td>
|
|
<td bgcolor="#DF9401" align="center"><font color="#000000">Steam Flow</font></td>
|
|
<td bgcolor="#DF9401" align="center"><font color="#009900"><?php echo $f101; ?></font></td>
|
|
<td bgcolor="#DF9401" align="center"><font color="#000000">Steam Flow</font></td>
|
|
<td bgcolor="#DF9401" align="center"><font color="#009900"><?php echo $f102; ?></font></td>
|
|
<td bgcolor="#DF9401" align="center"><font color="#000000">Steam Flow</font></td>
|
|
<td bgcolor="#DF9401" align="center"><font color="#009900"><?php echo $f103; ?></font></td>
|
|
<td bgcolor="#DF9401" align="center"><font color="#000000">Steam Flow</font></td>
|
|
<td bgcolor="#DF9401" align="center"><font color="#009900"><?php echo $f104; ?></font></td>
|
|
</tr>
|
|
</table>
|
|
<table class="tftable3" border="1">
|
|
<tr>
|
|
|
|
<?php
|
|
if ($f110 == 0)
|
|
echo "<td colspan=\"2\" align=\"center\" bgcolor=\"#0B3B17\"><font color=\"#e0e0e0\">Truck Dump</font></td>";
|
|
if ($f110 == 1)
|
|
echo "<td colspan=\"2\" align=\"center\" bgcolor=\"#8A0808\"><font color=\"#e0e0e0\">Truck Dump</font></td>";
|
|
?>
|
|
<td colspan="2" align="center" bgcolor="#0B173B" width="14.28%"><font color="#e0e0e0">Knife 1</font></td>
|
|
<td colspan="2" align="center" bgcolor="#0B173B" width="14.28%"><font color="#e0e0e0">Knife 2</font></td>
|
|
<td colspan="2" align="center" bgcolor="#0B173B" width="14.28%"><font color="#e0e0e0">Knife 3</font></td>
|
|
<td colspan="2" align="center" bgcolor="#2E2E2E" width="14.28%"><font color="#e0e0e0">S Table</font></td>
|
|
<td colspan="2" align="center" bgcolor="#2E2E2E" width="14.28%"><font color="#e0e0e0">NE Table</font></td>
|
|
<td colspan="2" align="center" bgcolor="#2E2E2E" width="14.28%"><font color="#e0e0e0">W Table</font></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#0B173B" align="right"><font color="#e0e0e0">PV</font></td>
|
|
<td align="left" bgcolor="#0B173B" width="100"><font color="#00FF00"><?php echo $f84; ?></font></td>
|
|
<td bgcolor="#0B173B" align="right"><font color="#e0e0e0">PSI</font></td>
|
|
<td align="left" bgcolor="#0B173B" width="100"><font color="#00FF00"><?php echo $f39; ?></font></td>
|
|
<td bgcolor="#0B173B" align="right"><font color="#e0e0e0">PSI</font></td>
|
|
<td align="left" bgcolor="#0B173B" width="100"><font color="#00FF00"><?php echo $f40; ?></font></td>
|
|
<td bgcolor="#0B173B" align="right"><font color="#e0e0e0">PSI</font></td>
|
|
<td align="left" bgcolor="#0B173B" width="100"><font color="#00FF00"><?php echo $f41; ?></font></td>
|
|
<td bgcolor="#2E2E2E" align="right"><font color="#e0e0e0">PV</font></td>
|
|
<td align="left" bgcolor="#2E2E2E" width="100"><font color="#00FF00"><?php echo $f55; ?></font></td>
|
|
<td bgcolor="#2E2E2E" align="right"><font color="#e0e0e0">PV</font></td>
|
|
<td align="left" bgcolor="#2E2E2E" width="100"><font color="#00FF00"><?php echo $f52; ?></font></td>
|
|
<td bgcolor="#2E2E2E" align="right"><font color="#e0e0e0">PV</font></td>
|
|
<td align="left" bgcolor="#2E2E2E" width="100"><font color="#00FF00"><?php echo $f58; ?></font></td>
|
|
</tr>
|
|
<tr>
|
|
|
|
<?php
|
|
if ($f107 == 1)
|
|
echo "<td bgcolor=\"#0B3B17\" align=\"right\"><font color=\"#e0e0e0\">SP3</font></td>";
|
|
if ($f107 ==0)
|
|
echo "<td bgcolor=\"#0B173B\" align=\"right\"><font color=\"#e0e0e0\">SP</font></td>";
|
|
?>
|
|
<?php
|
|
if ($f107 == 1)
|
|
echo "<td align=\"left\" bgcolor=\"#0B173B\"><font color=\"#00FF00\"> $f106 </font></td>";
|
|
if ($f107 == 0)
|
|
echo "<td align=\"left\" bgcolor=\"#0B173B\"><font color=\"#00FF00\"> $f83 </font></td>";
|
|
?>
|
|
<td bgcolor="#0B173B" align="right"><font color="#e0e0e0">RPM</font></td>
|
|
<td align="left" bgcolor="#0B173B"><font color="#00FF00"><?php echo $f42; ?></font></td>
|
|
<td bgcolor="#0B173B" align="right"><font color="#e0e0e0">RPM</font></td>
|
|
<td align="left" bgcolor="#0B173B"><font color="#00FF00"><?php echo $f43; ?></font></td>
|
|
<td bgcolor="#0B173B" align="right"><font color="#e0e0e0">RPM</font></td>
|
|
<td align="left" bgcolor="#0B173B"><font color="#00FF00"><?php echo $f44; ?></font></td>
|
|
<?php
|
|
if ($f109 == 1)
|
|
echo "<td bgcolor=\"#0B3B17\" align=\"right\"><font color=\"#e0e0e0\">SP3</font></td>";
|
|
if ($f109 ==0)
|
|
echo "<td bgcolor=\"#2E2E2E\" align=\"right\"><font color=\"#e0e0e0\">SP</font></td>";
|
|
?>
|
|
<?php
|
|
if ($f109 == 1)
|
|
echo "<td align=\"left\" bgcolor=\"#2E2E2E\"><font color=\"#00FF00\"> $f108 </font></td>";
|
|
if ($f109 == 0)
|
|
echo "<td align=\"left\" bgcolor=\"#2E2E2E\"><font color=\"#00FF00\"> $f56 </font></td>";
|
|
?>
|
|
<?php
|
|
if ($f93 == 1)
|
|
echo "<td bgcolor=\"#0B3B17\" align=\"right\"><font color=\"#e0e0e0\">SP3</font></td>";
|
|
if ($f93 ==0)
|
|
echo "<td bgcolor=\"#2E2E2E\" align=\"right\"><font color=\"#e0e0e0\">SP</font></td>";
|
|
?>
|
|
<?php
|
|
if ($f93 == 1)
|
|
echo "<td align=\"left\" bgcolor=\"#2E2E2E\"><font color=\"#00FF00\"> $f92 </font></td>";
|
|
if ($f93 == 0)
|
|
echo "<td align=\"left\" bgcolor=\"#2E2E2E\"><font color=\"#00FF00\"> $f53 </font></td>";
|
|
?>
|
|
<?php
|
|
if ($f95 == 1)
|
|
echo "<td bgcolor=\"#0B3B17\" align=\"right\"><font color=\"#e0e0e0\">SP3</font></td>";
|
|
if ($f95 == 0)
|
|
echo "<td bgcolor=\"#2E2E2E\" align=\"right\"><font color=\"#e0e0e0\">SP</font></td>";
|
|
?>
|
|
<?php
|
|
if ($f95 == 1)
|
|
echo "<td align=\"left\" bgcolor=\"#2E2E2E\"><font color=\"#00FF00\"> $f94 </font></td>";
|
|
if ($f95 == 0)
|
|
echo "<td align=\"left\" bgcolor=\"#2E2E2E\"><font color=\"#00FF00\"> $f59 </font></td>";
|
|
?>
|
|
</tr>
|
|
<tr>
|
|
|
|
<td bgcolor="#0B173B" align="right"><font color="#e0e0e0">Output</font></td>
|
|
<td align="left" bgcolor="#0B173B"><font color="#00FF00"><?php echo $f71; ?></font></td>
|
|
<td bgcolor="#0B173B" align="right"><font color="#e0e0e0">Output</font></td>
|
|
<td align="left" bgcolor="#0B173B"><font color="#00FF00"><?php echo $f45; ?></font></td>
|
|
<td bgcolor="#0B173B" align="right"><font color="#e0e0e0">Output</font></td>
|
|
<td align="left" bgcolor="#0B173B"><font color="#00FF00"><?php echo $f46; ?></font></td>
|
|
<td bgcolor="#0B173B" align="right"><font color="#e0e0e0">Output</font></td>
|
|
<td align="left" bgcolor="#0B173B"><font color="#00FF00"><?php echo $f47; ?></font></td>
|
|
<td bgcolor="#2E2E2E" align="right"><font color="#e0e0e0">Output</font></td>
|
|
<td align="left" bgcolor="#2E2E2E"><font color="#00FF00"><?php echo $f54; ?></font></td>
|
|
<td bgcolor="#2E2E2E" align="right"><font color="#e0e0e0">Output</font></td>
|
|
<td align="left" bgcolor="#2E2E2E"><font color="#00FF00"><?php echo $f51; ?></font></td>
|
|
<td bgcolor="#2E2E2E" align="right"><font color="#e0e0e0">Output</font></td>
|
|
<td align="left" bgcolor="#2E2E2E"><font color="#00FF00"><?php echo $f57; ?></font></td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#0B173B" align="right"><font color="#e0e0e0">Ratio N</font></td>
|
|
<td align="left" bgcolor="#0B173B"><font color="#00FF00"><?php echo $f82; ?></font></td>
|
|
<td colspan="2" align="center" bgcolor="#0B173B"><font color="#e0e0e0">
|
|
<?php
|
|
if ($f48 == 1)
|
|
echo "<font color=\"#00FF00\">Control</font>";
|
|
if ($f48 == 0)
|
|
echo "<font color=\"#FF0000\">Knife</font>";
|
|
?>
|
|
</font></td>
|
|
<td colspan="2" align="center" bgcolor="#0B173B"><font color="#e0e0e0">
|
|
<?php
|
|
if ($f49 == 1)
|
|
echo "<font color=\"#00FF00\">Control</font>";
|
|
if ($f49 == 0)
|
|
echo "<font color=\"#FF0000\">Knife</font>";
|
|
?>
|
|
</font></td>
|
|
<td colspan="2" align="center" bgcolor="#0B173B"><font color="#e0e0e0">
|
|
<?php
|
|
if ($f50 == 1)
|
|
echo "<font color=\"#00FF00\">Control</font>";
|
|
if ($f50 == 0)
|
|
echo "<font color=\"#FF0000\">Knife</font>";
|
|
?>
|
|
</font></td>
|
|
<td colspan="2" align="center" bgcolor="#2E2E2E"><font color="#e0e0e0">
|
|
<?php
|
|
if ($f69 == 0)
|
|
echo "<font color=\"#00FF00\">Auto</font>";
|
|
if ($f69 == 1)
|
|
echo "<font color=\"#FF0000\">Manual</font>";
|
|
?>
|
|
</font></td>
|
|
<td colspan="2" align="center" bgcolor="#2E2E2E"><font color="#e0e0e0">
|
|
<?php
|
|
if ($f68 == 0)
|
|
echo "<font color=\"#00FF00\">Auto</font>";
|
|
if ($f68 == 1)
|
|
echo "<font color=\"#FF0000\">Manual</font>";
|
|
?>
|
|
</font></td>
|
|
<td colspan="2" align="center" bgcolor="#2E2E2E"><font color="#e0e0e0">
|
|
<?php
|
|
if ($f70 == 0)
|
|
echo "<font color=\"#00FF00\">Auto</font>";
|
|
if ($f70 == 1)
|
|
echo "<font color=\"#FF0000\">Manual</font>";
|
|
?>
|
|
</font></td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#0B173B" align="right"><font color="#e0e0e0">Ratio S</font></td>
|
|
<td align="left" bgcolor="#0B173B"><font color="#00FF00"><?php echo $f96; ?></font></td>
|
|
<td colspan="2" align="center" bgcolor="#0B173B"><font color="#e0e0e0">
|
|
<?php
|
|
if ($f85 == 0)
|
|
echo "<font color=\"#00FF00\">Dump To Mill</font>";
|
|
if ($f85 == 1)
|
|
echo "<font color=\"#FF0000\">Dump Ground</font>";
|
|
?>
|
|
</font></td>
|
|
|
|
</tr>
|
|
</table>
|
|
<table class="tftable4">
|
|
<tr>
|
|
|
|
<?php
|
|
if ($f72 == 1)
|
|
echo "<td align=\"center\"><font color=\"#FF0000\"><b> MILL 1 HIGH LEVEL </b></font></td>";
|
|
if ($f73 == 1)
|
|
echo "<td align=\"center\"><font color=\"#FF0000\"><b> MILL 5 HIGH LEVEL </b></font></td>";
|
|
if ($f74 == 1)
|
|
echo "<td align=\"center\"><font color=\"#FF0000\"><b> MILL 6 HIGH LEVEL </b></font></td>";
|
|
?>
|
|
|
|
</tr>
|
|
</table>
|
|
<br>
|
|
|
|
<?php
|
|
$i++;
|
|
}
|
|
?>
|