author | Christian Taedcke |
Wed, 10 Nov 2010 14:19:31 +0100 | |
changeset 650 | 58b07a7e695b |
parent 537 | 9abbda25a18b |
permissions | -rw-r--r-- |
176 | 1 |
global Mapping, AddMenuEntries |
2 |
||
3 |
""" |
|
4 |
MappingDictionary for DS-302 |
|
5 |
""" |
|
6 |
||
7 |
Mapping = { |
|
8 |
0x1F20 : {"name" : "Store DCF", "struct" : rec, "need" : False, "values" : |
|
198 | 9 |
[{"name" : "Number of Entries", "type" : 0x05, "access" : 'ro', "pdo" : False}, |
176 | 10 |
{"name" : "Store DCF for node %d[(sub)]", "type" : 0x0F, "access" : 'rw', "pdo" : False, "nbmax" : 0x7F}]}, |
11 |
||
12 |
0x1F21 : {"name" : "Storage Format", "struct" : rec, "need" : False, "values" : |
|
198 | 13 |
[{"name" : "Number of Entries", "type" : 0x05, "access" : 'ro', "pdo" : False}, |
176 | 14 |
{"name" : "Storage Format for Node %d[(sub)]", "type" : 0x02, "access" : 'rw', "pdo" : False, "nbmax" : 0x7F}]}, |
15 |
||
16 |
0x1F22 : {"name" : "Concise DCF", "struct" : rec, "need" : False, "values" : |
|
198 | 17 |
[{"name" : "Number of Entries", "type" : 0x05, "access" : 'ro', "pdo" : False}, |
535
69c25c60df5d
Adding entries for Program Control in DS302 profile
lbessard
parents:
198
diff
changeset
|
18 |
{"name" : "Concise DCF for Node %d[(sub)]", "type" : 0x0F, "access" : 'rw', "pdo" : False, "nbmax" : 0x7F}]} , |
69c25c60df5d
Adding entries for Program Control in DS302 profile
lbessard
parents:
198
diff
changeset
|
19 |
|
69c25c60df5d
Adding entries for Program Control in DS302 profile
lbessard
parents:
198
diff
changeset
|
20 |
0x1F50 : {"name" : "Download Program Data", "struct" : rec, "need" : False, "values" : |
69c25c60df5d
Adding entries for Program Control in DS302 profile
lbessard
parents:
198
diff
changeset
|
21 |
[{"name" : "Number of different programs supported on the node", "type" : 0x05, "access" : 'ro', "pdo" : False}, |
69c25c60df5d
Adding entries for Program Control in DS302 profile
lbessard
parents:
198
diff
changeset
|
22 |
{"name" : "Program Number %d[(sub)]", "type" : 0x0F, "access" : 'rw', "pdo" : False, "nbmax" : 0x7F}]}, |
69c25c60df5d
Adding entries for Program Control in DS302 profile
lbessard
parents:
198
diff
changeset
|
23 |
|
69c25c60df5d
Adding entries for Program Control in DS302 profile
lbessard
parents:
198
diff
changeset
|
24 |
0x1F51 : {"name" : "Program Control", "struct" : rec, "need" : False, "values" : |
69c25c60df5d
Adding entries for Program Control in DS302 profile
lbessard
parents:
198
diff
changeset
|
25 |
[{"name" : "Number of different programs on the node", "type" : 0x05, "access" : 'ro', "pdo" : False}, |
69c25c60df5d
Adding entries for Program Control in DS302 profile
lbessard
parents:
198
diff
changeset
|
26 |
{"name" : "Program Number %d[(sub)]", "type" : 0x05, "access" : 'rw', "pdo" : False, "nbmax" : 0x7F}]}, |
69c25c60df5d
Adding entries for Program Control in DS302 profile
lbessard
parents:
198
diff
changeset
|
27 |
|
69c25c60df5d
Adding entries for Program Control in DS302 profile
lbessard
parents:
198
diff
changeset
|
28 |
0x1F52 : {"name" : "Verify Application Software", "struct" : array, "need" : False, "values" : |
69c25c60df5d
Adding entries for Program Control in DS302 profile
lbessard
parents:
198
diff
changeset
|
29 |
[{"name" : "Number of Entries", "type" : 0x05, "access" : 'ro', "pdo" : False}, |
69c25c60df5d
Adding entries for Program Control in DS302 profile
lbessard
parents:
198
diff
changeset
|
30 |
{"name" : "Application software date", "type" : 0x07, "access" : 'rw', "pdo" : False}, |
69c25c60df5d
Adding entries for Program Control in DS302 profile
lbessard
parents:
198
diff
changeset
|
31 |
{"name" : "Application sofware time", "type" : 0x07, "access" : 'rw', "pdo" : False}]}, |
69c25c60df5d
Adding entries for Program Control in DS302 profile
lbessard
parents:
198
diff
changeset
|
32 |
|
69c25c60df5d
Adding entries for Program Control in DS302 profile
lbessard
parents:
198
diff
changeset
|
33 |
0x1F53 : {"name" : "Expected Application SW Date", "struct" : rec, "need" : False, "values" : |
69c25c60df5d
Adding entries for Program Control in DS302 profile
lbessard
parents:
198
diff
changeset
|
34 |
[{"name" : "Number of different programs on the node", "type" : 0x05, "access" : 'ro', "pdo" : False}, |
537 | 35 |
{"name" : "Program number %d[(sub)]", "type" : 0x07, "access" : 'rw', "pdo" : False, "nbmax" : 0x7F}]}, |
535
69c25c60df5d
Adding entries for Program Control in DS302 profile
lbessard
parents:
198
diff
changeset
|
36 |
|
69c25c60df5d
Adding entries for Program Control in DS302 profile
lbessard
parents:
198
diff
changeset
|
37 |
0x1F55 : {"name" : "Expected Application SW Time", "struct" : rec, "need" : False, "values" : |
69c25c60df5d
Adding entries for Program Control in DS302 profile
lbessard
parents:
198
diff
changeset
|
38 |
[{"name" : "Number of different programs on the node", "type" : 0x05, "access" : 'ro', "pdo" : False}, |
69c25c60df5d
Adding entries for Program Control in DS302 profile
lbessard
parents:
198
diff
changeset
|
39 |
{"name" : "Program number %d[(sub)]", "type" : 0x07, "access" : 'rw', "pdo" : False, "nbmax" : 0x7F}]} |
176 | 40 |
} |
41 |
||
42 |
AddMenuEntries = [] |