Makefile added
git-svn-id: file:///home/jan/tmp/wetterstation/trunk@128 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
parent
1ac67926cc
commit
2de37663da
|
|
@ -0,0 +1,2 @@
|
||||||
|
install:
|
||||||
|
@ echo "noch net implementiert"
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?
|
<?
|
||||||
include_once("php_inc/config.inc.php");
|
include_once($path."php_inc/config.inc.php");
|
||||||
include_once("php_inc/module_set.inc.php");
|
include_once($path."php_inc/module_set.inc.php");
|
||||||
|
|
||||||
class Chart{
|
class Chart{
|
||||||
|
|
||||||
|
|
@ -11,7 +11,8 @@ class Chart{
|
||||||
}
|
}
|
||||||
|
|
||||||
function _getTemplateFileName($template_name){
|
function _getTemplateFileName($template_name){
|
||||||
return "content/charts/chart_".$template_name.".html";
|
global $path;
|
||||||
|
return $path."content/charts/chart_".$template_name.".html";
|
||||||
}
|
}
|
||||||
|
|
||||||
function generateChartLink($chartName){
|
function generateChartLink($chartName){
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?
|
<?
|
||||||
include_once("php_inc/config.inc.php");
|
include_once($path."php_inc/config.inc.php");
|
||||||
|
|
||||||
/* Connection-Klasse..ist für die Datenbankverbindung zuständig */
|
/* Connection-Klasse..ist für die Datenbankverbindung zuständig */
|
||||||
class Connection{
|
class Connection{
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
<?
|
<?
|
||||||
include_once("php_inc/parser.inc.php"); /* Parser */
|
include_once($path."php_inc/parser.inc.php"); /* Parser */
|
||||||
include_once("php_inc/chart.inc.php"); /* Chart */
|
include_once($path."php_inc/chart.inc.php"); /* Chart */
|
||||||
include_once("php_inc/module_set.inc.php");
|
include_once($path."php_inc/module_set.inc.php");
|
||||||
include_once("php_inc/modules/sensor.inc.php"); /* Sensor-Klasse */
|
include_once($path."php_inc/modules/sensor.inc.php"); /* Sensor-Klasse */
|
||||||
include_once("php_inc/modules/temp.inc.php"); /* Temp-Klasse */
|
include_once($path."php_inc/modules/temp.inc.php"); /* Temp-Klasse */
|
||||||
include_once("php_inc/modules/rain.inc.php"); /* Rain-Klasse */
|
include_once($path."php_inc/modules/rain.inc.php"); /* Rain-Klasse */
|
||||||
include_once("php_inc/modules/hum.inc.php"); /* Hum-Klasse */
|
include_once($path."php_inc/modules/hum.inc.php"); /* Hum-Klasse */
|
||||||
include_once("php_inc/modules/press.inc.php"); /* Press-Klasse */
|
include_once($path."php_inc/modules/press.inc.php"); /* Press-Klasse */
|
||||||
include_once("php_inc/modules/wind.inc.php"); /* Wind-Klasse */
|
include_once($path."php_inc/modules/wind.inc.php"); /* Wind-Klasse */
|
||||||
|
|
||||||
/* Representiert ein Modul */
|
/* Representiert ein Modul */
|
||||||
class Module{
|
class Module{
|
||||||
|
|
@ -40,7 +40,8 @@ class Module{
|
||||||
|
|
||||||
/* Dateinamen des Modul-Files zusammenbauen */
|
/* Dateinamen des Modul-Files zusammenbauen */
|
||||||
function _getModuleFilename($modName){
|
function _getModuleFilename($modName){
|
||||||
return "content/modules/mod_".$modName.".html";
|
global $path;
|
||||||
|
return $path."content/modules/mod_".$modName.".html";
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Instanz der Sensorklasse holen */
|
/* Instanz der Sensorklasse holen */
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
<?
|
<?
|
||||||
include_once("php_inc/module.inc.php");
|
include_once($path."php_inc/module.inc.php");
|
||||||
include_once("php_inc/parser.inc.php");
|
include_once($path."php_inc/parser.inc.php");
|
||||||
include_once("php_inc/connection.inc.php");
|
include_once($path."php_inc/connection.inc.php");
|
||||||
include_once("php_inc/config.inc.php");
|
include_once($path."php_inc/config.inc.php");
|
||||||
include_once("php_inc/chart.inc.php");
|
include_once($path."php_inc/chart.inc.php");
|
||||||
include_once("php_inc/report.inc.php");
|
include_once($path."php_inc/report.inc.php");
|
||||||
|
|
||||||
|
|
||||||
/* Klasse, die die ModuleSets Verwaltet */
|
/* Klasse, die die ModuleSets Verwaltet */
|
||||||
|
|
@ -30,9 +30,10 @@ class ModuleSet{
|
||||||
|
|
||||||
/* Dateinamen eines Setz aus dessen Namen zusammenbauen */
|
/* Dateinamen eines Setz aus dessen Namen zusammenbauen */
|
||||||
function _getSetFilename($setName){
|
function _getSetFilename($setName){
|
||||||
|
global $path;
|
||||||
if($setName == "")
|
if($setName == "")
|
||||||
$setName = Config::getDefaultSet();
|
$setName = Config::getDefaultSet();
|
||||||
return "content/module_sets/set_".$setName.".html";
|
return $path."content/module_sets/set_".$setName.".html";
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Parser Instanzieren (wenn noch nicht ist) und zurückgeben */
|
/* Parser Instanzieren (wenn noch nicht ist) und zurückgeben */
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?
|
<?
|
||||||
|
|
||||||
include_once("php_inc/connection.inc.php");
|
include_once($path."php_inc/connection.inc.php");
|
||||||
|
|
||||||
/* Rain-Klasse für das Rain-Modul */
|
/* Rain-Klasse für das Rain-Modul */
|
||||||
class Rain{
|
class Rain{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?
|
<?
|
||||||
|
|
||||||
include_once("php_inc/connection.inc.php");
|
include_once($path."php_inc/connection.inc.php");
|
||||||
|
|
||||||
|
|
||||||
/* Klasse, Die Daten üben die Einzelnen Sensoren bereitstellt */
|
/* Klasse, Die Daten üben die Einzelnen Sensoren bereitstellt */
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?
|
<?
|
||||||
include_once("php_inc/config.inc.php");
|
include_once($path."php_inc/config.inc.php");
|
||||||
include_once("php_inc/module_set.inc.php");
|
include_once($path."php_inc/module_set.inc.php");
|
||||||
|
|
||||||
class Report{
|
class Report{
|
||||||
|
|
||||||
|
|
@ -29,7 +29,8 @@ class Report{
|
||||||
|
|
||||||
/* Dateinamen des Modul-Files zusammenbauen */
|
/* Dateinamen des Modul-Files zusammenbauen */
|
||||||
function _getRptFilename($modName){
|
function _getRptFilename($modName){
|
||||||
return "content/reports/rpt_".$modName.".html";
|
global $path;
|
||||||
|
return $path."content/reports/rpt_".$modName.".html";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue