/adei/ui

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/ui
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<?php

    $ADEI_DB = array (
	"host" => "localhost",
	"port" => 0,
	"database" => "adei",
	"user" => "zeus",
	"password" => "zeus"
    );

    $ADEI_SETUP = "autogen";

    $LOGGER_LOG_REQUESTS = true;	/* Log all ADEI requests */
    $LOGGER_LOG_OUTPUT = true;		/* Log output of ADEI requests */

    $ADEI_APP_PATH["csv2root"] = "/home/csa/zweb/apps/csv2root/csv2root";
    $ADEI_ROOT_STORAGE = "/var/www/localhost/htdocs/adei/storage/";

    return;


	/* The database names are wildcarded, in reallity "katrin" means all
	databases begining from "katrin". However, for all operations (backup,
	cache update) only completely specified databases will be used */
/*
    $READER_DB = array (
	"labview" => array (
	    "title" => _("LabVIEW"),
	    "reader" => "DBReader",
	    "driver" => "odbc",
	    "sqldrv" => "mssql",
//	    "source" => "labview",
	    "subdrv" => "FreeTDS",
//	    "host" => "ipechilinga3.ka.fzk.de",
	    "host" => "192.168.8.6",
	    "port" => 0,
	    "user" => "souren",
	    "password" => '$souren$',
	    "database" => array("womisaDB"),
	    "disconnected" => true
	),
	"katrin2" => array (
	    "title" => _("Katrin Test"),
	    "reader" => "ZEUS",
	    "driver" => "mysql",
	    "host" => "localhost",
	    "port" => 0,
	    "user" => "zeus",
	    "password" => "zeus",
	    "database" => array ("katrin")//, "backup_hsext")
	),
	"katrin" => array (
	    "title" => _("Katrin"),
	    "reader" => "ZEUS",
	    "driver" => "mysql",
	    "host" => "localhost",
	    "port" => 0,
	    "user" => "zeus",
	    "password" => "zeus",
	    "database" => array ("hauptspektrometer")//, "backup_hsext")
	)
	"hs" => array (
	    "title" => _("HS"),
	    "reader" => "ZEUS",
	    "driver" => "mysql",
	    "host" => "ipechilinga1.ka.fzk.de",
	    "port" => 0,
	    "user" => "zeus",
	    "password" => "HzeSus",
	    "database" => array ("experiment1")
	)
    );
*/

/*
    $OPTIONS = array_merge ($OPTIONS, array(
	"katrin__hauptspektrometer" => array(
	    "backup" => "backup_hauptspektrometer",
	    "root_database" => "/home/csa/zweb/storage/root_hauptspektrometer.root",
	    "optimize_empty_cache" => true,
//	    "graph_interpolate" => false,
	    "maximal_allowed_gap" => 120
	),
	"katrin__backup_hsext" => array(
	    "backup" => "backup_hsext",
	    "date_limit" => "2007-11-07 15:00:00",
	),
	"labview__womisaDB" => array(
	    "groups" => array(
		"/\w(\d+)/" => 'mda.Wt$Meda$STROMTEST_SE002$r012$ITPFMPXI01$Modul01\$09'
	    ),
//	    "tables" => "/SE002.*017/",
	    "tables" => array(
		"/^.*r(0(12))\\$.*$/" => array(
//		    'gid' => 'r${1}',
//		    'gid' => 'l${1}',
		    'title' => 'StromTest ${2}'
		)
	    ),
	    "columns" => array(
//		"time" => "WsDateTimeTicks",
		"time" => "WsTID",
		"data" => "/WsCh_\d+/"
	    ),
//	    "timeformat" => "%Y-%d-%m %H:%M:%S",
	    "timezone" => "Europe/Berlin",
	    "time_module" => "FUSION",			// php with time conversion code
//	    "time_module" => "MSTICKS",			// php with time conversion code
	    "date_limit" => "2008-01-01 00:00:00",	// GMT
//	    "date_limit" => array("2007-10-28 16:00:00", "2008-01-01 24:00:00"),
	    "min_resolution" => 1,
	    "ignore_subseconds" => false,
	    "fill_raw_first" => true,
	    "cache_config" => array(
		array("min" => 86400, "res" => 60),
		array("min" => 7200, "res" => 10),
		array("min" => 3600, "res" => 5),
		array("min" => 600, "res" => 1)
	    )
	)
    ));
*/



?>