objdictgen/config/DS-418.prf
author leonid
Wed, 14 Feb 2007 22:19:53 +0100
changeset 98 38bafcc580c6
parent 69 c5495b101f57
permissions -rw-r--r--
file CanFestival-3.def was initially added on branch BRANCH_WIN32PORT.
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     1
global Mapping, AddMenuEntries
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     2
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     3
"""
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     4
MappingDictionary for DS-418
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     5
"""
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     6
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     7
Mapping = {
69
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
     8
    0x6000 : {"name" : "Battery Status", "struct" : var, "need" : True, "values" :
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
     9
                [{"name" : "Battery Status", "type" : 0x05, "access" : 'ro', "pdo" : True}]},
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    10
    0x6001 : {"name" : "Charger Status", "struct" : var, "need" : True, "values" :
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    11
                [{"name" : "Charger Status", "type" : 0x05, "access" : 'rw', "pdo" : True}]},
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    12
    0x6010 : {"name" : "Temperature", "struct" : var, "need" : True, "values" :
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    13
                [{"name" : "Temperature", "type" : 0x03, "access" : 'ro', "pdo" : True}]},
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    14
69
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    15
    0x6020 : {"name" : "Battery Parameters", "struct" : array, "need" : True, "values" :
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    16
                [{"name" : "Highest Sub-Index Supported", "type" : 0x05, "access" : 'ro', "pdo" : False},
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    17
                 {"name" : "Battery Type", "type" : 0x05, "access" : 'ro', "pdo" : False},
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    18
                 {"name" : "Ah Capacity", "type" : 0x06, "access" : 'ro', "pdo" : False},
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    19
                 {"name" : "Maximum Charge Current", "type" : 0x06, "access" : 'ro', "pdo" : False},
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    20
                 {"name" : "Number of Cells", "type" : 0x06, "access" : 'ro', "pdo" : False}]},
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    21
69
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    22
    0x6030 : {"name" : "Battery Serial Number", "struct" : rec, "need" : False, "values" :
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    23
                [{"name" : "Number of Elements", "type" : 0x05, "access" : 'ro', "pdo" : False},
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    24
                 {"name" : "Packed ASCII Characters %d to %d[(sub*4-3,sub*4)]", "type" : 0x07, "access" : 'ro', "pdo" : False, "nbmax" : 0x03}]},
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    25
    0x6031 : {"name" : "Battery ID", "struct" : rec, "need" : False, "values" :
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    26
                [{"name" : "Number of Elements", "type" : 0x05, "access" : 'ro', "pdo" : False},
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    27
                 {"name" : "Packed ASCII Characters %d to %d[(sub*4-3,sub*4)]", "type" : 0x07, "access" : 'ro', "pdo" : False, "nbmax" : 0x05}]},
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    28
    0x6040 : {"name" : "Vehicle Serial Number", "struct" : rec, "need" : False, "values" :
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    29
                [{"name" : "Number of Elements", "type" : 0x05, "access" : 'ro', "pdo" : False},
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    30
                 {"name" : "Packed ASCII Characters %d to %d[(sub*4-3,sub*4)]", "type" : 0x07, "access" : 'ro', "pdo" : False, "nbmax" : 0x05}]},
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    31
    0x6041 : {"name" : "Vehicle ID", "struct" : rec, "need" : False, "values" :
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    32
                [{"name" : "Number of Elements", "type" : 0x05, "access" : 'ro', "pdo" : False},
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    33
                 {"name" : "Packed ASCII Characters %d to %d[(sub*4-3,sub*4)]", "type" : 0x07, "access" : 'ro', "pdo" : False, "nbmax" : 0x05}]},
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    34
69
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    35
    0x6050 : {"name" : "Cumulative Total Ah Charge", "struct" : var, "need" : False, "values" :
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    36
                [{"name" : "Cumulative Total Ah Charge", "type" : 0x07, "access" : 'ro', "pdo" : False}]},
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    37
69
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    38
    0x6051 : {"name" : "Ah Expected Since Last Charge", "struct" : var, "need" : False, "values" :
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    39
                [{"name" : "Ah Expected Since Last Charge", "type" : 0x07, "access" : 'ro', "pdo" : False}]},
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    40
69
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    41
    0x6052 : {"name" : "Ah Returned During Last Charge", "struct" : var, "need" : False, "values" :
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    42
                [{"name" : "Ah Returned During Last Charge", "type" : 0x06, "access" : 'rw', "pdo" : True}]},
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    43
69
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    44
    0x6053 : {"name" : "Ah Since Last Equalization", "struct" : var, "need" : False, "values" :
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    45
                [{"name" : "Ah Since Last Equalization", "type" : 0x06, "access" : 'rw', "pdo" : False}]},
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    46
69
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    47
    0x6054 : {"name" : "Date of Last Equalization", "struct" : array, "need" : False, "values" :
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    48
                [{"name" : "Number of Elements", "type" : 0x05, "access" : 'ro', "pdo" : False},
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    49
                 {"name" : "Number of Minutes", "type" : 0x06, "access" : 'rw', "pdo" : False},
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    50
                 {"name" : "Number of Days", "type" : 0x06, "access" : 'rw', "pdo" : False}]},
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    51
69
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    52
    0x6060 : {"name" : "Battery Voltage", "struct" : var, "need" : False, "values" :
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    53
                [{"name" : "Battery Voltage", "type" : 0x07, "access" : 'ro', "pdo" : True}]},
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    54
69
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    55
    0x6070 : {"name" : "Charge Current Requested", "struct" : var, "need" : False, "values" :
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    56
                [{"name" : "Charge Current Requested", "type" : 0x06, "access" : 'ro', "pdo" : True}]},
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    57
69
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    58
    0x6080 : {"name" : "Charger State of Charge", "struct" : var, "need" : False, "values" :
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    59
                [{"name" : "Charge State of Charge", "type" : 0x05, "access" : 'rw', "pdo" : True}]},
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    60
69
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    61
    0x6081 : {"name" : "Battery State of Charge", "struct" : var, "need" : False, "values" :
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    62
                [{"name" : "Battery State of Charge", "type" : 0x05, "access" : 'ro', "pdo" : True}]},
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    63
69
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    64
    0x6090 : {"name" : "Water Level Status", "struct" : var, "need" : False, "values" :
c5495b101f57 DS-401 and DS-418 updated
lbessard
parents: 0
diff changeset
    65
                [{"name" : "Water Level Status", "type" : 0x05, "access" : 'ro', "pdo" : False}]}
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    66
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    67
}
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    68
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    69
AddMenuEntries = []