0
|
1 |
global Mapping, AddMenuEntries
|
|
2 |
|
|
3 |
"""
|
|
4 |
MappingDictionary for DS-410
|
|
5 |
Device profile for inclinometer
|
|
6 |
"""
|
|
7 |
|
|
8 |
Mapping = {
|
|
9 |
0x6000 : {"name" : "resolution", "struct" : var, "need" : True, "values" :
|
|
10 |
[{"name" : "resolution", "type" : 0x06, "access" : 'rw', "pdo" : True}]},
|
|
11 |
|
|
12 |
0x6010 : {"name" : "Slope_Long16", "struct" : var, "need" : True, "values" :
|
|
13 |
[{"name" : "Slope_Long16", "type" : 0x06, "access" : 'ro', "pdo" : True}]},
|
|
14 |
|
|
15 |
0x6011 : {"name" : "Slope_Long16_Operating_Parameter", "struct" : var, "need" : True, "values" :
|
|
16 |
[{"name" : "Slope_Long16_Operating_Parameter", "type" : 0x05, "access" : 'rw', "pdo" : False}]},
|
|
17 |
|
|
18 |
0x6012 : {"name" : "Slope_Long16_preset_value", "struct" : var, "need" : True, "values" :
|
|
19 |
[{"name" : "Slope_Long16_preset_value", "type" : 0x03, "access" : 'rw', "pdo" : False}]},
|
|
20 |
|
|
21 |
0x6013 : {"name" : "Slope_Long16_Offset", "struct" : var, "need" : True, "values" :
|
|
22 |
[{"name" : "Slope_Long16_Offset", "type" : 0x03, "access" : 'rw', "pdo" : False}]},
|
|
23 |
|
|
24 |
0x6014 : {"name" : "Differential_Slope_Long16_Offset", "struct" : var, "need" : True, "values" :
|
|
25 |
[{"name" : "Differential_Slope_Long16_Offset", "type" : 0x03, "access" : 'rw', "pdo" : False}]},
|
|
26 |
|
|
27 |
0x6020 : {"name" : "Slope_Lateral16", "struct" : var, "need" : False, "values" :
|
|
28 |
[{"name" : "Slope_Lateral16_Offset", "type" : 0x03, "access" : 'ro', "pdo" : True}]},
|
|
29 |
|
|
30 |
0x6021 : {"name" : "Slope_Lateral16_Operating_Parameter", "struct" : var, "need" : False, "values" :
|
|
31 |
[{"name" : "Slope_Lateral16_Operating_Parameter", "type" : 0x05, "access" : 'rw', "pdo" : False}]},
|
|
32 |
|
|
33 |
0x6022 : {"name" : "Slope_Lateral16_preset_value", "struct" : var, "need" : False, "values" :
|
|
34 |
[{"name" : "Slope_Lateral16_preset_value", "type" : 0x03, "access" : 'rw', "pdo" : False}]},
|
|
35 |
|
|
36 |
0x6023 : {"name" : "Slope_Lateral16_Offset", "struct" : var, "need" : False, "values" :
|
|
37 |
[{"name" : "Slope_Lateral16_Offset", "type" : 0x03, "access" : 'rw', "pdo" : False}]},
|
|
38 |
|
|
39 |
0x6024 : {"name" : "Differential_Slope_Lateral16_Offset", "struct" : var, "need" : False, "values" :
|
|
40 |
[{"name" : "Differential_Slope_Lateral16_Offset", "type" : 0x03, "access" : 'rw', "pdo" : False}]},
|
|
41 |
|
|
42 |
0x6110 : {"name" : "Slope_Long32", "struct" : var, "need" : False, "values" :
|
|
43 |
[{"name" : "Slope_Long32", "type" : 0x04, "access" : 'ro', "pdo" : True}]},
|
|
44 |
|
|
45 |
0x6111 : {"name" : "Slope_Long32_Operating_Parameter", "struct" : var, "need" : False, "values" :
|
|
46 |
[{"name" : "Slope_Long32_Operating_Parameter", "type" : 0x05, "access" : 'rw', "pdo" : False}]},
|
|
47 |
|
|
48 |
0x6112 : {"name" : "Slope_Long32_preset_value", "struct" : var, "need" : False, "values" :
|
|
49 |
[{"name" : "Slope_Long32_preset_value", "type" : 0x04, "access" : 'rw', "pdo" : False}]},
|
|
50 |
|
|
51 |
0x6113 : {"name" : "Slope_Long32_Offset", "struct" : var, "need" : False, "values" :
|
|
52 |
[{"name" : "Slope_Long32_Offset", "type" : 0x04, "access" : 'rw', "pdo" : False}]},
|
|
53 |
|
|
54 |
0x6114 : {"name" : "Differential_Slope_Long32_Offset", "struct" : var, "need" : False, "values" :
|
|
55 |
[{"name" : "Differential_Slope_Long32_Offset", "type" : 0x04, "access" : 'rw', "pdo" : False}]},
|
|
56 |
|
|
57 |
0x6120 : {"name" : "Slope_Lateral32", "struct" : var, "need" : False, "values" :
|
|
58 |
[{"name" : "Slope_Lateral32_Offset", "type" : 0x04, "access" : 'ro', "pdo" : True}]},
|
|
59 |
|
|
60 |
0x6121 : {"name" : "Slope_Lateral32_Operating_Parameter", "struct" : var, "need" : False, "values" :
|
|
61 |
[{"name" : "Slope_Lateral32_Operating_Parameter", "type" : 0x05, "access" : 'rw', "pdo" : False}]},
|
|
62 |
|
|
63 |
0x6122 : {"name" : "Slope_Lateral32_preset_value", "struct" : var, "need" : False, "values" :
|
|
64 |
[{"name" : "Slope_Lateral32_preset_value", "type" : 0x04, "access" : 'rw', "pdo" : False}]},
|
|
65 |
|
|
66 |
0x6123 : {"name" : "Slope_Lateral32_Offset", "struct" : var, "need" : False, "values" :
|
|
67 |
[{"name" : "Slope_Lateral32_Offset", "type" : 0x04, "access" : 'rw', "pdo" : False}]},
|
|
68 |
|
|
69 |
0x6124 : {"name" : "Differential_Slope_Lateral32_Offset", "struct" : var, "need" : False, "values" :
|
|
70 |
[{"name" : "Differential_Slope_Lateral32_Offset", "type" : 0x04, "access" : 'rw', "pdo" : False}]},
|
|
71 |
|
|
72 |
0x67FF : {"name" : "Device type", "struct" : var, "need" : False, "values" :
|
|
73 |
[{"name" : "Device type", "type" : 0x07, "access" : 'ro', "pdo" : False}]}
|
|
74 |
|
|
75 |
}
|
|
76 |
|
|
77 |
AddMenuEntries = []
|