steering-wheel/TouchGFX/steering-wheel.touchgfx

1591 lines
43 KiB
Plaintext
Raw Normal View History

2023-03-06 21:21:00 +01:00
{
"Application": {
"Screens": [
{
2023-03-06 23:42:01 +01:00
"Name": "MissionSelect",
2023-03-06 21:21:00 +01:00
"CanvasBufferSize": 7200,
"Components": [
{
"Type": "TextArea",
2023-03-06 23:42:01 +01:00
"Name": "prompt",
"X": 41,
2023-04-04 17:22:41 +02:00
"Y": 15,
2023-03-06 23:42:01 +01:00
"Width": 398,
"Height": 37,
2023-03-06 21:21:00 +01:00
"TextId": "__SingleUse_6GPV",
"TextRotation": "0",
"Color": {
2023-03-06 23:42:01 +01:00
"Red": 255,
"Green": 255,
"Blue": 255
2023-03-06 21:21:00 +01:00
},
"AutoSize": true
},
{
2023-03-06 23:42:01 +01:00
"Type": "ListLayout",
"Name": "missionList",
"Y": 48,
"Width": 480,
2023-03-07 20:13:28 +01:00
"Height": 212,
2023-03-06 23:42:01 +01:00
"Direction": "South",
"Components": [
{
"Type": "CustomContainerInstance",
"Name": "accel",
"Width": 480,
"Height": 30,
"CustomContainerDefinitionName": "MissionSelectElement"
},
{
"Type": "CustomContainerInstance",
"Name": "skidpad",
"Y": 30,
"Width": 480,
"Height": 30,
"CustomContainerDefinitionName": "MissionSelectElement"
},
{
"Type": "CustomContainerInstance",
"Name": "autox",
"Y": 60,
"Width": 480,
"Height": 30,
"CustomContainerDefinitionName": "MissionSelectElement"
},
{
"Type": "CustomContainerInstance",
"Name": "trackdrive",
"Y": 90,
"Width": 480,
"Height": 30,
"CustomContainerDefinitionName": "MissionSelectElement"
},
{
"Type": "CustomContainerInstance",
"Name": "ebs",
"Y": 120,
"Width": 480,
"Height": 30,
"CustomContainerDefinitionName": "MissionSelectElement"
},
{
"Type": "CustomContainerInstance",
"Name": "inspection",
"Y": 150,
"Width": 480,
"Height": 30,
"CustomContainerDefinitionName": "MissionSelectElement"
},
{
"Type": "CustomContainerInstance",
"Name": "manual",
"Y": 180,
"Width": 480,
"Height": 30,
"CustomContainerDefinitionName": "MissionSelectElement"
2023-03-07 20:13:28 +01:00
},
{
"Type": "Line",
"Name": "lastLine",
"Y": 210,
"Width": 480,
"Height": 2,
"Color": {
"Red": 170,
"Green": 170,
"Blue": 170
},
"EndX": 480.0,
"LineWidth": 5.0,
"LineEndingStyle": "Round"
2023-03-06 23:42:01 +01:00
}
]
},
{
"Type": "Image",
2023-03-07 20:13:28 +01:00
"Name": "logo",
2023-03-06 23:42:01 +01:00
"X": 160,
2023-04-04 17:22:41 +02:00
"Y": 266,
2023-03-06 23:42:01 +01:00
"Width": 160,
2023-04-04 17:22:41 +02:00
"Height": 39,
2023-03-07 20:13:28 +01:00
"RelativeFilename": "logo_dv_small_white.png"
2023-03-06 23:42:01 +01:00
}
],
"Interactions": [
{
"InteractionName": "SelectNextMission",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 106
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "incMission"
}
},
{
"InteractionName": "SelectPrevMission",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 107
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "decMission"
}
2023-03-07 22:35:12 +01:00
},
{
"InteractionName": "ConfirmMission",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 54
2023-03-07 22:35:12 +01:00
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "confirmMission"
}
},
{
2023-03-15 18:43:38 +01:00
"InteractionName": "DummyChangeAMI",
2023-03-07 22:35:12 +01:00
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 254
},
"Action": {
"Type": "ActionGotoScreen",
"ScreenTransitionType": "ScreenTransitionNone",
"ActionComponent": "AMI"
}
2023-03-15 18:43:38 +01:00
},
{
"InteractionName": "DummyChangeDriverView",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 253
},
"Action": {
"Type": "ActionGotoScreen",
"ScreenTransitionType": "ScreenTransitionNone",
"ActionComponent": "DriverView"
}
2023-03-21 18:37:50 +01:00
},
{
"InteractionName": "DummyChangeDebugView",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 252
},
"Action": {
"Type": "ActionGotoScreen",
"ScreenTransitionType": "ScreenTransitionNone",
"ActionComponent": "DebugView"
}
},
{
"InteractionName": "DummyChangeConfigView",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 251
},
"Action": {
"Type": "ActionGotoScreen",
"ScreenTransitionType": "ScreenTransitionNone",
"ActionComponent": "VehicleConfig"
}
}
]
2023-03-07 22:35:12 +01:00
},
{
"Name": "AMI",
"Components": [
{
"Type": "Image",
"Name": "logo",
"X": 160,
2023-04-04 17:22:41 +02:00
"Y": 266,
2023-03-07 22:35:12 +01:00
"Width": 160,
2023-04-04 17:22:41 +02:00
"Height": 39,
2023-03-07 22:35:12 +01:00
"RelativeFilename": "logo_dv_small_white.png"
},
{
"Type": "TextArea",
"Name": "title",
"X": 42,
"Y": 20,
"Width": 396,
"Height": 37,
"TextId": "__SingleUse_SDGP",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"AutoSize": true
},
{
"Type": "TextArea",
"Name": "currentMission",
"Y": 130,
"Width": 480,
"Height": 49,
"TextId": "Invalid_Huge",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
}
}
],
"Interactions": []
2023-03-15 18:43:38 +01:00
},
{
"Name": "DriverView",
"CanvasBufferSize": 7200,
"Components": [
{
2023-05-22 08:31:57 +02:00
"Type": "Container",
"Name": "SoC",
"X": 12,
"Y": 125,
"Width": 152,
"Height": 180,
"Components": [
{
"Type": "LineProgress",
"Name": "tsSoC",
"Y": 25,
"Width": 40,
"Height": 150,
"Color": {
"Red": 136,
"Green": 255
},
"StartX": 9.0,
"StartY": 150.0,
"EndX": 9.0,
"LineWidth": 100.0,
"LineEndingStyle": "Butt",
"FileNameBackground": "bat_bar_bg.png",
"ProgressRangeMax": 100,
"ProgressInitialValue": 60
},
{
"Type": "LineProgress",
"Name": "lvSoC",
"X": 95,
"Y": 25,
"Width": 40,
"Height": 150,
"Color": {
"Red": 136,
"Green": 255
},
"StartX": 9.0,
"StartY": 150.0,
"EndX": 9.0,
"LineWidth": 100.0,
"LineEndingStyle": "Butt",
"FileNameBackground": "bat_bar_bg.png",
"ProgressRangeMax": 100,
"ProgressInitialValue": 80
},
{
"Type": "TextArea",
"Name": "tsSoCLabel",
"Width": 40,
"Height": 25,
"TextId": "__SingleUse_PHFD",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
}
},
{
"Type": "TextArea",
"Name": "lvSoCLabel",
"X": 95,
"Width": 40,
"Height": 25,
"TextId": "__SingleUse_4OBM",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
}
}
]
},
{
2023-05-22 06:14:17 +02:00
"Type": "Container",
"Name": "drivetrainTemps",
2023-05-22 08:31:57 +02:00
"X": 316,
"Y": 125,
"Width": 152,
2023-05-22 08:46:04 +02:00
"Height": 185,
2023-05-22 06:14:17 +02:00
"Components": [
{
2023-05-22 08:46:04 +02:00
"Type": "Line",
"Name": "batTempDiv",
"X": 60,
"Y": 124,
"Width": 3,
"Height": 60,
2023-05-22 06:14:17 +02:00
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
2023-05-22 08:46:04 +02:00
},
"EndY": 320.0,
"LineWidth": 10.0,
"LineEndingStyle": "Round"
2023-05-22 06:14:17 +02:00
},
{
"Type": "CustomContainerInstance",
2023-05-22 08:46:04 +02:00
"Name": "batTempR",
"X": 63,
"Y": 124,
2023-05-22 06:14:17 +02:00
"Width": 60,
"Height": 60,
"CustomContainerDefinitionName": "Temperature"
},
{
"Type": "CustomContainerInstance",
2023-05-22 08:46:04 +02:00
"Name": "batTempL",
"Y": 124,
2023-05-22 06:14:17 +02:00
"Width": 60,
"Height": 60,
"CustomContainerDefinitionName": "Temperature"
},
2023-05-22 08:46:04 +02:00
{
"Type": "TextArea",
"Name": "batTempLabel",
"X": 123,
"Y": 124,
"Width": 25,
"Height": 60,
"TextId": "__SingleUse_L1J7",
"TextRotation": "90",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
}
},
{
"Type": "Line",
"Name": "dtDiv2",
"Y": 122,
"Width": 123,
"Height": 2,
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"EndX": 123.0,
"LineWidth": 10.0,
"LineEndingStyle": "Round"
},
2023-05-22 06:14:17 +02:00
{
"Type": "Line",
"Name": "motorTempDiv",
2023-05-22 08:46:04 +02:00
"X": 60,
"Y": 62,
2023-05-22 06:14:17 +02:00
"Width": 3,
"Height": 60,
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"EndY": 320.0,
"LineWidth": 10.0,
"LineEndingStyle": "Round"
},
2023-05-22 08:46:04 +02:00
{
"Type": "CustomContainerInstance",
"Name": "motorTempR",
"X": 63,
"Y": 62,
"Width": 60,
"Height": 60,
"CustomContainerDefinitionName": "Temperature"
},
{
"Type": "CustomContainerInstance",
"Name": "motorTempL",
"Y": 62,
"Width": 60,
"Height": 60,
"CustomContainerDefinitionName": "Temperature"
},
{
"Type": "TextArea",
"Name": "motorTempLabel",
"X": 123,
"Y": 62,
"Width": 25,
"Height": 60,
"TextId": "__SingleUse_JN2J",
"TextRotation": "90",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
}
},
{
"Type": "Line",
"Name": "dtDiv1",
"Y": 60,
"Width": 123,
"Height": 2,
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"EndX": 123.0,
"LineWidth": 10.0,
"LineEndingStyle": "Round"
},
2023-05-22 06:14:17 +02:00
{
"Type": "Line",
"Name": "invTempDiv",
2023-05-22 08:46:04 +02:00
"X": 60,
2023-05-22 06:14:17 +02:00
"Width": 3,
"Height": 60,
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"EndY": 320.0,
"LineWidth": 10.0,
"LineEndingStyle": "Round"
},
{
"Type": "CustomContainerInstance",
"Name": "invTempR",
2023-05-22 08:46:04 +02:00
"X": 63,
2023-05-22 06:14:17 +02:00
"Width": 60,
"Height": 60,
"CustomContainerDefinitionName": "Temperature"
},
{
"Type": "CustomContainerInstance",
"Name": "invTempL",
"Width": 60,
"Height": 60,
"CustomContainerDefinitionName": "Temperature"
},
{
"Type": "TextArea",
"Name": "invTempLabel",
2023-05-22 08:46:04 +02:00
"X": 123,
"Width": 25,
"Height": 60,
2023-05-22 06:14:17 +02:00
"TextId": "__SingleUse_ZP7N",
2023-05-22 08:46:04 +02:00
"TextRotation": "90",
2023-05-22 06:14:17 +02:00
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
}
}
]
},
{
2023-05-22 06:14:17 +02:00
"Type": "Container",
2023-05-22 06:16:52 +02:00
"Name": "brakeTemps",
2023-05-22 08:31:57 +02:00
"X": 164,
"Y": 125,
"Width": 152,
2023-05-22 06:14:17 +02:00
"Height": 150,
"Components": [
{
"Type": "Line",
2023-05-22 06:16:52 +02:00
"Name": "btDivVert",
2023-05-22 06:14:17 +02:00
"X": 74,
"Y": 25,
"Width": 3,
"Height": 123,
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"EndY": 320.0,
"LineWidth": 10.0,
"LineEndingStyle": "Round"
},
{
"Type": "Line",
2023-05-22 06:16:52 +02:00
"Name": "btDivHoriz",
2023-05-22 06:14:17 +02:00
"X": 14,
"Y": 85,
"Width": 123,
"Height": 3,
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"EndX": 480.0,
"LineWidth": 10.0,
"LineEndingStyle": "Round"
},
{
"Type": "CustomContainerInstance",
2023-05-22 06:16:52 +02:00
"Name": "brakeTempRR",
2023-05-22 06:14:17 +02:00
"X": 77,
"Y": 88,
"Width": 60,
"Height": 60,
"CustomContainerDefinitionName": "Temperature"
},
{
"Type": "CustomContainerInstance",
2023-05-22 06:16:52 +02:00
"Name": "brakeTempFR",
2023-05-22 06:14:17 +02:00
"X": 77,
"Y": 25,
"Width": 60,
"Height": 60,
"CustomContainerDefinitionName": "Temperature"
},
{
"Type": "CustomContainerInstance",
2023-05-22 06:16:52 +02:00
"Name": "brakeTempRL",
2023-05-22 06:14:17 +02:00
"X": 14,
"Y": 88,
"Width": 60,
"Height": 60,
"CustomContainerDefinitionName": "Temperature"
},
{
"Type": "CustomContainerInstance",
2023-05-22 06:16:52 +02:00
"Name": "brakeTempFL",
2023-05-22 06:14:17 +02:00
"X": 14,
"Y": 25,
"Width": 60,
"Height": 60,
"CustomContainerDefinitionName": "Temperature"
},
{
"Type": "TextArea",
2023-05-22 06:16:52 +02:00
"Name": "brakeLabel",
2023-05-22 06:14:17 +02:00
"Width": 150,
"Height": 25,
"TextId": "__SingleUse_H6UX",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
}
}
]
2023-03-21 19:05:54 +01:00
},
{
2023-05-22 06:14:17 +02:00
"Type": "Container",
"Name": "dataFields",
2023-05-22 08:31:57 +02:00
"X": 12,
"Y": 43,
"Width": 456,
"Height": 257,
2023-05-22 06:14:17 +02:00
"Components": [
{
"Type": "ScrollWheel",
"Name": "fieldTypeSelection",
"Y": 80,
2023-05-22 08:31:57 +02:00
"Width": 152,
"Height": 177,
2023-05-22 06:14:17 +02:00
"Visible": false,
"SelectedItemOffset": 94,
"IsCircular": true,
"ItemTemplateName": "DriverViewFieldSelection",
"NumberofItems": 1,
"Easing": "Linear",
"EasingOption": "Out",
"SwipeAcceleration": 1.0,
"DragAcceleration": 1.0
},
{
"Type": "CustomContainerInstance",
"Name": "field3",
2023-05-22 08:31:57 +02:00
"X": 304,
"Width": 152,
2023-05-22 06:14:17 +02:00
"Height": 80,
"CustomContainerDefinitionName": "DriverViewField"
},
{
"Type": "CustomContainerInstance",
"Name": "field2",
2023-05-22 08:31:57 +02:00
"X": 152,
"Width": 152,
2023-05-22 06:14:17 +02:00
"Height": 80,
"CustomContainerDefinitionName": "DriverViewField"
},
{
"Type": "CustomContainerInstance",
"Name": "field1",
2023-05-22 08:31:57 +02:00
"Width": 152,
2023-05-22 06:14:17 +02:00
"Height": 80,
"CustomContainerDefinitionName": "DriverViewField"
}
]
2023-05-05 14:00:00 +02:00
},
{
2023-05-22 06:14:17 +02:00
"Type": "Container",
"Name": "statusBar",
2023-05-22 08:31:57 +02:00
"X": 12,
"Y": 10,
"Width": 456,
2023-05-22 06:31:42 +02:00
"Height": 33,
2023-05-22 06:14:17 +02:00
"Components": [
2023-05-22 07:22:44 +02:00
{
"Type": "ListLayout",
"Name": "statusItems",
2023-05-22 08:51:29 +02:00
"Width": 455,
2023-05-22 07:22:44 +02:00
"Height": 33,
"Direction": "East",
"Components": [
{
"Type": "CustomContainerInstance",
"Name": "statusTS_R2D",
2023-05-22 08:51:29 +02:00
"Width": 65,
2023-05-22 07:22:44 +02:00
"Height": 33,
"CustomContainerDefinitionName": "DriverViewStatusItem"
},
{
"Type": "CustomContainerInstance",
"Name": "statusAMS",
2023-05-22 08:51:29 +02:00
"X": 65,
"Width": 65,
2023-05-22 07:22:44 +02:00
"Height": 33,
"CustomContainerDefinitionName": "DriverViewStatusItem"
},
{
"Type": "CustomContainerInstance",
"Name": "statusSDC",
2023-05-22 08:51:29 +02:00
"X": 130,
"Width": 65,
2023-05-22 07:22:44 +02:00
"Height": 33,
"CustomContainerDefinitionName": "DriverViewStatusItem"
},
{
"Type": "CustomContainerInstance",
"Name": "statusSCS",
2023-05-22 08:51:29 +02:00
"X": 195,
"Width": 65,
2023-05-22 07:22:44 +02:00
"Height": 33,
"CustomContainerDefinitionName": "DriverViewStatusItem"
},
{
"Type": "CustomContainerInstance",
"Name": "statusPDU",
2023-05-22 08:51:29 +02:00
"X": 260,
"Width": 65,
2023-05-22 07:22:44 +02:00
"Height": 33,
"CustomContainerDefinitionName": "DriverViewStatusItem"
},
{
"Type": "CustomContainerInstance",
"Name": "statusINV",
2023-05-22 08:51:29 +02:00
"X": 325,
"Width": 65,
"Height": 33,
"CustomContainerDefinitionName": "DriverViewStatusItem"
},
{
"Type": "CustomContainerInstance",
"Name": "statusLV",
"X": 390,
"Width": 65,
2023-05-22 07:22:44 +02:00
"Height": 33,
"CustomContainerDefinitionName": "DriverViewStatusItem"
}
]
},
2023-05-22 06:14:17 +02:00
{
"Type": "BoxProgress",
"Name": "progressBar",
2023-05-22 08:31:57 +02:00
"Width": 456,
2023-05-22 06:31:42 +02:00
"Height": 33,
2023-05-22 06:14:17 +02:00
"Visible": false,
"Color": {
"Red": 99,
"Green": 186
},
"Direction": "Right",
2023-05-22 06:31:42 +02:00
"FileNameBackground": "prog_horiz_bg.png",
2023-05-22 06:14:17 +02:00
"IndicatorPositionWidth": 480,
"IndicatorPositionHeight": 55,
"ProgressRangeMax": 100
},
{
"Type": "TextArea",
"Name": "prechargeLabel",
2023-05-22 08:31:57 +02:00
"X": 95,
2023-05-22 06:31:42 +02:00
"Y": -2,
2023-05-22 06:14:17 +02:00
"Width": 269,
"Height": 37,
"Visible": false,
"TextId": "__SingleUse_HMH2",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"AutoSize": true
},
{
"Type": "TextArea",
"Name": "r2dLabel",
2023-05-22 08:31:57 +02:00
"X": 70,
2023-05-22 06:31:42 +02:00
"Y": -2,
2023-05-22 06:14:17 +02:00
"Width": 317,
"Height": 37,
"Visible": false,
"TextId": "__SingleUse_NGUK",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
}
},
{
"Type": "TextArea",
"Name": "r2dProgressLabel",
2023-05-22 08:31:57 +02:00
"X": 168,
2023-05-22 06:31:42 +02:00
"Y": -2,
2023-05-22 06:14:17 +02:00
"Width": 219,
"Height": 37,
"Visible": false,
"TextId": "__SingleUse_J5UH",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"Wildcard1": {}
}
]
2023-05-22 07:22:44 +02:00
},
{
"Type": "CustomContainerInstance",
"Name": "errorPopup",
2023-05-22 08:31:57 +02:00
"X": 12,
"Y": 150,
"Width": 456,
2023-05-22 07:22:44 +02:00
"Height": 150,
"Visible": false,
"CustomContainerDefinitionName": "ErrorPopup"
2023-03-15 18:43:38 +01:00
}
],
"Interactions": [
{
"InteractionName": "SelectPreviousField",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 104
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "selectPrevField"
}
},
{
"InteractionName": "SelectNextField",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 108
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "selectNextField"
}
},
{
"InteractionName": "SelectPreviousFieldType",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 107
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "selectPrevFieldType"
}
},
{
"InteractionName": "SelectNextFieldType",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 106
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "selectNextFieldType"
}
},
{
"InteractionName": "ConfirmFieldType",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 54
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "confirmFieldType"
}
}
]
2023-03-21 18:37:50 +01:00
},
{
"Name": "DebugView",
"CanvasBufferSize": 7200,
"Components": [
{
2023-05-24 00:44:32 +02:00
"Type": "ScrollWheel",
2023-03-21 18:37:50 +01:00
"Name": "list",
2023-04-04 17:22:41 +02:00
"X": 15,
"Y": 15,
"Width": 450,
"Height": 290,
2023-03-21 18:37:50 +01:00
"IsCircular": true,
"ItemTemplateName": "DebugViewLine",
"NumberofItems": 1,
2023-05-24 00:44:32 +02:00
"Easing": "Linear",
2023-03-21 18:37:50 +01:00
"EasingOption": "Out",
"SwipeAcceleration": 1.0,
"DragAcceleration": 1.0
},
{
"Type": "Line",
"Name": "line1",
2023-04-04 17:22:41 +02:00
"X": 15,
"Y": 15,
"Width": 1,
"Height": 290,
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"EndY": 290.0,
"LineWidth": 10.0,
"LineEndingStyle": "Round"
},
{
"Type": "Line",
"Name": "line1_2",
"X": 465,
"Y": 15,
"Width": 1,
"Height": 290,
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"EndY": 290.0,
"LineWidth": 10.0,
"LineEndingStyle": "Round"
},
{
"Type": "Line",
"Name": "line1_1",
"X": 15,
"Y": 14,
"Width": 450,
2023-03-21 18:37:50 +01:00
"Height": 1,
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"EndX": 480.0,
"LineWidth": 10.0,
"LineEndingStyle": "Round"
}
],
2023-05-24 00:44:32 +02:00
"Interactions": [
{
"InteractionName": "ScrollUp",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 104
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "scrollUp"
}
},
{
"InteractionName": "ScrollDown",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 108
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "scrollDown"
}
}
]
},
{
"Name": "VehicleConfig",
"CanvasBufferSize": 7200,
"Components": [
{
"Type": "TextArea",
"Name": "title",
"X": 15,
"Y": 15,
"Width": 450,
"Height": 37,
"TextId": "__SingleUse_RWCE",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
}
},
{
"Type": "ScrollWheel",
"Name": "params",
"X": 15,
"Y": 60,
"Width": 450,
"Height": 245,
"ItemTemplateName": "ConfigItem",
"NumberofItems": 1,
"Easing": "Cubic",
"EasingOption": "Out",
"SwipeAcceleration": 1.0,
"DragAcceleration": 1.0
},
{
"Type": "Line",
"Name": "line1",
"X": 15,
"Y": 58,
"Width": 450,
"Height": 2,
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"EndX": 450.0,
"LineWidth": 10.0,
"LineEndingStyle": "Round"
}
],
"Interactions": [
{
"InteractionName": "SelectPreviousParam",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 104
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "selectPrevParam"
}
},
{
"InteractionName": "SelectNextParam",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 108
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "selectNextParam"
}
},
{
"InteractionName": "DecreaseParam",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 106
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "decParam"
}
},
{
"InteractionName": "IncreaseParam",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 107
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "incParam"
}
},
{
"InteractionName": "ConfirmParam",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 54
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "confirmParam"
}
}
]
2023-03-06 23:42:01 +01:00
}
],
"CustomContainerDefinitions": [
{
"Name": "MissionSelectElement",
"X": -80,
"Y": 109,
"Width": 480,
"Height": 30,
"Components": [
{
"Type": "Box",
"Name": "bg",
"Width": 480,
"Height": 30
},
{
"Type": "TextArea",
"Name": "text",
"Y": 3,
"Width": 480,
"Height": 25,
"TextId": "__SingleUse_M5X7",
"TextRotation": "0",
2023-03-06 21:21:00 +01:00
"Color": {
2023-03-06 23:42:01 +01:00
"Red": 255,
2023-03-06 21:21:00 +01:00
"Green": 255,
2023-03-06 23:42:01 +01:00
"Blue": 255
}
},
{
"Type": "Line",
"Name": "line1",
"Width": 480,
"Height": 2,
"Color": {
"Red": 170,
"Green": 170,
"Blue": 170
2023-03-06 21:21:00 +01:00
},
2023-03-06 23:42:01 +01:00
"EndX": 480.0,
"LineWidth": 5.0,
"LineEndingStyle": "Round"
2023-03-06 21:21:00 +01:00
}
],
"Interactions": []
2023-03-15 18:43:38 +01:00
},
{
2023-05-05 14:50:10 +02:00
"Name": "Temperature",
2023-03-15 18:43:38 +01:00
"X": 135,
"Y": 215,
2023-05-05 14:50:10 +02:00
"Width": 60,
"Height": 60,
2023-03-15 18:43:38 +01:00
"Components": [
{
"Type": "Box",
"Name": "bg",
2023-05-05 14:50:10 +02:00
"Width": 60,
"Height": 60,
2023-03-15 18:43:38 +01:00
"Color": {
"Green": 38,
"Blue": 255
}
},
{
"Type": "TextArea",
"Name": "value",
2023-05-05 14:50:10 +02:00
"Width": 60,
"Height": 50,
2023-03-15 18:43:38 +01:00
"TextId": "__SingleUse_20H3",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"Wildcard1": {}
}
],
"Interactions": []
},
{
"Name": "DriverViewField",
"X": 80,
"Y": 215,
2023-05-22 08:31:57 +02:00
"Width": 152,
"Height": 80,
"Components": [
{
"Type": "BoxWithBorder",
"Name": "box",
2023-05-22 08:31:57 +02:00
"Width": 152,
"Height": 80,
"BorderColor": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"BorderSize": 3
},
{
"Type": "TextArea",
"Name": "title",
2023-05-22 08:31:57 +02:00
"Width": 152,
"Height": 25,
2023-03-21 18:37:50 +01:00
"TextId": "DriverViewField_Title",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
2023-03-21 18:37:50 +01:00
},
"Wildcard1": {}
},
{
"Type": "TextArea",
"Name": "value",
"Y": 20,
2023-05-22 08:31:57 +02:00
"Width": 152,
"Height": 57,
2023-03-20 19:35:30 +01:00
"TextId": "NumberWildcard",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"Wildcard1": {}
}
],
"Interactions": []
},
{
"Name": "DriverViewFieldSelection",
"X": 100,
"Y": 227,
2023-05-22 08:31:57 +02:00
"Width": 152,
"Height": 26,
"Components": [
{
"Type": "Box",
"Name": "bg",
2023-05-22 08:31:57 +02:00
"Width": 152,
"Height": 25,
"Color": {
"Red": 34,
"Green": 34,
"Blue": 34
}
},
{
"Type": "TextArea",
"Name": "name",
2023-05-22 08:31:57 +02:00
"Width": 152,
"Height": 25,
2023-03-21 18:37:50 +01:00
"TextId": "DriverViewField_Title",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
2023-03-21 18:37:50 +01:00
},
"Wildcard1": {}
},
{
"Type": "Line",
"Name": "line1",
"Y": 25,
2023-05-22 08:31:57 +02:00
"Width": 152,
"Height": 1,
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"EndX": 160.0,
"LineWidth": 10.0,
"LineEndingStyle": "Round"
},
{
"Type": "Line",
"Name": "line2",
"Width": 1,
"Height": 26,
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"EndY": 26.0,
"LineWidth": 10.0,
"LineEndingStyle": "Round"
},
{
"Type": "Line",
"Name": "line2_1",
2023-05-22 08:31:57 +02:00
"X": 151,
"Width": 1,
"Height": 26,
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"EndY": 26.0,
"LineWidth": 10.0,
"LineEndingStyle": "Round"
}
],
"Interactions": []
2023-03-21 18:37:50 +01:00
},
{
"Name": "DebugViewLine",
2023-04-04 17:22:41 +02:00
"X": -65,
2023-03-21 18:37:50 +01:00
"Y": 80,
2023-04-04 17:22:41 +02:00
"Width": 450,
2023-03-21 18:37:50 +01:00
"Height": 26,
"Components": [
{
"Type": "Box",
"Name": "bg",
2023-04-04 17:22:41 +02:00
"Width": 450,
2023-03-21 18:37:50 +01:00
"Height": 26
},
{
"Type": "Line",
"Name": "line1",
2023-04-04 17:22:41 +02:00
"X": 225,
2023-03-21 18:37:50 +01:00
"Width": 1,
"Height": 26,
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"EndY": 26.0,
"LineWidth": 10.0,
"LineEndingStyle": "Round"
},
{
"Type": "Line",
"Name": "line2",
"Y": 25,
2023-04-04 17:22:41 +02:00
"Width": 450,
2023-03-21 18:37:50 +01:00
"Height": 1,
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"EndX": 480.0,
"LineWidth": 10.0,
"LineEndingStyle": "Round"
},
{
"Type": "CustomContainerInstance",
"Name": "item1",
2023-04-04 17:22:41 +02:00
"Width": 225,
2023-03-21 18:37:50 +01:00
"Height": 26,
"CustomContainerDefinitionName": "DebugViewItem"
},
{
"Type": "CustomContainerInstance",
"Name": "item2",
2023-04-04 17:22:41 +02:00
"X": 225,
"Width": 225,
2023-03-21 18:37:50 +01:00
"Height": 26,
"CustomContainerDefinitionName": "DebugViewItem"
}
],
"Interactions": []
},
{
"Name": "DebugViewItem",
"X": 40,
"Y": 227,
2023-04-04 17:22:41 +02:00
"Width": 225,
2023-03-21 18:37:50 +01:00
"Height": 26,
"Components": [
{
"Type": "TextArea",
"Name": "label",
2023-04-04 17:22:41 +02:00
"X": 2,
"Width": 111,
2023-03-21 18:37:50 +01:00
"Height": 25,
"TextId": "DebugViewField_Title",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"Wildcard1": {}
},
{
"Type": "TextArea",
"Name": "value",
2023-04-04 17:22:41 +02:00
"X": 113,
"Width": 110,
2023-03-21 18:37:50 +01:00
"Height": 25,
"TextId": "DefaultWildcard_RightAligned",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"Wildcard1": {}
}
],
"Interactions": []
},
{
"Name": "ConfigItem",
"X": -65,
"Y": 220,
"Width": 450,
"Height": 50,
"Components": [
{
"Type": "Box",
"Name": "bg",
"Width": 450,
"Height": 50
},
{
"Type": "TextArea",
"Name": "title",
"Y": 6,
"Width": 200,
"Height": 37,
"TextId": "__SingleUse_YTAB",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"Wildcard1": {}
},
{
"Type": "Line",
"Name": "line1",
"X": 200,
"Width": 2,
"Height": 50,
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"EndY": 50.0,
"LineWidth": 10.0,
"LineEndingStyle": "Round"
},
{
"Type": "TextArea",
"Name": "value",
"X": 207,
"Y": -7,
"Width": 243,
"Height": 55,
"TextId": "__SingleUse_4E84",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"Wildcard1": {}
},
{
"Type": "Line",
"Name": "line2",
"Y": 48,
"Width": 450,
"Height": 2,
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"EndX": 450.0,
"LineWidth": 10.0,
"LineEndingStyle": "Round"
}
],
"Interactions": []
2023-05-05 14:00:00 +02:00
},
{
"Name": "ErrorPopup",
"X": -80,
"Y": 165,
2023-05-22 08:31:57 +02:00
"Width": 456,
2023-05-05 14:00:00 +02:00
"Height": 150,
"Components": [
{
"Type": "BoxWithBorder",
"Name": "bg",
2023-05-22 08:31:57 +02:00
"Width": 456,
2023-05-05 14:00:00 +02:00
"Height": 150,
"Color": {
"Red": 197,
"Green": 14,
"Blue": 31
},
"BorderColor": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"BorderSize": 5
},
{
"Type": "TextArea",
"Name": "title",
2023-05-22 08:31:57 +02:00
"Width": 456,
2023-05-05 14:00:00 +02:00
"Height": 49,
"TextId": "__SingleUse_1NKF",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
}
},
{
"Type": "TextArea",
"Name": "details",
2023-05-22 08:31:57 +02:00
"X": 17,
2023-05-05 14:00:00 +02:00
"Y": 60,
2023-05-22 08:31:57 +02:00
"Width": 426,
2023-05-05 14:00:00 +02:00
"Height": 75,
"TextId": "__SingleUse_9L8R",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"Wildcard1": {}
}
],
"Interactions": []
2023-05-22 07:22:44 +02:00
},
{
"Name": "DriverViewStatusItem",
"X": 35,
"Y": 115,
2023-05-22 08:51:29 +02:00
"Width": 65,
2023-05-22 07:22:44 +02:00
"Height": 33,
"Components": [
{
"Type": "BoxWithBorder",
"Name": "bg",
2023-05-22 08:51:29 +02:00
"Width": 65,
2023-05-22 07:22:44 +02:00
"Height": 33,
"BorderColor": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"BorderSize": 1
},
{
"Type": "TextArea",
"Name": "text",
"Y": 4,
2023-05-22 08:51:29 +02:00
"Width": 65,
2023-05-22 07:22:44 +02:00
"Height": 25,
"TextId": "__SingleUse_F9I5",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
}
}
],
"Interactions": []
2023-03-06 21:21:00 +01:00
}
],
2023-05-22 05:59:36 +02:00
"Name": "SteeringWheel",
2023-03-06 21:21:00 +01:00
"Resolution": {
"Width": 320,
"Height": 480
},
"SelectedColorDepth": 16,
2023-05-05 16:41:52 +02:00
"StartupScreenName": "DriverView",
2023-03-06 21:21:00 +01:00
"SelectedStartupLanguage": "GB",
"TouchGfxPath": "../Middlewares/ST/touchgfx",
"UIPath": ".",
"AvailableColorDepths": [
16
],
"AvailableLCDs": {
"16": "LCD16bpp"
},
"AvailableSections": [
"ExtFlashSection",
"IntFlashSection"
],
"AvailableResolutions": [
{
"Width": 320,
"Height": 480
}
],
"PhysicalButtons": [],
"FrameworkFeatures": {
"LCD16bpp": {
"Id": "LCD16bpp",
"IsEnabled": true
}
},
"GenerateAssetsCommand": "make -f simulator/gcc/Makefile assets -j8",
2023-05-23 02:51:40 +02:00
"GenerateAssetsCommandOverride": "make -f simulator/gcc/Makefile assets -j2",
2023-03-06 21:21:00 +01:00
"PostGenerateCommand": "touchgfx update_project --project-file=simulator/msvs/Application.vcxproj",
2023-05-23 23:51:34 +02:00
"PostGenerateCommandOverride": "",
2023-03-06 21:21:00 +01:00
"PostGenerateTargetCommand": "touchgfx update_project",
2023-03-06 23:42:01 +01:00
"PostGenerateTargetCommandOverride": "",
2023-03-06 21:21:00 +01:00
"CompileSimulatorCommand": "make -f simulator/gcc/Makefile -j8",
2023-05-23 02:51:40 +02:00
"CompileSimulatorCommandOverride": "make -f simulator/gcc/Makefile -j2",
2023-03-06 21:21:00 +01:00
"RunSimulatorCommand": "build\\bin\\simulator.exe",
"LandscapeSkinX": 0,
"LandscapeSkinY": 0,
"PortraitSkinX": 0,
"PortraitSkinY": 0,
"DisplayOrientation": "Landscape",
"Family": "STM32H7",
"SubFamily": "STM32H7A3/7B3",
"Toolchain": "Makefile",
"Platform": "m7",
"ProjectFile": "../steering-wheel.ioc",
"OptionalComponentsRoot": "../Middlewares/ST/touchgfx_components",
"OptionalComponents": [],
"AdditionalFeatures": []
},
"Version": "4.21.2"
}