Ignore:
Timestamp:
Apr 14, 2015, 10:20:16 PM (9 years ago)
Author:
chronos
Message:
  • Removed: Spaces on end of line.
  • Modified: Tabs converted to spaces.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/temp/meteo/load_meteo.php

    r737 r738  
    33include('Image.php');
    44
    5 class MeteoStation 
     5class MeteoStation
    66{
    77  var $Id;
     
    2828    $this->Data = $Data;
    2929  }
    30  
     30
    3131  function DownloadData()
    3232  {
    3333    $XmlData = simplexml_load_file($this->URL);
    3434
    35     $Data = array('MeteoStation' => $this->Id, 
     35    $Data = array('MeteoStation' => $this->Id,
    3636      'WindSpeed' => trim($XmlData->windspeed),
    3737      'WindDir' => trim($XmlData->winddir),
     
    6161      'DewPoint' => $this->Data['DewPoint']));
    6262  }
    63  
     63
    6464  function CreateImage($FileName)
    6565  {
     
    9595    $Image->SaveToFile($FileName);
    9696  }
    97  
     97
    9898  function LoadFromDb()
    9999  {
     
    124124  foreach($Meteo->Data as $Index => $Item)
    125125  {
    126     $Collect[$Index][] = $Item; 
     126    $Collect[$Index][] = $Item;
    127127  }
    128   if(($I % 6) == 0) 
     128  if(($I % 6) == 0)
    129129  {
    130130    foreach($Collect as $Index => $Item)
Note: See TracChangeset for help on using the changeset viewer.