// #define ADD		1
// #define MULTI	2		
// #define FIX		3
// #define COPY		4
// #define COMBINE	5
// #define PARSE	6

24	//group count
//------------SVR_Capability-----------
27
10	//action count
(100)	4	0	[0]
(101)	4	1 	[1]
(102)	4	2	[2]
(103)	4	3	[3]
(104)	4	4	[4]
(105)	4	5	[5]
(106)	4	6	[6]
(107)	4	7	[7]
(108)	4	8	[8]
(109)	4	9	[9]

0	//condition count

10	//get count
100 101 102 103 104 105 106 107 108 109
0	//set count

0	//query
0	//condition count

10	//ju32ParamCount
1 1 1 1 1 1 1 1 1 1

//range count
0

//------brand----------
4
2
(100)	3	0	SEEnergy
(101)	3	1	1

2	//condition
(200)    [0]!=EMPTY    100
(201)    [0]!=EMPTY    101

1
201

0

0	//query
0	//condition count

2		//ju32ParamCount
0 1

//range count
0

//---------DisplayMode-----------
10	//group ID
6	//action count
//(action ID), action type, param index  ,action command
(100)    4    0    [0]
(101)    4    1    [1]
(102)    4    2    [2]
(103)    4    3    [3]
(104)    4    4    [4]
(105)    4    5    [5]

0	//condition count

6	//get count
100 101 102 103 104 105

3	//set count
101 103 105

//QUERY
0	//if get is applied to know the capacity
0	//condition count
	//[3]==0		//condition
	//5		//number of parameters which are 0 if condition is true
	//1 2 3 4 5  	//parameter index

6	//ju32ParamCount
1 3 1 3 1 3

//range count
0
//param index, start, end, step


//---------network---------------
0	//group ID
13	//action count
//(action ID), action type, param index  ,action command
(100)	4	0	[0]
(101)	4	1	[1]
(102)	4	2	[2]
(103)	4	3	[3]
(104)	4	4	[4]
(105)	4	5	[5]
(106)	4	6	[6]
(107)	4	7	[7]
(108)	4	8	[8]
(109)	4	9	[9]
(110)	4	10	[10]
(111)	4	11	[11]
(112)	4	12	[12]

0	//condition count
//(conditio ID), condition cmd, action id
//(200)	[3]==0		105
//(201)	[3]==0		106

13 	//get count
100	101	102	103	104	105 	106	107	108	109	110	111	112
7	//set count
100	101	102	103	104	105	106

//QUERY
0	//if get is applied to know the capacity
0	//condition count
	//[3]==0		//condition
	//5		//number of parameters which are 0 if condition is true
	//1 2 3 4 5  	//parameter index

13		//ju32ParamCount
3 3 3 3 3 3 3 		//base capacity
1 1 1 1 1 1

//range count
1
//param index, start, end, step
3	0	1	1

//---------RTSP---------------
1	//group ID
3	//action count

//(action ID), action type, param index  ,action command
(100)	3	0	1	//0:fix
(101)	4	1	[1]
(102)	4	1	[1]

0	//condition count
//(conditio ID), condition cmd, action id

2 	//get count
100	101
1	//set count
102

//QUERY
0	//if get is applied to know the capacity
0	//condition count
	//[3]==0		//condition
	//5		//number of parameters which are 0 if condition is true
	//1 2 3 4 5  	//parameter index
	
2		//ju32ParamCount
1 3

//range count
0
//param index, start, end, step

//--------PTZ---------------
6	//group ID
17	//action count
//(action ID), action type, param index  ,action command
(100)	4	0	[0]
(101)	4	7	[7]
(102)	4	14	[13]
(103)	3	1	0
(104)	4	7	[7]
(105)	4	13	[14]
(106)	4	8	[8]
(107)	4	9	[9]
(108)	4	10	[10]
(109)	4	11	[11]
(110)	4	12	[12]
(111)	3	14	1
(112)	3	14	2
(113)	3	14	0
(114)	4	17	[21]
(115)	4	18	[22]
(116)	4	19	[23]

3	//condition count
//(conditio ID), condition cmd, action id
(200)	[16]!=EMPTY	111
(201)	[17]!=EMPTY	112
(202)	[18]==OK	113

4 	//get count
100	101	102	103
13	//set count
104	105	106	107	108
109	110	200	201	202
114	115	116

//QUERY
0	//if get is applied to know the capacity
0	//condition count
	//[3]==0		//condition
	//5		//number of parameters which are 0 if condition is true
	//1 2 3 4 5  	//parameter index

15		//ju32ParamCount
1 1 3 3 3 3 3 3 2 2 
2 2 2 2 3

//range count
9
//param index, start, end, step
0	0	1	1
1	0	1	1
7	0	1	1
8	1	10	1
9	0	8	1
10	0	1	1
11	0	1	1
12	0	1	1
14	0	1	1

//---------SYSTEM---------------
5	//group ID
6	//action count

//(action ID), action type, param index  ,action command
(100)	4	0	[0]
(101)	4	1	[1]
(102)	4	2	[2]
(103)	4	4	[4]
(104)	3	3	OK
(105)   3       8       1

1	//condition count
//(conditio ID), condition cmd, action id
(200)	[3]$$OK		104

5 	//get count
100	101	102	103	105
1	//set count
200

//QUERY
0	//if get is applied to know the capacity
0	//condition count
	//[3]==0		//condition
	//5		//number of parameters which are 0 if condition is true
	//1 2 3 4 5  	//parameter index
	
5		//ju32ParamCount
1 1 1 2	1

//range count
0
//param index, start, end, step

//---------AUDIO---------------
7	//group ID
4	//action count

//(action ID), action type, param index  ,action command
(100)	4	1	[1]
(101)	4	2	[2]
(102)	3	0	1
(103)	3	0	2

4	//condition count
//(conditio ID), condition cmd, action id
(200)	[0]==0	102
(201)	[0]==1	102
(202)	[0]==2	103
(203)	[0]==3	103

6	//get count
100	101	200	201	202	203
1	//set count
101

//QUERY
0	//if get is applied to know the capacity
0	//condition count
	//[3]==0		//condition
	//5		//number of parameters which are 0 if condition is true
	//1 2 3 4 5  	//parameter index
	
3		//ju32ParamCount
1 1 2

//range count
0
//param index, start, end, step

//---------ADMIN---------------
9	//group ID
4	//action count

//(action ID), action type, param index  ,action command
(100)	4	2	[2]
(101)	3	5	root
(102)	4	1	[1]
(103)	6	3	root&,&[3]

4	//condition count
//(conditio ID), condition cmd, action id
(200)	[0]==0	102
(201)	[0]==1	102
(202)	[0]==2	103
(203)	[0]==3	103

2	//get count
100	101
3	//set count
100	102	103

//QUERY
0	//if get is applied to know the capacity
0	//condition count
	//[3]==0		//condition
	//5		//number of parameters which are 0 if condition is true
	//1 2 3 4 5  	//parameter index
	
6		//ju32ParamCount
2 2 3 2 1 1

//range count
1
//param index, start, end, step
2 0 1 1

//---------PRESET---------------
8	//group ID
10	//action count
//(action ID), action type, param index  ,action command
(100)	3	1	8
			//20
(101)	5	2	1&:&[5]&,&2&:&[6]&,&3&:&[7]&,&4&:&[8]&,&5&:&[9]&,&6&:&[10]&,&7&:&[11]&,&8&:&[12]
			//&,&9&:&[13]&,&10&:&[14]&,&11&:&[15]&,&12&:&[16]&,&13&:&[17]&,&14&:&[18]&,&15&:&[19]&,&16&:&[20]&,&17&:&[21]&,&18&:&[22]&,&19&:&[23]&,&20&:&[24]
(102)	6	0	[2]&,&[0]
(103)	6	3	[1]&,&[4]&,&[x]
(104)	6	4	[3]&,&[x]
(105)	3	2	0	//set home
(106)	3	0	home	//set home
(107)	4	15	[7]
(108)	4	16	[8]
(109)	4	17	[9]

2	//condition count
//(conditio ID), condition cmd, action id
(200)	[5]==OK		105
(201)	[5]==OK		106

2	//get count
100	101
6	//set count
102	103	104	
//200	201
107	108	109

//QUERY
0	//if get is applied to know the capacity
0	//condition count
	//[3]==0		//condition
	//5		//number of parameters which are 0 if condition is true
	//1 2 3 4 5  	//parameter index
	
4		//ju32ParamCount
2 1 1 1

//range count
0
//param index, start, end, step
//2 0 1 1

//--------SVR_CHANNEL------------
15      //group ID
17      //action count
//(action ID), action type, param index, action command
(100)   4       0       [0]
(101)   4       1       [1]
(102)   4       2       [2]
(103)   4       3       [3]
(104)   4       4       [4]
(105)   4       5       [5]
(106)   4       6       [6]
(107)   4       7       [7]
(108)   4       8       [8]
(109)   4       9       [9]
(110)   4       10      [10]
(111)   3       11      OK
(112)   4	12      [12]
(113)   4       13	[13]
(114)	4	14	[14]
(115)	5	15	[15]&;&[16]&;&[17]&;&[18]&;&[19]&;&[20]&;&[21]&;&[22]&;&[23]&;&[24]&;&[25]&;&[26]&;&[27]&;&[28]&;&[34]&;&[35]&;&[36]&;&[37]&;&[38]
(116)   5	16	[29]&;&[31]&;&[32]&;&[33]&;&[30]&;&[38]

1       //condition count
//(condition ID), condition cmd, action ID
(200)      [11]==1      111

16      //get count
100 101 102 103 104 105 106 107 108 109 
110 112 113 114 115 116
11       //set count
100 101 102 103 104 105 106 109 110 200 
112

//QUERY
0	//if get is applied to know the capacity
0	//condition count
	//[3]==0		//condition
	//5		//number of parameters which are 0 if condition is true
	//1 2 3 4 5  	//parameter index
	
17		//ju32ParamCount
3 3 3 3 3 3 3 1 1 3 
3 2 3 1 1 1 1

//range count
0
//param index, start, end, step


//--------SVR_CameraStatus------------
18      //group ID
2       //action count
//(action ID), action type, param index, action command
(100)   4       0       [0]
(101)   3       1       1


2       //condition count
//(condition ID), condition cmd, action ID
(200)     [0]>=1     100
(201)     [0]==0     101

0       //get count 
2       //set count
200 201

0	//if get is applied to know the capacity
0	//condition count

1              //ju32ParamCount
2

//range count
1
//param index, start, end, step
0  0  12  1

//---------SVR_CameraIOSetting----------
23      //group ID
13      //action count
//(action ID), action type, param index, action command
(100)   4       0       [0]
(101)   4       1       [1]
(102)   4       2       [2]
(103)   4       3       [3]
(104)   4       4       [4]
(105)   4       5       [5]
(106)   4       6       [6]
(107)   4       7       [7]
(108)   4       8       [8]
(109)   4       9       [9]
(110)   4       10      [10]
(111)   4       11      [11]
(112)   4       12      [12]

0       //condittion count
//(condition ID), condition cmd, action ID

13      //get count
100 101 102 103 104 105 106 107 108 109 110 111 112
13      //set count
100 101 102 103 104 105 106 107 108 109 110 111 112

0	//if get is applied to know the capacity
0	//condition count

13      //ju32ParamCount
3 3 3 3 3 3 3 3 3 3 3 3 3

//range count
6
//param index, start, end, step
0   5   86400   1
1   0   2   1
2   0   6   1
4   0   3   1
8   512   2048   1
12   0   1   1

//---------SVR_EventEnabled-------------
24      //group ID
9      //action count
//(action ID), action type, param index, action command
(100)   4       0       [0]
(101)   4       1       [1]
(102)   4       2       [2]
(103)   4       3       [3]
(104)   4       4       [4]
(105)   4       5       [5]
(106)   4       6       [6]
(107)   4       7       [7]
(108)   3       8       OK


1       //condition count
//(condition ID), condition cmd, action ID
(200)      [8]==1      123

8       //get count
100 101 102 103 104 105 106 107
9       //set count
100 101 102 103 104 105 106 107 200

0	//if get is applied to know the capacity
0	//condition count


9              //ju32ParamCount
3 3 3 3 3 3 3 3 2

//range count
7
//param index, start, end, step
0   1   2   1
1   4   10   1
2   0   1   1
4   0   1   1
6   0   1   1
7   0   1   1
8   0   1   1

//-----------SVR_AddHttpServer------------
21       //group ID
17        //action count
//(action ID), action type, param index, action command
(100)   4       0       [0]   // 100 ~ 107 is for add and get
(101)   4       1       [1]
(102)   4       2       [2]
(103)   4       3       [3]
(104)   4       4       [4]
(105)   4       5       [5]
(106)   4       6       [6]
(107)   4       7       [7]
(108)   4       8       [0]  // 108 ~ 115 is for set
(109)   4       9       [1]
(110)   4       10      [2]
(111)   4       11      [3]
(112)   4       12      [4]
(113)   4       13      [5]
(114)   4       14      [6]
(115)   4       15      [7]
(116)   3       16      OK  // 115 is for remove


17      //condition count
//(condition ID), condition cmd, action ID
(200)     [1]<=0       100  // 200 ~ 207 is for add
(201)     [1]<=0       101
(202)     [1]<=0       102
(203)     [1]<=0       103
(204)     [1]<=0       104
(205)     [1]<=0       105
(206)     [1]<=0       106
(207)     [1]<=0       107
(208)     [1]>=1       108  //208 ~ 215 is for set
(209)     [1]>=1       109
(210)     [1]>=1       110
(211)     [1]>=1       111
(212)     [1]>=1       112
(213)     [1]>=1       113
(214)     [1]>=1       114
(215)     [1]>=1       115
(216)     [8]!=EMPTY   116 //remove


8     //get count
100 101 102 103 104 105 106 107
17     //set count
200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216

0	//if get is applied to know the capacity
0	//condition count

9
2 3 2 2 2 2 2 2 2

//range count
1
//param index, start, end, step
2  0  1  1


//---------PlayBack_UserID---------------
11        //group ID
1          //action count
//(action ID), action type, param index, action command
(100)   4       0       [0]

0      //condition count
//(condition ID), condition cmd, action ID

1      //get count
100
0      //set count

0	//if get is applied to know the capacity
0	//condition count

1       //ju32ParamCount
1

//range count
0
//param index, start, end, step

//---------SVR_UserGroup----------------
16        //group ID
6          //action count
//(action ID), action type, param index, action command
(100)   4       0       [0]
(101)   4       1       [1]
(102)   4       2       [2]
(103)   4       3       [3]
(104)   4       4       [4]
(105)   4       5       [5]

0      //condition count
//(condition ID), condition cmd, action ID

6      //get count
100 101 102 103 104 105
6      //set count
100 101 102 103 104 105

0	//if get is applied to know the capacity
0	//condition count

6       //ju32ParamCount
3 3 3 3 3 3

//range count
1
//param index, start, end, step
5  0  4  1

//-----------CMS Trigger-------------
19        //group ID
4          //action count
//(action ID), action type, param index, action command
(100)   4       0       [0]
(101)   4       1       [1]
(102)   4       2       [2]
(103)   4       3       [3]

0      //condition count
//(condition ID), condition cmd, action ID

0      //get count
4      //set count
100 101 102 103

0	//if get is applied to know the capacity
0	//condition count

4       //ju32ParamCount
2 2 2 2

//range count
0
//param index, start, end, step

//--------Search PlayBack By Time-----
12        //group ID
5          //action count
//(action ID), action type, param index, action command
(100)   4       0       [0]
(101)   4       1       [1]
(102)   4       2       [2]
(103)   4       3       [3]
(104)   4       4       [4]

0       //condition count
//(condition ID), condition cmd, action ID

0      //get count
5      //set count
100 101 102 103 104

0	//if get is applied to know the capacity
0	//condition count

5       //ju32ParamCount
2 2 2 2 2

//range count
2
//param index, start, end, step
3  1  960  1
4  0  1  1

//--------Search PlayBack By Event-----
13        //group ID
4          //action count
//(action ID), action type, param index, action command
(100)   4       0       [0]
(101)   4       1       [1]
(102)   4       2       [2]
(103)   4       3       [3]

0       //condition count
//(condition ID), condition cmd, action ID

0      //get count
4      //set count
100 101 102 103

0	//if get is applied to know the capacity
0	//condition count

4       //ju32ParamCount
2 2 2 2

//range count
2
//param index, start, end, step
2  1  960  1
3  0  1    1

//---------Playback Control---------
14
3          //action count
//(action ID), action type, param index, action command
(100)   4       0       [0]
(101)   4       1       [1]
(102)   4       2       [2]

0       //condition count
//(condition ID), condition cmd, action ID

0      //get count
3      //set count
100 101 102

0	//if get is applied to know the capacity
0	//condition count

3       //ju32ParamCount
2 2 2

//range count
1
//param index, start, end, step
1  0  7  1

//---------Search Event by Time----------
17         //group ID
3          //action count
//(action ID), action type, param index, action command
(100)   4       0       [0]
(101)   4       1       [1]
(102)   4       2       [2]

0       //condition count
//(condition ID), condition cmd, action ID

0      //get count
3      //set count
100 101 102

0	//if get is applied to know the capacity
0	//condition count

3       //ju32ParamCount
2 2 2

//range count
0
//param index, start, end, step

//------------SVR_TimeSync----------------
25      //group ID
6       //action count
//(action ID), action type, param index, action command
(100)    4     0     [0]
(101)    4     1     [1]
(102)    4     2     [2]
(103)    4     3     [3]
(104)    4     4     [4]
(105)    4     5     [5]

0      //condition count
//(condition ID), condition cmd, action ID

6      //get count
100 101 102 103 104 105
6      //set count
100 101 102 103 104 105

0	//if get is applied to know the capacity
0	//condition count

6      //ju32ParamCount
3 3 3 3 3 3

//range count
3
//param index, start, end, step
1   0   2   1
3   0   1   1
4   1   51  1

//-------------SVR_StreamingPort------------
26       //groupID
1        //action count
//(action ID), action type, param index, action command
(100)    4    0    [0]

0      //condition count
//(condition ID), condition cmd, action ID

1       //get count
100
1       //set count
100

0	//if get is applied to know the capacity
0	//condition count

1       //ju32ParamCount
3

//range count
1
//param index index, start, end, step
0    1024    65535    1
