/adei/ui

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

« back to all changes in this revision

Viewing changes to config.actual.php

  • Committer: Suren A. Chilingaryan
  • Date: 2008-04-02 10:23:22 UTC
  • Revision ID: csa@dside.dyndns.org-20080402102322-okib92sicg2dx3o3
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
    $SETUP = "toska";
 
3
 
 
4
    $ADEI_DB = array (
 
5
        "host" => "localhost",
 
6
        "port" => 0,
 
7
        "database" => "adei",
 
8
        "user" => "zeus",
 
9
        "password" => "zeus"
 
10
    );
 
11
 
 
12
 
 
13
        /* The database names are wildcarded, in reallity "katrin" means all
 
14
        databases begining from "katrin". However, for all operations (backup,
 
15
        cache update) only completely specified databases will be used */
 
16
    $READER_DB = array (
 
17
/*      "labview" => array (
 
18
            "title" => _("LabVIEW"),
 
19
            "reader" => "DBReader",
 
20
            "driver" => "odbc",
 
21
            "sqldrv" => "mssql",
 
22
//          "source" => "labview",
 
23
            "subdrv" => "FreeTDS",
 
24
//          "host" => "ipechilinga3.ka.fzk.de",
 
25
            "host" => "192.168.8.6",
 
26
            "port" => 0,
 
27
            "user" => "souren",
 
28
            "password" => '$souren$',
 
29
            "database" => array("womisaDB"),
 
30
            "disconnected" => true
 
31
        ),
 
32
/*
 
33
        "katrin2" => array (
 
34
            "title" => _("Katrin Test"),
 
35
            "reader" => "ZEUS",
 
36
            "driver" => "mysql",
 
37
            "host" => "localhost",
 
38
            "port" => 0,
 
39
            "user" => "zeus",
 
40
            "password" => "zeus",
 
41
            "database" => array ("katrin")//, "backup_hsext")
 
42
        ),
 
43
*/
 
44
 
 
45
        "katrin" => array (
 
46
            "title" => _("Katrin"),
 
47
            "reader" => "ZEUS",
 
48
            "driver" => "mysql",
 
49
            "host" => "localhost",
 
50
            "port" => 0,
 
51
            "user" => "zeus",
 
52
            "password" => "zeus",
 
53
            "database" => array ("hauptspektrometer")//, "backup_hsext")
 
54
        )/*
 
55
        "hs" => array (
 
56
            "title" => _("HS"),
 
57
            "reader" => "ZEUS",
 
58
            "driver" => "mysql",
 
59
            "host" => "ipechilinga1.ka.fzk.de",
 
60
            "port" => 0,
 
61
            "user" => "zeus",
 
62
            "password" => "HzeSus",
 
63
            "database" => array ("experiment1")
 
64
        )*/
 
65
    );
 
66
 
 
67
 
 
68
    $OPTIONS = array_merge ($OPTIONS, array(
 
69
        "katrin__hauptspektrometer" => array(
 
70
            "backup" => "backup_hauptspektrometer",
 
71
            "root_database" => "/home/csa/zweb/storage/root_hauptspektrometer.root",
 
72
            "optimize_empty_cache" => true,
 
73
//          "graph_interpolate" => false,
 
74
            "maximal_allowed_gap" => 120
 
75
        ),
 
76
        "katrin__backup_hsext" => array(
 
77
            "backup" => "backup_hsext",
 
78
            "date_limit" => "2007-11-07 15:00:00",
 
79
        ),
 
80
        "labview__womisaDB" => array(
 
81
            "groups" => array(
 
82
                "/\w(\d+)/" => 'mda.Wt$Meda$STROMTEST_SE002$r012$ITPFMPXI01$Modul01\$09'
 
83
            ),
 
84
//          "tables" => "/SE002.*017/",
 
85
            "tables" => array(
 
86
                "/^.*r(0(12))\\$.*$/" => array(
 
87
//                  'gid' => 'r${1}',
 
88
//                  'gid' => 'l${1}',
 
89
                    'title' => 'StromTest ${2}'
 
90
                )
 
91
            ),
 
92
            "columns" => array(
 
93
//              "time" => "WsDateTimeTicks",
 
94
                "time" => "WsTID",
 
95
                "data" => "/WsCh_\d+/"
 
96
            ),
 
97
//          "timeformat" => "%Y-%d-%m %H:%M:%S",
 
98
            "timezone" => "Europe/Berlin",
 
99
            "time_module" => "FUSION",                  // php with time conversion code
 
100
//          "time_module" => "MSTICKS",                 // php with time conversion code
 
101
            "date_limit" => "2008-01-01 00:00:00",      // GMT
 
102
//          "date_limit" => array("2007-10-28 16:00:00", "2008-01-01 24:00:00"),
 
103
            "min_resolution" => 1,
 
104
            "ignore_subseconds" => false,
 
105
/*          "fill_raw_first" => true,
 
106
            "cache_config" => array(
 
107
                array("min" => 86400, "res" => 60),
 
108
                array("min" => 7200, "res" => 10),
 
109
                array("min" => 3600, "res" => 5),
 
110
                array("min" => 600, "res" => 1)
 
111
            )*/
 
112
        )
 
113
    ));
 
114
 
 
115
 
 
116
 
 
117
 
 
118
?>
 
 
b'\\ No newline at end of file'