Get started on driver view

This commit is contained in:
2023-03-15 18:43:38 +01:00
parent 641fa3b236
commit 5b6405cf29
47 changed files with 2137 additions and 30 deletions

View File

@ -145,7 +145,7 @@
}
},
{
"InteractionName": "DummyChange",
"InteractionName": "DummyChangeAMI",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 254
@ -155,6 +155,18 @@
"ScreenTransitionType": "ScreenTransitionNone",
"ActionComponent": "AMI"
}
},
{
"InteractionName": "DummyChangeDriverView",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 253
},
"Action": {
"Type": "ActionGotoScreen",
"ScreenTransitionType": "ScreenTransitionNone",
"ActionComponent": "DriverView"
}
}
]
},
@ -202,6 +214,130 @@
}
],
"Interactions": []
},
{
"Name": "DriverView",
"CanvasBufferSize": 7200,
"Components": [
{
"Type": "Image",
"Name": "logo",
"X": 160,
"Y": 263,
"Width": 160,
"Height": 55,
"RelativeFilename": "Fasttube_Logo_small_white.png"
},
{
"Type": "CustomContainerInstance",
"Name": "tireTempRR",
"X": 240,
"Y": 167,
"Width": 75,
"Height": 75,
"CustomContainerDefinitionName": "TireTemp"
},
{
"Type": "CustomContainerInstance",
"Name": "tireTempFR",
"X": 240,
"Y": 92,
"Width": 75,
"Height": 75,
"CustomContainerDefinitionName": "TireTemp"
},
{
"Type": "CustomContainerInstance",
"Name": "tireTempRL",
"X": 165,
"Y": 167,
"Width": 75,
"Height": 75,
"CustomContainerDefinitionName": "TireTemp"
},
{
"Type": "CustomContainerInstance",
"Name": "tireTempFL",
"X": 165,
"Y": 92,
"Width": 75,
"Height": 75,
"CustomContainerDefinitionName": "TireTemp"
},
{
"Type": "Line",
"Name": "ttDivVert",
"X": 239,
"Y": 92,
"Width": 3,
"Height": 150,
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"EndY": 320.0,
"LineWidth": 10.0,
"LineEndingStyle": "Round"
},
{
"Type": "Line",
"Name": "ttDivHoriz",
"X": 165,
"Y": 166,
"Width": 150,
"Height": 3,
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"EndX": 480.0,
"LineWidth": 10.0,
"LineEndingStyle": "Round"
},
{
"Type": "LineProgress",
"Name": "tsVoltage",
"X": 10,
"Y": 92,
"Width": 40,
"Height": 150,
"Color": {
"Red": 136,
"Green": 255
},
"StartX": 9.0,
"StartY": 200.0,
"EndX": 9.0,
"LineWidth": 100.0,
"LineEndingStyle": "Butt",
"FileNameBackground": "bat_bar_bg.png",
"ProgressRangeMax": 100,
"ProgressInitialValue": 60
},
{
"Type": "LineProgress",
"Name": "lvVoltage",
"X": 88,
"Y": 92,
"Width": 40,
"Height": 150,
"Color": {
"Red": 136,
"Green": 255
},
"StartX": 9.0,
"StartY": 200.0,
"EndX": 9.0,
"LineWidth": 100.0,
"LineEndingStyle": "Butt",
"FileNameBackground": "bat_bar_bg.png",
"ProgressRangeMax": 100,
"ProgressInitialValue": 80
}
],
"Interactions": []
}
],
"CustomContainerDefinitions": [
@ -248,6 +384,41 @@
}
],
"Interactions": []
},
{
"Name": "TireTemp",
"X": 135,
"Y": 215,
"Width": 75,
"Height": 75,
"Components": [
{
"Type": "Box",
"Name": "bg",
"Width": 75,
"Height": 75,
"Color": {
"Green": 38,
"Blue": 255
}
},
{
"Type": "TextArea",
"Name": "value",
"Y": 7,
"Width": 75,
"Height": 60,
"TextId": "__SingleUse_20H3",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"Wildcard1": {}
}
],
"Interactions": []
}
],
"Name": "MyApplication",