478 lines
		
	
	
		
			13 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			478 lines
		
	
	
		
			13 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
{
 | 
						|
  "Application": {
 | 
						|
    "Screens": [
 | 
						|
      {
 | 
						|
        "Name": "MissionSelect",
 | 
						|
        "CanvasBufferSize": 7200,
 | 
						|
        "Components": [
 | 
						|
          {
 | 
						|
            "Type": "TextArea",
 | 
						|
            "Name": "prompt",
 | 
						|
            "X": 41,
 | 
						|
            "Width": 398,
 | 
						|
            "Height": 37,
 | 
						|
            "TextId": "__SingleUse_6GPV",
 | 
						|
            "TextRotation": "0",
 | 
						|
            "Color": {
 | 
						|
              "Red": 255,
 | 
						|
              "Green": 255,
 | 
						|
              "Blue": 255
 | 
						|
            },
 | 
						|
            "AutoSize": true
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "Type": "ListLayout",
 | 
						|
            "Name": "missionList",
 | 
						|
            "Y": 48,
 | 
						|
            "Width": 480,
 | 
						|
            "Height": 212,
 | 
						|
            "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"
 | 
						|
              },
 | 
						|
              {
 | 
						|
                "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"
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "Type": "Image",
 | 
						|
            "Name": "logo",
 | 
						|
            "X": 160,
 | 
						|
            "Y": 263,
 | 
						|
            "Width": 160,
 | 
						|
            "Height": 55,
 | 
						|
            "RelativeFilename": "logo_dv_small_white.png"
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "Interactions": [
 | 
						|
          {
 | 
						|
            "InteractionName": "SelectNextMission",
 | 
						|
            "Trigger": {
 | 
						|
              "Type": "TriggerPhysicalButtonClicked",
 | 
						|
              "ButtonKey": 23
 | 
						|
            },
 | 
						|
            "Action": {
 | 
						|
              "Type": "ActionCustom",
 | 
						|
              "FunctionName": "incMission"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "InteractionName": "SelectPrevMission",
 | 
						|
            "Trigger": {
 | 
						|
              "Type": "TriggerPhysicalButtonClicked",
 | 
						|
              "ButtonKey": 24
 | 
						|
            },
 | 
						|
            "Action": {
 | 
						|
              "Type": "ActionCustom",
 | 
						|
              "FunctionName": "decMission"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "InteractionName": "ConfirmMission",
 | 
						|
            "Trigger": {
 | 
						|
              "Type": "TriggerPhysicalButtonClicked",
 | 
						|
              "ButtonKey": 6
 | 
						|
            },
 | 
						|
            "Action": {
 | 
						|
              "Type": "ActionCustom",
 | 
						|
              "FunctionName": "confirmMission"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "InteractionName": "DummyChangeAMI",
 | 
						|
            "Trigger": {
 | 
						|
              "Type": "TriggerPhysicalButtonClicked",
 | 
						|
              "ButtonKey": 254
 | 
						|
            },
 | 
						|
            "Action": {
 | 
						|
              "Type": "ActionGotoScreen",
 | 
						|
              "ScreenTransitionType": "ScreenTransitionNone",
 | 
						|
              "ActionComponent": "AMI"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "InteractionName": "DummyChangeDriverView",
 | 
						|
            "Trigger": {
 | 
						|
              "Type": "TriggerPhysicalButtonClicked",
 | 
						|
              "ButtonKey": 253
 | 
						|
            },
 | 
						|
            "Action": {
 | 
						|
              "Type": "ActionGotoScreen",
 | 
						|
              "ScreenTransitionType": "ScreenTransitionNone",
 | 
						|
              "ActionComponent": "DriverView"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "Name": "AMI",
 | 
						|
        "Components": [
 | 
						|
          {
 | 
						|
            "Type": "Image",
 | 
						|
            "Name": "logo",
 | 
						|
            "X": 160,
 | 
						|
            "Y": 263,
 | 
						|
            "Width": 160,
 | 
						|
            "Height": 55,
 | 
						|
            "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": []
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "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": [
 | 
						|
      {
 | 
						|
        "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",
 | 
						|
            "Color": {
 | 
						|
              "Red": 255,
 | 
						|
              "Green": 255,
 | 
						|
              "Blue": 255
 | 
						|
            }
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "Type": "Line",
 | 
						|
            "Name": "line1",
 | 
						|
            "Width": 480,
 | 
						|
            "Height": 2,
 | 
						|
            "Color": {
 | 
						|
              "Red": 170,
 | 
						|
              "Green": 170,
 | 
						|
              "Blue": 170
 | 
						|
            },
 | 
						|
            "EndX": 480.0,
 | 
						|
            "LineWidth": 5.0,
 | 
						|
            "LineEndingStyle": "Round"
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "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",
 | 
						|
    "Resolution": {
 | 
						|
      "Width": 320,
 | 
						|
      "Height": 480
 | 
						|
    },
 | 
						|
    "SelectedColorDepth": 16,
 | 
						|
    "StartupScreenName": "MissionSelect",
 | 
						|
    "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",
 | 
						|
    "PostGenerateCommand": "touchgfx update_project --project-file=simulator/msvs/Application.vcxproj",
 | 
						|
    "PostGenerateTargetCommand": "touchgfx update_project",
 | 
						|
    "PostGenerateTargetCommandOverride": "",
 | 
						|
    "CompileSimulatorCommand": "make -f simulator/gcc/Makefile -j8",
 | 
						|
    "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"
 | 
						|
} |