/adei/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/trunk
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
AJAX Variables
==============

Web Interface
-------------
 + minimal		- Operates in minimal mode, several modes are supported
			    graph	- just graph, nothing else
			    wiki 	- graph, wiki, header, menu
			    search	- graph, search, menu
			    nosource	- everything beside source and srctree
			    nomenu	- sidebar and menu disabled

 + module		- Specifies module to open

Global
------
 + setup		- specifies custom setup

Services
--------
 + service 		- name of the requested service
 + target		- request target for multipurpose services (like 'list')

Data Source
-----------
 + db_server
 + db_name
 + db_group
 + db_mask

Control
------- 
 + control_group
 + control_mask
 
 + control_values		- 0,0,0,0,0 (control_mask is considered)
 + control_set			- TSX500=0.1,TMN432=0.5
 + control_check		- TSX500<0.1,TMN432>=0.3
 + control_id_<num>		- control_id_0=0.3 (prohibiting the mask usage)
 + control_uid_<name>		- control_uid_TSX500=0.3
 
Data Window
-----------
 + experiment		from-to; -to; 
			from-; -(default)		limited by data
			from-*; *-*			limited by cur. time
			
 + window		from-to[,-last_items];  from-; -to; -
			last_seconds[,-last_items]
			0[,-last_items]				everything
			from+width, to-width [not implemented yet]
Virtual Groups
---------------
 + virtual		- defines control variable for current virtual control,
			defaults to 'srctree'
 + srctree		- list of items composing virtual group. The list is
			comma separated each item could be represnted:
			    a) autogen__minutely__default__6
			    b) autogen__minutely__default(3,4,5)   - multiple
			    c) RTP1020				   - by uid
List Service
------------
 + list_virtual		- Allows listing of virtual elements (virtual sources)
 + list_complex		- Allows listing of complex elements (joint groups)
 + skip_uncached	- Prevent uncached elements from being listed
	
Axis
----
 + axis			- default axis, "0" if not specified
 + axis_name
 + axis_units
 + axis_mode		- log
 + axis_range		- from:to, auto-adapting by default
 
 + temperature_axis_*	- supplying multiple named axes
 + axis<num>_*		- enumerated axes

Export
------
 + format
 + mask_mode		- STANDARD,GROUP,SOURCE,COMPLETE
 + resample
 + filename
 + download 		- unique ID given for each download

 + cache                - get data from cache, if number is given use the specified cache 
                        level (cache=3600, not supported yet)
                        
 + filter (?)           - planned, additional filters to apply
 + aggregator		- planned, should specify which king of data we want
			    RAW 	- data from READER's [default]
			    CACHE	- data from CACHE, cache0
			    MEAN, SUM	- aggregated data from caching tables
					resample will set aggregation duration


Alarms
------
 + severity		- Alarm severity
 + limit		- Limits number of items to return
 + alarm_mask		- Limits processed alarms
 
Search
------
 + search		- search string, in the following forms:
			a) search keywords
			b) module1: search keywords module2: search keywords
			Keyword processing is module based, the default approach
			is basing on ratings [0-1]. 			
			Search keywords are (phrase# is rating of phrase #)
			    !phrase = 1 - pharse
			    -phrase = (phrase==0)?1:0
			    +phrase = (phrase==1)?1:0
			    
			    word1 word2 "phrase 1"
			    word1 || word2
			    word1 && word2
			    !word
			
 + search_modules	- module(opts),module(opts) search modules
 
Graph Options
-------------
 + resolution           - [integer]
 + aggregation		- AUTO/MINMAX/MEAN
 + filter               - AUTO/..
 + render               - AUTO/STD/STACKED/...
 + interpolate		- [boolean]
 + show_marks		- DRAW::MARKS_[NEVER,DEFAULT,GAPS,ALWAYS]
 + show_gaps		- DRAW::SHOW_[NONE, EMPTY, POINTS, GAPS]
			    EMPTY  - display all points on the graph [ if empty existing ]
			    POINTS - display all points on the graph
			    GAPS   - display missing data
 + precision		- DRAW::PRECISION_[DEFAULT,LOW,HIGH], number specifying pixel density
 + hide_axes		- produces axis-less graph ('Y' - hide only Y-axes)
 
 + width		- in pixels
 + height		- in pixels
 
 
WiKi
----
 + pageid		- WiKi page id

Other
-----
 + encoding		- XML/JSON/WS
 + time_format		- unix/iso/text