-
Notifications
You must be signed in to change notification settings - Fork 1
/
default.mapping
80 lines (78 loc) · 2.52 KB
/
default.mapping
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
################################################################################
# With this mapping file engine controls can be mapped to API controls.
# Each line defines a mapping for a certain control. The format is:
#
# <engine control name>[=<engine control value>]=<API control name>
#
# In general there are two mapping types:
# Case 1 - Rename
#
# In this case the control name used by the engine differs from the API control
# name. So the mapping defines a simple rename:
# <engine control name>=<API control name>
#
# Case 2 - Virtual control
#
# In this case the engine uses a single control with different values for multiple
# API controls. So the mapping defines a control with a certain value to map to
# an API control:
# <engine control name>=<engine control value>=<API control name>
#
# Sample for engine control "PZB LM Betrieb" which is mapped to PZB_55, PZB_70 and
# PZB_85 depending on its value.
# PZB LM Betrieb=1=PZB_85
# PZB LM Betrieb=2=PZB_70
# PZB LM Betrieb=3=PZB_55
#
# Case 3 - Combined control
#
# Some controls are separated to display single digits of a number. Therefore
# multiple control values need to be combined. For this special case a combined
# control can define the controls for the single digits to be calculated as
# combined value:
# <combined control name>=[engine control name1, engine control name2,...]
#
# Sample for combined control AFBSpeed which combines the single controls
# AFBSpeed100, AFBSpeed10 and AFBSpeed1 to a single value.
# AFBSpeed=[AFBSpeed100,AFBSpeed10,AFBSpeed1]
#
# The mapping can be defined either in the default.mapping file or a separate file
# for a certain engine. The filename must be <engine name>.mapping then.
#
################################################################################
# Renaming
PZB_B40=PZB_40
PZB_500Hz=PZB_500
PZB_1000Hz=PZB_1000
SifaLight=VigilLight
SifaAlarm=VigilAlarm
SifaLampe=VigilLight
SifaOnOff=VigilEnable
SifaWarnung=VigilAlarm
CWXSIFAEIN=VigilEnable
CWXSIFALampe=VigilLight
CWXSIFATon=VigilAlarm
CWXSIFAReset=VigilReset
PZB LM 500Hz=PZB_500
PZB LM 1000Hz=PZB_1000
PZB LM Befehl40=PZB_40
SifaWeg=VigilLight
# Virtual controls
# OEBB 1144
PZB LM Betrieb=1=PZB_85
PZB LM Betrieb=2=PZB_70
PZB LM Betrieb=3=PZB_55
#vR BR111
PZBLM40=PZB_40
PZBLM70=PZB_70
PZBLM85=PZB_85
PZBLM500=PZB_500
PZBLM1000=PZB_1000
PZB_1000hz_Control=PZB_1000
PZB_500hz_Control=PZB_500
PZB_500Hz_Control=PZB_500
PZB_1000Hz_Control=PZB_1000
PZB_B40=PZB_40
# Combined controls
AFBSpeed=[AFBSpeed100,AFBSpeed10,AFBSpeed1]
TargetSpeed=[TargetSpeed100,TargetSpeed10,TargetSpeed1]