/adei/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/trunk

« back to all changes in this revision

Viewing changes to setups/imk/config.php

  • Committer: Suren A. Chilingaryan
  • Date: 2012-07-14 17:44:09 UTC
  • Revision ID: csa@dside.dyndns.org-20120714174409-cuzsy4vupyjx9lia
Update of setups

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
 
22
22
$READER_DB_IMK = array(
23
 
/*      "imk" => array (
24
 
            "title" => _("IMK"),
25
 
            "reader" => "DBReader",
26
 
            "driver" => "odbc",
27
 
            "sqldrv" => "mssql",
28
 
            "subdrv" => "FreeTDS",
29
 
            "host" => "192.168.8.6",
30
 
            "port" => 1433,
31
 
            "user" => "souren",
32
 
            "password" => '$souren$',
33
 
            "database" => array("KFK_Mast"),
34
 
            "charset" => "ISO8859-1",
35
 
            "timeout" => 200000,        // us
36
 
            "ping" => true,             // host and port should be specified
37
 
//          "disconnected" => true
38
 
        ),*/
39
23
        "mast" => array (
40
24
            "title" => _("Weather Tower"),
41
25
            "reader" => "IPEReader",
58
42
else $READER_DB = $READER_DB_IMK;
59
43
 
60
44
 
61
 
 
62
 
$OPTIONS["imk__KFK_Mast"] = array(
63
 
            "groups" => array(
64
 
                "/^(.*)$/" => '${1}',
65
 
            ),
66
 
            "tables" => array(
67
 
                "/^(HV1|TW1|U1)$/" => array(
68
 
                    'gid' => '${1}',
69
 
                    'title' => '${1}'
70
 
                )
71
 
            ),
72
 
            "columns" => array(
73
 
                "time" => "DATUM",
74
 
                "data" => "/_/"
75
 
            ),
76
 
            "timezone" => "Europe/Berlin",
77
 
//          "time_module" => "MSTICKS",
78
 
//          "time_options" => -36000000000,                     // correction
79
 
            "timesort" => 1,                                    // 0 - NATURAL, 1 - ASC, -1 - DESC, string whith request
80
 
            "date_limit" => "2000-01-01 00:00:00",              //GMT
81
 
//          "date_limit" => array("2005-08-06 00:00:00","2005-08-08 00:00:00"),         //GMT
82
 
//          "date_limit" => "2008-03-29 21:00:00",              //GMT
83
 
            "min_resolution" => 600,
84
 
            "ignore_subseconds" => false,
85
 
            "optimize_empty_cache" => true,
86
 
            "use_cache_timewindow" => true,
87
 
//          "use_cache_reader" => true,
88
 
//          "use_md5_postfix" => true,
89
 
            "trace_timings" => false,
90
 
            "monitor_timings" => array(
91
 
                "query_limit" => 500000,                /* us */
92
 
                "raise_exception" => true
93
 
            ),
94
 
            "cache_config" => array(
95
 
                array("min" => 630720000, "res" => 604800),
96
 
                array("min" => 31536000, "res" => 43200)
97
 
            ),
98
 
            "data_filters" => array(
99
 
                "BADVALUEFilter" => array (
100
 
                    "badvalue" => 1999
101
 
                ),
102
 
            )
103
 
);
104
 
 
105
 
 
106
45
$OPTIONS["mast"] = array(
107
46
            "groups" => array(
108
47
                "/^(.*)$/" => 'Wv$LiveData$${1}',