Add status boxes

This commit is contained in:
2023-05-22 07:22:44 +02:00
parent efa36eab5f
commit bf1b81122e
24 changed files with 436 additions and 30 deletions

View File

@ -314,16 +314,6 @@
"Blue": 255
}
},
{
"Type": "CustomContainerInstance",
"Name": "errorPopup",
"X": 15,
"Y": 155,
"Width": 450,
"Height": 150,
"Visible": false,
"CustomContainerDefinitionName": "ErrorPopup"
},
{
"Type": "Container",
"Name": "drivetrainTemps",
@ -577,6 +567,62 @@
"Width": 450,
"Height": 33,
"Components": [
{
"Type": "ListLayout",
"Name": "statusItems",
"Width": 450,
"Height": 33,
"Direction": "East",
"Components": [
{
"Type": "CustomContainerInstance",
"Name": "statusTS_R2D",
"Width": 75,
"Height": 33,
"CustomContainerDefinitionName": "DriverViewStatusItem"
},
{
"Type": "CustomContainerInstance",
"Name": "statusAMS",
"X": 75,
"Width": 75,
"Height": 33,
"CustomContainerDefinitionName": "DriverViewStatusItem"
},
{
"Type": "CustomContainerInstance",
"Name": "statusSDC",
"X": 150,
"Width": 75,
"Height": 33,
"CustomContainerDefinitionName": "DriverViewStatusItem"
},
{
"Type": "CustomContainerInstance",
"Name": "statusSCS",
"X": 225,
"Width": 75,
"Height": 33,
"CustomContainerDefinitionName": "DriverViewStatusItem"
},
{
"Type": "CustomContainerInstance",
"Name": "statusPDU",
"X": 300,
"Width": 75,
"Height": 33,
"CustomContainerDefinitionName": "DriverViewStatusItem"
},
{
"Type": "CustomContainerInstance",
"Name": "statusINV",
"X": 375,
"Width": 75,
"Height": 33,
"CustomContainerDefinitionName": "DriverViewStatusItem"
}
]
},
{
"Type": "BoxProgress",
"Name": "progressBar",
@ -644,6 +690,16 @@
"Wildcard1": {}
}
]
},
{
"Type": "CustomContainerInstance",
"Name": "errorPopup",
"X": 15,
"Y": 155,
"Width": 450,
"Height": 150,
"Visible": false,
"CustomContainerDefinitionName": "ErrorPopup"
}
],
"Interactions": [
@ -1325,6 +1381,42 @@
}
],
"Interactions": []
},
{
"Name": "DriverViewStatusItem",
"X": 35,
"Y": 115,
"Width": 75,
"Height": 33,
"Components": [
{
"Type": "BoxWithBorder",
"Name": "bg",
"Width": 75,
"Height": 33,
"BorderColor": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"BorderSize": 1
},
{
"Type": "TextArea",
"Name": "text",
"Y": 4,
"Width": 75,
"Height": 25,
"TextId": "__SingleUse_F9I5",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
}
}
],
"Interactions": []
}
],
"Name": "SteeringWheel",