Add three general-purpose fields to DriverView

This commit is contained in:
2023-03-18 22:51:13 +01:00
parent 5fe5d509a4
commit c6f237b87e
28 changed files with 536 additions and 57 deletions

View File

@ -232,7 +232,7 @@
"Type": "CustomContainerInstance",
"Name": "tireTempRR",
"X": 240,
"Y": 167,
"Y": 182,
"Width": 75,
"Height": 75,
"CustomContainerDefinitionName": "TireTemp"
@ -241,7 +241,7 @@
"Type": "CustomContainerInstance",
"Name": "tireTempFR",
"X": 240,
"Y": 92,
"Y": 107,
"Width": 75,
"Height": 75,
"CustomContainerDefinitionName": "TireTemp"
@ -250,7 +250,7 @@
"Type": "CustomContainerInstance",
"Name": "tireTempRL",
"X": 165,
"Y": 167,
"Y": 182,
"Width": 75,
"Height": 75,
"CustomContainerDefinitionName": "TireTemp"
@ -259,7 +259,7 @@
"Type": "CustomContainerInstance",
"Name": "tireTempFL",
"X": 165,
"Y": 92,
"Y": 107,
"Width": 75,
"Height": 75,
"CustomContainerDefinitionName": "TireTemp"
@ -268,7 +268,7 @@
"Type": "Line",
"Name": "ttDivVert",
"X": 239,
"Y": 92,
"Y": 107,
"Width": 3,
"Height": 150,
"Color": {
@ -284,7 +284,7 @@
"Type": "Line",
"Name": "ttDivHoriz",
"X": 165,
"Y": 166,
"Y": 181,
"Width": 150,
"Height": 3,
"Color": {
@ -300,7 +300,7 @@
"Type": "LineProgress",
"Name": "tsVoltage",
"X": 10,
"Y": 92,
"Y": 107,
"Width": 40,
"Height": 150,
"Color": {
@ -319,8 +319,8 @@
{
"Type": "LineProgress",
"Name": "lvVoltage",
"X": 88,
"Y": 92,
"X": 430,
"Y": 107,
"Width": 40,
"Height": 150,
"Color": {
@ -335,6 +335,74 @@
"FileNameBackground": "bat_bar_bg.png",
"ProgressRangeMax": 100,
"ProgressInitialValue": 80
},
{
"Type": "TextArea",
"Name": "tireLabel",
"X": 165,
"Y": 82,
"Width": 150,
"Height": 25,
"TextId": "__SingleUse_H6UX",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
}
},
{
"Type": "TextArea",
"Name": "tsVoltLabel",
"X": 10,
"Y": 82,
"Width": 40,
"Height": 25,
"TextId": "__SingleUse_PHFD",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
}
},
{
"Type": "TextArea",
"Name": "lvVoltLabel",
"X": 430,
"Y": 82,
"Width": 40,
"Height": 25,
"TextId": "__SingleUse_4OBM",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
}
},
{
"Type": "CustomContainerInstance",
"Name": "field1",
"Width": 160,
"Height": 75,
"CustomContainerDefinitionName": "DriverViewField"
},
{
"Type": "CustomContainerInstance",
"Name": "field2",
"X": 160,
"Width": 160,
"Height": 75,
"CustomContainerDefinitionName": "DriverViewField"
},
{
"Type": "CustomContainerInstance",
"Name": "field3",
"X": 320,
"Width": 160,
"Height": 75,
"CustomContainerDefinitionName": "DriverViewField"
}
],
"Interactions": []
@ -419,6 +487,56 @@
}
],
"Interactions": []
},
{
"Name": "DriverViewField",
"X": 80,
"Y": 215,
"Width": 160,
"Height": 80,
"Components": [
{
"Type": "BoxWithBorder",
"Name": "box",
"Width": 160,
"Height": 80,
"BorderColor": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"BorderSize": 3
},
{
"Type": "TextArea",
"Name": "title",
"Width": 160,
"Height": 25,
"TextId": "__SingleUse_0FBJ",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
}
},
{
"Type": "TextArea",
"Name": "value",
"Y": 20,
"Width": 160,
"Height": 57,
"TextId": "__SingleUse_K26P",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"Wildcard1": {}
}
],
"Interactions": []
}
],
"Name": "MyApplication",