|
1 global Mapping, AddMenuEntries |
|
2 |
|
3 """ |
|
4 MappingDictionary for DS-419 |
|
5 """ |
|
6 |
|
7 Mapping = { |
|
8 0x6000 : {"name" : "Battery status", "struct" : var, "need" : True, "values" : |
|
9 [{"name" : "battery_status", "type" : 0x05, "access" : 'rw', "pdo" : True}]}, |
|
10 |
|
11 0x6001 : {"name" : "Charger status", "struct" : var, "need" : True, "values" : |
|
12 [{"name" : "charger_status", "type" : 0x06, "access" : 'rw', "pdo" : True}]}, |
|
13 |
|
14 0x6052 : {"name" : "Ah returned during last charge", "struct" : var, "need" : False, "values" : |
|
15 [{"name" : "ah_returned_during_last_charge", "type" : 0x06, "access" : 'ro', "pdo" : True}]}, |
|
16 |
|
17 0x6060 : {"name" : "Battery voltage", "struct" : var, "need" : False, "values" : |
|
18 [{"name" : "battery_voltage", "type" : 0x07, "access" : 'rw', "pdo" : True}]}, |
|
19 |
|
20 0x6070 : {"name" : "Charge current requested", "struct" : var, "need" : False, "values" : |
|
21 [{"name" : "charge_current_requested", "type" : 0x06, "access" : 'rw', "pdo" : True}]}, |
|
22 |
|
23 0x6080 : {"name" : "Charger state of charge", "struct" : var, "need" : False, "values" : |
|
24 [{"name" : "charge_state_of_charge", "type" : 0x05, "access" : 'ro', "pdo" : True}]}, |
|
25 |
|
26 0x6081 : {"name" : "Battery state of charge", "struct" : var, "need" : False, "values" : |
|
27 [{"name" : "battery_state_of_charge", "type" : 0x05, "access" : 'rw', "pdo" : True}]} |
|
28 |
|
29 } |
|
30 |
|
31 AddMenuEntries = [] |