Hamburger Hamburger

Heizungssteuerung Web-Interface

HV_H2Olevel

Keine Erläuterungen gefunden.

<?php
function HV_H2Olevel($fname,$today){
  if (file_exists($fname)) {
    $fid = fopen($fname, "r");
    $line = fgets( $fid, 1024 );
    $val = explode("\t",$line);
    fclose($fid);
    if($val[0]==$today){
      $H2Olevel = 1*$val[1];
    }else{
      $H2Olevel = 0;
    }
  }else{
    printf("FILE ".$fname." DOES NOT EXIST!\N");
  }
  return $H2Olevel;
}
?>

Index of Library

1EM_editParameter.php
2EM_handleJSON.php
3EM_plot.php
4HV_Admin_Login.php
5HV_colorMap.php
6HV_composeH2Oplot.php
7HV_config.php
8HV_H2Olevel.php
9HV_readOperationState.php
10HV_restart.php
11HV_serviceLog.php
12HV_setParameters.php
13HV_showHouse.php
14HV_showLog.php
15HV_showWeatherForecast.php
16HV_TempCal.php
17index.php
18readFilenames.php
19readNamedData.php

Der gesamte Sourcecode darf gemäß GNU General Public License weiterverbreitet werden.