Restructure DriverView into containers
This commit is contained in:
@ -244,172 +244,6 @@
|
||||
"Name": "DriverView",
|
||||
"CanvasBufferSize": 7200,
|
||||
"Components": [
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "motorTempLabel",
|
||||
"X": 315,
|
||||
"Y": 187,
|
||||
"Width": 150,
|
||||
"Height": 25,
|
||||
"TextId": "__SingleUse_JN2J",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
}
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "motorTempL",
|
||||
"X": 329,
|
||||
"Y": 212,
|
||||
"Width": 60,
|
||||
"Height": 60,
|
||||
"CustomContainerDefinitionName": "Temperature"
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "motorTempR",
|
||||
"X": 392,
|
||||
"Y": 212,
|
||||
"Width": 60,
|
||||
"Height": 60,
|
||||
"CustomContainerDefinitionName": "Temperature"
|
||||
},
|
||||
{
|
||||
"Type": "Line",
|
||||
"Name": "motorTempDiv",
|
||||
"X": 389,
|
||||
"Y": 212,
|
||||
"Width": 3,
|
||||
"Height": 60,
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
},
|
||||
"EndY": 320.0,
|
||||
"LineWidth": 10.0,
|
||||
"LineEndingStyle": "Round"
|
||||
},
|
||||
{
|
||||
"Type": "Line",
|
||||
"Name": "invTempDiv",
|
||||
"X": 389,
|
||||
"Y": 122,
|
||||
"Width": 3,
|
||||
"Height": 60,
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
},
|
||||
"EndY": 320.0,
|
||||
"LineWidth": 10.0,
|
||||
"LineEndingStyle": "Round"
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "invTempR",
|
||||
"X": 392,
|
||||
"Y": 122,
|
||||
"Width": 60,
|
||||
"Height": 60,
|
||||
"CustomContainerDefinitionName": "Temperature"
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "invTempL",
|
||||
"X": 329,
|
||||
"Y": 122,
|
||||
"Width": 60,
|
||||
"Height": 60,
|
||||
"CustomContainerDefinitionName": "Temperature"
|
||||
},
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "invTempLabel",
|
||||
"X": 315,
|
||||
"Y": 97,
|
||||
"Width": 150,
|
||||
"Height": 25,
|
||||
"TextId": "__SingleUse_ZP7N",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
}
|
||||
},
|
||||
{
|
||||
"Type": "Line",
|
||||
"Name": "ttDivVert",
|
||||
"X": 239,
|
||||
"Y": 122,
|
||||
"Width": 3,
|
||||
"Height": 123,
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
},
|
||||
"EndY": 320.0,
|
||||
"LineWidth": 10.0,
|
||||
"LineEndingStyle": "Round"
|
||||
},
|
||||
{
|
||||
"Type": "Line",
|
||||
"Name": "ttDivHoriz",
|
||||
"X": 179,
|
||||
"Y": 182,
|
||||
"Width": 123,
|
||||
"Height": 3,
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
},
|
||||
"EndX": 480.0,
|
||||
"LineWidth": 10.0,
|
||||
"LineEndingStyle": "Round"
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "tireTempRR",
|
||||
"X": 242,
|
||||
"Y": 185,
|
||||
"Width": 60,
|
||||
"Height": 60,
|
||||
"CustomContainerDefinitionName": "Temperature"
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "tireTempFR",
|
||||
"X": 242,
|
||||
"Y": 122,
|
||||
"Width": 60,
|
||||
"Height": 60,
|
||||
"CustomContainerDefinitionName": "Temperature"
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "tireTempRL",
|
||||
"X": 179,
|
||||
"Y": 185,
|
||||
"Width": 60,
|
||||
"Height": 60,
|
||||
"CustomContainerDefinitionName": "Temperature"
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "tireTempFL",
|
||||
"X": 179,
|
||||
"Y": 122,
|
||||
"Width": 60,
|
||||
"Height": 60,
|
||||
"CustomContainerDefinitionName": "Temperature"
|
||||
},
|
||||
{
|
||||
"Type": "LineProgress",
|
||||
"Name": "tsSoC",
|
||||
@ -450,21 +284,6 @@
|
||||
"ProgressRangeMax": 100,
|
||||
"ProgressInitialValue": 80
|
||||
},
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "tireLabel",
|
||||
"X": 165,
|
||||
"Y": 97,
|
||||
"Width": 150,
|
||||
"Height": 25,
|
||||
"TextId": "__SingleUse_H6UX",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
}
|
||||
},
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "tsSoCLabel",
|
||||
@ -495,118 +314,6 @@
|
||||
"Blue": 255
|
||||
}
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "field1",
|
||||
"X": 15,
|
||||
"Y": 15,
|
||||
"Width": 150,
|
||||
"Height": 80,
|
||||
"CustomContainerDefinitionName": "DriverViewField"
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "field2",
|
||||
"X": 165,
|
||||
"Y": 15,
|
||||
"Width": 150,
|
||||
"Height": 80,
|
||||
"CustomContainerDefinitionName": "DriverViewField"
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "field3",
|
||||
"X": 315,
|
||||
"Y": 15,
|
||||
"Width": 150,
|
||||
"Height": 80,
|
||||
"CustomContainerDefinitionName": "DriverViewField"
|
||||
},
|
||||
{
|
||||
"Type": "ScrollWheel",
|
||||
"Name": "fieldTypeSelection",
|
||||
"X": 15,
|
||||
"Y": 95,
|
||||
"Width": 150,
|
||||
"Height": 225,
|
||||
"Visible": false,
|
||||
"SelectedItemOffset": 94,
|
||||
"IsCircular": true,
|
||||
"ItemTemplateName": "DriverViewFieldSelection",
|
||||
"NumberofItems": 1,
|
||||
"Easing": "Linear",
|
||||
"EasingOption": "Out",
|
||||
"SwipeAcceleration": 1.0,
|
||||
"DragAcceleration": 1.0
|
||||
},
|
||||
{
|
||||
"Type": "BoxProgress",
|
||||
"Name": "progressBar",
|
||||
"X": 15,
|
||||
"Y": 280,
|
||||
"Width": 450,
|
||||
"Height": 29,
|
||||
"Visible": false,
|
||||
"Color": {
|
||||
"Red": 99,
|
||||
"Green": 186
|
||||
},
|
||||
"Direction": "Right",
|
||||
"FileNameBackground": "precharge_bg.png",
|
||||
"IndicatorPositionWidth": 480,
|
||||
"IndicatorPositionHeight": 55,
|
||||
"ProgressRangeMax": 100
|
||||
},
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "prechargeLabel",
|
||||
"X": 105,
|
||||
"Y": 275,
|
||||
"Width": 269,
|
||||
"Height": 37,
|
||||
"Visible": false,
|
||||
"TextId": "__SingleUse_HMH2",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
},
|
||||
"AutoSize": true
|
||||
},
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "r2dLabel",
|
||||
"X": 82,
|
||||
"Y": 275,
|
||||
"Width": 317,
|
||||
"Height": 37,
|
||||
"Visible": false,
|
||||
"TextId": "__SingleUse_NGUK",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
}
|
||||
},
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "r2dProgressLabel",
|
||||
"X": 180,
|
||||
"Y": 275,
|
||||
"Width": 219,
|
||||
"Height": 37,
|
||||
"Visible": false,
|
||||
"TextId": "__SingleUse_J5UH",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
},
|
||||
"Wildcard1": {}
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "errorPopup",
|
||||
@ -616,6 +323,325 @@
|
||||
"Height": 150,
|
||||
"Visible": false,
|
||||
"CustomContainerDefinitionName": "ErrorPopup"
|
||||
},
|
||||
{
|
||||
"Type": "Container",
|
||||
"Name": "drivetrainTemps",
|
||||
"X": 315,
|
||||
"Y": 97,
|
||||
"Width": 150,
|
||||
"Height": 175,
|
||||
"Components": [
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "motorTempLabel",
|
||||
"Y": 90,
|
||||
"Width": 150,
|
||||
"Height": 25,
|
||||
"TextId": "__SingleUse_JN2J",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
}
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "motorTempL",
|
||||
"X": 14,
|
||||
"Y": 115,
|
||||
"Width": 60,
|
||||
"Height": 60,
|
||||
"CustomContainerDefinitionName": "Temperature"
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "motorTempR",
|
||||
"X": 77,
|
||||
"Y": 115,
|
||||
"Width": 60,
|
||||
"Height": 60,
|
||||
"CustomContainerDefinitionName": "Temperature"
|
||||
},
|
||||
{
|
||||
"Type": "Line",
|
||||
"Name": "motorTempDiv",
|
||||
"X": 74,
|
||||
"Y": 115,
|
||||
"Width": 3,
|
||||
"Height": 60,
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
},
|
||||
"EndY": 320.0,
|
||||
"LineWidth": 10.0,
|
||||
"LineEndingStyle": "Round"
|
||||
},
|
||||
{
|
||||
"Type": "Line",
|
||||
"Name": "invTempDiv",
|
||||
"X": 74,
|
||||
"Y": 25,
|
||||
"Width": 3,
|
||||
"Height": 60,
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
},
|
||||
"EndY": 320.0,
|
||||
"LineWidth": 10.0,
|
||||
"LineEndingStyle": "Round"
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "invTempR",
|
||||
"X": 77,
|
||||
"Y": 25,
|
||||
"Width": 60,
|
||||
"Height": 60,
|
||||
"CustomContainerDefinitionName": "Temperature"
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "invTempL",
|
||||
"X": 14,
|
||||
"Y": 25,
|
||||
"Width": 60,
|
||||
"Height": 60,
|
||||
"CustomContainerDefinitionName": "Temperature"
|
||||
},
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "invTempLabel",
|
||||
"Width": 150,
|
||||
"Height": 25,
|
||||
"TextId": "__SingleUse_ZP7N",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "Container",
|
||||
"Name": "tireTemps",
|
||||
"X": 165,
|
||||
"Y": 97,
|
||||
"Width": 150,
|
||||
"Height": 150,
|
||||
"Components": [
|
||||
{
|
||||
"Type": "Line",
|
||||
"Name": "ttDivVert",
|
||||
"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",
|
||||
"Name": "ttDivHoriz",
|
||||
"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",
|
||||
"Name": "tireTempRR",
|
||||
"X": 77,
|
||||
"Y": 88,
|
||||
"Width": 60,
|
||||
"Height": 60,
|
||||
"CustomContainerDefinitionName": "Temperature"
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "tireTempFR",
|
||||
"X": 77,
|
||||
"Y": 25,
|
||||
"Width": 60,
|
||||
"Height": 60,
|
||||
"CustomContainerDefinitionName": "Temperature"
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "tireTempRL",
|
||||
"X": 14,
|
||||
"Y": 88,
|
||||
"Width": 60,
|
||||
"Height": 60,
|
||||
"CustomContainerDefinitionName": "Temperature"
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "tireTempFL",
|
||||
"X": 14,
|
||||
"Y": 25,
|
||||
"Width": 60,
|
||||
"Height": 60,
|
||||
"CustomContainerDefinitionName": "Temperature"
|
||||
},
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "tireLabel",
|
||||
"Width": 150,
|
||||
"Height": 25,
|
||||
"TextId": "__SingleUse_H6UX",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "Container",
|
||||
"Name": "dataFields",
|
||||
"X": 15,
|
||||
"Y": 15,
|
||||
"Width": 450,
|
||||
"Height": 305,
|
||||
"Components": [
|
||||
{
|
||||
"Type": "ScrollWheel",
|
||||
"Name": "fieldTypeSelection",
|
||||
"Y": 80,
|
||||
"Width": 150,
|
||||
"Height": 225,
|
||||
"Visible": false,
|
||||
"SelectedItemOffset": 94,
|
||||
"IsCircular": true,
|
||||
"ItemTemplateName": "DriverViewFieldSelection",
|
||||
"NumberofItems": 1,
|
||||
"Easing": "Linear",
|
||||
"EasingOption": "Out",
|
||||
"SwipeAcceleration": 1.0,
|
||||
"DragAcceleration": 1.0
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "field3",
|
||||
"X": 300,
|
||||
"Width": 150,
|
||||
"Height": 80,
|
||||
"CustomContainerDefinitionName": "DriverViewField"
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "field2",
|
||||
"X": 150,
|
||||
"Width": 150,
|
||||
"Height": 80,
|
||||
"CustomContainerDefinitionName": "DriverViewField"
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "field1",
|
||||
"Width": 150,
|
||||
"Height": 80,
|
||||
"CustomContainerDefinitionName": "DriverViewField"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "Container",
|
||||
"Name": "statusBar",
|
||||
"X": 15,
|
||||
"Y": 275,
|
||||
"Width": 450,
|
||||
"Height": 37,
|
||||
"Components": [
|
||||
{
|
||||
"Type": "BoxProgress",
|
||||
"Name": "progressBar",
|
||||
"Y": 5,
|
||||
"Width": 450,
|
||||
"Height": 29,
|
||||
"Visible": false,
|
||||
"Color": {
|
||||
"Red": 99,
|
||||
"Green": 186
|
||||
},
|
||||
"Direction": "Right",
|
||||
"FileNameBackground": "precharge_bg.png",
|
||||
"IndicatorPositionWidth": 480,
|
||||
"IndicatorPositionHeight": 55,
|
||||
"ProgressRangeMax": 100
|
||||
},
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "prechargeLabel",
|
||||
"X": 90,
|
||||
"Width": 269,
|
||||
"Height": 37,
|
||||
"Visible": false,
|
||||
"TextId": "__SingleUse_HMH2",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
},
|
||||
"AutoSize": true
|
||||
},
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "r2dLabel",
|
||||
"X": 67,
|
||||
"Width": 317,
|
||||
"Height": 37,
|
||||
"Visible": false,
|
||||
"TextId": "__SingleUse_NGUK",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
}
|
||||
},
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "r2dProgressLabel",
|
||||
"X": 165,
|
||||
"Width": 219,
|
||||
"Height": 37,
|
||||
"Visible": false,
|
||||
"TextId": "__SingleUse_J5UH",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
},
|
||||
"Wildcard1": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Interactions": [
|
||||
|
||||
Reference in New Issue
Block a user