Laridium_v49/TouchGFX/Washer_Firmware_407.touchgfx
2024-10-09 23:15:27 +05:30

643 lines
16 KiB
Plaintext

{
"Application": {
"Screens": [
{
"Name": "Home",
"Components": [
{
"Type": "Box",
"Name": "Background",
"Width": 320,
"Height": 240
},
{
"Type": "Image",
"Name": "Logo_home_image",
"X": 16,
"Y": 19,
"Width": 131,
"Height": 44,
"RelativeFilename": "Logo_Black.png"
},
{
"Type": "Image",
"Name": "Setting_BTN",
"X": 3,
"Y": 169,
"Width": 141,
"Height": 54,
"RelativeFilename": "Setting_Btn_Black.png"
},
{
"Type": "Image",
"Name": "Start_BTN",
"X": 3,
"Y": 99,
"Width": 141,
"Height": 54,
"RelativeFilename": "Start_Btn_Black.png"
},
{
"Type": "Image",
"Name": "Sound_EN",
"X": 259,
"Y": 24,
"Width": 47,
"Height": 34,
"RelativeFilename": "Mute_Black.png"
},
{
"Type": "Image",
"Name": "LED_EN",
"X": 178,
"Y": 24,
"Width": 47,
"Height": 34,
"RelativeFilename": "Led_OFF_Black.png"
},
{
"Type": "TextArea",
"Name": "Time_textArea",
"X": 158,
"Y": 166,
"Width": 156,
"Height": 64,
"TextId": "Time_Disp",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"Wildcard1": {
"TextId": "Minutes",
"UseBuffer": true,
"BufferSize": 3
},
"Wildcard2": {
"TextId": "Second",
"UseBuffer": true,
"BufferSize": 3
}
},
{
"Type": "TextArea",
"Name": "Temp_textArea",
"X": 158,
"Y": 95,
"Width": 156,
"Height": 65,
"TextId": "Temp_disp",
"TextRotation": "0",
"Color": {
"Red": 186,
"Green": 222,
"Blue": 148
},
"Wildcard1": {
"TextId": "temp_value",
"UseBuffer": true,
"BufferSize": 5
},
"Wildcard2": {
"TextId": "temp_unit",
"UseBuffer": true,
"BufferSize": 2
}
},
{
"Type": "TextArea",
"Name": "TxtPaddleSpeed",
"X": 149,
"Y": 68,
"Width": 165,
"Height": 27,
"TextId": "TxtPaddleSpeed",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"Wildcard1": {
"TextId": "paddle_val",
"UseBuffer": true,
"BufferSize": 20
}
}
],
"Interactions": [
{
"InteractionName": "Interaction1",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 3
},
"Action": {
"Type": "ActionGotoScreen",
"ScreenTransitionType": "ScreenTransitionNone",
"ActionComponent": "Setting_Page"
}
},
{
"InteractionName": "HW_Push_Func",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked"
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "Home_HW_Push_Func"
}
},
{
"InteractionName": "HW_Up_Func",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 1
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "Home_HW_Up_Func"
}
},
{
"InteractionName": "HW_Down_Func",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 2
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "Home_HW_Down_Func"
}
}
]
},
{
"Name": "Setting_Page",
"Components": [
{
"Type": "Box",
"Name": "Background",
"Width": 320,
"Height": 240
},
{
"Type": "Image",
"Name": "Logo_Setting_image",
"X": 16,
"Y": 19,
"Width": 131,
"Height": 44,
"RelativeFilename": "Logo_Black.png"
},
{
"Type": "Image",
"Name": "Back_BTN",
"X": 3,
"Y": 113,
"Width": 121,
"Height": 54,
"RelativeFilename": "Back_Btn_Black.png"
},
{
"Type": "TextArea",
"Name": "units_textArea",
"X": 242,
"Y": 59,
"Width": 16,
"Height": 18,
"TextId": "Units",
"TextRotation": "0",
"Color": {
"Red": 253,
"Green": 253,
"Blue": 253
},
"AutoSize": true,
"Wildcard1": {
"TextId": "unit_value",
"UseBuffer": true,
"BufferSize": 2
}
},
{
"Type": "TextArea",
"Name": "rpm_textArea",
"X": 266,
"Y": 83,
"Width": 22,
"Height": 18,
"TextId": "rpm",
"TextRotation": "0",
"Color": {
"Red": 253,
"Green": 253,
"Blue": 253
},
"AutoSize": true,
"Wildcard1": {
"TextId": "rpm_value",
"UseBuffer": true,
"BufferSize": 5
}
},
{
"Type": "TextArea",
"Name": "pattern_textArea",
"X": 212,
"Y": 107,
"Width": 105,
"Height": 18,
"TextId": "pattern",
"TextRotation": "0",
"Color": {
"Red": 253,
"Green": 253,
"Blue": 253
},
"AutoSize": true,
"Wildcard1": {
"TextId": "pattern_value",
"UseBuffer": true,
"BufferSize": 16
}
},
{
"Type": "TextArea",
"Name": "light_textArea",
"X": 280,
"Y": 131,
"Width": 18,
"Height": 18,
"TextId": "light_brightness",
"TextRotation": "0",
"Color": {
"Red": 253,
"Green": 253,
"Blue": 253
},
"AutoSize": true,
"Wildcard1": {
"TextId": "light_brightness_value",
"UseBuffer": true,
"BufferSize": 3
}
},
{
"Type": "TextArea",
"Name": "screen_brightness_textArea",
"X": 291,
"Y": 155,
"Width": 18,
"Height": 18,
"TextId": "screen_brightness",
"TextRotation": "0",
"Color": {
"Red": 253,
"Green": 253,
"Blue": 253
},
"AutoSize": true,
"Wildcard1": {
"TextId": "screen_brightness_value",
"UseBuffer": true,
"BufferSize": 3
}
},
{
"Type": "TextArea",
"Name": "screen_timeout_textArea",
"X": 275,
"Y": 179,
"Width": 32,
"Height": 18,
"Visible": false,
"TextId": "screen_timeout",
"TextRotation": "0",
"Color": {
"Red": 253,
"Green": 253,
"Blue": 253
},
"AutoSize": true,
"Wildcard1": {
"TextId": "screen_timeout_value",
"UseBuffer": true,
"BufferSize": 4
}
},
{
"Type": "TextArea",
"Name": "buzzer_textArea",
"X": 276,
"Y": 203,
"Width": 18,
"Height": 18,
"Visible": false,
"TextId": "buzzer",
"TextRotation": "0",
"AutoSize": true,
"Wildcard1": {
"TextId": "buzzer_value",
"UseBuffer": true,
"BufferSize": 3
}
},
{
"Type": "TextArea",
"Name": "Runtime_min_textArea",
"X": 249,
"Y": 35,
"Width": 18,
"Height": 18,
"TextId": "minutes_set",
"TextRotation": "0",
"Color": {
"Red": 253,
"Green": 253,
"Blue": 253
},
"AutoSize": true,
"Wildcard1": {
"TextId": "minutes_value",
"UseBuffer": true,
"BufferSize": 3
}
},
{
"Type": "TextArea",
"Name": "Runtime_sec_textArea",
"X": 272,
"Y": 35,
"Width": 18,
"Height": 18,
"TextId": "second_set",
"TextRotation": "0",
"Color": {
"Red": 253,
"Green": 253,
"Blue": 253
},
"AutoSize": true,
"Wildcard1": {
"TextId": "second_value",
"UseBuffer": true,
"BufferSize": 3
}
},
{
"Type": "TextArea",
"Name": "textArea1",
"X": 171,
"Y": 35,
"Width": 73,
"Height": 18,
"TextId": "__SingleUse_7AEX",
"TextRotation": "0",
"Color": {
"Red": 253,
"Green": 253,
"Blue": 253
},
"AutoSize": true
},
{
"Type": "TextArea",
"Name": "textArea2",
"X": 267,
"Y": 34,
"Width": 5,
"Height": 18,
"TextId": "__SingleUse_8P8Z",
"TextRotation": "0",
"Color": {
"Red": 253,
"Green": 253,
"Blue": 253
},
"AutoSize": true
},
{
"Type": "TextArea",
"Name": "textArea3",
"X": 199,
"Y": 59,
"Width": 41,
"Height": 18,
"TextId": "__SingleUse_UDX3",
"TextRotation": "0",
"Color": {
"Red": 253,
"Green": 253,
"Blue": 253
},
"AutoSize": true
},
{
"Type": "TextArea",
"Name": "textArea4",
"X": 158,
"Y": 83,
"Width": 105,
"Height": 18,
"TextId": "__SingleUse_I5TP",
"TextRotation": "0",
"Color": {
"Red": 253,
"Green": 253,
"Blue": 253
},
"AutoSize": true
},
{
"Type": "TextArea",
"Name": "textArea5",
"X": 174,
"Y": 107,
"Width": 37,
"Height": 18,
"TextId": "__SingleUse_WQU9",
"TextRotation": "0",
"Color": {
"Red": 253,
"Green": 253,
"Blue": 253
},
"AutoSize": true
},
{
"Type": "TextArea",
"Name": "textArea6",
"X": 160,
"Y": 131,
"Width": 119,
"Height": 18,
"TextId": "__SingleUse_V72B",
"TextRotation": "0",
"Color": {
"Red": 253,
"Green": 253,
"Blue": 253
},
"AutoSize": true
},
{
"Type": "TextArea",
"Name": "textArea7",
"X": 155,
"Y": 155,
"Width": 135,
"Height": 18,
"TextId": "__SingleUse_SDTV",
"TextRotation": "0",
"Color": {
"Red": 253,
"Green": 253,
"Blue": 253
},
"AutoSize": true
},
{
"Type": "TextArea",
"Name": "textArea8",
"X": 154,
"Y": 179,
"Width": 117,
"Height": 18,
"Visible": false,
"TextId": "__SingleUse_WZHO",
"TextRotation": "0",
"Color": {
"Red": 253,
"Green": 253,
"Blue": 253
},
"AutoSize": true
},
{
"Type": "TextArea",
"Name": "textArea9",
"X": 163,
"Y": 203,
"Width": 112,
"Height": 18,
"Visible": false,
"TextId": "__SingleUse_MV86",
"TextRotation": "0",
"AutoSize": true
}
],
"Interactions": [
{
"InteractionName": "Interaction1",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 3
},
"Action": {
"Type": "ActionGotoScreen",
"ScreenTransitionType": "ScreenTransitionNone",
"ActionComponent": "Home"
}
},
{
"InteractionName": "HW_Push_Func",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked"
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "Setting_HW_Push_Func"
}
},
{
"InteractionName": "HW_Up_Func",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 1
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "Setting_HW_Up_Func"
}
},
{
"InteractionName": "HW_Down_Func",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 2
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "Setting_HW_Down_Func"
}
}
]
}
],
"CustomContainerDefinitions": [],
"Name": "MyApplication",
"Resolution": {
"Width": 320,
"Height": 240
},
"SelectedColorDepth": 16,
"StartupScreenName": "Home",
"SelectedStartupLanguage": "GB",
"Skin": "Blue",
"TouchGfxPath": "../Middlewares/ST/touchgfx",
"UIPath": ".",
"AvailableColorDepths": [
16
],
"AvailableLCDs": {
"16": "LCD16bpp"
},
"AvailableSections": [
"ExtFlashSection",
"IntFlashSection"
],
"AvailableResolutions": [
{
"Width": 320,
"Height": 240
}
],
"PhysicalButtons": [
{
"Name": "HW_BTN"
},
{
"Key": 1,
"Name": "HW_UP"
},
{
"Key": 2,
"Name": "HW_DOWN"
}
],
"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",
"CompileSimulatorCommand": "make -f simulator/gcc/Makefile -j8",
"RunSimulatorCommand": "build\\bin\\simulator.exe",
"LandscapeSkinX": 0,
"LandscapeSkinY": 0,
"PortraitSkinX": 0,
"PortraitSkinY": 0,
"DisplayOrientation": "Landscape",
"Family": "STM32F4",
"Platform": "m4",
"ProjectFile": "../Washer_Firmware_407.ioc",
"OptionalComponentsRoot": "../Middlewares/ST/touchgfx_components",
"OptionalComponents": []
},
"Version": "4.20.0"
}