3
$MODULES = array("graph", "wiki");
5
$READER_DB_ASEC = array(
8
"reader" => "IPEReader",
10
"host" => "localhost",
13
"password" => "adeipw",
14
"database" => array("crd"),
15
"charset" => "ISO8859-1",
16
"timeout" => 200000, // us
17
"ping" => true, // host and port should be specified
18
// "disconnected" => true
22
if (is_array($READER_DB)) $READER_DB = array_merge($READER_DB_ASEC, $READER_DB);
23
else $READER_DB = $READER_DB_ASEC;
26
$OPTIONS["asec"] = array(
28
"/^Data_011_EB1_DAR$/" => 'Data_011_EB1_DAR_[Energy_balance_station_1 DAR]',
29
"/^Data_012_EB2_DAR$/" => 'Data_012_EB2_DAR_[Energy_balance_station_2 DAR]',
30
"/^Data_012_EB2_DAX$/" => 'Data_012_EB2_DAX_[Energy_balance_station_2 DAX]'
34
"/^((.*)_view)$/" => array(
38
// "/^((.*)_view_sum)$/" => array(
40
// 'title' => 'sums of ${2}'
42
// "/^((.*)_view_sum_corrected)$/" => array(
44
// 'title' => 'corrected sums of ${2}'
50
"data" => "/^(arnm|asnt|nanm|nammm1|nammm2|wh|ammm|maket|sa|sna|sm|sy|sz|count|vert|dir)/"
51
// "data" => "/^(arnm|nanm)/"
53
"timesort" => 1, // 0 - NATURAL, 1 - ASC, -1 - DESC, string whith request
54
"date_limit" => "1990-01-01 00:00:00", //GMT
55
// "time_format" => "U",
56
"min_resolution" => 600,
57
"ignore_subseconds" => true,
58
"optimize_empty_cache" => true,
59
"use_cache_timewindow" => true,
60
// "use_cache_reader" => true,
61
// "use_md5_postfix" => true,
62
"trace_timings" => false,
63
"monitor_timings" => array(
64
"query_limit" => 500000, /* us */
65
"raise_exception" => true
67
"item_table" => array(
68
"table" => "CHANNEL_LIST",
71
"properties" => array(
76
"mask_table" => array(
77
"table" => "MASK_LIST",
80
"properties" => array(
81
"name" => "mask_name",
82
"mask" => "channel_list"
85
/* "cache_config" => array(
86
array("min" => 630720000, "res" => 604800),
87
array("min" => 31536000, "res" => 43200)
89
"data_filters" => array(
90
"BADVALUEFilter" => array (
b'\\ No newline at end of file'