513 lines
14 KiB
Plaintext
513 lines
14 KiB
Plaintext
|
{
|
||
|
"Application": {
|
||
|
"Screens": [
|
||
|
{
|
||
|
"Components": [
|
||
|
{
|
||
|
"Type": "Box",
|
||
|
"Color": {
|
||
|
"Red": 255,
|
||
|
"Green": 255,
|
||
|
"Blue": 255
|
||
|
},
|
||
|
"Alpha": 255,
|
||
|
"Name": "bgView",
|
||
|
"X": 0,
|
||
|
"Y": 0,
|
||
|
"Width": 480,
|
||
|
"Height": 270,
|
||
|
"Visible": true,
|
||
|
"LockPosition": true,
|
||
|
"Draggable": false,
|
||
|
"Clickable": false,
|
||
|
"Fadeable": false,
|
||
|
"Moveable": false
|
||
|
},
|
||
|
{
|
||
|
"Type": "TextArea",
|
||
|
"TextId": "SingleUseId1",
|
||
|
"TextRotation": "180",
|
||
|
"Color": {
|
||
|
"Red": 0,
|
||
|
"Green": 0,
|
||
|
"Blue": 0
|
||
|
},
|
||
|
"Alpha": 255,
|
||
|
"AutoSize": true,
|
||
|
"LineSpacing": 0,
|
||
|
"Name": "labelTitle",
|
||
|
"X": 337,
|
||
|
"Y": 254,
|
||
|
"Width": 132,
|
||
|
"Height": 13,
|
||
|
"Visible": true,
|
||
|
"LockPosition": true,
|
||
|
"Draggable": false,
|
||
|
"Clickable": false,
|
||
|
"Fadeable": false,
|
||
|
"Moveable": false
|
||
|
},
|
||
|
{
|
||
|
"Type": "Box",
|
||
|
"Color": {
|
||
|
"Red": 20,
|
||
|
"Green": 151,
|
||
|
"Blue": 197
|
||
|
},
|
||
|
"Alpha": 255,
|
||
|
"Name": "bgSignal",
|
||
|
"X": 225,
|
||
|
"Y": 18,
|
||
|
"Width": 150,
|
||
|
"Height": 23,
|
||
|
"Visible": true,
|
||
|
"LockPosition": true,
|
||
|
"Draggable": false,
|
||
|
"Clickable": false,
|
||
|
"Fadeable": false,
|
||
|
"Moveable": false
|
||
|
},
|
||
|
{
|
||
|
"Type": "TextArea",
|
||
|
"TextId": "SingleUseId2",
|
||
|
"TextRotation": "180",
|
||
|
"Color": {
|
||
|
"Red": 0,
|
||
|
"Green": 0,
|
||
|
"Blue": 0
|
||
|
},
|
||
|
"Alpha": 255,
|
||
|
"AutoSize": false,
|
||
|
"LineSpacing": 0,
|
||
|
"Wildcard1": {
|
||
|
"TextId": "SingleUseId3",
|
||
|
"UseBuffer": true,
|
||
|
"BufferSize": 20
|
||
|
},
|
||
|
"Wildcard2": {
|
||
|
"TextId": "SingleUseId4",
|
||
|
"UseBuffer": true,
|
||
|
"BufferSize": 20
|
||
|
},
|
||
|
"Name": "labelSignal",
|
||
|
"X": 232,
|
||
|
"Y": 24,
|
||
|
"Width": 137,
|
||
|
"Height": 13,
|
||
|
"Visible": true,
|
||
|
"LockPosition": true,
|
||
|
"Draggable": false,
|
||
|
"Clickable": false,
|
||
|
"Fadeable": false,
|
||
|
"Moveable": false
|
||
|
},
|
||
|
{
|
||
|
"Type": "TextArea",
|
||
|
"TextId": "SingleUseId5",
|
||
|
"TextRotation": "180",
|
||
|
"Color": {
|
||
|
"Red": 0,
|
||
|
"Green": 0,
|
||
|
"Blue": 0
|
||
|
},
|
||
|
"Alpha": 255,
|
||
|
"AutoSize": false,
|
||
|
"LineSpacing": 0,
|
||
|
"Wildcard1": {
|
||
|
"TextId": "SingleUseId6",
|
||
|
"UseBuffer": true,
|
||
|
"BufferSize": 20
|
||
|
},
|
||
|
"Name": "labelDivTime",
|
||
|
"X": 125,
|
||
|
"Y": 24,
|
||
|
"Width": 70,
|
||
|
"Height": 13,
|
||
|
"Visible": true,
|
||
|
"LockPosition": false,
|
||
|
"Draggable": false,
|
||
|
"Clickable": false,
|
||
|
"Fadeable": false,
|
||
|
"Moveable": false
|
||
|
},
|
||
|
{
|
||
|
"Type": "Box",
|
||
|
"Color": {
|
||
|
"Red": 0,
|
||
|
"Green": 0,
|
||
|
"Blue": 0
|
||
|
},
|
||
|
"Alpha": 255,
|
||
|
"Name": "chartBG",
|
||
|
"X": 10,
|
||
|
"Y": 62,
|
||
|
"Width": 460,
|
||
|
"Height": 190,
|
||
|
"Visible": true,
|
||
|
"LockPosition": true,
|
||
|
"Draggable": false,
|
||
|
"Clickable": false,
|
||
|
"Fadeable": false,
|
||
|
"Moveable": false
|
||
|
},
|
||
|
{
|
||
|
"Type": "DynamicGraph",
|
||
|
"DataSeed": -1338968640,
|
||
|
"NumberOfValues": 460,
|
||
|
"MaxY": 4000.0,
|
||
|
"MinY": 0.0,
|
||
|
"Precision": "1",
|
||
|
"UseCustomVisibleDataPointRange": false,
|
||
|
"FirstIndex": 0,
|
||
|
"LastIndex": 459,
|
||
|
"MapDataPointIndexToCustomValue": false,
|
||
|
"XAxisOffset": 0.0,
|
||
|
"XAxisScale": 1.0,
|
||
|
"InsertRandomValues": true,
|
||
|
"Alpha": 255,
|
||
|
"LabelSizeTop": 0,
|
||
|
"LabelSizeBottom": 0,
|
||
|
"LabelSizeLeft": 0,
|
||
|
"LabelSizeRight": 0,
|
||
|
"PaddingTop": 0,
|
||
|
"PaddingBottom": 0,
|
||
|
"PaddingLeft": 0,
|
||
|
"PaddingRight": 0,
|
||
|
"GraphType": "GraphWrapClear",
|
||
|
"GraphDrawers": [
|
||
|
{
|
||
|
"Type": "DiamondsDrawer",
|
||
|
"DiamondWidth": 2,
|
||
|
"FileNameImage": "",
|
||
|
"Color": {
|
||
|
"Red": 20,
|
||
|
"Green": 151,
|
||
|
"Blue": 197
|
||
|
},
|
||
|
"Alpha": 255
|
||
|
}
|
||
|
],
|
||
|
"XAxisGrid": {
|
||
|
"Type": "GraphGrid",
|
||
|
"Color": {
|
||
|
"Red": 255,
|
||
|
"Green": 255,
|
||
|
"Blue": 255
|
||
|
},
|
||
|
"Interval": 1000.0,
|
||
|
"LineWidth": 1,
|
||
|
"Alpha": 100
|
||
|
},
|
||
|
"Name": "chart",
|
||
|
"X": 10,
|
||
|
"Y": 62,
|
||
|
"Width": 460,
|
||
|
"Height": 190,
|
||
|
"Visible": true,
|
||
|
"LockPosition": true,
|
||
|
"Draggable": false,
|
||
|
"Clickable": false,
|
||
|
"Fadeable": false,
|
||
|
"Moveable": false
|
||
|
},
|
||
|
{
|
||
|
"Type": "Button",
|
||
|
"Pressed": "__designer\\Blue_Buttons_Square_icon_button_pressed.png",
|
||
|
"Released": "__designer\\Blue_Buttons_Square_icon_button.png",
|
||
|
"Alpha": 255,
|
||
|
"Name": "btnPlus",
|
||
|
"X": 5,
|
||
|
"Y": 1,
|
||
|
"Width": 60,
|
||
|
"Height": 60,
|
||
|
"Visible": true,
|
||
|
"LockPosition": true,
|
||
|
"Draggable": false,
|
||
|
"Clickable": false,
|
||
|
"Fadeable": false,
|
||
|
"Moveable": false
|
||
|
},
|
||
|
{
|
||
|
"Type": "Button",
|
||
|
"Pressed": "__designer\\Blue_Buttons_Square_icon_button_pressed.png",
|
||
|
"Released": "__designer\\Blue_Buttons_Square_icon_button.png",
|
||
|
"Alpha": 255,
|
||
|
"Name": "btnMinus",
|
||
|
"X": 65,
|
||
|
"Y": 1,
|
||
|
"Width": 60,
|
||
|
"Height": 60,
|
||
|
"Visible": true,
|
||
|
"LockPosition": true,
|
||
|
"Draggable": false,
|
||
|
"Clickable": false,
|
||
|
"Fadeable": false,
|
||
|
"Moveable": false
|
||
|
},
|
||
|
{
|
||
|
"Type": "Button",
|
||
|
"Pressed": "__designer\\Blue_Buttons_Square_icon_button_pressed.png",
|
||
|
"Released": "__designer\\Blue_Buttons_Square_icon_button.png",
|
||
|
"Alpha": 255,
|
||
|
"Name": "btnTrigger",
|
||
|
"X": 415,
|
||
|
"Y": 1,
|
||
|
"Width": 60,
|
||
|
"Height": 60,
|
||
|
"Visible": true,
|
||
|
"LockPosition": true,
|
||
|
"Draggable": false,
|
||
|
"Clickable": false,
|
||
|
"Fadeable": false,
|
||
|
"Moveable": false
|
||
|
},
|
||
|
{
|
||
|
"Type": "TextArea",
|
||
|
"TextId": "SingleUseId7",
|
||
|
"TextRotation": "180",
|
||
|
"Color": {
|
||
|
"Red": 255,
|
||
|
"Green": 255,
|
||
|
"Blue": 255
|
||
|
},
|
||
|
"Alpha": 255,
|
||
|
"AutoSize": true,
|
||
|
"LineSpacing": 0,
|
||
|
"Name": "labelTrigger",
|
||
|
"X": 428,
|
||
|
"Y": 24,
|
||
|
"Width": 35,
|
||
|
"Height": 13,
|
||
|
"Visible": true,
|
||
|
"LockPosition": true,
|
||
|
"Draggable": false,
|
||
|
"Clickable": false,
|
||
|
"Fadeable": false,
|
||
|
"Moveable": false
|
||
|
},
|
||
|
{
|
||
|
"Type": "TextArea",
|
||
|
"TextId": "SingleUseId8",
|
||
|
"TextRotation": "0",
|
||
|
"Color": {
|
||
|
"Red": 255,
|
||
|
"Green": 255,
|
||
|
"Blue": 255
|
||
|
},
|
||
|
"Alpha": 255,
|
||
|
"AutoSize": true,
|
||
|
"LineSpacing": 0,
|
||
|
"Name": "labelPlus",
|
||
|
"X": 18,
|
||
|
"Y": 2,
|
||
|
"Width": 33,
|
||
|
"Height": 49,
|
||
|
"Visible": true,
|
||
|
"LockPosition": true,
|
||
|
"Draggable": false,
|
||
|
"Clickable": false,
|
||
|
"Fadeable": false,
|
||
|
"Moveable": false
|
||
|
},
|
||
|
{
|
||
|
"Type": "TextArea",
|
||
|
"TextId": "SingleUseId9",
|
||
|
"TextRotation": "0",
|
||
|
"Color": {
|
||
|
"Red": 255,
|
||
|
"Green": 255,
|
||
|
"Blue": 255
|
||
|
},
|
||
|
"Alpha": 255,
|
||
|
"AutoSize": true,
|
||
|
"LineSpacing": 0,
|
||
|
"Name": "labelMinus",
|
||
|
"X": 85,
|
||
|
"Y": 2,
|
||
|
"Width": 18,
|
||
|
"Height": 49,
|
||
|
"Visible": true,
|
||
|
"LockPosition": true,
|
||
|
"Draggable": false,
|
||
|
"Clickable": false,
|
||
|
"Fadeable": false,
|
||
|
"Moveable": false
|
||
|
},
|
||
|
{
|
||
|
"Type": "Image",
|
||
|
"RelativeFilename": "red-led-circle-01.png",
|
||
|
"Alpha": 255,
|
||
|
"Name": "redLedEnable",
|
||
|
"X": 388,
|
||
|
"Y": 21,
|
||
|
"Width": 16,
|
||
|
"Height": 16,
|
||
|
"Visible": true,
|
||
|
"LockPosition": true,
|
||
|
"Draggable": false,
|
||
|
"Clickable": false,
|
||
|
"Fadeable": false,
|
||
|
"Moveable": false
|
||
|
},
|
||
|
{
|
||
|
"Type": "Image",
|
||
|
"RelativeFilename": "red-led-circle-02.png",
|
||
|
"Alpha": 255,
|
||
|
"Name": "redLedDisable",
|
||
|
"X": 388,
|
||
|
"Y": 21,
|
||
|
"Width": 16,
|
||
|
"Height": 16,
|
||
|
"Visible": true,
|
||
|
"LockPosition": true,
|
||
|
"Draggable": false,
|
||
|
"Clickable": false,
|
||
|
"Fadeable": false,
|
||
|
"Moveable": false
|
||
|
}
|
||
|
],
|
||
|
"Interactions": [
|
||
|
{
|
||
|
"InteractionName": "onTriggerPush",
|
||
|
"HasCompletedTrigger": true,
|
||
|
"Trigger": {
|
||
|
"Type": "TriggerClicked",
|
||
|
"TriggerComponent": "btnTrigger"
|
||
|
},
|
||
|
"Action": {
|
||
|
"Type": "ActionExecuteCode",
|
||
|
"Code": "//When btnTrigger clicked toggle redLedDisable\r\nif(redLedDisable.isVisible()){\r\n\tredLedDisable.setVisible(false);\r\n\tredLedDisable.invalidate();\r\n}\r\nelse{\r\n\tredLedDisable.setVisible(true);\r\n\tredLedDisable.invalidate();\r\n}"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"InteractionName": "onMinusPush",
|
||
|
"HasCompletedTrigger": false,
|
||
|
"Trigger": {
|
||
|
"Type": "TriggerClicked",
|
||
|
"TriggerComponent": "btnMinus"
|
||
|
},
|
||
|
"Action": {
|
||
|
"Type": "ActionCustom",
|
||
|
"FunctionName": "onBtnMinusPressed"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"InteractionName": "onPlusPush",
|
||
|
"HasCompletedTrigger": false,
|
||
|
"Trigger": {
|
||
|
"Type": "TriggerClicked",
|
||
|
"TriggerComponent": "btnPlus"
|
||
|
},
|
||
|
"Action": {
|
||
|
"Type": "ActionCustom",
|
||
|
"FunctionName": "onBtnPlusPressed"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"InteractionName": "onTriggerCheckState",
|
||
|
"HasCompletedTrigger": false,
|
||
|
"Trigger": {
|
||
|
"Type": "TriggerInteractionCompleted",
|
||
|
"InteractionToTriggerOn": "onTriggerPush"
|
||
|
},
|
||
|
"Action": {
|
||
|
"Type": "ActionCustom",
|
||
|
"FunctionName": "onCheckBoxTriggerPressed"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"Name": "MainView",
|
||
|
"OverrideDefaultBufferSize": false,
|
||
|
"CanvasBufferSize": 7200
|
||
|
}
|
||
|
],
|
||
|
"CustomContainerDefinitions": [],
|
||
|
"TextEntries": [
|
||
|
{
|
||
|
"TextEntryId": "SingleUseId1",
|
||
|
"IsResource": false
|
||
|
},
|
||
|
{
|
||
|
"TextEntryId": "SingleUseId2",
|
||
|
"IsResource": false
|
||
|
},
|
||
|
{
|
||
|
"TextEntryId": "SingleUseId3",
|
||
|
"IsResource": false
|
||
|
},
|
||
|
{
|
||
|
"TextEntryId": "SingleUseId4",
|
||
|
"IsResource": false
|
||
|
},
|
||
|
{
|
||
|
"TextEntryId": "SingleUseId5",
|
||
|
"IsResource": false
|
||
|
},
|
||
|
{
|
||
|
"TextEntryId": "SingleUseId6",
|
||
|
"IsResource": false
|
||
|
},
|
||
|
{
|
||
|
"TextEntryId": "SingleUseId7",
|
||
|
"IsResource": false
|
||
|
},
|
||
|
{
|
||
|
"TextEntryId": "SingleUseId8",
|
||
|
"IsResource": false
|
||
|
},
|
||
|
{
|
||
|
"TextEntryId": "SingleUseId9",
|
||
|
"IsResource": false
|
||
|
}
|
||
|
],
|
||
|
"Name": "STM32F746G_DISCO",
|
||
|
"Resolution": {
|
||
|
"Width": 480,
|
||
|
"Height": 272
|
||
|
},
|
||
|
"SelectedColorDepth": 16,
|
||
|
"StartupScreenName": "MainView",
|
||
|
"SelectedStartupLanguage": "GB",
|
||
|
"Skin": "Blue",
|
||
|
"TouchGfxPath": "../Middlewares/ST/touchgfx",
|
||
|
"UIPath": ".",
|
||
|
"AvailableColorDepths": [
|
||
|
16
|
||
|
],
|
||
|
"AvailableLCDs": {
|
||
|
"16": "LCD16bpp"
|
||
|
},
|
||
|
"AvailableSections": [
|
||
|
"ExtFlashSection",
|
||
|
"IntFlashSection"
|
||
|
],
|
||
|
"AvailableResolutions": [
|
||
|
{
|
||
|
"Width": 480,
|
||
|
"Height": 272
|
||
|
}
|
||
|
],
|
||
|
"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 --project-file=../STM32F746G_DISCO.ioc --platform=m7",
|
||
|
"CompileSimulatorCommand": "make -f simulator/gcc/Makefile -j8",
|
||
|
"RunSimulatorCommand": "build\\bin\\simulator.exe",
|
||
|
"CompileTargetCommand": "make -f ../gcc/Makefile -j8",
|
||
|
"FlashTargetCommand": "make -f ../gcc/Makefile flash -j8",
|
||
|
"LandscapeSkinX": 0,
|
||
|
"LandscapeSkinY": 0,
|
||
|
"PortraitSkinX": 0,
|
||
|
"PortraitSkinY": 0,
|
||
|
"DisplayOrientation": "Landscape",
|
||
|
"Family": "STM32F7"
|
||
|
},
|
||
|
"Version": "4.16.1",
|
||
|
"CreatedBy": "4.16.1"
|
||
|
}
|