{ "Application": { "Screens": [ { "Name": "Home", "Components": [ { "Type": "Box", "Name": "Background", "Width": 320, "Height": 240 }, { "Type": "Image", "Name": "Logo_home_image", "X": 13, "Y": 11, "Width": 131, "Height": 44, "RelativeFilename": "Logo_Black.png" }, { "Type": "Image", "Name": "Setting_BTN", "X": 4, "Y": 126, "Width": 141, "Height": 54, "RelativeFilename": "Setting_Btn_Black.png" }, { "Type": "Image", "Name": "Start_BTN", "X": 4, "Y": 68, "Width": 141, "Height": 54, "RelativeFilename": "Start_Btn_Black.png" }, { "Type": "Image", "Name": "Sound_EN", "X": 259, "Y": 7, "Width": 47, "Height": 34, "RelativeFilename": "Mute_Black.png" }, { "Type": "Image", "Name": "LED_EN", "X": 178, "Y": 7, "Width": 47, "Height": 34, "RelativeFilename": "Led_OFF_Black.png" }, { "Type": "TextArea", "Name": "Time_textArea", "X": 158, "Y": 129, "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": 68, "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": 2, "Y": 132, "Width": 165, "Height": 27, "Visible": false, "TextId": "TxtPaddleSpeed", "TextRotation": "0", "Color": { "Red": 255, "Green": 255, "Blue": 255 }, "Wildcard1": { "TextId": "paddle_val", "UseBuffer": true, "BufferSize": 20 } }, { "Type": "Image", "Name": "Reset_Btn", "X": 4, "Y": 183, "Width": 141, "Height": 54, "RelativeFilename": "Factory_reset_black.png" }, { "Type": "Image", "Name": "AW_BTN", "X": 149, "Y": 196, "Width": 40, "Height": 40, "RelativeFilename": "aw-button-black.png" }, { "Type": "Image", "Name": "wash1", "X": 194, "Y": 198, "Width": 40, "Height": 40, "RelativeFilename": "button-1-black.png" }, { "Type": "Image", "Name": "wash2", "X": 238, "Y": 198, "Width": 40, "Height": 40, "RelativeFilename": "button-2-black.png" }, { "Type": "Image", "Name": "wash3", "X": 278, "Y": 197, "Width": 40, "Height": 40, "RelativeFilename": "button-3-black.png" }, { "Type": "TextArea", "Name": "pattern_textArea", "X": 100, "Y": 202, "Width": 49, "Height": 18, "Visible": false, "TextId": "pattern", "TextRotation": "0", "Color": { "Red": 253, "Green": 253, "Blue": 253 }, "AutoSize": true, "Wildcard1": { "TextId": "pattern_value", "UseBuffer": true, "BufferSize": 16 } }, { "Type": "TextArea", "Name": "textArea5", "X": 5, "Y": 196, "Width": 110, "Height": 24, "Visible": false, "TextId": "__SingleUse_VUAL", "TextRotation": "0", "Color": { "Red": 253, "Green": 253, "Blue": 253 }, "AutoSize": true } ], "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": 8, "Y": 8, "Width": 131, "Height": 44, "RelativeFilename": "Logo_Black.png" }, { "Type": "Image", "Name": "Back_BTN", "X": 9, "Y": 113, "Width": 121, "Height": 54, "RelativeFilename": "Back_Btn_Black.png" }, { "Type": "TextArea", "Name": "units_textArea", "X": 199, "Y": 91, "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": 257, "Y": 115, "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": 208, "Y": 139, "Width": 76, "Height": 24, "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": 276, "Y": 163, "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": 287, "Y": 187, "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": 225, "Y": 67, "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": 248, "Y": 67, "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": 151, "Y": 67, "Width": 73, "Height": 18, "TextId": "__SingleUse_7AEX", "TextRotation": "0", "Color": { "Red": 253, "Green": 253, "Blue": 253 }, "AutoSize": true }, { "Type": "TextArea", "Name": "textArea2", "X": 243, "Y": 66, "Width": 4, "Height": 18, "TextId": "__SingleUse_8P8Z", "TextRotation": "0", "Color": { "Red": 253, "Green": 253, "Blue": 253 }, "AutoSize": true }, { "Type": "TextArea", "Name": "textArea3", "X": 151, "Y": 91, "Width": 41, "Height": 18, "TextId": "__SingleUse_UDX3", "TextRotation": "0", "Color": { "Red": 253, "Green": 253, "Blue": 253 }, "AutoSize": true }, { "Type": "TextArea", "Name": "textArea4", "X": 150, "Y": 115, "Width": 105, "Height": 18, "TextId": "__SingleUse_I5TP", "TextRotation": "0", "Color": { "Red": 253, "Green": 253, "Blue": 253 }, "AutoSize": true }, { "Type": "TextArea", "Name": "textArea5", "X": 149, "Y": 139, "Width": 76, "Height": 18, "TextId": "__SingleUse_WQU9", "TextRotation": "0", "Color": { "Red": 253, "Green": 253, "Blue": 253 }, "AutoSize": true }, { "Type": "TextArea", "Name": "textArea6", "X": 150, "Y": 163, "Width": 119, "Height": 18, "TextId": "__SingleUse_V72B", "TextRotation": "0", "Color": { "Red": 253, "Green": 253, "Blue": 253 }, "AutoSize": true }, { "Type": "TextArea", "Name": "textArea7", "X": 151, "Y": 187, "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" } }, { "InteractionName": "Interaction2", "Trigger": { "Type": "TriggerPhysicalButtonClicked", "ButtonKey": 3 }, "Action": { "Type": "ActionGotoScreen", "ScreenTransitionType": "ScreenTransitionNone", "ActionComponent": "Auto_Wash" } } ] }, { "Name": "Auto_Wash", "Components": [ { "Type": "Box", "Name": "Background", "Width": 320, "Height": 240 }, { "Type": "Image", "Name": "Start_BTN", "X": 160, "Y": 176, "Width": 141, "Height": 54, "RelativeFilename": "Start_Btn_Black.png" }, { "Type": "Image", "Name": "Back_BTN", "X": 17, "Y": 176, "Width": 121, "Height": 54, "RelativeFilename": "Back_Btn_Black.png" }, { "Type": "Image", "Name": "Logo_Setting_image", "X": 6, "Y": 6, "Width": 131, "Height": 44, "RelativeFilename": "Logo_Black.png" }, { "Type": "TextArea", "Name": "aw_title", "X": 181, "Y": 29, "Width": 107, "Height": 24, "TextId": "__SingleUse_L2JD", "TextRotation": "0", "Color": { "Red": 255, "Green": 255, "Blue": 255 }, "AutoSize": true, "Wildcard1": { "TextId": "aw_title", "UseBuffer": true, "BufferSize": 10 } }, { "Type": "TextArea", "Name": "textArea1", "X": 216, "Y": 73, "Width": 92, "Height": 24, "TextId": "__SingleUse_XEEX", "TextRotation": "0", "AutoSize": true }, { "Type": "TextArea", "Name": "washtime_text", "X": 32, "Y": 77, "Width": 97, "Height": 18, "TextId": "__SingleUse_J301", "TextRotation": "0", "Color": { "Red": 255, "Green": 255, "Blue": 255 }, "AutoSize": true }, { "Type": "TextArea", "Name": "presoak_text", "X": 32, "Y": 103, "Width": 99, "Height": 18, "TextId": "__SingleUse_EGSC", "TextRotation": "0", "Color": { "Red": 255, "Green": 255, "Blue": 255 }, "AutoSize": true }, { "Type": "TextArea", "Name": "max_speed_text", "X": 32, "Y": 127, "Width": 99, "Height": 18, "TextId": "__SingleUse_SO1Q", "TextRotation": "0", "Color": { "Red": 255, "Green": 255, "Blue": 255 }, "AutoSize": true }, { "Type": "TextArea", "Name": "max_spin_text", "X": 32, "Y": 150, "Width": 98, "Height": 18, "TextId": "__SingleUse_XG1D", "TextRotation": "0", "Color": { "Red": 255, "Green": 255, "Blue": 255 }, "AutoSize": true }, { "Type": "TextArea", "Name": "washtime_value", "X": 138, "Y": 77, "Width": 18, "Height": 18, "TextId": "__SingleUse_5UKF", "TextRotation": "0", "Color": { "Red": 255, "Green": 255, "Blue": 255 }, "AutoSize": true, "Wildcard1": { "TextId": "washtime_value", "UseBuffer": true, "BufferSize": 4 } }, { "Type": "TextArea", "Name": "presoak_value", "X": 138, "Y": 105, "Width": 18, "Height": 18, "TextId": "__SingleUse_BYS6", "TextRotation": "0", "Color": { "Red": 255, "Green": 255, "Blue": 255 }, "AutoSize": true, "Wildcard1": { "TextId": "presoak_value", "UseBuffer": true, "BufferSize": 5 } }, { "Type": "TextArea", "Name": "max_speed_value", "X": 138, "Y": 127, "Width": 18, "Height": 18, "TextId": "__SingleUse_YL13", "TextRotation": "0", "Color": { "Red": 255, "Green": 255, "Blue": 255 }, "AutoSize": true, "Wildcard1": { "TextId": "max_speed_value", "UseBuffer": true, "BufferSize": 5 } }, { "Type": "TextArea", "Name": "washspin_value", "X": 146, "Y": 151, "Width": 9, "Height": 18, "TextId": "__SingleUse_SJLF", "TextRotation": "0", "Color": { "Red": 255, "Green": 255, "Blue": 255 }, "AutoSize": true, "Wildcard1": { "TextId": "washspin_value", "UseBuffer": true, "BufferSize": 4 } }, { "Type": "TextArea", "Name": "wash_time_value_1", "X": 178, "Y": 76, "Width": 34, "Height": 18, "TextId": "__SingleUse_7C17", "TextRotation": "0", "Color": { "Red": 255, "Green": 255, "Blue": 255 }, "AutoSize": true }, { "Type": "TextArea", "Name": "wash_time_value_1_1", "X": 178, "Y": 103, "Width": 34, "Height": 18, "TextId": "__SingleUse_NN9C", "TextRotation": "0", "Color": { "Red": 255, "Green": 255, "Blue": 255 }, "AutoSize": true }, { "Type": "TextArea", "Name": "wash_time_value_1_2", "X": 237, "Y": 77, "Width": 52, "Height": 18, "TextId": "__SingleUse_WTLE", "TextRotation": "0", "Color": { "Red": 255, "Green": 255, "Blue": 255 }, "AutoSize": true }, { "Type": "TextArea", "Name": "wash_time_value_1_2_1", "X": 238, "Y": 103, "Width": 52, "Height": 18, "TextId": "__SingleUse_YC3N", "TextRotation": "0", "Color": { "Red": 255, "Green": 255, "Blue": 255 }, "AutoSize": true }, { "Type": "TextArea", "Name": "wash_time_value_1_2_1_1", "X": 239, "Y": 127, "Width": 52, "Height": 18, "TextId": "__SingleUse_DYW8", "TextRotation": "0", "Color": { "Red": 255, "Green": 255, "Blue": 255 }, "AutoSize": true }, { "Type": "TextArea", "Name": "wash_time_value_1_2_1_1_1", "X": 208, "Y": 150, "Width": 109, "Height": 18, "TextId": "__SingleUse_YEMV", "TextRotation": "0", "Color": { "Red": 255, "Green": 255, "Blue": 255 }, "AutoSize": true } ], "Interactions": [ { "InteractionName": "Interaction1", "Trigger": { "Type": "TriggerPhysicalButtonClicked", "ButtonKey": 3 }, "Action": { "Type": "ActionGotoScreen", "ScreenTransitionType": "ScreenTransitionNone", "ActionComponent": "Home" } }, { "InteractionName": "HW_Push_Func", "Trigger": { "Type": "TriggerPhysicalButtonClicked", "Name": "HW_BTN" }, "Action": { "Type": "ActionCustom", "FunctionName": "AutoWash_HW_Push_Func" } }, { "InteractionName": "HW_Up_Func", "Trigger": { "Type": "TriggerPhysicalButtonClicked", "ButtonKey": 1, "Name": "HW_UP" }, "Action": { "Type": "ActionCustom", "FunctionName": "AutoWash_HW_Up_Func" } }, { "InteractionName": "HW_Down_Func", "Trigger": { "Type": "TriggerPhysicalButtonClicked", "ButtonKey": 2, "Name": "HW_DOWN" }, "Action": { "Type": "ActionCustom", "FunctionName": "AutoWash_HW_Down_Func" } }, { "InteractionName": "Interaction2", "Trigger": { "Type": "TriggerPhysicalButtonClicked", "ButtonKey": 3 }, "Action": { "Type": "ActionGotoScreen", "ScreenTransitionType": "ScreenTransitionNone", "ActionComponent": "Wash_Run" } } ] }, { "Name": "Wash_Run", "Components": [ { "Type": "Box", "Name": "Background", "Width": 320, "Height": 240 }, { "Type": "Image", "Name": "Logo_home_image", "X": 13, "Y": 11, "Width": 131, "Height": 44, "RelativeFilename": "Logo_Black.png" }, { "Type": "Image", "Name": "run_back_btn", "X": 21, "Y": 155, "Width": 121, "Height": 54, "RelativeFilename": "Back_Btn_Black.png" }, { "Type": "Image", "Name": "run_pause_btn", "X": 8, "Y": 79, "Width": 141, "Height": 54, "RelativeFilename": "Stop_Btn_Black.png" }, { "Type": "TextArea", "Name": "aw_title", "X": 181, "Y": 29, "Width": 107, "Height": 24, "TextId": "__SingleUse_EHBC", "TextRotation": "0", "Color": { "Red": 255, "Green": 255, "Blue": 255 }, "AutoSize": true, "Wildcard1": { "TextId": "aw_title", "UseBuffer": true, "BufferSize": 10 } }, { "Type": "TextArea", "Name": "Temp_textArea", "X": 156, "Y": 79, "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": "Time_textArea", "X": 156, "Y": 150, "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 } } ], "Interactions": [ { "InteractionName": "HW_Push_Func", "Trigger": { "Type": "TriggerPhysicalButtonClicked", "Name": "HW_BTN" }, "Action": { "Type": "ActionCustom", "FunctionName": "Wash_Run_HW_Push_Func" } }, { "InteractionName": "HW_Up_Func", "Trigger": { "Type": "TriggerPhysicalButtonClicked", "ButtonKey": 1, "Name": "HW_UP" }, "Action": { "Type": "ActionCustom", "FunctionName": "Wash_Run_HW_Up_Func" } }, { "InteractionName": "HW_Down_Func", "Trigger": { "Type": "TriggerPhysicalButtonClicked", "ButtonKey": 2, "Name": "HW_DOWN" }, "Action": { "Type": "ActionCustom", "FunctionName": "Wash_Run_HW_Down_Func" } }, { "InteractionName": "Interaction1", "Trigger": { "Type": "TriggerPhysicalButtonClicked", "ButtonKey": 3 }, "Action": { "Type": "ActionGotoScreen", "ScreenTransitionType": "ScreenTransitionNone", "ActionComponent": "Auto_Wash" } } ] } ], "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" }