Files
NSPanel_HA_Blueprint/hmi/dev/nspanel_us_land_code/confirm.txt
Edward Firmo fe26e30a06 Simplify page load
To reduce the chances of a serial buffer overflow
2024-04-24 11:58:19 +02:00

133 lines
3.4 KiB
Plaintext

Page confirm
Attributes
ID : 0
Scope : local
Dragging : 0
Send Component ID : on press and release
Locked : no
Swide up page ID : disabled
Swide down page ID : disabled
Swide left page ID : disabled
Swide right page ID: disabled
Events
Preinitialize Event
dim=brightness
if(api==0)
{
page home
}
printh 92
prints "current_page",0
printh 00
prints "confirm",0
printh 00
printh FF FF FF
Variable (int32) page_id
Attributes
ID : 3
Scope: global
Value: 0
Variable (string) aux
Attributes
ID : 5
Scope : local
Text :
Max. Text Size: 255
Variable (string) page_name
Attributes
ID : 9
Scope : global
Text :
Max. Text Size: 12
Variable (string) component
Attributes
ID : 10
Scope : global
Text :
Max. Text Size: 10
Text t0
Attributes
ID : 1
Scope : local
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 10
Text title
Attributes
ID : 4
Scope : global
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text : Please confirm
Max. Text Size : 100
Text body
Attributes
ID : 8
Scope : global
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text : Please confirm
Max. Text Size : 255
Button bclose
Attributes
ID : 2
Scope : local
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text : î…˜
Max. Text Size : 10
Events
Touch Release Event
page page_id.val
Button bt_accept
Attributes
ID : 6
Scope : local
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text : î— 
Max. Text Size : 3
Events
Touch Release Event
aux.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+component.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints aux.txt,0
printh 00
printh FF FF FF
page page_id.val
Button bt_clear
Attributes
ID : 7
Scope : local
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text : î…™
Max. Text Size : 10
Events
Touch Release Event
page page_id.val