On XL set SPD/MACH and HDG/TRK label correctly

Fixes #6

Signed-off-by: Sander Datema <mail@sanderdatema.nl>
This commit is contained in:
Sander Datema 2023-08-04 22:37:23 +02:00
parent ddb4681c5d
commit 613d904a58
Signed by: Sander
SSH key fingerprint: SHA256:Wt0vBy/c+0PaIYPGALOnv6o1olOr4sB41w+DzGr/Zw8
2 changed files with 906 additions and 14 deletions

View file

@ -50764,10 +50764,233 @@
},
"Logic Test": {
"Comment": "",
"Compare Value": "",
"Logic Test Type": "Always True",
"Compare Value": "0",
"Data Source": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "AirbusFBW/HDGTRKmode",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Logic Test Type": "Equal",
"Negate": false,
"Override Data Source": false
"Override Data Source": true
}
},
"1": {
"Lines": {
"0": {
"Bargraph": {
"Color": {
"Blue": 0,
"Green": 0,
"Red": 0
},
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Rounded Corners": false
},
"Font Color Index": 0,
"Font Index": -1,
"Force Color Index": false,
"Segments": {
"0": {
"Custom String Index": 0,
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Font Index": -1,
"Force Color": false,
"Format": "",
"Multiplier": 1.0,
"Substring End Index": 0,
"Substring Start Index": 0,
"Text": "TRK",
"Type": "Text",
"Use As Integer": false
}
},
"Use Bargraph": false
},
"1": {
"Bargraph": {
"Color": {
"Blue": 0,
"Green": 0,
"Red": 0
},
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Rounded Corners": false
},
"Font Color Index": 0,
"Font Index": -1,
"Force Color Index": false,
"Segments": {
"0": {
"Custom String Index": 0,
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Font Index": -1,
"Force Color": false,
"Format": "",
"Multiplier": 1.0,
"Substring End Index": 0,
"Substring Start Index": 0,
"Text": "",
"Type": "Text",
"Use As Integer": false
}
},
"Use Bargraph": false
},
"2": {
"Bargraph": {
"Color": {
"Blue": 0,
"Green": 0,
"Red": 0
},
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Rounded Corners": false
},
"Font Color Index": 0,
"Font Index": -1,
"Force Color Index": false,
"Segments": {
"0": {
"Custom String Index": 0,
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "sim/cockpit/autopilot/heading_mag",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Font Index": -1,
"Force Color": false,
"Format": "",
"Multiplier": 1.0,
"Substring End Index": 0,
"Substring Start Index": 0,
"Text": "",
"Type": "Numeric Data",
"Use As Integer": true
}
},
"Use Bargraph": false
}
},
"Logic Test": {
"Comment": "",
"Compare Value": "1",
"Data Source": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "AirbusFBW/HDGTRKmode",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Logic Test Type": "Equal",
"Negate": false,
"Override Data Source": true
}
}
},
@ -51026,10 +51249,233 @@
},
"Logic Test": {
"Comment": "",
"Compare Value": "",
"Logic Test Type": "Always True",
"Compare Value": "0",
"Data Source": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "sim/cockpit/autopilot/airspeed_is_mach",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Logic Test Type": "Equal",
"Negate": false,
"Override Data Source": false
"Override Data Source": true
}
},
"1": {
"Lines": {
"0": {
"Bargraph": {
"Color": {
"Blue": 0,
"Green": 0,
"Red": 0
},
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Rounded Corners": false
},
"Font Color Index": 0,
"Font Index": -1,
"Force Color Index": false,
"Segments": {
"0": {
"Custom String Index": 0,
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Font Index": -1,
"Force Color": false,
"Format": "",
"Multiplier": 1.0,
"Substring End Index": 0,
"Substring Start Index": 0,
"Text": "MACH",
"Type": "Text",
"Use As Integer": false
}
},
"Use Bargraph": false
},
"1": {
"Bargraph": {
"Color": {
"Blue": 0,
"Green": 0,
"Red": 0
},
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Rounded Corners": false
},
"Font Color Index": 0,
"Font Index": -1,
"Force Color Index": false,
"Segments": {
"0": {
"Custom String Index": 0,
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Font Index": -1,
"Force Color": false,
"Format": "",
"Multiplier": 1.0,
"Substring End Index": 0,
"Substring Start Index": 0,
"Text": "",
"Type": "Text",
"Use As Integer": false
}
},
"Use Bargraph": false
},
"2": {
"Bargraph": {
"Color": {
"Blue": 0,
"Green": 0,
"Red": 0
},
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Rounded Corners": false
},
"Font Color Index": 0,
"Font Index": -1,
"Force Color Index": false,
"Segments": {
"0": {
"Custom String Index": 0,
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "sim/cockpit2/autopilot/airspeed_dial_kts",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Font Index": -1,
"Force Color": false,
"Format": "",
"Multiplier": 1.0,
"Substring End Index": 0,
"Substring Start Index": 0,
"Text": "",
"Type": "Numeric Data",
"Use As Integer": true
}
},
"Use Bargraph": false
}
},
"Logic Test": {
"Comment": "",
"Compare Value": "1",
"Data Source": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "sim/cockpit/autopilot/airspeed_is_mach",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Logic Test Type": "Equal",
"Negate": false,
"Override Data Source": true
}
}
},
@ -77003,7 +77449,7 @@
"Key Index": 99
}
},
"Last Saved Date": "2023-08-04_221927",
"Last Saved Date": "2023-08-04_223624",
"MultiEncoders": {
"0": {
"Encoder": {

View file

@ -50764,10 +50764,233 @@
},
"Logic Test": {
"Comment": "",
"Compare Value": "",
"Logic Test Type": "Always True",
"Compare Value": "0",
"Data Source": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "AirbusFBW/HDGTRKmode",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Logic Test Type": "Equal",
"Negate": false,
"Override Data Source": false
"Override Data Source": true
}
},
"1": {
"Lines": {
"0": {
"Bargraph": {
"Color": {
"Blue": 0,
"Green": 0,
"Red": 0
},
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Rounded Corners": false
},
"Font Color Index": 0,
"Font Index": -1,
"Force Color Index": false,
"Segments": {
"0": {
"Custom String Index": 0,
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Font Index": -1,
"Force Color": false,
"Format": "",
"Multiplier": 1.0,
"Substring End Index": 0,
"Substring Start Index": 0,
"Text": "TRK",
"Type": "Text",
"Use As Integer": false
}
},
"Use Bargraph": false
},
"1": {
"Bargraph": {
"Color": {
"Blue": 0,
"Green": 0,
"Red": 0
},
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Rounded Corners": false
},
"Font Color Index": 0,
"Font Index": -1,
"Force Color Index": false,
"Segments": {
"0": {
"Custom String Index": 0,
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Font Index": -1,
"Force Color": false,
"Format": "",
"Multiplier": 1.0,
"Substring End Index": 0,
"Substring Start Index": 0,
"Text": "",
"Type": "Text",
"Use As Integer": false
}
},
"Use Bargraph": false
},
"2": {
"Bargraph": {
"Color": {
"Blue": 0,
"Green": 0,
"Red": 0
},
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Rounded Corners": false
},
"Font Color Index": 0,
"Font Index": -1,
"Force Color Index": false,
"Segments": {
"0": {
"Custom String Index": 0,
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "sim/cockpit/autopilot/heading_mag",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Font Index": -1,
"Force Color": false,
"Format": "",
"Multiplier": 1.0,
"Substring End Index": 0,
"Substring Start Index": 0,
"Text": "",
"Type": "Numeric Data",
"Use As Integer": true
}
},
"Use Bargraph": false
}
},
"Logic Test": {
"Comment": "",
"Compare Value": "1",
"Data Source": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "AirbusFBW/HDGTRKmode",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Logic Test Type": "Equal",
"Negate": false,
"Override Data Source": true
}
}
},
@ -51026,10 +51249,233 @@
},
"Logic Test": {
"Comment": "",
"Compare Value": "",
"Logic Test Type": "Always True",
"Compare Value": "0",
"Data Source": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "sim/cockpit/autopilot/airspeed_is_mach",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Logic Test Type": "Equal",
"Negate": false,
"Override Data Source": false
"Override Data Source": true
}
},
"1": {
"Lines": {
"0": {
"Bargraph": {
"Color": {
"Blue": 0,
"Green": 0,
"Red": 0
},
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Rounded Corners": false
},
"Font Color Index": 0,
"Font Index": -1,
"Force Color Index": false,
"Segments": {
"0": {
"Custom String Index": 0,
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Font Index": -1,
"Force Color": false,
"Format": "",
"Multiplier": 1.0,
"Substring End Index": 0,
"Substring Start Index": 0,
"Text": "MACH",
"Type": "Text",
"Use As Integer": false
}
},
"Use Bargraph": false
},
"1": {
"Bargraph": {
"Color": {
"Blue": 0,
"Green": 0,
"Red": 0
},
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Rounded Corners": false
},
"Font Color Index": 0,
"Font Index": -1,
"Force Color Index": false,
"Segments": {
"0": {
"Custom String Index": 0,
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Font Index": -1,
"Force Color": false,
"Format": "",
"Multiplier": 1.0,
"Substring End Index": 0,
"Substring Start Index": 0,
"Text": "",
"Type": "Text",
"Use As Integer": false
}
},
"Use Bargraph": false
},
"2": {
"Bargraph": {
"Color": {
"Blue": 0,
"Green": 0,
"Red": 0
},
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Rounded Corners": false
},
"Font Color Index": 0,
"Font Index": -1,
"Force Color Index": false,
"Segments": {
"0": {
"Custom String Index": 0,
"Dataref": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "sim/cockpit2/autopilot/airspeed_dial_kts",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Font Index": -1,
"Force Color": false,
"Format": "",
"Multiplier": 1.0,
"Substring End Index": 0,
"Substring Start Index": 0,
"Text": "",
"Type": "Numeric Data",
"Use As Integer": true
}
},
"Use Bargraph": false
}
},
"Logic Test": {
"Comment": "",
"Compare Value": "1",
"Data Source": {
"Dataref": {
"Dataref Index": 0,
"Dataref Name": "sim/cockpit/autopilot/airspeed_is_mach",
"Drag Factor": 0.0,
"Formula ID": "",
"Increment Amount": "",
"Increment Mode": "None",
"Max": "",
"Min": "",
"Multiply By": "",
"Radio Value": 0.0,
"Scale Factor": 1
},
"Use Expression": false
},
"Logic Test Type": "Equal",
"Negate": false,
"Override Data Source": true
}
}
},
@ -77003,7 +77449,7 @@
"Key Index": 99
}
},
"Last Saved Date": "2023-08-04_221927",
"Last Saved Date": "2023-08-04_223624",
"MultiEncoders": {
"0": {
"Encoder": {