From 5298a0a03246fc516052db227c53110729d8135d Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Mon, 29 May 2023 18:12:58 +0200 Subject: [PATCH] Move target_temp set to TFT (#849) * Move target_temp set to TFT Use TFT to set target temp from slider and +/-. Using decimals for slider. * Update nspanel_esphome.yaml * Update nspanel_eu files * update nspanel_eu_code folder --- nspanel_blueprint.yaml | 228 +--- nspanel_esphome.yaml | 30 +- nspanel_eu.HMI | Bin 21307134 -> 21307134 bytes nspanel_eu.tft | Bin 6545900 -> 6546300 bytes nspanel_eu_code/Program.s.txt | 28 +- nspanel_eu_code/boot.txt | 423 ++---- nspanel_eu_code/buttonpage01.txt | 1882 +++++++++----------------- nspanel_eu_code/buttonpage02.txt | 1882 +++++++++----------------- nspanel_eu_code/buttonpage03.txt | 1882 +++++++++----------------- nspanel_eu_code/buttonpage04.txt | 1882 +++++++++----------------- nspanel_eu_code/climate.txt | 1477 ++++++++------------- nspanel_eu_code/climate_backup.txt | 689 ++++++++++ nspanel_eu_code/coversettings.txt | 728 ++++------ nspanel_eu_code/entitypage01.txt | 1152 +++++----------- nspanel_eu_code/entitypage02.txt | 1152 +++++----------- nspanel_eu_code/entitypage03.txt | 1152 +++++----------- nspanel_eu_code/entitypage04.txt | 1152 +++++----------- nspanel_eu_code/home.txt | 1988 ++++++++++------------------ nspanel_eu_code/lightsettings.txt | 1657 ++++++++++------------- nspanel_eu_code/notification.txt | 449 +++---- nspanel_eu_code/qrcode.txt | 293 ++-- nspanel_eu_code/screensaver.txt | 89 +- nspanel_eu_code/settings.txt | 646 ++++----- nspanel_eu_code/weather01.txt | 768 ++++------- nspanel_eu_code/weather02.txt | 768 ++++------- nspanel_eu_code/weather03.txt | 768 ++++------- nspanel_eu_code/weather04.txt | 768 ++++------- nspanel_eu_code/weather05.txt | 768 ++++------- 28 files changed, 8856 insertions(+), 15845 deletions(-) create mode 100644 nspanel_eu_code/climate_backup.txt diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index 470d894..15dfdc0 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -3569,6 +3569,8 @@ variables: notification_clear: 'esphome.{{ nspanel_name }}_notification_clear' play_rtttl: 'esphome.{{ nspanel_name }}_play_rtttl' set_settings_entity: 'esphome.{{ nspanel_name }}_set_settings_entity' + hide: 'esphome.{{ nspanel_name }}_send_command_hide' + show: 'esphome.{{ nspanel_name }}_send_command_show' show_all: 'esphome.{{ nspanel_name }}_send_command_show_all' tft_upload: 'esphome.{{ nspanel_name }}_upload_tft' set_button: 'esphome.{{ nspanel_name }}_set_button' @@ -6105,7 +6107,7 @@ action: | replace("%a", (dict.values(mui[language].weekdays_short) | list)[now().weekday()]) | replace("%B", (dict.values(mui[language].months) | list)[now().month-1]) | replace("%b", (dict.values(mui[language].months_short) | list)[now().month-1]) - ) + ) }} continue_on_error: true ##### NSPanel Time ##### @@ -7463,9 +7465,9 @@ action: state: '{{ states(climate_entity) }}' hvac_modes: '{{ state_attr(climate_entity, "hvac_modes") }}' current_temp: '{{ state_attr(climate_entity, "current_temperature") | float(default=-999) | round(1) }}' - target_temp: '{{ state_attr(climate_entity, "temperature") | float(default=-999) | round(1) }}' - min_temp: '{{state_attr(climate_entity, "min_temp") | round(0, default=5) | int }}' - max_temp: '{{state_attr(climate_entity, "max_temp") | round(0, default=25) | int }}' + target_temp: '{{ state_attr(climate_entity, "temperature") | float(default=-999) * 10 }}' + min_temp: '{{ (state_attr(climate_entity, "min_temp") | round(0, default=5) * 10) | int }}' + max_temp: '{{ (state_attr(climate_entity, "max_temp") | round(0, default=25) * 10) | int }}' continue_on_error: true ##### Buttons ##### @@ -7496,64 +7498,29 @@ action: component: 'climate.{{ repeat.item.component }}_icon' message: '{{ all_icons[repeat.item.icon] }}' continue_on_error: true - - ##- variables: - #outdoor_temp_state: '{{ states(outdoortemp) | default("unavailable") if outdoortemp is string else "unavailable" }}' - #outdoor_temp: '{{ outdoor_temp_state if is_number(outdoor_temp_state) else state_attr(weather_entity, "temperature") | default("unavailable") if weather_entity is string else "unavailable" }}' - #heating_state: '{{ mui[language].climate.states.off if hvac_mode == "off" else mui[language].climate.states.on }}' - - ## outdoor temp deprecatec in v3.3.1 - #- *delay-default - #- service: '{{ nextion.commands.text_printf }}' - # data: - # component: outdoor_temp - # message: > - # {{ - # (outdoor_temp | round(1) ~ temperature_units) - # if is_number(outdoor_temp) - # else - # ( - # mui[language].unavailable - # if outdoor_temp in ["unavailable", "unknown", "", None] - # else outdoor_temp - # ) - # }} - # continue_on_error: true - - ## heating state deprecated on v3.3.1 - #- service: '{{ nextion.commands.text_printf }}' - # data: - # component: heating_state - # message: '{{ heating_state }}' - # continue_on_error: true - - ## HVAC Button deprecated on v3.3.1 - #- variables: - # heating_bt_pic: '{{ nextion.pics.heating.button.off if hvac_mode == "off" else nextion.pics.heating.button.on }}' - #- *delay-default - #- service: '{{ nextion.commands.printf }}' - # data: - # cmd: heating_bt_pic.pic={{ heating_bt_pic }} - # continue_on_error: true - - ## hotwater deprecated on v3.3.1 - #- variables: - # hotwatercharge_state: '{{ states(hotwatercharge) | default("unavailable") if hotwatercharge is string else "unavailable" }}' - # hotwatertemp_state: '{{ states(hotwatertemp) | default("unavailable") if hotwatertemp is string else "unavailable" }}' - # hotw_bt_pic: '{{ nextion.pics.hvac.button[hotwatercharge_state] | default(nextion.pics.hvac.button.blank) if hotwatercharge_state not in ["unavailable", "unknown", "", None] else nextion.pics.hvac.button.blank }}' - #- *delay-default - #- service: '{{ nextion.commands.printf }}' - # data: - # cmd: hotw_bt_pic.pic={{ hotw_bt_pic }} - # continue_on_error: true - #- if: '{{ hotwatertemp_state not in ["unavailable", "unknown", "", None] }}' - # then: - # - *delay-default - # - service: '{{ nextion.commands.text_printf }}' - # data: - # component: climate.hotwater_temp - # message: '{{ (hotwatertemp_state | round(1) ~ temperature_units) if is_number(hotwatertemp_state) else hotwatertemp_state }}' - # continue_on_error: true + ### Show button ### + - *delay-default + - service: '{{ nextion.commands.show }}' + data: + component: '{{ repeat.item.component }}_icon' + continue_on_error: true + - *delay-default + - service: '{{ nextion.commands.show }}' + data: + component: '{{ repeat.item.component }}' + continue_on_error: true + else: + ### Hide button ### + - *delay-default + - service: '{{ nextion.commands.hide }}' + data: + component: '{{ repeat.item.component }}' + continue_on_error: true + - *delay-default + - service: '{{ nextion.commands.hide }}' + data: + component: '{{ repeat.item.component }}_icon' + continue_on_error: true ## ENTITY PAGES 01 - 04 ## - alias: Entity pages @@ -8148,33 +8115,6 @@ action: entity_id: '{{ settings_entity_dict.entity }}' continue_on_error: true - - alias: climate increasetemp decreasetemp - conditions: '{{ nspanel_event.component in ["decreasetemp", "increasetemp"] and nspanel_event.value == "release" }}' - sequence: - - *variables-settings_entity - - if: '{{ settings_entity_dict.entity is string and states(settings_entity_dict.entity) != "off" }}' - then: - - variables: - current_setpoint: '{{state_attr(settings_entity_dict.entity, "temperature") | default("unavailable") if settings_entity_dict.entity is string else "unavailable" }}' - - condition: '{{ is_number(current_setpoint) }}' - - variables: - delta: '{{ +0.5 if nspanel_event.component == "increasetemp" else -0.5 }}' - min_temp: '{{state_attr(settings_entity_dict.entity, "min_temp") | round(0, default=5) | int }}' - max_temp: '{{state_attr(settings_entity_dict.entity, "max_temp") | round(0, default=25) | int }}' - new_setpoint: '{{ current_setpoint + delta }}' - - variables: - new_setpoint: '{{ max(min_temp, min(max_temp, new_setpoint)) }}' - - condition: '{{ is_number(new_setpoint) }}' - - service: '{{ nextion.commands.set_climate_target_temp }}' - data: - target_temp: '{{ new_setpoint | round(1) }}' - continue_on_error: true - - service: climate.set_temperature - data: - entity_id: '{{ settings_entity_dict.entity }}' - temperature: '{{ new_setpoint | round(1) }}' - continue_on_error: true - - alias: climate climateslider conditions: - '{{ nspanel_event.page in [pages.climate, "climatesettings"] }}' @@ -8185,16 +8125,12 @@ action: then: - variables: new_setpoint: '{{ nspanel_event.value | int(-999) }}' - - if: '{{ is_number(new_setpoint) and new_setpoint > -999 }}' ## TODO - remove from here + - if: '{{ is_number(new_setpoint) and new_setpoint > -999 }}' then: - - service: '{{ nextion.commands.set_climate_target_temp }}' - data: - target_temp: '{{ new_setpoint }}' - continue_on_error: true - service: climate.set_temperature data: entity_id: '{{ settings_entity_dict.entity }}' - temperature: '{{ new_setpoint }}' + temperature: '{{ new_setpoint / 10 }}' continue_on_error: true - alias: climate button press @@ -8613,6 +8549,40 @@ action: }} sequence: *display_value + ##### Sync Climate ##### + - alias: Climate - Sync + conditions: + - condition: trigger + id: climate_state + - '{{ trigger.event.data.new_state.state not in ["unavailable", "unknown", "", None] }}' + - '{{ nspanel_event.page == pages.climate }}' + sequence: + - variables: + climate_entity: '{{ trigger.event.data.entity_id }}' + hvac_modes: > + {{ + trigger.event.data.new_state.attributes.hvac_modes + if trigger.event.data.new_state.attributes.hvac_modes is defined + else [] + }} + target_temperature: > + {{ + trigger.event.data.new_state.attributes.temperature * 10 + if + trigger.event.data.new_state.state != "off" + and trigger.event.data.new_state.attributes.temperature is defined + and is_number(trigger.event.data.new_state.attributes.temperature) + else -999 + }} + + - service: '{{ nextion.commands.set_climate_target_temp }}' + data: + target_temp: '{{ target_temperature }}' + continue_on_error: true + - repeat: + for_each: '{{ page_climate.buttons.hvac_mode }}' + sequence: *update_climate_button + ########## TRIGGER - HOME PAGE ########### ##### HOME PAGE - Values ##### @@ -8771,74 +8741,6 @@ action: - *delay-default - *refresh-page_home-weather_pic - ##### Sync Climate ##### -> muss noch in page changed climate wwenn climate page fertig - - alias: Climate - Sync - conditions: - - condition: trigger - id: climate_state - - '{{ trigger.event.data.new_state.state not in ["unavailable", "unknown", "", None] }}' - sequence: - - variables: - heating_state: > - {{ - mui[language].climate.states.off - if trigger.event.data.new_state.state == "off" - else mui[language].climate.states.on - }} - heating_bt_pic: > - {{ - nextion.pics.heating.button.off - if trigger.event.data.new_state.state == "off" - else nextion.pics.heating.button.on - }} - target_temperature: > - {{ - trigger.event.data.new_state.attributes.temperature | round(1) - if - trigger.event.data.new_state.attributes.temperature is defined and - is_number(trigger.event.data.new_state.attributes.temperature) - else - ( - ((trigger.event.data.new_state.attributes.target_temp_high + trigger.event.data.new_state.attributes.target_temp_low) / 2) | round(1) - if - trigger.event.data.new_state.attributes.target_temp_high is defined and - trigger.event.data.new_state.attributes.target_temp_low is defined and - is_number(trigger.event.data.new_state.attributes.target_temp_high) and - is_number(trigger.event.data.new_state.attributes.target_temp_low) - ) - }} - - - service: '{{ nextion.commands.text_printf }}' - data: - component: current_temp - message: '{{ trigger.event.data.new_state.attributes.current_temperature | round(1)}}{{ temperature_units }}' - continue_on_error: true - - service: '{{ nextion.commands.text_printf }}' - data: - component: heating_state - message: '{{heating_state}}' - continue_on_error: true - - service: '{{ nextion.commands.printf }}' - data: - cmd: heating_bt_pic.pic={{ heating_bt_pic }} - continue_on_error: true - - if: '{{ trigger.event.data.new_state.state != "off" and is_number(target_temperature) }}' - then: - - service: '{{ nextion.commands.set_climate_target_temp }}' - data: - target_temp: ' {{ target_temperature }}' - continue_on_error: true - else: - - service: '{{ nextion.commands.set_climate_target_temp }}' - data: - target_temp: '0' - continue_on_error: true - - service: '{{ nextion.commands.text_printf }}' - data: - component: target_temp - message: ' ' - continue_on_error: true - ##### Sync Hotwater Charge button-symbol ##### -> kann wenn climate page fertig - alias: Hotwater - Sync conditions: diff --git a/nspanel_esphome.yaml b/nspanel_esphome.yaml index 3698831..b1d5afc 100644 --- a/nspanel_esphome.yaml +++ b/nspanel_esphome.yaml @@ -320,8 +320,26 @@ api: binary_sensor.is_on: nextion_init - &set_climate_target_temp lambda: |- - id(disp1).set_component_value("climate.climateslider", target_temp); - id(disp1).set_component_text_printf("climate.target_temp", "%.1f", target_temp); + if (target_temp > -999) + { + id(disp1).set_component_value("climateslider", target_temp); + id(disp1).set_component_value("target_temp", target_temp); + id(disp1).show_component("target_icon"); + id(disp1).show_component("target_temp"); + id(disp1).show_component("t0"); + id(disp1).show_component("climateslider"); + id(disp1).show_component("decrease_temp"); + id(disp1).show_component("increase_temp"); + } + else + { + id(disp1).hide_component("target_icon"); + id(disp1).hide_component("target_temp"); + id(disp1).hide_component("t0"); + id(disp1).hide_component("climateslider"); + id(disp1).hide_component("decrease_temp"); + id(disp1).hide_component("increase_temp"); + } #### Service to set climate state #### - service: set_climate @@ -337,9 +355,11 @@ api: binary_sensor.is_on: nextion_init - *set_climate_target_temp - lambda: |- - id(disp1).send_command_printf("climate.climateslider.minval=%i", min_temp); - id(disp1).send_command_printf("climate.climateslider.maxval=%i", max_temp); - id(disp1).set_component_text_printf("climate.current_temp", "%.1f°", current_temp); + id(disp1).send_command_printf("climateslider.minval=%i", min_temp); + id(disp1).send_command_printf("climateslider.maxval=%i", max_temp); + id(disp1).set_component_text_printf("current_temp", "%.1f°", current_temp); + id(disp1).show_component("current_temp"); + id(disp1).show_component("current_icon"); #### Service to set the buttons #### - service: set_button diff --git a/nspanel_eu.HMI b/nspanel_eu.HMI index cb5ff5f19c4f01b7921a23122d396b84b793b9d8..601fcd20856d6e84e1e6897bfb5c0eefe938242b 100644 GIT binary patch delta 14052 zcmeHN33wD$wyx^#B%P&!0D%M&DxgUq3nT#nL4>aAEjyb83`%-U(g`613<^T0lS)Fu zL%{A(iULW%4M$v(nN~*-N7P{yK}TF>L~-0^+#N@sqYruisqUl;#A&uB?z!jQy60ARemLTf`2k>0?PA}ZwXktbRikzF)OAcSbPN=u`q(!vr8p& z+|uWw*$s>XoPE7)*M;pYjWyKkVEW|IMkZ$%lx-ZF z%rK1?DNA~;k+~x>Xi9%-RB>{}tSz|1K=N{@HdqH$;Pbm4Kl93FkdRkoj$8VCaY8rq z2{`*S91(ItVKXw29_PB5iE$`9R@VRAWmeUEb*KY!EpbZp`PtP2j9K;LO0LikFeR3t zlB)FRIL+|7uUxIW@;i3rvw#Xv0~#O#hz#t?k6L>2r|JDCp58SlTYK_5dNBVznExKk ze-Gxr2lL;9`R~b(s{B7up&u5V7iWuCigU!d;#J~2@oI6txIom4yeNnU(I}ckvuF_u z#6q!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>$>1vf6bb0546b}n9l_Nb4+8nJnDk5r*W70~Z=cKHn)^%!SDoiLZ=bsd zSDoiFxbA||{)G&#yU%5C&3J(^ypX{)rYSuU&-LQ{!#{4 z$yeCjehZ4(u7Ed+81hC2SHK$?Tw8z@c`Ji!%NrS7=C`=@cq@a; z{8k2+*E?L4-^t+edMATx6|hiM2G^>0GPqi*$fc?bu9m76T*gxx93=awbqT_zmPO#&|EC*a@`p5TI!AyTx0KuYq>g>*%Z5K+&L%LxC>S>qLmR zj`9ryiUv(4+m?XNzWo12!tc!SUC@uN9mQG;m=C>S z`dj!j6tphc7VdQ}2ejdp#@zhmEf@X@MM;z{C`0^d&IzpibNSPb6SyKz0Ja1r3+1gp zjW`L~1b_PBBxwHlD-}gi5>Wc&q;97`^Uq0>PTBUCm;j7Nx#B<8uER9?WNl$eTYtkc zxoinC|BjfcSVAWjm(a-<6<3S)qPxJ~l~5)NCaCK7Vw0vgofoSi)a5j89WH{>q~z=~ zIOi{xpqMkfGAXGOPfJo3Fh8!V>QmvRP-I8^tpJ~ncvq&;S=%UM=~6l|r<9KBcEhss z;aM!(O5^`*brv@kS)k;N)`>&Wlz9%f3%Af#)%x%=OQjHGXD)I-G(Eep$qcSw^4~)&f3~l}cx`zVWijrKG24Aoh(GNzQMy!@^ zNapX0*BJdS+8P=B%fTJx$aE3QbgttCIVBUXKkI&rvyj-Nf^A>S3uePacRy8_uf z_$x_GP+nD>eHEgCsNy9ae)Xy)eSOt7O}DfX`Co&pmQ~UTe>?~0+p~N}l`th3@04Cu zYAZ~@n`AmG-k<0q-=D~P-8R$M2!G0AGX(yaj6RQFN1u%<)1~XS+rIyTg5MVDR>-%% P-rcYb*4NLPlJEZjmwKrV diff --git a/nspanel_eu_code/Program.s.txt b/nspanel_eu_code/Program.s.txt index 81f0ee5..c76d01f 100644 --- a/nspanel_eu_code/Program.s.txt +++ b/nspanel_eu_code/Program.s.txt @@ -1,11 +1,17 @@ -Program.s - //The following code is only run once when power on, and is generally used for global variable definition and power on initialization data - int sys0=0,sys1=0,sys2=0,swipex=0,swipey=0,swipex2=0,swipey2=0,swipec=0,swipec2=0,swipedx=100,swipedy=100 //At present, the definition of global variable only supports 4-byte signed integer (int), and other types of global quantity declaration are not supported. If you want to use string type, you can use variable control in the page to implement - int r=0,g=0,b=0 - int h=0,s=0,v=0 - int p=0,q=0,t=0,f=0 - bauds=115200//Configure baudrat - recmod=0//Serial data parsing mode:0-Passive mode;1-Active mod - printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial pore - lcd_dev fffb 0002 0000 0020// Fix touch offset for EU Version - page 8//Power on start page boot +Program.s + //The following code is only run once when power on, and is generally used for global variable definition and power on initialization data + int sys0=0,sys1=0,sys2=0,swipex=0,swipey=0,swipex2=0,swipey2=0,swipec=0,swipec2=0,swipedx=100,swipedy=100 //At present, the definition of global variable only supports 4-byte signed integer (int), and other types of global quantity declaration are not supported. If you want to use string type, you can use variable control in the page to implement + int r=0,g=0,b=0 + int h=0,s=0,v=0 + int p=0,q=0,t=0,f=0 + bauds=115200//Configure baudrat + recmod=0//Serial data parsing mode:0-Passive mode;1-Active mod + printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial pore + lcd_dev fffb 0002 0000 0020// Fix touch offset for EU Version + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"\", \"component\": \"\", \"value\": \"\"}",0 + printh 00 + printh FF FF FF + page 8//Power on start page boot diff --git a/nspanel_eu_code/boot.txt b/nspanel_eu_code/boot.txt index 2d98bd2..aef489b 100644 --- a/nspanel_eu_code/boot.txt +++ b/nspanel_eu_code/boot.txt @@ -1,302 +1,121 @@ -Page boot - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : picture - Back. Picture ID : 98 - - Events - Preinitialize Event - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"boot\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - -Text ip_addr - Attributes - ID : 1 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 27 - y coordinate : 12 - Width : 172 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 98 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : Initializing... - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text t0 - Attributes - ID : 2 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 27 - y coordinate : 75 - Width : 250 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 4 - Cropped Back. Picture ID: 98 - Horizontal Alignment : left - Vertical Alignment : center - Input Type : character - Text : Please wait... - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text t1 - Attributes - ID : 3 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 27 - y coordinate : 109 - Width : 173 - Height : 36 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 1 - Cropped Back. Picture ID: 98 - Horizontal Alignment : left - Vertical Alignment : center - Input Type : character - Text : The process can take several seconds! - Max. Text Size : 50 - Word wrap : enabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text tft_label - Attributes - ID : 5 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 27 - y coordinate : 168 - Width : 40 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 2 - Cropped Back. Picture ID: 98 - Horizontal Alignment : left - Vertical Alignment : center - Input Type : character - Text : TFT: - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text esph_label - Attributes - ID : 6 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 27 - y coordinate : 193 - Width : 95 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 2 - Cropped Back. Picture ID: 98 - Horizontal Alignment : left - Vertical Alignment : center - Input Type : character - Text : ESPHome: - Max. Text Size : 8 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text bluep_label - Attributes - ID : 7 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 27 - y coordinate : 218 - Width : 92 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 2 - Cropped Back. Picture ID: 98 - Horizontal Alignment : left - Vertical Alignment : center - Input Type : character - Text : Blueprint: - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text tft_version - Attributes - ID : 8 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 72 - y coordinate : 168 - Width : 95 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 2 - Cropped Back. Picture ID: 98 - Horizontal Alignment : left - Vertical Alignment : center - Input Type : character - Text : 3.3 - Max. Text Size : 8 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text esph_version - Attributes - ID : 9 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 124 - y coordinate : 193 - Width : 95 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 2 - Cropped Back. Picture ID: 98 - Horizontal Alignment : left - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 8 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text bluep_version - Attributes - ID : 10 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 124 - y coordinate : 218 - Width : 95 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 2 - Cropped Back. Picture ID: 98 - Horizontal Alignment : left - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 8 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Dual-state Button a01 - Attributes - ID : 4 - Scope : local - Dragging : 0 - Send Component ID : on press and release - Opacity : 127 - x coordinate : 26 - y coordinate : 267 - Width : 80 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : 3D auto - Font ID : 0 - Back. Color (Unpressed) : 50712 - Back. Picture ID (Pressed): 65535 - Back. Color (Pressed) : 9375 - Font Color (Unpressed) : 0 - Font Color (Pressed) : 65535 - Horizontal Alignment : center - Vertical Alignment : center - State : unpressed - Text : Reboot - Max. Text Size : 6 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - +Page boot + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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 + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"boot\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + +Text ip_addr + Attributes + ID : 1 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : Initializing... + Max. Text Size : 15 + +Text t0 + Attributes + ID : 2 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : Please wait... + Max. Text Size : 15 + +Text t1 + Attributes + ID : 3 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : The process can take several seconds! + Max. Text Size : 50 + +Text tft_label + Attributes + ID : 5 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : TFT: + Max. Text Size : 4 + +Text esph_label + Attributes + ID : 6 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : ESPHome: + Max. Text Size : 8 + +Text bluep_label + Attributes + ID : 7 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : Blueprint: + Max. Text Size : 10 + +Text tft_version + Attributes + ID : 8 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : 3.3.1 + Max. Text Size : 8 + +Text esph_version + Attributes + ID : 9 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 8 + +Text bluep_version + Attributes + ID : 10 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 8 + +Dual-state Button a01 + Attributes + ID : 4 + Scope : local + Dragging : 0 + Send Component ID: on press and release + State : unpressed + Text : Reboot + Max. Text Size : 6 + diff --git a/nspanel_eu_code/buttonpage01.txt b/nspanel_eu_code/buttonpage01.txt index dc220d7..5a1fe58 100644 --- a/nspanel_eu_code/buttonpage01.txt +++ b/nspanel_eu_code/buttonpage01.txt @@ -1,1254 +1,628 @@ -Page buttonpage01 - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : picture - Back. Picture ID : 115 - - Events - Preinitialize Event - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"buttonpage01\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - vis 255,0 - vis button_back,1 - - Touch Press Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"buttonpage01\", \"component\": \"touchevent\", \"value\": \"press\"}",0 - printh 00 - printh FF FF FF - - Touch Release Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"buttonpage01\", \"component\": \"touchevent\", \"value\": \"release\"}",0 - printh 00 - printh FF FF FF - -Variable (string) lastclick - Attributes - ID : 45 - Scope : local - Text : - Max. Text Size: 100 - -Text button01text - Attributes - ID : 4 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 27 - y coordinate : 116 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button01bri - Attributes - ID : 5 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 58 - y coordinate : 55 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button02text - Attributes - ID : 7 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 134 - y coordinate : 116 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button02bri - Attributes - ID : 8 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 165 - y coordinate : 55 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button03text - Attributes - ID : 10 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 241 - y coordinate : 116 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button03bri - Attributes - ID : 11 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 272 - y coordinate : 55 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button04text - Attributes - ID : 13 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 348 - y coordinate : 116 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button04bri - Attributes - ID : 14 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 379 - y coordinate : 55 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button05text - Attributes - ID : 16 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 27 - y coordinate : 246 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button05bri - Attributes - ID : 17 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 58 - y coordinate : 186 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button06text - Attributes - ID : 19 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 134 - y coordinate : 246 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button06bri - Attributes - ID : 20 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 165 - y coordinate : 186 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button07text - Attributes - ID : 22 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 241 - y coordinate : 246 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button07bri - Attributes - ID : 23 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 272 - y coordinate : 186 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button08text - Attributes - ID : 25 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 348 - y coordinate : 246 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button08bri - Attributes - ID : 26 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 379 - y coordinate : 186 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text bpage01_label - Attributes - ID : 28 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 10 - y coordinate : 0 - Width : 300 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 3 - Back. Color : 0 - Font Color : 50712 - Horizontal Alignment: left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 30 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button01icon - Attributes - ID : 29 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 23 - y coordinate : 55 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button02icon - Attributes - ID : 30 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 130 - y coordinate : 55 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button03icon - Attributes - ID : 31 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 237 - y coordinate : 55 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button04icon - Attributes - ID : 32 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 344 - y coordinate : 55 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button05icon - Attributes - ID : 33 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 23 - y coordinate : 186 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button06icon - Attributes - ID : 34 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 130 - y coordinate : 186 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button07icon - Attributes - ID : 35 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 237 - y coordinate : 186 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button08icon - Attributes - ID : 36 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 344 - y coordinate : 186 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Picture button01pic - Attributes - ID : 3 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 17 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button02pic - Attributes - ID : 6 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 124 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button03pic - Attributes - ID : 9 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 231 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button04pic - Attributes - ID : 12 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 338 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button05pic - Attributes - ID : 15 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 17 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button06pic - Attributes - ID : 18 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 124 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button07pic - Attributes - ID : 21 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 231 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button08pic - Attributes - ID : 24 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 338 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Hotspot button_back - Attributes - ID : 27 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 387 - y coordinate : 0 - Width : 60 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - page home - -Hotspot button01 - Attributes - ID : 37 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 17 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button01\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button01\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button02 - Attributes - ID : 38 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 124 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button02\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button02\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button03 - Attributes - ID : 39 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 231 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button03\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button03\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button04 - Attributes - ID : 40 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 338 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button04\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button04\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button05 - Attributes - ID : 41 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 17 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button05\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button05\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button06 - Attributes - ID : 42 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 124 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button06\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button06\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button07 - Attributes - ID : 43 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 231 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button07\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button07\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button08 - Attributes - ID : 44 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 338 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button08\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button08\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Timer swipestore - Attributes - ID : 2 - Scope : local - Period (ms): 50 - Enabled : no - - Events - Timer Event - swipex=tch0 - swipey=tch1 - -TouchCap swipe - Attributes - ID : 1 - Scope: local - Value: 0 - - Events - Touch Press Event - swipestore.en=1 // Start swipestore timer - - Touch Release Event - swipestore.en=0 - // Touch has ended, x - if(tch0==0) - { - swipec=swipex-tch2 - // From Left to Right - if(swipec>swipedx) - { - page home - } - // Right to Left - swipec2=0-swipedx - if(swipec100) - { - //page - } - // Down to Up - swipec2=0-swipedy - if(swipec<-100) - { - //page - } - } - +Page buttonpage01 + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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 + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"buttonpage01\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + vis 255,0 + vis button_back,1 + + Touch Press Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"buttonpage01\", \"component\": \"touchevent\", \"value\": \"press\"}",0 + printh 00 + printh FF FF FF + + Touch Release Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"buttonpage01\", \"component\": \"touchevent\", \"value\": \"release\"}",0 + printh 00 + printh FF FF FF + +Variable (string) lastclick + Attributes + ID : 45 + Scope : local + Text : + Max. Text Size: 100 + +Text button01text + Attributes + ID : 4 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button01bri + Attributes + ID : 5 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button02text + Attributes + ID : 7 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button02bri + Attributes + ID : 8 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button03text + Attributes + ID : 10 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button03bri + Attributes + ID : 11 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button04text + Attributes + ID : 13 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button04bri + Attributes + ID : 14 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button05text + Attributes + ID : 16 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button05bri + Attributes + ID : 17 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button06text + Attributes + ID : 19 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button06bri + Attributes + ID : 20 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button07text + Attributes + ID : 22 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button07bri + Attributes + ID : 23 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button08text + Attributes + ID : 25 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button08bri + Attributes + ID : 26 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text bpage01_label + Attributes + ID : 28 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 30 + +Text button01icon + Attributes + ID : 29 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button02icon + Attributes + ID : 30 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button03icon + Attributes + ID : 31 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button04icon + Attributes + ID : 32 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button05icon + Attributes + ID : 33 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button06icon + Attributes + ID : 34 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button07icon + Attributes + ID : 35 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button08icon + Attributes + ID : 36 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Picture button01pic + Attributes + ID : 3 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button02pic + Attributes + ID : 6 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button03pic + Attributes + ID : 9 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button04pic + Attributes + ID : 12 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button05pic + Attributes + ID : 15 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button06pic + Attributes + ID : 18 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button07pic + Attributes + ID : 21 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button08pic + Attributes + ID : 24 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Hotspot button_back + Attributes + ID : 27 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + page home + +Hotspot button01 + Attributes + ID : 37 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button01\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button01\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button02 + Attributes + ID : 38 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button02\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button02\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button03 + Attributes + ID : 39 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button03\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button03\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button04 + Attributes + ID : 40 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button04\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button04\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button05 + Attributes + ID : 41 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button05\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button05\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button06 + Attributes + ID : 42 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button06\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button06\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button07 + Attributes + ID : 43 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button07\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button07\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button08 + Attributes + ID : 44 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button08\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button08\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Timer swipestore + Attributes + ID : 2 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + swipex=tch0 + swipey=tch1 + +TouchCap swipe + Attributes + ID : 1 + Scope: local + Value: 0 + + Events + Touch Press Event + swipestore.en=1 // Start swipestore timer + + Touch Release Event + swipestore.en=0 + // Touch has ended, x + if(tch0==0) + { + swipec=swipex-tch2 + // From Left to Right + if(swipec>swipedx) + { + page home + } + // Right to Left + swipec2=0-swipedx + if(swipec100) + { + //page + } + // Down to Up + swipec2=0-swipedy + if(swipec<-100) + { + //page + } + } + diff --git a/nspanel_eu_code/buttonpage02.txt b/nspanel_eu_code/buttonpage02.txt index d92a849..3d6af5d 100644 --- a/nspanel_eu_code/buttonpage02.txt +++ b/nspanel_eu_code/buttonpage02.txt @@ -1,1254 +1,628 @@ -Page buttonpage02 - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : picture - Back. Picture ID : 116 - - Events - Preinitialize Event - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"buttonpage02\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - vis 255,0 - vis button_back,1 - - Touch Press Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"buttonpage02\", \"component\": \"touchevent\", \"value\": \"press\"}",0 - printh 00 - printh FF FF FF - - Touch Release Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"buttonpage02\", \"component\": \"touchevent\", \"value\": \"release\"}",0 - printh 00 - printh FF FF FF - -Variable (string) lastclick - Attributes - ID : 45 - Scope : local - Text : - Max. Text Size: 100 - -Text button01text - Attributes - ID : 4 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 27 - y coordinate : 116 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button01bri - Attributes - ID : 5 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 58 - y coordinate : 55 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button02text - Attributes - ID : 7 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 134 - y coordinate : 116 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button02bri - Attributes - ID : 8 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 165 - y coordinate : 55 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button03text - Attributes - ID : 10 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 241 - y coordinate : 116 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button03bri - Attributes - ID : 11 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 272 - y coordinate : 55 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button04text - Attributes - ID : 13 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 348 - y coordinate : 116 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button04bri - Attributes - ID : 14 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 379 - y coordinate : 55 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button05text - Attributes - ID : 16 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 27 - y coordinate : 246 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button05bri - Attributes - ID : 17 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 58 - y coordinate : 186 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button06text - Attributes - ID : 19 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 134 - y coordinate : 246 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button06bri - Attributes - ID : 20 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 165 - y coordinate : 186 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button07text - Attributes - ID : 22 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 241 - y coordinate : 246 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button07bri - Attributes - ID : 23 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 272 - y coordinate : 186 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button08text - Attributes - ID : 25 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 348 - y coordinate : 246 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button08bri - Attributes - ID : 26 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 379 - y coordinate : 186 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text bpage02_label - Attributes - ID : 28 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 10 - y coordinate : 0 - Width : 300 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 3 - Back. Color : 0 - Font Color : 50712 - Horizontal Alignment: left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 30 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button01icon - Attributes - ID : 29 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 23 - y coordinate : 55 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button02icon - Attributes - ID : 30 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 130 - y coordinate : 55 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button03icon - Attributes - ID : 31 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 237 - y coordinate : 55 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button04icon - Attributes - ID : 32 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 344 - y coordinate : 55 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button05icon - Attributes - ID : 33 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 23 - y coordinate : 186 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button06icon - Attributes - ID : 34 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 130 - y coordinate : 186 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button07icon - Attributes - ID : 35 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 237 - y coordinate : 186 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button08icon - Attributes - ID : 36 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 344 - y coordinate : 186 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Picture button01pic - Attributes - ID : 3 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 17 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button02pic - Attributes - ID : 6 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 124 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button03pic - Attributes - ID : 9 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 231 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button04pic - Attributes - ID : 12 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 338 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button05pic - Attributes - ID : 15 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 17 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button06pic - Attributes - ID : 18 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 124 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button07pic - Attributes - ID : 21 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 231 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button08pic - Attributes - ID : 24 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 338 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Hotspot button_back - Attributes - ID : 27 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 387 - y coordinate : 0 - Width : 60 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - page home - -Hotspot button01 - Attributes - ID : 37 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 17 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button01\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button01\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button02 - Attributes - ID : 38 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 124 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button02\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button02\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button03 - Attributes - ID : 39 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 231 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button03\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button03\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button04 - Attributes - ID : 40 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 338 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button04\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button04\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button05 - Attributes - ID : 41 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 17 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button05\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button05\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button06 - Attributes - ID : 42 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 124 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button06\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button06\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button07 - Attributes - ID : 43 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 231 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button07\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button07\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button08 - Attributes - ID : 44 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 338 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button08\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button08\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Timer swipestore - Attributes - ID : 2 - Scope : local - Period (ms): 50 - Enabled : no - - Events - Timer Event - swipex=tch0 - swipey=tch1 - -TouchCap swipe - Attributes - ID : 1 - Scope: local - Value: 0 - - Events - Touch Press Event - swipestore.en=1 // Start swipestore timer - - Touch Release Event - swipestore.en=0 - // Touch has ended, x - if(tch0==0) - { - swipec=swipex-tch2 - // From Left to Right - if(swipec>swipedx) - { - page buttonpage01 - } - // Right to Left - swipec2=0-swipedx - if(swipec100) - { - //page - } - // Down to Up - swipec2=0-swipedy - if(swipec<-100) - { - page home - } - } - +Page buttonpage02 + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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 + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"buttonpage02\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + vis 255,0 + vis button_back,1 + + Touch Press Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"buttonpage02\", \"component\": \"touchevent\", \"value\": \"press\"}",0 + printh 00 + printh FF FF FF + + Touch Release Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"buttonpage02\", \"component\": \"touchevent\", \"value\": \"release\"}",0 + printh 00 + printh FF FF FF + +Variable (string) lastclick + Attributes + ID : 45 + Scope : local + Text : + Max. Text Size: 100 + +Text button01text + Attributes + ID : 4 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button01bri + Attributes + ID : 5 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button02text + Attributes + ID : 7 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button02bri + Attributes + ID : 8 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button03text + Attributes + ID : 10 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button03bri + Attributes + ID : 11 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button04text + Attributes + ID : 13 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button04bri + Attributes + ID : 14 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button05text + Attributes + ID : 16 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button05bri + Attributes + ID : 17 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button06text + Attributes + ID : 19 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button06bri + Attributes + ID : 20 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button07text + Attributes + ID : 22 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button07bri + Attributes + ID : 23 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button08text + Attributes + ID : 25 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button08bri + Attributes + ID : 26 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text bpage02_label + Attributes + ID : 28 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 30 + +Text button01icon + Attributes + ID : 29 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button02icon + Attributes + ID : 30 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button03icon + Attributes + ID : 31 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button04icon + Attributes + ID : 32 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button05icon + Attributes + ID : 33 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button06icon + Attributes + ID : 34 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button07icon + Attributes + ID : 35 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button08icon + Attributes + ID : 36 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Picture button01pic + Attributes + ID : 3 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button02pic + Attributes + ID : 6 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button03pic + Attributes + ID : 9 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button04pic + Attributes + ID : 12 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button05pic + Attributes + ID : 15 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button06pic + Attributes + ID : 18 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button07pic + Attributes + ID : 21 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button08pic + Attributes + ID : 24 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Hotspot button_back + Attributes + ID : 27 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + page home + +Hotspot button01 + Attributes + ID : 37 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button01\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button01\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button02 + Attributes + ID : 38 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button02\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button02\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button03 + Attributes + ID : 39 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button03\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button03\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button04 + Attributes + ID : 40 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button04\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button04\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button05 + Attributes + ID : 41 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button05\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button05\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button06 + Attributes + ID : 42 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button06\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button06\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button07 + Attributes + ID : 43 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button07\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button07\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button08 + Attributes + ID : 44 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button08\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button08\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Timer swipestore + Attributes + ID : 2 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + swipex=tch0 + swipey=tch1 + +TouchCap swipe + Attributes + ID : 1 + Scope: local + Value: 0 + + Events + Touch Press Event + swipestore.en=1 // Start swipestore timer + + Touch Release Event + swipestore.en=0 + // Touch has ended, x + if(tch0==0) + { + swipec=swipex-tch2 + // From Left to Right + if(swipec>swipedx) + { + page buttonpage01 + } + // Right to Left + swipec2=0-swipedx + if(swipec100) + { + //page + } + // Down to Up + swipec2=0-swipedy + if(swipec<-100) + { + page home + } + } + diff --git a/nspanel_eu_code/buttonpage03.txt b/nspanel_eu_code/buttonpage03.txt index e09c8f7..375f8f6 100644 --- a/nspanel_eu_code/buttonpage03.txt +++ b/nspanel_eu_code/buttonpage03.txt @@ -1,1254 +1,628 @@ -Page buttonpage03 - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : picture - Back. Picture ID : 117 - - Events - Preinitialize Event - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"buttonpage03\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - vis 255,0 - vis button_back,1 - - Touch Press Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"buttonpage03\", \"component\": \"touchevent\", \"value\": \"press\"}",0 - printh 00 - printh FF FF FF - - Touch Release Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"buttonpage03\", \"component\": \"touchevent\", \"value\": \"release\"}",0 - printh 00 - printh FF FF FF - -Variable (string) lastclick - Attributes - ID : 45 - Scope : local - Text : - Max. Text Size: 100 - -Text button01text - Attributes - ID : 4 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 27 - y coordinate : 116 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button01bri - Attributes - ID : 5 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 58 - y coordinate : 55 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button02text - Attributes - ID : 7 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 134 - y coordinate : 116 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button02bri - Attributes - ID : 8 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 165 - y coordinate : 55 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button03text - Attributes - ID : 10 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 241 - y coordinate : 116 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button03bri - Attributes - ID : 11 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 272 - y coordinate : 55 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button04text - Attributes - ID : 13 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 348 - y coordinate : 116 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button04bri - Attributes - ID : 14 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 379 - y coordinate : 55 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button05text - Attributes - ID : 16 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 27 - y coordinate : 246 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button05bri - Attributes - ID : 17 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 58 - y coordinate : 186 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button06text - Attributes - ID : 19 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 134 - y coordinate : 246 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button06bri - Attributes - ID : 20 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 165 - y coordinate : 186 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button07text - Attributes - ID : 22 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 241 - y coordinate : 246 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button07bri - Attributes - ID : 23 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 272 - y coordinate : 186 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button08text - Attributes - ID : 25 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 348 - y coordinate : 246 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button08bri - Attributes - ID : 26 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 379 - y coordinate : 186 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text bpage03_label - Attributes - ID : 28 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 10 - y coordinate : 0 - Width : 300 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 3 - Back. Color : 0 - Font Color : 50712 - Horizontal Alignment: left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 30 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button01icon - Attributes - ID : 29 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 23 - y coordinate : 55 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button02icon - Attributes - ID : 30 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 130 - y coordinate : 55 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button03icon - Attributes - ID : 31 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 237 - y coordinate : 55 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button04icon - Attributes - ID : 32 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 344 - y coordinate : 55 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button05icon - Attributes - ID : 33 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 23 - y coordinate : 186 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button06icon - Attributes - ID : 34 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 130 - y coordinate : 186 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button07icon - Attributes - ID : 35 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 237 - y coordinate : 186 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button08icon - Attributes - ID : 36 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 344 - y coordinate : 186 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Picture button01pic - Attributes - ID : 3 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 17 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button02pic - Attributes - ID : 6 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 124 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button03pic - Attributes - ID : 9 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 231 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button04pic - Attributes - ID : 12 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 338 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button05pic - Attributes - ID : 15 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 17 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button06pic - Attributes - ID : 18 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 124 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button07pic - Attributes - ID : 21 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 231 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button08pic - Attributes - ID : 24 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 338 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Hotspot button_back - Attributes - ID : 27 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 387 - y coordinate : 0 - Width : 60 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - page home - -Hotspot button01 - Attributes - ID : 37 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 17 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button01\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button01\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button02 - Attributes - ID : 38 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 124 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button02\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button02\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button03 - Attributes - ID : 39 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 231 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button03\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button03\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button04 - Attributes - ID : 40 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 338 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button04\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button04\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button05 - Attributes - ID : 41 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 17 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button05\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button05\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button06 - Attributes - ID : 42 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 124 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button06\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button06\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button07 - Attributes - ID : 43 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 231 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button07\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button07\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button08 - Attributes - ID : 44 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 338 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button08\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button08\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Timer swipestore - Attributes - ID : 2 - Scope : local - Period (ms): 50 - Enabled : no - - Events - Timer Event - swipex=tch0 - swipey=tch1 - -TouchCap swipe - Attributes - ID : 1 - Scope: local - Value: 0 - - Events - Touch Press Event - swipestore.en=1 // Start swipestore timer - - Touch Release Event - swipestore.en=0 - // Touch has ended, x - if(tch0==0) - { - swipec=swipex-tch2 - // From Left to Right - if(swipec>swipedx) - { - page buttonpage02 - } - // Right to Left - swipec2=0-swipedx - if(swipec100) - { - page home - } - // Down to Up - swipec2=0-swipedy - if(swipec<-100) - { - //page - } - } - +Page buttonpage03 + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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 + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"buttonpage03\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + vis 255,0 + vis button_back,1 + + Touch Press Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"buttonpage03\", \"component\": \"touchevent\", \"value\": \"press\"}",0 + printh 00 + printh FF FF FF + + Touch Release Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"buttonpage03\", \"component\": \"touchevent\", \"value\": \"release\"}",0 + printh 00 + printh FF FF FF + +Variable (string) lastclick + Attributes + ID : 45 + Scope : local + Text : + Max. Text Size: 100 + +Text button01text + Attributes + ID : 4 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button01bri + Attributes + ID : 5 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button02text + Attributes + ID : 7 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button02bri + Attributes + ID : 8 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button03text + Attributes + ID : 10 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button03bri + Attributes + ID : 11 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button04text + Attributes + ID : 13 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button04bri + Attributes + ID : 14 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button05text + Attributes + ID : 16 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button05bri + Attributes + ID : 17 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button06text + Attributes + ID : 19 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button06bri + Attributes + ID : 20 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button07text + Attributes + ID : 22 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button07bri + Attributes + ID : 23 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button08text + Attributes + ID : 25 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button08bri + Attributes + ID : 26 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text bpage03_label + Attributes + ID : 28 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 30 + +Text button01icon + Attributes + ID : 29 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button02icon + Attributes + ID : 30 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button03icon + Attributes + ID : 31 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button04icon + Attributes + ID : 32 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button05icon + Attributes + ID : 33 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button06icon + Attributes + ID : 34 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button07icon + Attributes + ID : 35 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button08icon + Attributes + ID : 36 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Picture button01pic + Attributes + ID : 3 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button02pic + Attributes + ID : 6 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button03pic + Attributes + ID : 9 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button04pic + Attributes + ID : 12 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button05pic + Attributes + ID : 15 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button06pic + Attributes + ID : 18 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button07pic + Attributes + ID : 21 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button08pic + Attributes + ID : 24 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Hotspot button_back + Attributes + ID : 27 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + page home + +Hotspot button01 + Attributes + ID : 37 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button01\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button01\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button02 + Attributes + ID : 38 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button02\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button02\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button03 + Attributes + ID : 39 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button03\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button03\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button04 + Attributes + ID : 40 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button04\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button04\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button05 + Attributes + ID : 41 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button05\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button05\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button06 + Attributes + ID : 42 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button06\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button06\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button07 + Attributes + ID : 43 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button07\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button07\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button08 + Attributes + ID : 44 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button08\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button08\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Timer swipestore + Attributes + ID : 2 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + swipex=tch0 + swipey=tch1 + +TouchCap swipe + Attributes + ID : 1 + Scope: local + Value: 0 + + Events + Touch Press Event + swipestore.en=1 // Start swipestore timer + + Touch Release Event + swipestore.en=0 + // Touch has ended, x + if(tch0==0) + { + swipec=swipex-tch2 + // From Left to Right + if(swipec>swipedx) + { + page buttonpage02 + } + // Right to Left + swipec2=0-swipedx + if(swipec100) + { + page home + } + // Down to Up + swipec2=0-swipedy + if(swipec<-100) + { + //page + } + } + diff --git a/nspanel_eu_code/buttonpage04.txt b/nspanel_eu_code/buttonpage04.txt index 170f4cb..c66ee0f 100644 --- a/nspanel_eu_code/buttonpage04.txt +++ b/nspanel_eu_code/buttonpage04.txt @@ -1,1254 +1,628 @@ -Page buttonpage04 - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : picture - Back. Picture ID : 118 - - Events - Preinitialize Event - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"buttonpage04\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - vis 255,0 - vis button_back,1 - - Touch Press Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"buttonpage04\", \"component\": \"touchevent\", \"value\": \"press\"}",0 - printh 00 - printh FF FF FF - - Touch Release Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"buttonpage04\", \"component\": \"touchevent\", \"value\": \"release\"}",0 - printh 00 - printh FF FF FF - -Variable (string) lastclick - Attributes - ID : 45 - Scope : local - Text : - Max. Text Size: 100 - -Text button01text - Attributes - ID : 4 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 27 - y coordinate : 116 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button01bri - Attributes - ID : 5 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 58 - y coordinate : 55 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button02text - Attributes - ID : 7 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 134 - y coordinate : 116 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button02bri - Attributes - ID : 8 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 165 - y coordinate : 55 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button03text - Attributes - ID : 10 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 241 - y coordinate : 116 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button03bri - Attributes - ID : 11 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 272 - y coordinate : 55 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button04text - Attributes - ID : 13 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 348 - y coordinate : 116 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button04bri - Attributes - ID : 14 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 379 - y coordinate : 55 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button05text - Attributes - ID : 16 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 27 - y coordinate : 246 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button05bri - Attributes - ID : 17 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 58 - y coordinate : 186 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button06text - Attributes - ID : 19 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 134 - y coordinate : 246 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button06bri - Attributes - ID : 20 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 165 - y coordinate : 186 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button07text - Attributes - ID : 22 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 241 - y coordinate : 246 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button07bri - Attributes - ID : 23 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 272 - y coordinate : 186 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button08text - Attributes - ID : 25 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 348 - y coordinate : 246 - Width : 80 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 0 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button08bri - Attributes - ID : 26 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 379 - y coordinate : 186 - Width : 50 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 4 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text bpage04_label - Attributes - ID : 28 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 10 - y coordinate : 0 - Width : 300 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 3 - Back. Color : 0 - Font Color : 50712 - Horizontal Alignment: left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 30 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button01icon - Attributes - ID : 29 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 23 - y coordinate : 55 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button02icon - Attributes - ID : 30 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 130 - y coordinate : 55 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button03icon - Attributes - ID : 31 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 237 - y coordinate : 55 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button04icon - Attributes - ID : 32 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 344 - y coordinate : 55 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button05icon - Attributes - ID : 33 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 23 - y coordinate : 186 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button06icon - Attributes - ID : 34 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 130 - y coordinate : 186 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button07icon - Attributes - ID : 35 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 237 - y coordinate : 186 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button08icon - Attributes - ID : 36 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 344 - y coordinate : 186 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Picture button01pic - Attributes - ID : 3 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 17 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button02pic - Attributes - ID : 6 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 124 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button03pic - Attributes - ID : 9 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 231 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button04pic - Attributes - ID : 12 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 338 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button05pic - Attributes - ID : 15 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 17 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button06pic - Attributes - ID : 18 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 124 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button07pic - Attributes - ID : 21 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 231 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Picture button08pic - Attributes - ID : 24 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 338 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Hotspot button_back - Attributes - ID : 27 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 387 - y coordinate : 0 - Width : 60 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - page home - -Hotspot button01 - Attributes - ID : 37 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 17 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button01\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button01\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button02 - Attributes - ID : 38 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 124 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button02\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button02\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button03 - Attributes - ID : 39 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 231 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button03\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button03\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button04 - Attributes - ID : 40 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 338 - y coordinate : 45 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button04\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button04\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button05 - Attributes - ID : 41 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 17 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button05\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button05\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button06 - Attributes - ID : 42 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 124 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button06\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button06\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button07 - Attributes - ID : 43 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 231 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button07\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button07\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button08 - Attributes - ID : 44 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 338 - y coordinate : 176 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button08\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button08\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Timer swipestore - Attributes - ID : 2 - Scope : local - Period (ms): 50 - Enabled : no - - Events - Timer Event - swipex=tch0 - swipey=tch1 - -TouchCap swipe - Attributes - ID : 1 - Scope: local - Value: 0 - - Events - Touch Press Event - swipestore.en=1 // Start swipestore timer - - Touch Release Event - swipestore.en=0 - // Touch has ended, x - if(tch0==0) - { - swipec=swipex-tch2 - // From Left to Right - if(swipec>swipedx) - { - page buttonpage03 - } - // Right to Left - swipec2=0-swipedx - if(swipec100) - { - //page - } - // Down to Up - swipec2=0-swipedy - if(swipec<-100) - { - //page - } - } - +Page buttonpage04 + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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 + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"buttonpage04\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + vis 255,0 + vis button_back,1 + + Touch Press Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"buttonpage04\", \"component\": \"touchevent\", \"value\": \"press\"}",0 + printh 00 + printh FF FF FF + + Touch Release Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"buttonpage04\", \"component\": \"touchevent\", \"value\": \"release\"}",0 + printh 00 + printh FF FF FF + +Variable (string) lastclick + Attributes + ID : 45 + Scope : local + Text : + Max. Text Size: 100 + +Text button01text + Attributes + ID : 4 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button01bri + Attributes + ID : 5 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button02text + Attributes + ID : 7 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button02bri + Attributes + ID : 8 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button03text + Attributes + ID : 10 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button03bri + Attributes + ID : 11 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button04text + Attributes + ID : 13 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button04bri + Attributes + ID : 14 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button05text + Attributes + ID : 16 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button05bri + Attributes + ID : 17 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button06text + Attributes + ID : 19 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button06bri + Attributes + ID : 20 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button07text + Attributes + ID : 22 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button07bri + Attributes + ID : 23 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text button08text + Attributes + ID : 25 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button08bri + Attributes + ID : 26 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 4 + +Text bpage04_label + Attributes + ID : 28 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 30 + +Text button01icon + Attributes + ID : 29 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button02icon + Attributes + ID : 30 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button03icon + Attributes + ID : 31 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button04icon + Attributes + ID : 32 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button05icon + Attributes + ID : 33 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button06icon + Attributes + ID : 34 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button07icon + Attributes + ID : 35 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button08icon + Attributes + ID : 36 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Picture button01pic + Attributes + ID : 3 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button02pic + Attributes + ID : 6 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button03pic + Attributes + ID : 9 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button04pic + Attributes + ID : 12 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button05pic + Attributes + ID : 15 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button06pic + Attributes + ID : 18 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button07pic + Attributes + ID : 21 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture button08pic + Attributes + ID : 24 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Hotspot button_back + Attributes + ID : 27 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + page home + +Hotspot button01 + Attributes + ID : 37 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button01\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button01\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button02 + Attributes + ID : 38 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button02\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button02\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button03 + Attributes + ID : 39 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button03\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button03\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button04 + Attributes + ID : 40 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button04\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button04\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button05 + Attributes + ID : 41 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button05\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button05\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button06 + Attributes + ID : 42 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button06\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button06\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button07 + Attributes + ID : 43 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button07\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button07\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button08 + Attributes + ID : 44 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button08\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button08\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Timer swipestore + Attributes + ID : 2 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + swipex=tch0 + swipey=tch1 + +TouchCap swipe + Attributes + ID : 1 + Scope: local + Value: 0 + + Events + Touch Press Event + swipestore.en=1 // Start swipestore timer + + Touch Release Event + swipestore.en=0 + // Touch has ended, x + if(tch0==0) + { + swipec=swipex-tch2 + // From Left to Right + if(swipec>swipedx) + { + page buttonpage03 + } + // Right to Left + swipec2=0-swipedx + if(swipec100) + { + //page + } + // Down to Up + swipec2=0-swipedy + if(swipec<-100) + { + //page + } + } + diff --git a/nspanel_eu_code/climate.txt b/nspanel_eu_code/climate.txt index ef5ac56..2c720bc 100644 --- a/nspanel_eu_code/climate.txt +++ b/nspanel_eu_code/climate.txt @@ -1,916 +1,561 @@ -Page climate - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : picture - Back. Picture ID : 96 - - Events - Preinitialize Event - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"climate\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - - Touch Press Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"climate\", \"component\": \"touchevent\", \"value\": \"press\"}",0 - printh 00 - printh FF FF FF - - Touch Release Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"climate\", \"component\": \"touchevent\", \"value\": \"release\"}",0 - printh 00 - printh FF FF FF - -Variable (int32) climateslider - Attributes - ID : 7 - Scope: local - Value: 0 - -Variable (int32) va0 - Attributes - ID : 21 - Scope: local - Value: 0 - -Variable (string) climatesetting - Attributes - ID : 24 - Scope : local - Text : - Max. Text Size: 100 - -Number sliderval - Attributes - ID : 22 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 460 - y coordinate : 280 - Width : 20 - Height : 40 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 1 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment : right - Vertical Alignment : center - Value : 0 - Significant digits shown: all - Format : decimal - Word wrap : enabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text current_temp - Attributes - ID : 8 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 171 - y coordinate : 87 - Width : 105 - Height : 55 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 5 - Cropped Back. Picture ID: 96 - Horizontal Alignment : right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 6 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text target_temp - Attributes - ID : 9 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 171 - y coordinate : 145 - Width : 105 - Height : 40 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 4 - Cropped Back. Picture ID: 96 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 6 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text outdoor_temp - Attributes - ID : 10 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 16 - y coordinate : 52 - Width : 60 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 96 - Horizontal Alignment : right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 6 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text hotwater_temp - Attributes - ID : 11 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 368 - y coordinate : 52 - Width : 60 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 96 - Horizontal Alignment : left - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 6 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text heating_state - Attributes - ID : 16 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 169 - y coordinate : 201 - Width : 115 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 3 - Back. Color : 0 - Font Color : 65535 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text climate_label - Attributes - ID : 23 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 10 - y coordinate : 0 - Width : 260 - Height : 22 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 50712 - Horizontal Alignment: left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 30 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Picture climate_left - Attributes - ID : 3 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 111 - y coordinate : 20 - Width : 58 - Height : 230 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 16 - - Events - Touch Press Event - slider.en=1 - - Touch Release Event - slider.en=0 - -Picture climate_middle - Attributes - ID : 4 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 169 - y coordinate : 20 - Width : 114 - Height : 65 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 17 - - Events - Touch Press Event - slider.en=1 - - Touch Release Event - slider.en=0 - -Picture climate_right - Attributes - ID : 5 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 283 - y coordinate : 20 - Width : 58 - Height : 230 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 18 - - Events - Touch Press Event - slider.en=1 - - Touch Release Event - slider.en=0 - -Picture climate_exit - Attributes - ID : 14 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 415 - y coordinate : 10 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 56 - -Picture hotw_bt_pic - Attributes - ID : 17 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 374 - y coordinate : 237 - Width : 50 - Height : 50 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 79 - -Picture heating_bt_pic - Attributes - ID : 19 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 211 - y coordinate : 239 - Width : 30 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 82 - -Hotspot decrease_temp - Attributes - ID : 12 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 133 - y coordinate : 252 - Width : 51 - Height : 40 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - climatesetting.txt="{\"page\": \"climate\", \"component\": \"decreasetemp\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - climatesetting.txt="{\"page\": \"climate\", \"component\": \"decreasetemp\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - -Hotspot increase_temp - Attributes - ID : 13 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 268 - y coordinate : 252 - Width : 50 - Height : 40 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - climatesetting.txt="{\"page\": \"climate\", \"component\": \"increasetemp\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - climatesetting.txt="{\"page\": \"climate\", \"component\": \"increasetemp\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - -Hotspot climate_back - Attributes - ID : 15 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 387 - y coordinate : 0 - Width : 60 - Height : 60 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - climatesetting.txt="{\"page\": \"climate\", \"component\": \"close\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - climatesetting.txt="{\"page\": \"climate\", \"component\": \"close\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - -Hotspot hotwater_bt - Attributes - ID : 18 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 369 - y coordinate : 232 - Width : 60 - Height : 60 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - climatesetting.txt="{\"page\": \"climate\", \"component\": \"hotwater\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - climatesetting.txt="{\"page\": \"climate\", \"component\": \"hotwater\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - -Hotspot heating_bt - Attributes - ID : 20 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 206 - y coordinate : 232 - Width : 40 - Height : 40 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - climatesetting.txt="{\"page\": \"climate\", \"component\": \"heating\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - climatesetting.txt="{\"page\": \"climate\", \"component\": \"heating\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - -Timer swipestore - Attributes - ID : 2 - Scope : local - Period (ms): 50 - Enabled : no - - Events - Timer Event - swipex=tch0 - swipey=tch1 - -Timer slider - Attributes - ID : 6 - Scope : local - Period (ms): 50 - Enabled : no - - Events - Timer Event - // Left hand images vertical - if(tch0>=111&&tch0<169) // Left Hand images L/R coords - { - if(tch1>221&&tch1<=235) // step 0 - { - // climatesetting.txt="climateslider0" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 0}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch1>206&&tch1<=221) // step 1 - { - // climatesetting.txt="climateslider1" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 1}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch1>192&&tch1<=206) // step 2 - { - // climatesetting.txt="climateslider2" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 2}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch1>177&&tch1<=192) // step 3 - { - // climatesetting.txt="climateslider3" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 3}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch1>162&&tch1<=177) // step 4 - { - // climatesetting.txt="climateslider4" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 4}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch1>148&&tch1<=162) // step 5 up - { - // climatesetting.txt="climateslider5" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 5}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch1>133&&tch1<=148) // step 6 up - { - // climatesetting.txt="climateslider6" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 6}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch1>119&&tch1<=133) // step 7 up - { - // climatesetting.txt="climateslider7" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 7}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch1>105&&tch1<=119) // step 8 up - { - // climatesetting.txt="climateslider8" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 8}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch1>90&&tch1<=105) // step 9 up - { - // climatesetting.txt="climateslider9" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 9}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch1>70&&tch1<=90) // step 10 up - { - // climatesetting.txt="climateslider10" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 10}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch1>60&&tch1<=70) // step 11 up - { - // climatesetting.txt="climateslider11" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 11}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - } - // middle images horizontal - }else if(tch1>=35&&tch1<=80) // middle image U/D coords - { - if(tch0>169&&tch0<=188) // step 12 across - { - // climatesetting.txt="climateslider12" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 12}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch0>188&&tch0<=207) // step 13 - { - // climatesetting.txt="climateslider13" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 13}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch0>207&&tch0<=226) // step 14 - { - // climatesetting.txt="climateslider14" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 14}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch0>226&&tch0<=245) // step 15 - { - // climatesetting.txt="climateslider15" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 15}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch0>245&&tch0<=264) // step 16 - { - // climatesetting.txt="climateslider16" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 16}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch0>264&&tch0<=283) // step 17 - { - // climatesetting.txt="climateslider17" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 17}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - } - // right hand images vertical - }else if(tch0>=283&&tch0<=341) // right image L/R coords - { - if(tch1>60&&tch1<=80) // step 18 across - { - // climatesetting.txt="climateslider18" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 18}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch1>80&&tch1<=94) // step 19 - { - // climatesetting.txt="climateslider19" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 19}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch1>94&&tch1<=109) // step 20 - { - // climatesetting.txt="climateslider20" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 20}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch1>109&&tch1<=123) // step 21 - { - // climatesetting.txt="climateslider21" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 21}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch1>123&&tch1<=138) // step 22 - { - // climatesetting.txt="climateslider22" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 22}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch1>138&&tch1<=152) // step 23 - { - // climatesetting.txt="climateslider23" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 23}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch1>152&&tch1<=167) // step 24 - { - // climatesetting.txt="climateslider24" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 24}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch1>167&&tch1<=181) // step 25 - { - // climatesetting.txt="climateslider25" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 25}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch1>181&&tch1<=197) // step 26 - { - // climatesetting.txt="climateslider26" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 26}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch1>197&&tch1<=215) // step 27 - { - // climatesetting.txt="climateslider27" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 27}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - }else if(tch1>215&&tch1<=235) // step 28 - { - // climatesetting.txt="climateslider28" - climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 28}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints climatesetting.txt,0 - printh 00 - printh FF FF FF - } - } - // pass climateslider.val - -TouchCap swipe - Attributes - ID : 1 - Scope: local - Value: 0 - - Events - Touch Press Event - swipestore.en=1 // Start swipestore timer - - Touch Release Event - swipestore.en=0 - // Touch has ended, x - if(tch0==0) - { - swipec=swipex-tch2 - // From Left to Right - if(swipec>swipedx) - { - //page - } - // Right to Left - swipec2=0-swipedx - if(swipec100) - { - //page - } - // Down to Up - swipec2=0-swipedy - if(swipec<-100) - { - //page - } - } - +Page climate + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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 + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"climate\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + vis target_icon,0 + vis target_temp,0 + vis current_temp,0 + vis current_icon,0 + vis climateslider,0 + + Touch Press Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"climate\", \"component\": \"touchevent\", \"value\": \"press\"}",0 + printh 00 + printh FF FF FF + + Touch Release Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"climate\", \"component\": \"touchevent\", \"value\": \"release\"}",0 + printh 00 + printh FF FF FF + +Variable (string) va1 + Attributes + ID : 27 + Scope : local + Text : + Max. Text Size: 10 + +Variable (string) climatesetting + Attributes + ID : 28 + Scope : local + Text : + Max. Text Size: 100 + +Variable (string) lastclick + Attributes + ID : 37 + Scope : local + Text : + Max. Text Size: 100 + +XFloat target_temp + Attributes + ID : 38 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Value : 0 + +Text current_temp + Attributes + ID : 3 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 6 + +Text climate_label + Attributes + ID : 8 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 30 + +Text current_icon + Attributes + ID : 10 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text target_icon + Attributes + ID : 11 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value01_icon + Attributes + ID : 12 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value01 + Attributes + ID : 13 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value02_icon + Attributes + ID : 14 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value02 + Attributes + ID : 15 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value03_icon + Attributes + ID : 16 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value03 + Attributes + ID : 17 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value04_icon + Attributes + ID : 18 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value04 + Attributes + ID : 19 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button01_icon + Attributes + ID : 20 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button02_icon + Attributes + ID : 21 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button03_icon + Attributes + ID : 22 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button04_icon + Attributes + ID : 23 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button05_icon + Attributes + ID : 24 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button06_icon + Attributes + ID : 25 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button07_icon + Attributes + ID : 26 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text t0 + Attributes + ID : 29 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : ° + Max. Text Size : 6 + +Picture climate_exit + Attributes + ID : 6 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Slider climateslider + Attributes + ID : 9 + Scope : local + Dragging : 0 + Send Component ID: disabled + Position : 180 + Upper range limit: 250 + Lower range limit: 50 + + Events + Touch Release Event + covx climateslider.val,va1.txt,0,0 + target_temp.val=climateslider.val + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climate_position\", \"value\": "+va1.txt+"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + +Hotspot decrease_temp + Attributes + ID : 4 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + climatesetting.txt="{\"page\": \"climate\", \"component\": \"decreasetemp\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + climateslider.val-=1 + covx climateslider.val,va1.txt,0,0 + target_temp.val=climateslider.val + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climate_position\", \"value\": "+va1.txt+"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + +Hotspot increase_temp + Attributes + ID : 5 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + climatesetting.txt="{\"page\": \"climate\", \"component\": \"increasetemp\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + climateslider.val+=1 + covx climateslider.val,va1.txt,0,0 + target_temp.val=climateslider.val + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climate_position\", \"value\": "+va1.txt+"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + +Hotspot climate_back + Attributes + ID : 7 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + climatesetting.txt="{\"page\": \"climate\", \"component\": \"close\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + climatesetting.txt="{\"page\": \"climate\", \"component\": \"close\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + +Hotspot button01 + Attributes + ID : 30 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Release Event + lastclick.txt="{\"page\": \"climate\", \"component\": \"button01\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button02 + Attributes + ID : 31 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Release Event + lastclick.txt="{\"page\": \"climate\", \"component\": \"button02\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button03 + Attributes + ID : 32 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Release Event + lastclick.txt="{\"page\": \"climate\", \"component\": \"button03\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button04 + Attributes + ID : 33 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Release Event + lastclick.txt="{\"page\": \"climate\", \"component\": \"button04\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button05 + Attributes + ID : 34 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Release Event + lastclick.txt="{\"page\": \"climate\", \"component\": \"button05\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button06 + Attributes + ID : 35 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Release Event + lastclick.txt="{\"page\": \"climate\", \"component\": \"button06\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button07 + Attributes + ID : 36 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Release Event + lastclick.txt="{\"page\": \"climate\", \"component\": \"button01\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Timer swipestore + Attributes + ID : 2 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + swipex=tch0 + swipey=tch1 + +TouchCap swipe + Attributes + ID : 1 + Scope: local + Value: 0 + + Events + Touch Press Event + swipestore.en=1 // Start swipestore timer + + Touch Release Event + swipestore.en=0 + // Touch has ended, x + if(tch0==0) + { + swipec=swipex-tch2 + // From Left to Right + if(swipec>swipedx) + { + //page + } + // Right to Left + swipec2=0-swipedx + if(swipec100) + { + //page + } + // Down to Up + swipec2=0-swipedy + if(swipec<-100) + { + //page + } + } + diff --git a/nspanel_eu_code/climate_backup.txt b/nspanel_eu_code/climate_backup.txt new file mode 100644 index 0000000..c08fed3 --- /dev/null +++ b/nspanel_eu_code/climate_backup.txt @@ -0,0 +1,689 @@ +Page climate_backup + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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 + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"climate\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + + Touch Press Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"climate\", \"component\": \"touchevent\", \"value\": \"press\"}",0 + printh 00 + printh FF FF FF + + Touch Release Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"climate\", \"component\": \"touchevent\", \"value\": \"release\"}",0 + printh 00 + printh FF FF FF + +Variable (int32) climateslider + Attributes + ID : 7 + Scope: local + Value: 0 + +Variable (int32) va0 + Attributes + ID : 21 + Scope: local + Value: 0 + +Variable (string) climatesetting + Attributes + ID : 24 + Scope : local + Text : + Max. Text Size: 100 + +Number sliderval + Attributes + ID : 22 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Value : 0 + +Text current_temp + Attributes + ID : 8 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 6 + +Text target_temp + Attributes + ID : 9 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 6 + +Text outdoor_temp + Attributes + ID : 10 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 6 + +Text hotwater_temp + Attributes + ID : 11 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 6 + +Text heating_state + Attributes + ID : 16 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text climate_label + Attributes + ID : 23 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 30 + +Picture climate_left + Attributes + ID : 3 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + slider.en=1 + + Touch Release Event + slider.en=0 + +Picture climate_middle + Attributes + ID : 4 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + slider.en=1 + + Touch Release Event + slider.en=0 + +Picture climate_right + Attributes + ID : 5 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + slider.en=1 + + Touch Release Event + slider.en=0 + +Picture climate_exit + Attributes + ID : 14 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture hotw_bt_pic + Attributes + ID : 17 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture heating_bt_pic + Attributes + ID : 19 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Hotspot decrease_temp + Attributes + ID : 12 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + climatesetting.txt="{\"page\": \"climate\", \"component\": \"decreasetemp\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + climatesetting.txt="{\"page\": \"climate\", \"component\": \"decreasetemp\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + +Hotspot increase_temp + Attributes + ID : 13 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + climatesetting.txt="{\"page\": \"climate\", \"component\": \"increasetemp\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + climatesetting.txt="{\"page\": \"climate\", \"component\": \"increasetemp\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + +Hotspot climate_back + Attributes + ID : 15 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + climatesetting.txt="{\"page\": \"climate\", \"component\": \"close\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + climatesetting.txt="{\"page\": \"climate\", \"component\": \"close\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + +Hotspot hotwater_bt + Attributes + ID : 18 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + climatesetting.txt="{\"page\": \"climate\", \"component\": \"hotwater\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + climatesetting.txt="{\"page\": \"climate\", \"component\": \"hotwater\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + +Hotspot heating_bt + Attributes + ID : 20 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + climatesetting.txt="{\"page\": \"climate\", \"component\": \"heating\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + climatesetting.txt="{\"page\": \"climate\", \"component\": \"heating\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + +Timer swipestore + Attributes + ID : 2 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + swipex=tch0 + swipey=tch1 + +Timer slider + Attributes + ID : 6 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + // Left hand images vertical + if(tch0>=111&&tch0<169) // Left Hand images L/R coords + { + if(tch1>221&&tch1<=235) // step 0 + { + // climatesetting.txt="climateslider0" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 0}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch1>206&&tch1<=221) // step 1 + { + // climatesetting.txt="climateslider1" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 1}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch1>192&&tch1<=206) // step 2 + { + // climatesetting.txt="climateslider2" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 2}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch1>177&&tch1<=192) // step 3 + { + // climatesetting.txt="climateslider3" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 3}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch1>162&&tch1<=177) // step 4 + { + // climatesetting.txt="climateslider4" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 4}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch1>148&&tch1<=162) // step 5 up + { + // climatesetting.txt="climateslider5" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 5}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch1>133&&tch1<=148) // step 6 up + { + // climatesetting.txt="climateslider6" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 6}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch1>119&&tch1<=133) // step 7 up + { + // climatesetting.txt="climateslider7" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 7}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch1>105&&tch1<=119) // step 8 up + { + // climatesetting.txt="climateslider8" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 8}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch1>90&&tch1<=105) // step 9 up + { + // climatesetting.txt="climateslider9" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 9}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch1>70&&tch1<=90) // step 10 up + { + // climatesetting.txt="climateslider10" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 10}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch1>60&&tch1<=70) // step 11 up + { + // climatesetting.txt="climateslider11" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 11}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + } + // middle images horizontal + }else if(tch1>=35&&tch1<=80) // middle image U/D coords + { + if(tch0>169&&tch0<=188) // step 12 across + { + // climatesetting.txt="climateslider12" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 12}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch0>188&&tch0<=207) // step 13 + { + // climatesetting.txt="climateslider13" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 13}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch0>207&&tch0<=226) // step 14 + { + // climatesetting.txt="climateslider14" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 14}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch0>226&&tch0<=245) // step 15 + { + // climatesetting.txt="climateslider15" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 15}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch0>245&&tch0<=264) // step 16 + { + // climatesetting.txt="climateslider16" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 16}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch0>264&&tch0<=283) // step 17 + { + // climatesetting.txt="climateslider17" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 17}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + } + // right hand images vertical + }else if(tch0>=283&&tch0<=341) // right image L/R coords + { + if(tch1>60&&tch1<=80) // step 18 across + { + // climatesetting.txt="climateslider18" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 18}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch1>80&&tch1<=94) // step 19 + { + // climatesetting.txt="climateslider19" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 19}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch1>94&&tch1<=109) // step 20 + { + // climatesetting.txt="climateslider20" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 20}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch1>109&&tch1<=123) // step 21 + { + // climatesetting.txt="climateslider21" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 21}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch1>123&&tch1<=138) // step 22 + { + // climatesetting.txt="climateslider22" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 22}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch1>138&&tch1<=152) // step 23 + { + // climatesetting.txt="climateslider23" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 23}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch1>152&&tch1<=167) // step 24 + { + // climatesetting.txt="climateslider24" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 24}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch1>167&&tch1<=181) // step 25 + { + // climatesetting.txt="climateslider25" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 25}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch1>181&&tch1<=197) // step 26 + { + // climatesetting.txt="climateslider26" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 26}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch1>197&&tch1<=215) // step 27 + { + // climatesetting.txt="climateslider27" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 27}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + }else if(tch1>215&&tch1<=235) // step 28 + { + // climatesetting.txt="climateslider28" + climatesetting.txt="{\"page\": \"climate\", \"component\": \"climateslider\", \"value\": 28}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints climatesetting.txt,0 + printh 00 + printh FF FF FF + } + } + // pass climateslider.val + +TouchCap swipe + Attributes + ID : 1 + Scope: local + Value: 0 + + Events + Touch Press Event + swipestore.en=1 // Start swipestore timer + + Touch Release Event + swipestore.en=0 + // Touch has ended, x + if(tch0==0) + { + swipec=swipex-tch2 + // From Left to Right + if(swipec>swipedx) + { + //page + } + // Right to Left + swipec2=0-swipedx + if(swipec100) + { + //page + } + // Down to Up + swipec2=0-swipedy + if(swipec<-100) + { + //page + } + } + diff --git a/nspanel_eu_code/coversettings.txt b/nspanel_eu_code/coversettings.txt index a2bac87..a21dc96 100644 --- a/nspanel_eu_code/coversettings.txt +++ b/nspanel_eu_code/coversettings.txt @@ -1,455 +1,273 @@ -Page coversettings - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : solid color - Back. Color : 0 - - Events - Preinitialize Event - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"coversettings\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - - Touch Press Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"coversettings\", \"component\": \"touchevent\", \"value\": \"press\"}",0 - printh 00 - printh FF FF FF - - Touch Release Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"coversettings\", \"component\": \"touchevent\", \"value\": \"release\"}",0 - printh 00 - printh FF FF FF - -Variable (string) va1 - Attributes - ID : 9 - Scope : local - Text : newtxt - Max. Text Size: 10 - -Variable (string) coversetting - Attributes - ID : 15 - Scope : local - Text : - Max. Text Size: 100 - -Text battery_value - Attributes - ID : 1 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 326 - y coordinate : 69 - Width : 60 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 65535 - Horizontal Alignment: left - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text cover_value - Attributes - ID : 2 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 183 - y coordinate : 43 - Width : 83 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 65535 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text cover_name - Attributes - ID : 3 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 48 - y coordinate : 8 - Width : 300 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 65535 - Horizontal Alignment: left - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 25 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text icon_state - Attributes - ID : 13 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 12 - y coordinate : 8 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 65535 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text battery_icon - Attributes - ID : 14 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 291 - y coordinate : 66 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 8 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Picture cover_exit - Attributes - ID : 11 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 415 - y coordinate : 10 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 56 - -Slider coverslider - Attributes - ID : 6 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 183 - y coordinate : 67 - Width : 83 - Height : 233 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Direction : vertical - Fill : image - Cursor width : auto - Cursor height : 255 - Back. Picture ID : 63 - Slided Back. Picture ID: 62 - Position : 0 - Upper range limit : 100 - Lower range limit : 0 - - Events - Touch Release Event - covx coverslider.val,va1.txt,0,0 - cover_value.txt=va1.txt+"%" - coversetting.txt="{\"page\": \"coversettings\", \"component\": \"cover_position\", \"value\": "+va1.txt+"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints coversetting.txt,0 - printh 00 - printh FF FF FF - -Button cover_open - Attributes - ID : 4 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 295 - y coordinate : 186 - Width : 50 - Height : 50 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : image - Font ID : 1 - Background Picture ID (Unpressed): 57 - Back. Picture ID (Pressed) : 58 - Horizontal Alignment : center - Vertical Alignment : center - State : unpressed - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - - Events - Touch Press Event - coversetting.txt="{\"page\": \"coversettings\", \"component\": \"open_cover\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints coversetting.txt,0 - printh 00 - printh FF FF FF - -Button cover_close - Attributes - ID : 5 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 295 - y coordinate : 250 - Width : 50 - Height : 50 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : image - Font ID : 1 - Background Picture ID (Unpressed): 59 - Back. Picture ID (Pressed) : 60 - Horizontal Alignment : center - Vertical Alignment : center - State : unpressed - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - - Events - Touch Press Event - coversetting.txt="{\"page\": \"coversettings\", \"component\": \"close_cover\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints coversetting.txt,0 - printh 00 - printh FF FF FF - -Button cover_stop - Attributes - ID : 10 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 104 - y coordinate : 250 - Width : 50 - Height : 50 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : image - Font ID : 1 - Background Picture ID (Unpressed): 65 - Back. Picture ID (Pressed) : 66 - Horizontal Alignment : center - Vertical Alignment : center - State : unpressed - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - - Events - Touch Press Event - coversetting.txt="{\"page\": \"coversettings\", \"component\": \"stop_cover\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints coversetting.txt,0 - printh 00 - printh FF FF FF - -Hotspot cover_back - Attributes - ID : 12 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 387 - y coordinate : 0 - Width : 60 - Height : 60 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - coversetting.txt="{\"page\": \"coversettings\", \"component\": \"close\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints coversetting.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - coversetting.txt="{\"page\": \"coversettings\", \"component\": \"close\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints coversetting.txt,0 - printh 00 - printh FF FF FF - -Timer swipestore - Attributes - ID : 8 - Scope : local - Period (ms): 50 - Enabled : no - - Events - Timer Event - swipex=tch0 - swipey=tch1 - -TouchCap swipe - Attributes - ID : 7 - Scope: local - Value: 0 - - Events - Touch Press Event - swipestore.en=1 // Start swipestore timer - - Touch Release Event - swipestore.en=0 - // Touch has ended, x - if(tch0==0) - { - swipec=swipex-tch2 - // From Left to Right - if(swipec>swipedx) - { - //page - } - // Right to Left - swipec2=0-swipedx - if(swipec100) - { - //page - } - // Down to Up - swipec2=0-swipedy - if(swipec<-100) - { - //page - } - } - +Page coversettings + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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 + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"coversettings\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + + Touch Press Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"coversettings\", \"component\": \"touchevent\", \"value\": \"press\"}",0 + printh 00 + printh FF FF FF + + Touch Release Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"coversettings\", \"component\": \"touchevent\", \"value\": \"release\"}",0 + printh 00 + printh FF FF FF + +Variable (string) va1 + Attributes + ID : 9 + Scope : local + Text : newtxt + Max. Text Size: 10 + +Variable (string) coversetting + Attributes + ID : 15 + Scope : local + Text : + Max. Text Size: 100 + +Text battery_value + Attributes + ID : 1 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text cover_value + Attributes + ID : 2 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text cover_name + Attributes + ID : 3 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 25 + +Text icon_state + Attributes + ID : 13 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text battery_icon + Attributes + ID : 14 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Picture cover_exit + Attributes + ID : 11 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Slider coverslider + Attributes + ID : 6 + Scope : local + Dragging : 0 + Send Component ID: disabled + Position : 0 + Upper range limit: 100 + Lower range limit: 0 + + Events + Touch Release Event + covx coverslider.val,va1.txt,0,0 + cover_value.txt=va1.txt+"%" + coversetting.txt="{\"page\": \"coversettings\", \"component\": \"cover_position\", \"value\": "+va1.txt+"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints coversetting.txt,0 + printh 00 + printh FF FF FF + +Button cover_open + Attributes + ID : 4 + Scope : local + Dragging : 0 + Send Component ID: disabled + State : unpressed + Text : + Max. Text Size : 10 + + Events + Touch Press Event + coversetting.txt="{\"page\": \"coversettings\", \"component\": \"open_cover\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints coversetting.txt,0 + printh 00 + printh FF FF FF + +Button cover_close + Attributes + ID : 5 + Scope : local + Dragging : 0 + Send Component ID: disabled + State : unpressed + Text : + Max. Text Size : 10 + + Events + Touch Press Event + coversetting.txt="{\"page\": \"coversettings\", \"component\": \"close_cover\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints coversetting.txt,0 + printh 00 + printh FF FF FF + +Button cover_stop + Attributes + ID : 10 + Scope : local + Dragging : 0 + Send Component ID: disabled + State : unpressed + Text : + Max. Text Size : 10 + + Events + Touch Press Event + coversetting.txt="{\"page\": \"coversettings\", \"component\": \"stop_cover\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints coversetting.txt,0 + printh 00 + printh FF FF FF + +Hotspot cover_back + Attributes + ID : 12 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + coversetting.txt="{\"page\": \"coversettings\", \"component\": \"close\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints coversetting.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + coversetting.txt="{\"page\": \"coversettings\", \"component\": \"close\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints coversetting.txt,0 + printh 00 + printh FF FF FF + +Timer swipestore + Attributes + ID : 8 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + swipex=tch0 + swipey=tch1 + +TouchCap swipe + Attributes + ID : 7 + Scope: local + Value: 0 + + Events + Touch Press Event + swipestore.en=1 // Start swipestore timer + + Touch Release Event + swipestore.en=0 + // Touch has ended, x + if(tch0==0) + { + swipec=swipex-tch2 + // From Left to Right + if(swipec>swipedx) + { + //page + } + // Right to Left + swipec2=0-swipedx + if(swipec100) + { + //page + } + // Down to Up + swipec2=0-swipedy + if(swipec<-100) + { + //page + } + } + diff --git a/nspanel_eu_code/entitypage01.txt b/nspanel_eu_code/entitypage01.txt index 51a2560..0dae56e 100644 --- a/nspanel_eu_code/entitypage01.txt +++ b/nspanel_eu_code/entitypage01.txt @@ -1,797 +1,355 @@ -Page entitypage01 - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : picture - Back. Picture ID : 105 - - Events - Preinitialize Event - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"entitypage01\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - - Touch Press Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"entitypage01\", \"component\": \"touchevent\", \"value\": \"press\"}",0 - printh 00 - printh FF FF FF - - Touch Release Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"entitypage01\", \"component\": \"touchevent\", \"value\": \"release\"}",0 - printh 00 - printh FF FF FF - -Text value01_label - Attributes - ID : 3 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 55 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05_label - Attributes - ID : 4 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 178 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04_label - Attributes - ID : 5 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 148 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02_label - Attributes - ID : 6 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 87 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03_label - Attributes - ID : 7 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 118 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text entity01_label - Attributes - ID : 9 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 10 - y coordinate : 0 - Width : 300 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 3 - Back. Color : 0 - Font Color : 50712 - Horizontal Alignment: left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 30 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value06_label - Attributes - ID : 10 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 208 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value07_label - Attributes - ID : 11 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 238 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value08_label - Attributes - ID : 12 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 268 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value01_pic - Attributes - ID : 13 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 53 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02_pic - Attributes - ID : 14 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 86 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03_pic - Attributes - ID : 15 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 116 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04_pic - Attributes - ID : 16 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 146 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05_pic - Attributes - ID : 17 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 176 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value06_pic - Attributes - ID : 18 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 206 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value07_pic - Attributes - ID : 19 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 236 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value08_pic - Attributes - ID : 20 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 266 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value01 - Attributes - ID : 21 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 55 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02 - Attributes - ID : 22 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 88 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03 - Attributes - ID : 23 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 118 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04 - Attributes - ID : 24 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 148 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05 - Attributes - ID : 25 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 178 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value06 - Attributes - ID : 26 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 208 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value07 - Attributes - ID : 27 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 238 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value08 - Attributes - ID : 28 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 267 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Hotspot entity01_back - Attributes - ID : 8 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 387 - y coordinate : 0 - Width : 60 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - page home - -Timer swipestore - Attributes - ID : 2 - Scope : local - Period (ms): 50 - Enabled : no - - Events - Timer Event - swipex=tch0 - swipey=tch1 - -TouchCap swipe - Attributes - ID : 1 - Scope: local - Value: 0 - - Events - Touch Press Event - swipestore.en=1 // Start swipestore timer - - Touch Release Event - swipestore.en=0 - // Touch has ended, x - if(tch0==0) - { - swipec=swipex-tch2 - // From Left to Right - if(swipec>swipedx) - { - page entitypage04 - } - // Right to Left - swipec2=0-swipedx - if(swipec100) - { - page entitypage03 - } - // Down to Up - swipec2=0-swipedy - if(swipec<-100) - { - page entitypage04 - } - } - +Page entitypage01 + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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 + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"entitypage01\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + + Touch Press Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"entitypage01\", \"component\": \"touchevent\", \"value\": \"press\"}",0 + printh 00 + printh FF FF FF + + Touch Release Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"entitypage01\", \"component\": \"touchevent\", \"value\": \"release\"}",0 + printh 00 + printh FF FF FF + +Text value01_label + Attributes + ID : 3 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value05_label + Attributes + ID : 4 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value04_label + Attributes + ID : 5 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value02_label + Attributes + ID : 6 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value03_label + Attributes + ID : 7 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text entity01_label + Attributes + ID : 9 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 30 + +Text value06_label + Attributes + ID : 10 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value07_label + Attributes + ID : 11 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value08_label + Attributes + ID : 12 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value01_pic + Attributes + ID : 13 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value02_pic + Attributes + ID : 14 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value03_pic + Attributes + ID : 15 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value04_pic + Attributes + ID : 16 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value05_pic + Attributes + ID : 17 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value06_pic + Attributes + ID : 18 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value07_pic + Attributes + ID : 19 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value08_pic + Attributes + ID : 20 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value01 + Attributes + ID : 21 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value02 + Attributes + ID : 22 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value03 + Attributes + ID : 23 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value04 + Attributes + ID : 24 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value05 + Attributes + ID : 25 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value06 + Attributes + ID : 26 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value07 + Attributes + ID : 27 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value08 + Attributes + ID : 28 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Hotspot entity01_back + Attributes + ID : 8 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + page home + +Timer swipestore + Attributes + ID : 2 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + swipex=tch0 + swipey=tch1 + +TouchCap swipe + Attributes + ID : 1 + Scope: local + Value: 0 + + Events + Touch Press Event + swipestore.en=1 // Start swipestore timer + + Touch Release Event + swipestore.en=0 + // Touch has ended, x + if(tch0==0) + { + swipec=swipex-tch2 + // From Left to Right + if(swipec>swipedx) + { + page entitypage04 + } + // Right to Left + swipec2=0-swipedx + if(swipec100) + { + page entitypage03 + } + // Down to Up + swipec2=0-swipedy + if(swipec<-100) + { + page entitypage04 + } + } + diff --git a/nspanel_eu_code/entitypage02.txt b/nspanel_eu_code/entitypage02.txt index b65b823..5c453cf 100644 --- a/nspanel_eu_code/entitypage02.txt +++ b/nspanel_eu_code/entitypage02.txt @@ -1,797 +1,355 @@ -Page entitypage02 - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : picture - Back. Picture ID : 106 - - Events - Preinitialize Event - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"entitypage02\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - - Touch Press Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"entitypage02\", \"component\": \"touchevent\", \"value\": \"press\"}",0 - printh 00 - printh FF FF FF - - Touch Release Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"entitypage02\", \"component\": \"touchevent\", \"value\": \"release\"}",0 - printh 00 - printh FF FF FF - -Text value01_label - Attributes - ID : 3 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 55 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05_label - Attributes - ID : 4 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 178 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04_label - Attributes - ID : 5 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 148 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02_label - Attributes - ID : 6 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 87 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03_label - Attributes - ID : 7 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 118 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text entity02_label - Attributes - ID : 9 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 10 - y coordinate : 0 - Width : 300 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 3 - Back. Color : 0 - Font Color : 50712 - Horizontal Alignment: left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 30 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value06_label - Attributes - ID : 10 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 208 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value07_label - Attributes - ID : 11 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 238 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value08_label - Attributes - ID : 12 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 268 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value01_pic - Attributes - ID : 13 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 53 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02_pic - Attributes - ID : 14 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 86 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03_pic - Attributes - ID : 15 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 116 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04_pic - Attributes - ID : 16 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 146 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05_pic - Attributes - ID : 17 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 176 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value06_pic - Attributes - ID : 18 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 206 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value07_pic - Attributes - ID : 19 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 236 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value08_pic - Attributes - ID : 20 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 266 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value01 - Attributes - ID : 21 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 55 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02 - Attributes - ID : 22 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 88 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03 - Attributes - ID : 23 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 118 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04 - Attributes - ID : 24 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 148 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05 - Attributes - ID : 25 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 178 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value06 - Attributes - ID : 26 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 208 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value07 - Attributes - ID : 27 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 238 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value08 - Attributes - ID : 28 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 267 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Hotspot entity02_back - Attributes - ID : 8 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 387 - y coordinate : 0 - Width : 60 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - page home - -Timer swipestore - Attributes - ID : 2 - Scope : local - Period (ms): 50 - Enabled : no - - Events - Timer Event - swipex=tch0 - swipey=tch1 - -TouchCap swipe - Attributes - ID : 1 - Scope: local - Value: 0 - - Events - Touch Press Event - swipestore.en=1 // Start swipestore timer - - Touch Release Event - swipestore.en=0 - // Touch has ended, x - if(tch0==0) - { - swipec=swipex-tch2 - // From Left to Right - if(swipec>swipedx) - { - page entitypage01 - } - // Right to Left - swipec2=0-swipedx - if(swipec100) - { - //page - } - // Down to Up - swipec2=0-swipedy - if(swipec<-100) - { - //page - } - } - +Page entitypage02 + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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 + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"entitypage02\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + + Touch Press Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"entitypage02\", \"component\": \"touchevent\", \"value\": \"press\"}",0 + printh 00 + printh FF FF FF + + Touch Release Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"entitypage02\", \"component\": \"touchevent\", \"value\": \"release\"}",0 + printh 00 + printh FF FF FF + +Text value01_label + Attributes + ID : 3 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value05_label + Attributes + ID : 4 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value04_label + Attributes + ID : 5 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value02_label + Attributes + ID : 6 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value03_label + Attributes + ID : 7 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text entity02_label + Attributes + ID : 9 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 30 + +Text value06_label + Attributes + ID : 10 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value07_label + Attributes + ID : 11 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value08_label + Attributes + ID : 12 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value01_pic + Attributes + ID : 13 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value02_pic + Attributes + ID : 14 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value03_pic + Attributes + ID : 15 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value04_pic + Attributes + ID : 16 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value05_pic + Attributes + ID : 17 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value06_pic + Attributes + ID : 18 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value07_pic + Attributes + ID : 19 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value08_pic + Attributes + ID : 20 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value01 + Attributes + ID : 21 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value02 + Attributes + ID : 22 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value03 + Attributes + ID : 23 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value04 + Attributes + ID : 24 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value05 + Attributes + ID : 25 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value06 + Attributes + ID : 26 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value07 + Attributes + ID : 27 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value08 + Attributes + ID : 28 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Hotspot entity02_back + Attributes + ID : 8 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + page home + +Timer swipestore + Attributes + ID : 2 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + swipex=tch0 + swipey=tch1 + +TouchCap swipe + Attributes + ID : 1 + Scope: local + Value: 0 + + Events + Touch Press Event + swipestore.en=1 // Start swipestore timer + + Touch Release Event + swipestore.en=0 + // Touch has ended, x + if(tch0==0) + { + swipec=swipex-tch2 + // From Left to Right + if(swipec>swipedx) + { + page entitypage01 + } + // Right to Left + swipec2=0-swipedx + if(swipec100) + { + //page + } + // Down to Up + swipec2=0-swipedy + if(swipec<-100) + { + //page + } + } + diff --git a/nspanel_eu_code/entitypage03.txt b/nspanel_eu_code/entitypage03.txt index dc6f191..6c0658d 100644 --- a/nspanel_eu_code/entitypage03.txt +++ b/nspanel_eu_code/entitypage03.txt @@ -1,797 +1,355 @@ -Page entitypage03 - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : picture - Back. Picture ID : 107 - - Events - Preinitialize Event - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"entitypage03\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - - Touch Press Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"entitypage03\", \"component\": \"touchevent\", \"value\": \"press\"}",0 - printh 00 - printh FF FF FF - - Touch Release Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"entitypage03\", \"component\": \"touchevent\", \"value\": \"release\"}",0 - printh 00 - printh FF FF FF - -Text value01_label - Attributes - ID : 3 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 55 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05_label - Attributes - ID : 4 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 178 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04_label - Attributes - ID : 5 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 148 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02_label - Attributes - ID : 6 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 87 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03_label - Attributes - ID : 7 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 118 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text entity03_label - Attributes - ID : 9 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 10 - y coordinate : 0 - Width : 300 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 3 - Back. Color : 0 - Font Color : 50712 - Horizontal Alignment: left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 30 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value06_label - Attributes - ID : 10 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 208 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value07_label - Attributes - ID : 11 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 238 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value08_label - Attributes - ID : 12 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 268 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value01_pic - Attributes - ID : 13 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 53 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02_pic - Attributes - ID : 14 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 86 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03_pic - Attributes - ID : 15 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 116 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04_pic - Attributes - ID : 16 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 146 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05_pic - Attributes - ID : 17 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 176 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value06_pic - Attributes - ID : 18 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 206 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value07_pic - Attributes - ID : 19 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 236 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value08_pic - Attributes - ID : 20 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 266 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value01 - Attributes - ID : 21 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 55 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02 - Attributes - ID : 22 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 88 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03 - Attributes - ID : 23 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 118 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04 - Attributes - ID : 24 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 148 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05 - Attributes - ID : 25 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 178 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value06 - Attributes - ID : 26 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 208 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value07 - Attributes - ID : 27 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 238 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value08 - Attributes - ID : 28 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 267 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Hotspot entity03_back - Attributes - ID : 8 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 387 - y coordinate : 0 - Width : 60 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - page home - -Timer swipestore - Attributes - ID : 2 - Scope : local - Period (ms): 50 - Enabled : no - - Events - Timer Event - swipex=tch0 - swipey=tch1 - -TouchCap swipe - Attributes - ID : 1 - Scope: local - Value: 0 - - Events - Touch Press Event - swipestore.en=1 // Start swipestore timer - - Touch Release Event - swipestore.en=0 - // Touch has ended, x - if(tch0==0) - { - swipec=swipex-tch2 - // From Left to Right - if(swipec>swipedx) - { - page entitypage02 - } - // Right to Left - swipec2=0-swipedx - if(swipec100) - { - //page - } - // Down to Up - swipec2=0-swipedy - if(swipec<-100) - { - page entitypage01 - } - } - +Page entitypage03 + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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 + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"entitypage03\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + + Touch Press Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"entitypage03\", \"component\": \"touchevent\", \"value\": \"press\"}",0 + printh 00 + printh FF FF FF + + Touch Release Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"entitypage03\", \"component\": \"touchevent\", \"value\": \"release\"}",0 + printh 00 + printh FF FF FF + +Text value01_label + Attributes + ID : 3 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value05_label + Attributes + ID : 4 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value04_label + Attributes + ID : 5 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value02_label + Attributes + ID : 6 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value03_label + Attributes + ID : 7 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text entity03_label + Attributes + ID : 9 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 30 + +Text value06_label + Attributes + ID : 10 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value07_label + Attributes + ID : 11 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value08_label + Attributes + ID : 12 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value01_pic + Attributes + ID : 13 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value02_pic + Attributes + ID : 14 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value03_pic + Attributes + ID : 15 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value04_pic + Attributes + ID : 16 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value05_pic + Attributes + ID : 17 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value06_pic + Attributes + ID : 18 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value07_pic + Attributes + ID : 19 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value08_pic + Attributes + ID : 20 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value01 + Attributes + ID : 21 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value02 + Attributes + ID : 22 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value03 + Attributes + ID : 23 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value04 + Attributes + ID : 24 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value05 + Attributes + ID : 25 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value06 + Attributes + ID : 26 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value07 + Attributes + ID : 27 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value08 + Attributes + ID : 28 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Hotspot entity03_back + Attributes + ID : 8 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + page home + +Timer swipestore + Attributes + ID : 2 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + swipex=tch0 + swipey=tch1 + +TouchCap swipe + Attributes + ID : 1 + Scope: local + Value: 0 + + Events + Touch Press Event + swipestore.en=1 // Start swipestore timer + + Touch Release Event + swipestore.en=0 + // Touch has ended, x + if(tch0==0) + { + swipec=swipex-tch2 + // From Left to Right + if(swipec>swipedx) + { + page entitypage02 + } + // Right to Left + swipec2=0-swipedx + if(swipec100) + { + //page + } + // Down to Up + swipec2=0-swipedy + if(swipec<-100) + { + page entitypage01 + } + } + diff --git a/nspanel_eu_code/entitypage04.txt b/nspanel_eu_code/entitypage04.txt index 012c549..76f4d0c 100644 --- a/nspanel_eu_code/entitypage04.txt +++ b/nspanel_eu_code/entitypage04.txt @@ -1,797 +1,355 @@ -Page entitypage04 - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : picture - Back. Picture ID : 108 - - Events - Preinitialize Event - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"entitypage04\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - - Touch Press Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"entitypage04\", \"component\": \"touchevent\", \"value\": \"press\"}",0 - printh 00 - printh FF FF FF - - Touch Release Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"entitypage04\", \"component\": \"touchevent\", \"value\": \"release\"}",0 - printh 00 - printh FF FF FF - -Text value01_label - Attributes - ID : 3 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 55 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05_label - Attributes - ID : 4 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 178 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04_label - Attributes - ID : 5 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 148 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02_label - Attributes - ID : 6 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 87 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03_label - Attributes - ID : 7 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 118 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text entity04_label - Attributes - ID : 9 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 10 - y coordinate : 0 - Width : 300 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 3 - Back. Color : 0 - Font Color : 50712 - Horizontal Alignment: left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 30 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value06_label - Attributes - ID : 10 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 208 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value07_label - Attributes - ID : 11 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 238 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value08_label - Attributes - ID : 12 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 268 - Width : 270 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value01_pic - Attributes - ID : 13 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 53 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02_pic - Attributes - ID : 14 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 86 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03_pic - Attributes - ID : 15 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 116 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04_pic - Attributes - ID : 16 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 146 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05_pic - Attributes - ID : 17 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 176 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value06_pic - Attributes - ID : 18 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 206 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value07_pic - Attributes - ID : 19 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 236 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value08_pic - Attributes - ID : 20 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 266 - Width : 28 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value01 - Attributes - ID : 21 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 55 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02 - Attributes - ID : 22 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 88 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03 - Attributes - ID : 23 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 118 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04 - Attributes - ID : 24 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 148 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05 - Attributes - ID : 25 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 178 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value06 - Attributes - ID : 26 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 208 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value07 - Attributes - ID : 27 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 238 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value08 - Attributes - ID : 28 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 330 - y coordinate : 267 - Width : 120 - Height : 28 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Hotspot entity04_back - Attributes - ID : 8 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 387 - y coordinate : 0 - Width : 60 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - page home - -Timer swipestore - Attributes - ID : 2 - Scope : local - Period (ms): 50 - Enabled : no - - Events - Timer Event - swipex=tch0 - swipey=tch1 - -TouchCap swipe - Attributes - ID : 1 - Scope: local - Value: 0 - - Events - Touch Press Event - swipestore.en=1 // Start swipestore timer - - Touch Release Event - swipestore.en=0 - // Touch has ended, x - if(tch0==0) - { - swipec=swipex-tch2 - // From Left to Right - if(swipec>swipedx) - { - page entitypage03 - } - // Right to Left - swipec2=0-swipedx - if(swipec100) - { - page entitypage01 - } - // Down to Up - swipec2=0-swipedy - if(swipec<-100) - { - //page - } - } - +Page entitypage04 + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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 + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"entitypage04\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + + Touch Press Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"entitypage04\", \"component\": \"touchevent\", \"value\": \"press\"}",0 + printh 00 + printh FF FF FF + + Touch Release Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"entitypage04\", \"component\": \"touchevent\", \"value\": \"release\"}",0 + printh 00 + printh FF FF FF + +Text value01_label + Attributes + ID : 3 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value05_label + Attributes + ID : 4 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value04_label + Attributes + ID : 5 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value02_label + Attributes + ID : 6 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value03_label + Attributes + ID : 7 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text entity04_label + Attributes + ID : 9 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 30 + +Text value06_label + Attributes + ID : 10 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value07_label + Attributes + ID : 11 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value08_label + Attributes + ID : 12 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text value01_pic + Attributes + ID : 13 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value02_pic + Attributes + ID : 14 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value03_pic + Attributes + ID : 15 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value04_pic + Attributes + ID : 16 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value05_pic + Attributes + ID : 17 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value06_pic + Attributes + ID : 18 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value07_pic + Attributes + ID : 19 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value08_pic + Attributes + ID : 20 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text value01 + Attributes + ID : 21 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value02 + Attributes + ID : 22 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value03 + Attributes + ID : 23 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value04 + Attributes + ID : 24 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value05 + Attributes + ID : 25 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value06 + Attributes + ID : 26 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value07 + Attributes + ID : 27 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value08 + Attributes + ID : 28 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Hotspot entity04_back + Attributes + ID : 8 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + page home + +Timer swipestore + Attributes + ID : 2 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + swipex=tch0 + swipey=tch1 + +TouchCap swipe + Attributes + ID : 1 + Scope: local + Value: 0 + + Events + Touch Press Event + swipestore.en=1 // Start swipestore timer + + Touch Release Event + swipestore.en=0 + // Touch has ended, x + if(tch0==0) + { + swipec=swipex-tch2 + // From Left to Right + if(swipec>swipedx) + { + page entitypage03 + } + // Right to Left + swipec2=0-swipedx + if(swipec100) + { + page entitypage01 + } + // Down to Up + swipec2=0-swipedy + if(swipec<-100) + { + //page + } + } + diff --git a/nspanel_eu_code/home.txt b/nspanel_eu_code/home.txt index ddbbc3d..d821007 100644 --- a/nspanel_eu_code/home.txt +++ b/nspanel_eu_code/home.txt @@ -1,1324 +1,664 @@ -Page home - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : picture - Back. Picture ID : 103 - - Events - Preinitialize Event - dim=brightness.val - dimtimer.en=1 - sleeptimer.en=1 - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"home\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - vis 255,0 - vis settings_click,1 - -Variable (int32) brightness - Attributes - ID : 2 - Scope: global - Value: 100 - -Variable (int32) brightdd - Attributes - ID : 3 - Scope: global - Value: 40 - -Variable (int32) disdim - Attributes - ID : 4 - Scope: global - Value: 0 - -Variable (int32) sleepmodus - Attributes - ID : 16 - Scope: global - Value: 0 - -Variable (string) lastclick - Attributes - ID : 54 - Scope : local - Text : - Max. Text Size: 100 - -Text time - Attributes - ID : 7 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 251 - y coordinate : 45 - Width : 160 - Height : 62 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 6 - Cropped Back. Picture ID: 103 - Horizontal Alignment : right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text current_temp - Attributes - ID : 8 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 59 - y coordinate : 178 - Width : 100 - Height : 40 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 4 - Cropped Back. Picture ID: 103 - Horizontal Alignment : left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 8 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text outdoor_temp - Attributes - ID : 9 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 133 - y coordinate : 124 - Width : 87 - Height : 37 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 4 - Cropped Back. Picture ID: 103 - Horizontal Alignment : left - Vertical Alignment : top - Input Type : character - Text : -28.7° - Max. Text Size : 8 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text date - Attributes - ID : 10 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 221 - y coordinate : 110 - Width : 230 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 25 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value01_state - Attributes - ID : 12 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 56 - y coordinate : 222 - Width : 120 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 103 - Horizontal Alignment : left - Vertical Alignment : top - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text left_bt_text - Attributes - ID : 17 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 47 - y coordinate : 283 - Width : 120 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 1 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text right_bt_text - Attributes - ID : 18 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 288 - y coordinate : 281 - Width : 120 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 1 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text icon_top_01 - Attributes - ID : 21 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 13 - y coordinate : 5 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text icon_top_02 - Attributes - ID : 22 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 42 - y coordinate : 5 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text icon_top_03 - Attributes - ID : 23 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 71 - y coordinate : 5 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text icon_top_04 - Attributes - ID : 24 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 100 - y coordinate : 5 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text icon_top_05 - Attributes - ID : 25 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 129 - y coordinate : 5 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text icon_top_06 - Attributes - ID : 26 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 158 - y coordinate : 5 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text icon_top_07 - Attributes - ID : 27 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 187 - y coordinate : 5 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text icon_top_08 - Attributes - ID : 28 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 216 - y coordinate : 5 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text icon_top_09 - Attributes - ID : 29 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 245 - y coordinate : 5 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text icon_top_10 - Attributes - ID : 30 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 274 - y coordinate : 5 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value01_icon - Attributes - ID : 31 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 29 - y coordinate : 220 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03_state - Attributes - ID : 32 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 314 - y coordinate : 5 - Width : 100 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 103 - Horizontal Alignment : right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03_icon - Attributes - ID : 33 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 416 - y coordinate : 5 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 8 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02_icon - Attributes - ID : 34 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 29 - y coordinate : 245 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02_state - Attributes - ID : 35 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 56 - y coordinate : 247 - Width : 120 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 103 - Horizontal Alignment : left - Vertical Alignment : top - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text wifi_icon - Attributes - ID : 36 - Scope : global - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 424 - y coordinate : 53 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text indoortempicon - Attributes - ID : 37 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 24 - y coordinate : 184 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 8 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button01_icon - Attributes - ID : 38 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 292 - y coordinate : 176 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 8 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button02_icon - Attributes - ID : 39 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 339 - y coordinate : 176 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 8 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button03_icon - Attributes - ID : 40 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 386 - y coordinate : 176 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 8 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button04_icon - Attributes - ID : 41 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 245 - y coordinate : 224 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 8 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button05_icon - Attributes - ID : 42 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 292 - y coordinate : 224 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 8 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button06_icon - Attributes - ID : 43 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 339 - y coordinate : 224 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 8 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text button07_icon - Attributes - ID : 44 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 386 - y coordinate : 224 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 8 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text meridiem - Attributes - ID : 53 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 414 - y coordinate : 87 - Width : 35 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 2 - Cropped Back. Picture ID: 103 - Horizontal Alignment : center - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Picture weather - Attributes - ID : 11 - Scope : global - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 34 - y coordinate : 66 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 13 - -Picture left_bt_pic - Attributes - ID : 19 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 47 - y coordinate : 307 - Width : 120 - Height : 3 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 77 - -Picture right_bt_pic - Attributes - ID : 20 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 288 - y coordinate : 307 - Width : 120 - Height : 3 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 77 - -Hotspot fc_weather - Attributes - ID : 13 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 34 - y coordinate : 66 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"home\", \"component\": \"weather\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"home\", \"component\": \"weather\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot jump_climate - Attributes - ID : 14 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 31 - y coordinate : 169 - Width : 108 - Height : 51 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lastclick.txt="{\"page\": \"home\", \"component\": \"climate\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lastclick.txt="{\"page\": \"home\", \"component\": \"climate\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button01 - Attributes - ID : 45 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 292 - y coordinate : 176 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Release Event - lastclick.txt="{\"page\": \"home\", \"component\": \"button01\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button02 - Attributes - ID : 46 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 339 - y coordinate : 176 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Release Event - lastclick.txt="{\"page\": \"home\", \"component\": \"button02\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button03 - Attributes - ID : 47 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 386 - y coordinate : 176 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Release Event - lastclick.txt="{\"page\": \"home\", \"component\": \"button03\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button04 - Attributes - ID : 48 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 245 - y coordinate : 224 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Release Event - lastclick.txt="{\"page\": \"home\", \"component\": \"button04\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button05 - Attributes - ID : 49 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 292 - y coordinate : 224 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Release Event - lastclick.txt="{\"page\": \"home\", \"component\": \"button05\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button06 - Attributes - ID : 50 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 339 - y coordinate : 224 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Release Event - lastclick.txt="{\"page\": \"home\", \"component\": \"button06\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot button07 - Attributes - ID : 51 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 386 - y coordinate : 224 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Release Event - lastclick.txt="{\"page\": \"home\", \"component\": \"button07\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot settings_click - Attributes - ID : 52 - Scope : local - Dragging : 0 - Send Component ID: on press and release - Opacity : 127 - x coordinate : 247 - y coordinate : 37 - Width : 167 - Height : 86 - Effect : load - Effect Priority : 0 - Effect Time : 300 - -Timer dimtimer - Attributes - ID : 1 - Scope : global - Period (ms): 50000 - Enabled : yes - - Events - Timer Event - if(disdim.val==0) - { - dim=brightdd.val // Dim down screen to val set from HA - } - -Timer swipestore - Attributes - ID : 6 - Scope : local - Period (ms): 50 - Enabled : no - - Events - Timer Event - swipex=tch0 - swipey=tch1 - -Timer sleeptimer - Attributes - ID : 15 - Scope : local - Period (ms): 65000 - Enabled : no - - Events - Timer Event - if(sleepmodus.val==1) - { - screensaver.orign.val=0 - // Go to screensaver page - page screensaver - } - -TouchCap swipe - Attributes - ID : 5 - Scope: local - Value: 0 - - Events - Touch Press Event - swipestore.en=1 // Start swipestore timer - dim=brightness.val // Set brightness to saved value (from HA) - dimtimer.en=1 // Enable timer to calc down for dimming screen - sleeptimer.en=1 - - Touch Release Event - swipestore.en=0 - // Touch has ended, x - if(tch0==0) - { - swipec=swipex-tch2 - // From Left to Right - if(swipec>swipedx) - { - page buttonpage04 - } - // Right to Left - swipec2=0-swipedx - if(swipec100) - { - page buttonpage02 - } - // Down to Up - swipec2=0-swipedy - if(swipec<-100) - { - page buttonpage03 - } - } - +Page home + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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.val + dimtimer.en=1 + sleeptimer.en=1 + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"home\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + +Variable (int32) brightness + Attributes + ID : 2 + Scope: global + Value: 100 + +Variable (int32) brightdd + Attributes + ID : 3 + Scope: global + Value: 40 + +Variable (int32) disdim + Attributes + ID : 4 + Scope: global + Value: 0 + +Variable (int32) sleepmodus + Attributes + ID : 16 + Scope: global + Value: 0 + +Variable (string) lastclick + Attributes + ID : 54 + Scope : local + Text : + Max. Text Size: 100 + +Text time + Attributes + ID : 7 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text current_temp + Attributes + ID : 8 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 8 + +Text outdoor_temp + Attributes + ID : 9 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 8 + +Text date + Attributes + ID : 10 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 25 + +Text value01_state + Attributes + ID : 12 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text left_bt_text + Attributes + ID : 17 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text right_bt_text + Attributes + ID : 18 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text icon_top_01 + Attributes + ID : 21 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text icon_top_02 + Attributes + ID : 22 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text icon_top_03 + Attributes + ID : 23 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text icon_top_04 + Attributes + ID : 24 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text icon_top_05 + Attributes + ID : 25 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text icon_top_06 + Attributes + ID : 26 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text icon_top_07 + Attributes + ID : 27 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text icon_top_08 + Attributes + ID : 28 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text icon_top_09 + Attributes + ID : 29 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text icon_top_10 + Attributes + ID : 30 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value01_icon + Attributes + ID : 31 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value03_state + Attributes + ID : 32 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value03_icon + Attributes + ID : 33 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value02_icon + Attributes + ID : 34 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value02_state + Attributes + ID : 35 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text wifi_icon + Attributes + ID : 36 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 5 + +Text indoortempicon + Attributes + ID : 37 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button01_icon + Attributes + ID : 38 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button02_icon + Attributes + ID : 39 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button03_icon + Attributes + ID : 40 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button04_icon + Attributes + ID : 41 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button05_icon + Attributes + ID : 42 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button06_icon + Attributes + ID : 43 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text button07_icon + Attributes + ID : 44 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text meridiem + Attributes + ID : 53 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Picture weather + Attributes + ID : 11 + Scope : global + Dragging : 0 + Send Component ID: disabled + +Picture left_bt_pic + Attributes + ID : 19 + Scope : global + Dragging : 0 + Send Component ID: disabled + +Picture right_bt_pic + Attributes + ID : 20 + Scope : global + Dragging : 0 + Send Component ID: disabled + +Hotspot fc_weather + Attributes + ID : 13 + Scope : global + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"home\", \"component\": \"weather\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"home\", \"component\": \"weather\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot jump_climate + Attributes + ID : 14 + Scope : local + Dragging : 0 + Send Component ID: on press and release + + Events + Touch Press Event + lastclick.txt="{\"page\": \"home\", \"component\": \"climate\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lastclick.txt="{\"page\": \"home\", \"component\": \"climate\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button01 + Attributes + ID : 45 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Release Event + lastclick.txt="{\"page\": \"home\", \"component\": \"button01\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button02 + Attributes + ID : 46 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Release Event + lastclick.txt="{\"page\": \"home\", \"component\": \"button02\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button03 + Attributes + ID : 47 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Release Event + lastclick.txt="{\"page\": \"home\", \"component\": \"button03\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button04 + Attributes + ID : 48 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Release Event + lastclick.txt="{\"page\": \"home\", \"component\": \"button04\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button05 + Attributes + ID : 49 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Release Event + lastclick.txt="{\"page\": \"home\", \"component\": \"button05\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button06 + Attributes + ID : 50 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Release Event + lastclick.txt="{\"page\": \"home\", \"component\": \"button06\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot button07 + Attributes + ID : 51 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Release Event + lastclick.txt="{\"page\": \"home\", \"component\": \"button07\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot settings_click + Attributes + ID : 52 + Scope : local + Dragging : 0 + Send Component ID: on press and release + +Timer dimtimer + Attributes + ID : 1 + Scope : global + Period (ms): 50000 + Enabled : yes + + Events + Timer Event + if(disdim.val==0) + { + dim=brightdd.val // Dim down screen to val set from HA + } + +Timer swipestore + Attributes + ID : 6 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + swipex=tch0 + swipey=tch1 + +Timer sleeptimer + Attributes + ID : 15 + Scope : local + Period (ms): 65000 + Enabled : no + + Events + Timer Event + if(sleepmodus.val==1) + { + screensaver.orign.val=0 + // Go to screensaver page + page screensaver + } + +TouchCap swipe + Attributes + ID : 5 + Scope: local + Value: 0 + + Events + Touch Press Event + swipestore.en=1 // Start swipestore timer + dim=brightness.val // Set brightness to saved value (from HA) + dimtimer.en=1 // Enable timer to calc down for dimming screen + sleeptimer.en=1 + + Touch Release Event + swipestore.en=0 + // Touch has ended, x + if(tch0==0) + { + swipec=swipex-tch2 + // From Left to Right + if(swipec>swipedx) + { + page buttonpage04 + } + // Right to Left + swipec2=0-swipedx + if(swipec100) + { + page buttonpage02 + } + // Down to Up + swipec2=0-swipedy + if(swipec<-100) + { + page buttonpage03 + } + } + diff --git a/nspanel_eu_code/lightsettings.txt b/nspanel_eu_code/lightsettings.txt index d9ef5de..b3fc5a7 100644 --- a/nspanel_eu_code/lightsettings.txt +++ b/nspanel_eu_code/lightsettings.txt @@ -1,983 +1,674 @@ -Page lightsettings - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : solid color - Back. Color : 0 - - Events - Preinitialize Event - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"lightsettings\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - vis light_b_press,1 - vis lightslider,1 - vis light_value,1 - vis temp_value_2,1 - // #### OFF Button ##### - vis temp_b_press,0 - vis color_b_pres,0 - // #### OFF Value ##### - vis temp_value,0 - vis light_value_2,0 - // #### OFF Slider ##### - vis tempslider,0 - vis colorwheel,0 - - Touch Press Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"lightsettings\", \"component\": \"touchevent\", \"value\": \"press\"}",0 - printh 00 - printh FF FF FF - - Touch Release Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"lightsettings\", \"component\": \"touchevent\", \"value\": \"release\"}",0 - printh 00 - printh FF FF FF - -Variable (int32) rgb565 - Attributes - ID : 22 - Scope: local - Value: 0 - -Variable (string) va1 - Attributes - ID : 23 - Scope : local - Text : newtxt - Max. Text Size: 20 - -Variable (string) va2 - Attributes - ID : 24 - Scope : local - Text : newtxt - Max. Text Size: 10 - -Variable (string) va3 - Attributes - ID : 25 - Scope : local - Text : newtxt - Max. Text Size: 10 - -Variable (int32) currenttab - Attributes - ID : 26 - Scope: local - Value: 0 - -Variable (string) lightsetting - Attributes - ID : 32 - Scope : local - Text : - Max. Text Size: 100 - -Number ring - Attributes - ID : 4 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 459 - y coordinate : 188 - Width : 21 - Height : 40 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 1 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment : right - Vertical Alignment : center - Value : 0 - Significant digits shown: all - Format : decimal - Word wrap : enabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Number field - Attributes - ID : 5 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 459 - y coordinate : 233 - Width : 21 - Height : 40 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 1 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment : right - Vertical Alignment : center - Value : 0 - Significant digits shown: all - Format : decimal - Word wrap : enabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text light_value - Attributes - ID : 1 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 183 - y coordinate : 43 - Width : 83 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 65535 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text light_name - Attributes - ID : 2 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 48 - y coordinate : 8 - Width : 300 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 65535 - Horizontal Alignment: left - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 25 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text temp_value - Attributes - ID : 14 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 183 - y coordinate : 43 - Width : 83 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 65535 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text light_value_2 - Attributes - ID : 27 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 73 - y coordinate : 80 - Width : 50 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 65535 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text temp_value_2 - Attributes - ID : 28 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 331 - y coordinate : 80 - Width : 50 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 2 - Back. Color : 0 - Font Color : 65535 - Horizontal Alignment: right - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text icon_state - Attributes - ID : 31 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 12 - y coordinate : 8 - Width : 35 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 8 - Back. Color : 0 - Font Color : 65535 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Picture light_button - Attributes - ID : 8 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 20 - y coordinate : 67 - Width : 50 - Height : 50 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 69 - -Picture color_button - Attributes - ID : 9 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 389 - y coordinate : 130 - Width : 50 - Height : 50 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 73 - -Picture temp_button - Attributes - ID : 10 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 389 - y coordinate : 67 - Width : 50 - Height : 50 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 71 - -Picture light_b_press - Attributes - ID : 11 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 20 - y coordinate : 67 - Width : 50 - Height : 50 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 70 - -Picture temp_b_press - Attributes - ID : 12 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 389 - y coordinate : 67 - Width : 50 - Height : 50 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 72 - -Picture color_b_pres - Attributes - ID : 13 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 389 - y coordinate : 130 - Width : 50 - Height : 50 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 74 - -Picture colorwheel - Attributes - ID : 16 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 125 - y coordinate : 68 - Width : 200 - Height : 200 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 50 - - Events - Touch Press Event - // Circular Color Picker for Nextion (c) Max Zuidberg 2022 - // This Source Code Form is subject to the terms of the Mozilla Public - // License, v. 2.0. If a copy of the MPL was not distributed with this - // file, You can obtain one at http://mozilla.org/MPL/2.0/. - // - // Put this code in the touch press or release - // event of the pic component with the color wheel. - // Requires the two variables field.val and ring.val - // - // sya0 = x, sya1 = sya1 - // Note the usage of the hidden sya0, sya1 variables - // within event code as local, temporary variable is fine. - sya0=tch0 - sya1=tch1 - // - // Convert absolute coordinates to coordinates relative to - // the color wheel center. - // sys0 = x_center, sys1 = y_center - sys0=colorwheel.w/2 - sys0+=colorwheel.x - sys1=colorwheel.h/2 - sys1+=colorwheel.y - sya0-=sys0 - sya1-=sys1 - // - // Determine ring - ring.val=0 - // sys0 = r^2 = x^2 + y^2 - sys0=sya0*sya0 - sys1=sya1*sya1 - sys0+=sys1 - // repeat for all rings - if(sys0>=156) - { - ring.val++ - } - if(sys0>=625) - { - ring.val++ - } - if(sys0>=1406) - { - ring.val++ - } - if(sys0>=2500) - { - ring.val++ - } - if(sys0>=3906) - { - ring.val++ - } - if(sys0>=5625) - { - ring.val++ - } - if(sys0>=7656) - { - ring.val++ - } - // - // Determine quadrant (0-3). Note: pixel y coords are inverted - // compared to mathematical y coords. But we want math. quadrants. - sya1*=-1 - sys2=0 - if(sya1<0) - { - sys2+=2 - } - sys0=sya0*sya1 - if(sys0<0) - { - sys2+=1 - // In this case we also want to swap x and y otherwise the - // atan(abs(x/y)) (calculated below) gives values running - // "the wrong way" (cw instead of ccw). - sys1=sya1 - sya1=sya0 - sya0=sys1 - } - // - field.val=sys2*6 - // - // x,y sign is not required anymore - if(sya0<0) - { - sya0*=-1 - } - if(sya1<0) - { - sya1*=-1 - } - // - // Determine field in ring quadrant - // Factor 100000 chosen more or less arbitrarily. - // sys0 = 100000 * tan_a = 100000 * y / x - sys0=100000*sya1 - sys0/=sya0 - // repeat for all fields - if(sys0>=26794) - { - field.val++ - } - if(sys0>=57735) - { - field.val++ - } - if(sys0>=99999) - { - field.val++ - } - if(sys0>=173205) - { - field.val++ - } - if(sys0>=373205) - { - field.val++ - } - covx r,va1.txt,0,0 - covx g,va2.txt,0,0 - covx b,va3.txt,0,0 - va1.txt="" - va2.txt="" - va3.txt="" - - Touch Release Event - // Adjust field.val "orientation" and offset to match the h value of the colors in the wheel - h=23-field.val// 0 <= field.val <= 23 - // h is expected to be 0-6*256 (see hsv2rgb) - h*=6*256 - h/=24// Number of fields - // - // s is expected to be 0-256 (see hsv2rgb) - s=ring.val*256 - s/=8// Number of rings - // no "value" selectable; fix it to the maximum (matching the colors in the wheels shown. - v=255 - click hsv2rgb,0 - click rgb888to565,0 - //colPreview.bco=rgb565.val - covx r,va1.txt,0,0 - covx g,va2.txt,0,0 - covx b,va3.txt,0,0 - lightsetting.txt="{\"page\": \"lightsettings\", \"component\": \"rgb_color\", \"value\": ["+va1.txt+","+va2.txt+","+va3.txt+"]}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lightsetting.txt,0 - printh 00 - printh FF FF FF - va1.txt="" - va2.txt="" - va3.txt="" - -Picture light_exit - Attributes - ID : 29 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 415 - y coordinate : 10 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 56 - -Slider lightslider - Attributes - ID : 3 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 183 - y coordinate : 67 - Width : 85 - Height : 235 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Direction : vertical - Fill : image - Cursor width : auto - Cursor height : 255 - Back. Picture ID : 75 - Slided Back. Picture ID: 76 - Position : 0 - Upper range limit : 100 - Lower range limit : 0 - - Events - Touch Release Event - covx lightslider.val,va1.txt,0,0 - light_value.txt=va1.txt+"%" - light_value_2.txt=va1.txt+"%" - lightsetting.txt="{\"page\": \"lightsettings\", \"component\": \"brightness_pct\", \"value\": "+va1.txt+"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lightsetting.txt,0 - printh 00 - printh FF FF FF - -Slider tempslider - Attributes - ID : 15 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 183 - y coordinate : 67 - Width : 85 - Height : 235 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Direction : vertical - Fill : image - Cursor width : auto - Cursor height : 255 - Back. Picture ID : 64 - Slided Back. Picture ID: 64 - Position : 0 - Upper range limit : 500 - Lower range limit : 153 - - Events - Touch Release Event - covx tempslider.val,va1.txt,0,0 - temp_value.txt=va1.txt - temp_value_2.txt=va1.txt - lightsetting.txt="{\"page\": \"lightsettings\", \"component\": \"color_temp\", \"value\": "+va1.txt+"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lightsetting.txt,0 - printh 00 - printh FF FF FF - -Hotspot hsv2rgb - Attributes - ID : 6 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 440 - y coordinate : 278 - Width : 40 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Release Event - // https://de.wikipedia.org/wiki/HSV-Farbraum#Umrechnung_HSV_in_RGB - // The values range from 0..255 instead of 0..1 - // h ranges from 0..(6*256) - if(s>=256) - { - s=255 - }else if(s<0) - { - s=0 - } - if(v>=256) - { - v=255 - }else if(v<0) - { - v=0 - } - f=h&0xff - p=256-s - p*=v - p=p>>8// / 256 - q=s*f// 0-256*256 = 0-65536 - q=65536-q - q*=v - q=q>>16 - t=256-f - t*=s - t=65536-t - t*=v - t=t>>16 - // - f=h>>8 - if(f==1) - { - r=q - g=v - b=p - }else if(f==2) - { - r=p - g=v - b=t - }else if(f==3) - { - r=p - g=q - b=v - }else if(f==4) - { - r=t - g=p - b=v - }else if(f==5) - { - r=v - g=p - b=q - }else - { - r=v - g=t - b=p - } - -Hotspot rgb888to565 - Attributes - ID : 7 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 440 - y coordinate : 300 - Width : 40 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Release Event - r=r&0xff - g=g&0xff - b=b&0xff - sys1=r>>3 - sys2=sys1<<6 - sys1=g>>2 - sys2+=sys1 - sys2=sys2<<5 - sys1=b>>3 - sys2+=sys1 - rgb565.val=sys2 - -Hotspot light_touch - Attributes - ID : 17 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 20 - y coordinate : 67 - Width : 50 - Height : 50 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - vis light_b_press,1 - vis lightslider,1 - vis light_value,1 - vis temp_value_2,1 - // #### OFF Button ##### - vis temp_b_press,0 - vis color_b_pres,0 - // #### OFF Value ##### - vis temp_value,0 - vis light_value_2,0 - // #### OFF Slider ##### - vis tempslider,0 - vis colorwheel,0 - -Hotspot temp_touch - Attributes - ID : 18 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 389 - y coordinate : 67 - Width : 50 - Height : 50 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - vis temp_b_press,1 - vis tempslider,1 - vis temp_value,1 - vis light_value_2,1 - // #### OFF Button ##### - vis light_b_press,0 - vis color_b_pres,0 - // #### OFF Value ##### - vis light_value,0 - vis temp_value_2,0 - // #### OFF Slider ##### - vis lightslider,0 - vis colorwheel,0 - -Hotspot color_touch - Attributes - ID : 19 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 389 - y coordinate : 130 - Width : 50 - Height : 50 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - vis color_b_pres,1 - vis colorwheel,1 - vis light_value_2,1 - // #### OFF Button ##### - vis light_b_press,0 - vis temp_b_press,0 - // #### OFF Value ##### - vis light_value,0 - vis temp_value,0 - vis temp_value_2,0 - // #### OFF Slider ##### - vis lightslider,0 - vis tempslider,0 - // #### OFF Color ##### - -Hotspot light_back - Attributes - ID : 30 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 387 - y coordinate : 0 - Width : 60 - Height : 60 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - lightsetting.txt="{\"page\": \"lightsettings\", \"component\": \"close\", \"value\": \"press\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lightsetting.txt,0 - printh 00 - printh FF FF FF - - Touch Release Event - lightsetting.txt="{\"page\": \"lightsettings\", \"component\": \"close\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lightsetting.txt,0 - printh 00 - printh FF FF FF - -Timer swipestore - Attributes - ID : 21 - Scope : local - Period (ms): 50 - Enabled : no - - Events - Timer Event - swipex=tch0 - swipey=tch1 - -TouchCap swipe - Attributes - ID : 20 - Scope: local - Value: 0 - - Events - Touch Press Event - swipestore.en=1 // Start swipestore timer - - Touch Release Event - swipestore.en=0 - // Touch has ended, x - if(tch0==0) - { - swipec=swipex-tch2 - // From Left to Right - if(swipec>swipedx) - { - //page - } - // Right to Left - swipec2=0-swipedx - if(swipec100) - { - //page - } - // Down to Up - swipec2=0-swipedy - if(swipec<-100) - { - //page - } - } - +Page lightsettings + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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 + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"lightsettings\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + vis light_b_press,1 + vis lightslider,1 + vis light_value,1 + vis temp_value_2,1 + // #### OFF Button ##### + vis temp_b_press,0 + vis color_b_pres,0 + // #### OFF Value ##### + vis temp_value,0 + vis light_value_2,0 + // #### OFF Slider ##### + vis tempslider,0 + vis colorwheel,0 + + Touch Press Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"lightsettings\", \"component\": \"touchevent\", \"value\": \"press\"}",0 + printh 00 + printh FF FF FF + + Touch Release Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"lightsettings\", \"component\": \"touchevent\", \"value\": \"release\"}",0 + printh 00 + printh FF FF FF + +Variable (int32) rgb565 + Attributes + ID : 22 + Scope: local + Value: 0 + +Variable (string) va1 + Attributes + ID : 23 + Scope : local + Text : newtxt + Max. Text Size: 20 + +Variable (string) va2 + Attributes + ID : 24 + Scope : local + Text : newtxt + Max. Text Size: 10 + +Variable (string) va3 + Attributes + ID : 25 + Scope : local + Text : newtxt + Max. Text Size: 10 + +Variable (int32) currenttab + Attributes + ID : 26 + Scope: local + Value: 0 + +Variable (string) lightsetting + Attributes + ID : 32 + Scope : local + Text : + Max. Text Size: 100 + +Number ring + Attributes + ID : 4 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Value : 0 + +Number field + Attributes + ID : 5 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Value : 0 + +Text light_value + Attributes + ID : 1 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text light_name + Attributes + ID : 2 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 25 + +Text temp_value + Attributes + ID : 14 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text light_value_2 + Attributes + ID : 27 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text temp_value_2 + Attributes + ID : 28 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text icon_state + Attributes + ID : 31 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Picture light_button + Attributes + ID : 8 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture color_button + Attributes + ID : 9 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture temp_button + Attributes + ID : 10 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture light_b_press + Attributes + ID : 11 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture temp_b_press + Attributes + ID : 12 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture color_b_pres + Attributes + ID : 13 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture colorwheel + Attributes + ID : 16 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + // Circular Color Picker for Nextion (c) Max Zuidberg 2022 + // This Source Code Form is subject to the terms of the Mozilla Public + // License, v. 2.0. If a copy of the MPL was not distributed with this + // file, You can obtain one at http://mozilla.org/MPL/2.0/. + // + // Put this code in the touch press or release + // event of the pic component with the color wheel. + // Requires the two variables field.val and ring.val + // + // sya0 = x, sya1 = sya1 + // Note the usage of the hidden sya0, sya1 variables + // within event code as local, temporary variable is fine. + sya0=tch0 + sya1=tch1 + // + // Convert absolute coordinates to coordinates relative to + // the color wheel center. + // sys0 = x_center, sys1 = y_center + sys0=colorwheel.w/2 + sys0+=colorwheel.x + sys1=colorwheel.h/2 + sys1+=colorwheel.y + sya0-=sys0 + sya1-=sys1 + // + // Determine ring + ring.val=0 + // sys0 = r^2 = x^2 + y^2 + sys0=sya0*sya0 + sys1=sya1*sya1 + sys0+=sys1 + // repeat for all rings + if(sys0>=156) + { + ring.val++ + } + if(sys0>=625) + { + ring.val++ + } + if(sys0>=1406) + { + ring.val++ + } + if(sys0>=2500) + { + ring.val++ + } + if(sys0>=3906) + { + ring.val++ + } + if(sys0>=5625) + { + ring.val++ + } + if(sys0>=7656) + { + ring.val++ + } + // + // Determine quadrant (0-3). Note: pixel y coords are inverted + // compared to mathematical y coords. But we want math. quadrants. + sya1*=-1 + sys2=0 + if(sya1<0) + { + sys2+=2 + } + sys0=sya0*sya1 + if(sys0<0) + { + sys2+=1 + // In this case we also want to swap x and y otherwise the + // atan(abs(x/y)) (calculated below) gives values running + // "the wrong way" (cw instead of ccw). + sys1=sya1 + sya1=sya0 + sya0=sys1 + } + // + field.val=sys2*6 + // + // x,y sign is not required anymore + if(sya0<0) + { + sya0*=-1 + } + if(sya1<0) + { + sya1*=-1 + } + // + // Determine field in ring quadrant + // Factor 100000 chosen more or less arbitrarily. + // sys0 = 100000 * tan_a = 100000 * y / x + sys0=100000*sya1 + sys0/=sya0 + // repeat for all fields + if(sys0>=26794) + { + field.val++ + } + if(sys0>=57735) + { + field.val++ + } + if(sys0>=99999) + { + field.val++ + } + if(sys0>=173205) + { + field.val++ + } + if(sys0>=373205) + { + field.val++ + } + covx r,va1.txt,0,0 + covx g,va2.txt,0,0 + covx b,va3.txt,0,0 + va1.txt="" + va2.txt="" + va3.txt="" + + Touch Release Event + // Adjust field.val "orientation" and offset to match the h value of the colors in the wheel + h=23-field.val// 0 <= field.val <= 23 + // h is expected to be 0-6*256 (see hsv2rgb) + h*=6*256 + h/=24// Number of fields + // + // s is expected to be 0-256 (see hsv2rgb) + s=ring.val*256 + s/=8// Number of rings + // no "value" selectable; fix it to the maximum (matching the colors in the wheels shown. + v=255 + click hsv2rgb,0 + click rgb888to565,0 + //colPreview.bco=rgb565.val + covx r,va1.txt,0,0 + covx g,va2.txt,0,0 + covx b,va3.txt,0,0 + lightsetting.txt="{\"page\": \"lightsettings\", \"component\": \"rgb_color\", \"value\": ["+va1.txt+","+va2.txt+","+va3.txt+"]}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lightsetting.txt,0 + printh 00 + printh FF FF FF + va1.txt="" + va2.txt="" + va3.txt="" + +Picture light_exit + Attributes + ID : 29 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Slider lightslider + Attributes + ID : 3 + Scope : local + Dragging : 0 + Send Component ID: disabled + Position : 0 + Upper range limit: 100 + Lower range limit: 0 + + Events + Touch Release Event + covx lightslider.val,va1.txt,0,0 + light_value.txt=va1.txt+"%" + light_value_2.txt=va1.txt+"%" + lightsetting.txt="{\"page\": \"lightsettings\", \"component\": \"brightness_pct\", \"value\": "+va1.txt+"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lightsetting.txt,0 + printh 00 + printh FF FF FF + +Slider tempslider + Attributes + ID : 15 + Scope : local + Dragging : 0 + Send Component ID: disabled + Position : 0 + Upper range limit: 500 + Lower range limit: 153 + + Events + Touch Release Event + covx tempslider.val,va1.txt,0,0 + temp_value.txt=va1.txt + temp_value_2.txt=va1.txt + lightsetting.txt="{\"page\": \"lightsettings\", \"component\": \"color_temp\", \"value\": "+va1.txt+"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lightsetting.txt,0 + printh 00 + printh FF FF FF + +Hotspot hsv2rgb + Attributes + ID : 6 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Release Event + // https://de.wikipedia.org/wiki/HSV-Farbraum#Umrechnung_HSV_in_RGB + // The values range from 0..255 instead of 0..1 + // h ranges from 0..(6*256) + if(s>=256) + { + s=255 + }else if(s<0) + { + s=0 + } + if(v>=256) + { + v=255 + }else if(v<0) + { + v=0 + } + f=h&0xff + p=256-s + p*=v + p=p>>8// / 256 + q=s*f// 0-256*256 = 0-65536 + q=65536-q + q*=v + q=q>>16 + t=256-f + t*=s + t=65536-t + t*=v + t=t>>16 + // + f=h>>8 + if(f==1) + { + r=q + g=v + b=p + }else if(f==2) + { + r=p + g=v + b=t + }else if(f==3) + { + r=p + g=q + b=v + }else if(f==4) + { + r=t + g=p + b=v + }else if(f==5) + { + r=v + g=p + b=q + }else + { + r=v + g=t + b=p + } + +Hotspot rgb888to565 + Attributes + ID : 7 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Release Event + r=r&0xff + g=g&0xff + b=b&0xff + sys1=r>>3 + sys2=sys1<<6 + sys1=g>>2 + sys2+=sys1 + sys2=sys2<<5 + sys1=b>>3 + sys2+=sys1 + rgb565.val=sys2 + +Hotspot light_touch + Attributes + ID : 17 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + vis light_b_press,1 + vis lightslider,1 + vis light_value,1 + vis temp_value_2,1 + // #### OFF Button ##### + vis temp_b_press,0 + vis color_b_pres,0 + // #### OFF Value ##### + vis temp_value,0 + vis light_value_2,0 + // #### OFF Slider ##### + vis tempslider,0 + vis colorwheel,0 + +Hotspot temp_touch + Attributes + ID : 18 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + vis temp_b_press,1 + vis tempslider,1 + vis temp_value,1 + vis light_value_2,1 + // #### OFF Button ##### + vis light_b_press,0 + vis color_b_pres,0 + // #### OFF Value ##### + vis light_value,0 + vis temp_value_2,0 + // #### OFF Slider ##### + vis lightslider,0 + vis colorwheel,0 + +Hotspot color_touch + Attributes + ID : 19 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + vis color_b_pres,1 + vis colorwheel,1 + vis light_value_2,1 + // #### OFF Button ##### + vis light_b_press,0 + vis temp_b_press,0 + // #### OFF Value ##### + vis light_value,0 + vis temp_value,0 + vis temp_value_2,0 + // #### OFF Slider ##### + vis lightslider,0 + vis tempslider,0 + // #### OFF Color ##### + +Hotspot light_back + Attributes + ID : 30 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + lightsetting.txt="{\"page\": \"lightsettings\", \"component\": \"close\", \"value\": \"press\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lightsetting.txt,0 + printh 00 + printh FF FF FF + + Touch Release Event + lightsetting.txt="{\"page\": \"lightsettings\", \"component\": \"close\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lightsetting.txt,0 + printh 00 + printh FF FF FF + +Timer swipestore + Attributes + ID : 21 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + swipex=tch0 + swipey=tch1 + +TouchCap swipe + Attributes + ID : 20 + Scope: local + Value: 0 + + Events + Touch Press Event + swipestore.en=1 // Start swipestore timer + + Touch Release Event + swipestore.en=0 + // Touch has ended, x + if(tch0==0) + { + swipec=swipex-tch2 + // From Left to Right + if(swipec>swipedx) + { + //page + } + // Right to Left + swipec2=0-swipedx + if(swipec100) + { + //page + } + // Down to Up + swipec2=0-swipedy + if(swipec<-100) + { + //page + } + } + diff --git a/nspanel_eu_code/notification.txt b/nspanel_eu_code/notification.txt index afe6a7a..8ce367b 100644 --- a/nspanel_eu_code/notification.txt +++ b/nspanel_eu_code/notification.txt @@ -1,268 +1,181 @@ -Page notification - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : picture - Back. Picture ID : 114 - - Events - Preinitialize Event - dim=home.brightness.val - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"notification\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - - Touch Press Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"notification\", \"component\": \"touchevent\", \"value\": \"press\"}",0 - printh 00 - printh FF FF FF - - Touch Release Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"notification\", \"component\": \"touchevent\", \"value\": \"release\"}",0 - printh 00 - printh FF FF FF - -Variable (string) lastclick - Attributes - ID : 10 - Scope : local - Text : - Max. Text Size: 100 - -Text notifi_text01 - Attributes - ID : 2 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 17 - y coordinate : 60 - Width : 398 - Height : 191 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 3 - Back. Color : 0 - Font Color : 65535 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 100 - Word wrap : enabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text notifi_label - Attributes - ID : 3 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 17 - y coordinate : 7 - Width : 300 - Height : 42 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 3 - Back. Color : 0 - Font Color : 50712 - Horizontal Alignment: left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 30 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Picture accept_pic - Attributes - ID : 4 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 96 - y coordinate : 260 - Width : 50 - Height : 50 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 85 - -Picture clear_pic - Attributes - ID : 5 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 270 - y coordinate : 260 - Width : 50 - Height : 50 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 86 - -Hotspot notifi_back - Attributes - ID : 1 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 387 - y coordinate : 0 - Width : 60 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - page home - -Hotspot accept - Attributes - ID : 6 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 96 - y coordinate : 260 - Width : 50 - Height : 50 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Release Event - lastclick.txt="{\"page\": \"notification\", \"component\": \"accept\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Hotspot clear - Attributes - ID : 7 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 270 - y coordinate : 260 - Width : 50 - Height : 50 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Release Event - lastclick.txt="{\"page\": \"notification\", \"component\": \"clear\", \"value\": \"release\"}" - printh 92 - prints "nspanelevent",0 - printh 00 - prints lastclick.txt,0 - printh 00 - printh FF FF FF - -Timer swipestore - Attributes - ID : 9 - Scope : local - Period (ms): 50 - Enabled : no - - Events - Timer Event - swipex=tch0 - swipey=tch1 - -TouchCap swipe - Attributes - ID : 8 - Scope: local - Value: 0 - - Events - Touch Press Event - swipestore.en=1 // Start swipestore timer - - Touch Release Event - swipestore.en=0 - // Touch has ended, x - if(tch0==0) - { - swipec=swipex-tch2 - // From Left to Right - if(swipec>swipedx) - { - //page - } - // Right to Left - swipec2=0-swipedx - if(swipec100) - { - //page - } - // Down to Up - swipec2=0-swipedy - if(swipec<-100) - { - //page - } - } - +Page notification + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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=home.brightness.val + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"notification\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + + Touch Press Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"notification\", \"component\": \"touchevent\", \"value\": \"press\"}",0 + printh 00 + printh FF FF FF + + Touch Release Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"notification\", \"component\": \"touchevent\", \"value\": \"release\"}",0 + printh 00 + printh FF FF FF + +Variable (string) lastclick + Attributes + ID : 10 + Scope : local + Text : + Max. Text Size: 100 + +Text notifi_text01 + Attributes + ID : 2 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 100 + +Text notifi_label + Attributes + ID : 3 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 30 + +Picture accept_pic + Attributes + ID : 4 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Picture clear_pic + Attributes + ID : 5 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Hotspot notifi_back + Attributes + ID : 1 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + page home + +Hotspot accept + Attributes + ID : 6 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Release Event + lastclick.txt="{\"page\": \"notification\", \"component\": \"accept\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Hotspot clear + Attributes + ID : 7 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Release Event + lastclick.txt="{\"page\": \"notification\", \"component\": \"clear\", \"value\": \"release\"}" + printh 92 + prints "nspanelevent",0 + printh 00 + prints lastclick.txt,0 + printh 00 + printh FF FF FF + +Timer swipestore + Attributes + ID : 9 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + swipex=tch0 + swipey=tch1 + +TouchCap swipe + Attributes + ID : 8 + Scope: local + Value: 0 + + Events + Touch Press Event + swipestore.en=1 // Start swipestore timer + + Touch Release Event + swipestore.en=0 + // Touch has ended, x + if(tch0==0) + { + swipec=swipex-tch2 + // From Left to Right + if(swipec>swipedx) + { + //page + } + // Right to Left + swipec2=0-swipedx + if(swipec100) + { + //page + } + // Down to Up + swipec2=0-swipedy + if(swipec<-100) + { + //page + } + } + diff --git a/nspanel_eu_code/qrcode.txt b/nspanel_eu_code/qrcode.txt index faf3142..47a3d93 100644 --- a/nspanel_eu_code/qrcode.txt +++ b/nspanel_eu_code/qrcode.txt @@ -1,168 +1,125 @@ -Page qrcode - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : picture - Back. Picture ID : 104 - - Events - Preinitialize Event - dim=home.brightness.val - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"qrcode\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - - Touch Press Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"qrcode\", \"component\": \"touchevent\", \"value\": \"press\"}",0 - printh 00 - printh FF FF FF - - Touch Release Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"qrcode\", \"component\": \"touchevent\", \"value\": \"release\"}",0 - printh 00 - printh FF FF FF - -Text qrcode_label - Attributes - ID : 4 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 10 - y coordinate : 0 - Width : 300 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 3 - Back. Color : 0 - Font Color : 50712 - Horizontal Alignment: left - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 30 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -QR Code qrcode_value - Attributes - ID : 5 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 113 - y coordinate : 62 - Width : 222 - Height : 222 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Logo overlay : no - Text : - Max. Text Size : 50 - -Hotspot qrcode_back - Attributes - ID : 3 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 387 - y coordinate : 0 - Width : 60 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - page home - -Timer swipestore - Attributes - ID : 2 - Scope : local - Period (ms): 50 - Enabled : no - - Events - Timer Event - swipex=tch0 - swipey=tch1 - -TouchCap swipe - Attributes - ID : 1 - Scope: local - Value: 0 - - Events - Touch Press Event - swipestore.en=1 // Start swipestore timer - - Touch Release Event - swipestore.en=0 - // Touch has ended, x - if(tch0==0) - { - swipec=swipex-tch2 - // From Left to Right - if(swipec>swipedx) - { - //page - } - // Right to Left - swipec2=0-swipedx - if(swipec100) - { - //page - } - // Down to Up - swipec2=0-swipedy - if(swipec<-100) - { - //page - } - } - +Page qrcode + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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=home.brightness.val + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"qrcode\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + + Touch Press Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"qrcode\", \"component\": \"touchevent\", \"value\": \"press\"}",0 + printh 00 + printh FF FF FF + + Touch Release Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"qrcode\", \"component\": \"touchevent\", \"value\": \"release\"}",0 + printh 00 + printh FF FF FF + +Text qrcode_label + Attributes + ID : 4 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 30 + +QR Code qrcode_value + Attributes + ID : 5 + Scope : local + Dragging : 0 + Send Component ID: disabled + Text : + Max. Text Size : 50 + +Hotspot qrcode_back + Attributes + ID : 3 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + page home + +Timer swipestore + Attributes + ID : 2 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + swipex=tch0 + swipey=tch1 + +TouchCap swipe + Attributes + ID : 1 + Scope: local + Value: 0 + + Events + Touch Press Event + swipestore.en=1 // Start swipestore timer + + Touch Release Event + swipestore.en=0 + // Touch has ended, x + if(tch0==0) + { + swipec=swipex-tch2 + // From Left to Right + if(swipec>swipedx) + { + //page + } + // Right to Left + swipec2=0-swipedx + if(swipec100) + { + //page + } + // Down to Up + swipec2=0-swipedy + if(swipec<-100) + { + //page + } + } + diff --git a/nspanel_eu_code/screensaver.txt b/nspanel_eu_code/screensaver.txt index 4f9030d..5c7168e 100644 --- a/nspanel_eu_code/screensaver.txt +++ b/nspanel_eu_code/screensaver.txt @@ -1,48 +1,41 @@ -Page screensaver - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : solid color - Back. Color : 0 - - Events - Preinitialize Event - dim=0 - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"screensaver\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - - Touch Release Event - page home - -Variable (int32) orign - Attributes - ID : 2 - Scope: global - Value: 0 - -TouchCap wakeup - Attributes - ID : 1 - Scope: local - Value: 0 - - Events - Touch Press Event - page orign.val - +Page screensaver + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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=0 + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"screensaver\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + + Touch Release Event + page home + +Variable (int32) orign + Attributes + ID : 2 + Scope: global + Value: 0 + +TouchCap wakeup + Attributes + ID : 1 + Scope: local + Value: 0 + + Events + Touch Press Event + page orign.val + diff --git a/nspanel_eu_code/settings.txt b/nspanel_eu_code/settings.txt index 865b2ac..9c993e4 100644 --- a/nspanel_eu_code/settings.txt +++ b/nspanel_eu_code/settings.txt @@ -1,418 +1,228 @@ -Page settings - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : picture - Back. Picture ID : 99 - - Events - Preinitialize Event - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"settings\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - - Touch Press Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"settings\", \"component\": \"touchevent\", \"value\": \"press\"}",0 - printh 00 - printh FF FF FF - - Touch Release Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"settings\", \"component\": \"touchevent\", \"value\": \"release\"}",0 - printh 00 - printh FF FF FF - -Text a03 - Attributes - ID : 5 - Scope : global - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 328 - y coordinate : 46 - Width : 40 - Height : 20 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 99 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 3 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text a04 - Attributes - ID : 6 - Scope : global - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 328 - y coordinate : 77 - Width : 40 - Height : 21 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 99 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 3 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text a06 - Attributes - ID : 7 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 38 - Width : 120 - Height : 40 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 99 - Horizontal Alignment : left - Vertical Alignment : center - Input Type : character - Text : Reboot - Max. Text Size : 6 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text a07 - Attributes - ID : 8 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 15 - y coordinate : 84 - Width : 120 - Height : 40 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 99 - Horizontal Alignment : left - Vertical Alignment : center - Input Type : character - Text : Sleep - Max. Text Size : 5 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text a08 - Attributes - ID : 9 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 24 - y coordinate : 183 - Width : 85 - Height : 40 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 1 - Cropped Back. Picture ID: 99 - Horizontal Alignment : left - Vertical Alignment : center - Input Type : character - Text : Brightness - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text a09 - Attributes - ID : 10 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 24 - y coordinate : 243 - Width : 85 - Height : 40 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 1 - Cropped Back. Picture ID: 99 - Horizontal Alignment : left - Vertical Alignment : center - Input Type : character - Text : Dimming - Max. Text Size : 7 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Picture settings_exit - Attributes - ID : 11 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 415 - y coordinate : 10 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 56 - -Slider brightslider - Attributes - ID : 3 - Scope : global - Dragging : 0 - Send Component ID : on press and release - Opacity : 127 - x coordinate : 140 - y coordinate : 183 - Width : 255 - Height : 41 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Direction : horizontal - Fill : crop image - Cursor width : auto - Cursor height : 255 - Cropped Back. Picture ID : 99 - Cropped Slided Back. Picture ID: 100 - Position : 80 - Upper range limit : 100 - Lower range limit : 0 - - Events - Touch Release Event - printh 91 - prints "brightslider",0 - printh 00 - prints brightslider.val,0 - printh FF FF FF - -Slider dimslider - Attributes - ID : 4 - Scope : global - Dragging : 0 - Send Component ID : on press and release - Opacity : 127 - x coordinate : 140 - y coordinate : 243 - Width : 255 - Height : 41 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Direction : horizontal - Fill : crop image - Cursor width : auto - Cursor height : 255 - Cropped Back. Picture ID : 99 - Cropped Slided Back. Picture ID: 100 - Position : 20 - Upper range limit : 100 - Lower range limit : 0 - - Events - Touch Release Event - printh 91 - prints "dimslider",0 - printh 00 - prints dimslider.val,0 - printh FF FF FF - -Dual-state Button bt0 - Attributes - ID : 13 - Scope : local - Dragging : 0 - Send Component ID : on press and release - Opacity : 127 - x coordinate : 136 - y coordinate : 36 - Width : 83 - Height : 40 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Font ID : 1 - Cropped Back. Picture ID (Unpressed): 99 - Back. Picture ID (Pressed) : 65535 - Cropped Back. Picture ID (Pressed) : 100 - Horizontal Alignment : center - Vertical Alignment : center - State : unpressed - Text : - Max. Text Size : 0 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Dual-state Button bt1 - Attributes - ID : 14 - Scope : global - Dragging : 0 - Send Component ID : on press and release - Opacity : 127 - x coordinate : 138 - y coordinate : 88 - Width : 83 - Height : 40 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Font ID : 1 - Cropped Back. Picture ID (Unpressed): 99 - Back. Picture ID (Pressed) : 65535 - Cropped Back. Picture ID (Pressed) : 100 - Horizontal Alignment : center - Vertical Alignment : center - State : unpressed - Text : - Max. Text Size : 0 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Hotspot setings_back - Attributes - ID : 12 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 387 - y coordinate : 0 - Width : 60 - Height : 60 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - page home - -Timer swipestore - Attributes - ID : 2 - Scope : local - Period (ms): 50 - Enabled : no - - Events - Timer Event - swipex=tch0 - swipey=tch1 - -TouchCap swipe - Attributes - ID : 1 - Scope: local - Value: 0 - - Events - Touch Press Event - swipestore.en=1 // Start swipestore timer - - Touch Release Event - swipestore.en=0 - // Touch has ended, x - if(tch0==0) - { - swipec=swipex-tch2 - // From Left to Right - if(swipec>swipedx) - { - //page - } - // Right to Left - swipec2=0-swipedx - if(swipec100) - { - //page - } - // Down to Up - swipec2=0-swipedy - if(swipec<-100) - { - //page - } - } - +Page settings + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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 + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"settings\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + + Touch Press Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"settings\", \"component\": \"touchevent\", \"value\": \"press\"}",0 + printh 00 + printh FF FF FF + + Touch Release Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"settings\", \"component\": \"touchevent\", \"value\": \"release\"}",0 + printh 00 + printh FF FF FF + +Text a03 + Attributes + ID : 5 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 3 + +Text a04 + Attributes + ID : 6 + Scope : global + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 3 + +Text a06 + Attributes + ID : 7 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : Reboot + Max. Text Size : 6 + +Text a07 + Attributes + ID : 8 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : Sleep + Max. Text Size : 5 + +Text a08 + Attributes + ID : 9 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : Brightness + Max. Text Size : 10 + +Text a09 + Attributes + ID : 10 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : Dimming + Max. Text Size : 7 + +Picture settings_exit + Attributes + ID : 11 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Slider brightslider + Attributes + ID : 3 + Scope : global + Dragging : 0 + Send Component ID: on press and release + Position : 80 + Upper range limit: 100 + Lower range limit: 0 + + Events + Touch Release Event + printh 91 + prints "brightslider",0 + printh 00 + prints brightslider.val,0 + printh FF FF FF + +Slider dimslider + Attributes + ID : 4 + Scope : global + Dragging : 0 + Send Component ID: on press and release + Position : 20 + Upper range limit: 100 + Lower range limit: 0 + + Events + Touch Release Event + printh 91 + prints "dimslider",0 + printh 00 + prints dimslider.val,0 + printh FF FF FF + +Dual-state Button bt0 + Attributes + ID : 13 + Scope : local + Dragging : 0 + Send Component ID: on press and release + State : unpressed + Text : + Max. Text Size : 0 + +Dual-state Button bt1 + Attributes + ID : 14 + Scope : global + Dragging : 0 + Send Component ID: on press and release + State : unpressed + Text : + Max. Text Size : 0 + +Hotspot setings_back + Attributes + ID : 12 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + page home + +Timer swipestore + Attributes + ID : 2 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + swipex=tch0 + swipey=tch1 + +TouchCap swipe + Attributes + ID : 1 + Scope: local + Value: 0 + + Events + Touch Press Event + swipestore.en=1 // Start swipestore timer + + Touch Release Event + swipestore.en=0 + // Touch has ended, x + if(tch0==0) + { + swipec=swipex-tch2 + // From Left to Right + if(swipec>swipedx) + { + //page + } + // Right to Left + swipec2=0-swipedx + if(swipec100) + { + //page + } + // Down to Up + swipec2=0-swipedy + if(swipec<-100) + { + //page + } + } + diff --git a/nspanel_eu_code/weather01.txt b/nspanel_eu_code/weather01.txt index db7ecd9..b3c876c 100644 --- a/nspanel_eu_code/weather01.txt +++ b/nspanel_eu_code/weather01.txt @@ -1,516 +1,252 @@ -Page weather01 - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : picture - Back. Picture ID : 109 - - Events - Preinitialize Event - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"weather01\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - - Touch Press Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"weather01\", \"component\": \"touchevent\", \"value\": \"press\"}",0 - printh 00 - printh FF FF FF - - Touch Release Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"weather01\", \"component\": \"touchevent\", \"value\": \"release\"}",0 - printh 00 - printh FF FF FF - -Text day - Attributes - ID : 4 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 218 - y coordinate : 55 - Width : 200 - Height : 40 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text date - Attributes - ID : 5 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 188 - y coordinate : 97 - Width : 230 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 25 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text temperature - Attributes - ID : 6 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 40 - y coordinate : 148 - Width : 120 - Height : 23 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text loading - Attributes - ID : 8 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 45 - y coordinate : 5 - Width : 100 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 3 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 1 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value01 - Attributes - ID : 9 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 162 - Width : 220 - Height : 22 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05 - Attributes - ID : 10 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 278 - Width : 220 - Height : 22 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : top - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04 - Attributes - ID : 11 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 249 - Width : 220 - Height : 21 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : top - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02 - Attributes - ID : 12 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 191 - Width : 220 - Height : 22 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03 - Attributes - ID : 13 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 219 - Width : 220 - Height : 24 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value01_icon - Attributes - ID : 14 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 159 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02_icon - Attributes - ID : 15 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 188 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03_icon - Attributes - ID : 16 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 218 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04_icon - Attributes - ID : 17 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 245 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05_icon - Attributes - ID : 18 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 275 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Picture weather_icon - Attributes - ID : 3 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 41 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Hotspot weather_back - Attributes - ID : 7 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 387 - y coordinate : 0 - Width : 60 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - page home - -Timer swipestore - Attributes - ID : 2 - Scope : local - Period (ms): 50 - Enabled : no - - Events - Timer Event - swipex=tch0 - swipey=tch1 - -TouchCap swipe - Attributes - ID : 1 - Scope: local - Value: 0 - - Events - Touch Press Event - swipestore.en=1 // Start swipestore timer - - Touch Release Event - swipestore.en=0 - // Touch has ended, x - if(tch0==0) - { - swipec=swipex-tch2 - // From Left to Right - if(swipec>swipedx) - { - page weather05 - } - // Right to Left - swipec2=0-swipedx - if(swipec100) - { - //page - } - // Down to Up - swipec2=0-swipedy - if(swipec<-100) - { - //page - } - } - +Page weather01 + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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 + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"weather01\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + + Touch Press Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"weather01\", \"component\": \"touchevent\", \"value\": \"press\"}",0 + printh 00 + printh FF FF FF + + Touch Release Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"weather01\", \"component\": \"touchevent\", \"value\": \"release\"}",0 + printh 00 + printh FF FF FF + +Text day + Attributes + ID : 4 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text date + Attributes + ID : 5 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 25 + +Text temperature + Attributes + ID : 6 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text loading + Attributes + ID : 8 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 1 + +Text value01 + Attributes + ID : 9 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value05 + Attributes + ID : 10 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value04 + Attributes + ID : 11 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value02 + Attributes + ID : 12 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value03 + Attributes + ID : 13 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value01_icon + Attributes + ID : 14 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value02_icon + Attributes + ID : 15 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value03_icon + Attributes + ID : 16 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value04_icon + Attributes + ID : 17 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value05_icon + Attributes + ID : 18 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Picture weather_icon + Attributes + ID : 3 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Hotspot weather_back + Attributes + ID : 7 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + page home + +Timer swipestore + Attributes + ID : 2 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + swipex=tch0 + swipey=tch1 + +TouchCap swipe + Attributes + ID : 1 + Scope: local + Value: 0 + + Events + Touch Press Event + swipestore.en=1 // Start swipestore timer + + Touch Release Event + swipestore.en=0 + // Touch has ended, x + if(tch0==0) + { + swipec=swipex-tch2 + // From Left to Right + if(swipec>swipedx) + { + page weather05 + } + // Right to Left + swipec2=0-swipedx + if(swipec100) + { + //page + } + // Down to Up + swipec2=0-swipedy + if(swipec<-100) + { + //page + } + } + diff --git a/nspanel_eu_code/weather02.txt b/nspanel_eu_code/weather02.txt index e4ae451..5c39501 100644 --- a/nspanel_eu_code/weather02.txt +++ b/nspanel_eu_code/weather02.txt @@ -1,516 +1,252 @@ -Page weather02 - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : picture - Back. Picture ID : 110 - - Events - Preinitialize Event - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"weather02\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - - Touch Press Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"weather02\", \"component\": \"touchevent\", \"value\": \"press\"}",0 - printh 00 - printh FF FF FF - - Touch Release Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"weather02\", \"component\": \"touchevent\", \"value\": \"release\"}",0 - printh 00 - printh FF FF FF - -Text day - Attributes - ID : 4 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 218 - y coordinate : 55 - Width : 200 - Height : 40 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text loading - Attributes - ID : 6 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 45 - y coordinate : 5 - Width : 100 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 3 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 1 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text date - Attributes - ID : 7 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 188 - y coordinate : 97 - Width : 230 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 25 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value01 - Attributes - ID : 8 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 162 - Width : 220 - Height : 22 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05 - Attributes - ID : 9 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 278 - Width : 220 - Height : 22 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : top - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04 - Attributes - ID : 10 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 249 - Width : 220 - Height : 21 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : top - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02 - Attributes - ID : 11 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 191 - Width : 220 - Height : 22 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03 - Attributes - ID : 12 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 219 - Width : 220 - Height : 24 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value01_icon - Attributes - ID : 13 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 159 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02_icon - Attributes - ID : 14 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 188 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03_icon - Attributes - ID : 15 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 218 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04_icon - Attributes - ID : 16 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 245 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05_icon - Attributes - ID : 17 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 275 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text temperature - Attributes - ID : 18 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 40 - y coordinate : 148 - Width : 120 - Height : 23 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Picture weather_icon - Attributes - ID : 3 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 41 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Hotspot weather_back - Attributes - ID : 5 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 387 - y coordinate : 0 - Width : 60 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - page home - -Timer swipestore - Attributes - ID : 2 - Scope : local - Period (ms): 50 - Enabled : no - - Events - Timer Event - swipex=tch0 - swipey=tch1 - -TouchCap swipe - Attributes - ID : 1 - Scope: local - Value: 0 - - Events - Touch Press Event - swipestore.en=1 // Start swipestore timer - - Touch Release Event - swipestore.en=0 - // Touch has ended, x - if(tch0==0) - { - swipec=swipex-tch2 - // From Left to Right - if(swipec>swipedx) - { - page weather01 - } - // Right to Left - swipec2=0-swipedx - if(swipec100) - { - //page - } - // Down to Up - swipec2=0-swipedy - if(swipec<-100) - { - //page - } - } - +Page weather02 + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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 + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"weather02\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + + Touch Press Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"weather02\", \"component\": \"touchevent\", \"value\": \"press\"}",0 + printh 00 + printh FF FF FF + + Touch Release Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"weather02\", \"component\": \"touchevent\", \"value\": \"release\"}",0 + printh 00 + printh FF FF FF + +Text day + Attributes + ID : 4 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text loading + Attributes + ID : 6 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 1 + +Text date + Attributes + ID : 7 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 25 + +Text value01 + Attributes + ID : 8 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value05 + Attributes + ID : 9 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value04 + Attributes + ID : 10 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value02 + Attributes + ID : 11 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value03 + Attributes + ID : 12 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value01_icon + Attributes + ID : 13 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value02_icon + Attributes + ID : 14 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value03_icon + Attributes + ID : 15 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value04_icon + Attributes + ID : 16 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value05_icon + Attributes + ID : 17 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text temperature + Attributes + ID : 18 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Picture weather_icon + Attributes + ID : 3 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Hotspot weather_back + Attributes + ID : 5 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + page home + +Timer swipestore + Attributes + ID : 2 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + swipex=tch0 + swipey=tch1 + +TouchCap swipe + Attributes + ID : 1 + Scope: local + Value: 0 + + Events + Touch Press Event + swipestore.en=1 // Start swipestore timer + + Touch Release Event + swipestore.en=0 + // Touch has ended, x + if(tch0==0) + { + swipec=swipex-tch2 + // From Left to Right + if(swipec>swipedx) + { + page weather01 + } + // Right to Left + swipec2=0-swipedx + if(swipec100) + { + //page + } + // Down to Up + swipec2=0-swipedy + if(swipec<-100) + { + //page + } + } + diff --git a/nspanel_eu_code/weather03.txt b/nspanel_eu_code/weather03.txt index 5aa6844..5ef9270 100644 --- a/nspanel_eu_code/weather03.txt +++ b/nspanel_eu_code/weather03.txt @@ -1,516 +1,252 @@ -Page weather03 - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : picture - Back. Picture ID : 111 - - Events - Preinitialize Event - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"weather03\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - - Touch Press Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"weather03\", \"component\": \"touchevent\", \"value\": \"press\"}",0 - printh 00 - printh FF FF FF - - Touch Release Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"weather03\", \"component\": \"touchevent\", \"value\": \"release\"}",0 - printh 00 - printh FF FF FF - -Text day - Attributes - ID : 4 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 218 - y coordinate : 55 - Width : 200 - Height : 40 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text loading - Attributes - ID : 6 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 45 - y coordinate : 5 - Width : 100 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 3 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 1 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text date - Attributes - ID : 7 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 188 - y coordinate : 97 - Width : 230 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 25 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value01 - Attributes - ID : 8 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 162 - Width : 220 - Height : 22 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05 - Attributes - ID : 9 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 278 - Width : 220 - Height : 22 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : top - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04 - Attributes - ID : 10 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 249 - Width : 220 - Height : 21 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : top - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02 - Attributes - ID : 11 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 191 - Width : 220 - Height : 22 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03 - Attributes - ID : 12 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 219 - Width : 220 - Height : 24 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value01_icon - Attributes - ID : 13 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 159 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02_icon - Attributes - ID : 14 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 188 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03_icon - Attributes - ID : 15 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 218 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04_icon - Attributes - ID : 16 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 245 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05_icon - Attributes - ID : 17 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 275 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text temperature - Attributes - ID : 18 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 40 - y coordinate : 148 - Width : 120 - Height : 23 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Picture weather_icon - Attributes - ID : 3 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 41 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Hotspot weather_back - Attributes - ID : 5 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 387 - y coordinate : 0 - Width : 60 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - page home - -Timer swipestore - Attributes - ID : 2 - Scope : local - Period (ms): 50 - Enabled : no - - Events - Timer Event - swipex=tch0 - swipey=tch1 - -TouchCap swipe - Attributes - ID : 1 - Scope: local - Value: 0 - - Events - Touch Press Event - swipestore.en=1 // Start swipestore timer - - Touch Release Event - swipestore.en=0 - // Touch has ended, x - if(tch0==0) - { - swipec=swipex-tch2 - // From Left to Right - if(swipec>swipedx) - { - page weather02 - } - // Right to Left - swipec2=0-swipedx - if(swipec100) - { - //page - } - // Down to Up - swipec2=0-swipedy - if(swipec<-100) - { - //page - } - } - +Page weather03 + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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 + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"weather03\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + + Touch Press Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"weather03\", \"component\": \"touchevent\", \"value\": \"press\"}",0 + printh 00 + printh FF FF FF + + Touch Release Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"weather03\", \"component\": \"touchevent\", \"value\": \"release\"}",0 + printh 00 + printh FF FF FF + +Text day + Attributes + ID : 4 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text loading + Attributes + ID : 6 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 1 + +Text date + Attributes + ID : 7 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 25 + +Text value01 + Attributes + ID : 8 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value05 + Attributes + ID : 9 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value04 + Attributes + ID : 10 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value02 + Attributes + ID : 11 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value03 + Attributes + ID : 12 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value01_icon + Attributes + ID : 13 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value02_icon + Attributes + ID : 14 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value03_icon + Attributes + ID : 15 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value04_icon + Attributes + ID : 16 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value05_icon + Attributes + ID : 17 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text temperature + Attributes + ID : 18 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Picture weather_icon + Attributes + ID : 3 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Hotspot weather_back + Attributes + ID : 5 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + page home + +Timer swipestore + Attributes + ID : 2 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + swipex=tch0 + swipey=tch1 + +TouchCap swipe + Attributes + ID : 1 + Scope: local + Value: 0 + + Events + Touch Press Event + swipestore.en=1 // Start swipestore timer + + Touch Release Event + swipestore.en=0 + // Touch has ended, x + if(tch0==0) + { + swipec=swipex-tch2 + // From Left to Right + if(swipec>swipedx) + { + page weather02 + } + // Right to Left + swipec2=0-swipedx + if(swipec100) + { + //page + } + // Down to Up + swipec2=0-swipedy + if(swipec<-100) + { + //page + } + } + diff --git a/nspanel_eu_code/weather04.txt b/nspanel_eu_code/weather04.txt index 391dd64..ba3bcf6 100644 --- a/nspanel_eu_code/weather04.txt +++ b/nspanel_eu_code/weather04.txt @@ -1,516 +1,252 @@ -Page weather04 - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : picture - Back. Picture ID : 112 - - Events - Preinitialize Event - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"weather04\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - - Touch Press Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"weather04\", \"component\": \"touchevent\", \"value\": \"press\"}",0 - printh 00 - printh FF FF FF - - Touch Release Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"weather04\", \"component\": \"touchevent\", \"value\": \"release\"}",0 - printh 00 - printh FF FF FF - -Text day - Attributes - ID : 4 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 218 - y coordinate : 55 - Width : 200 - Height : 40 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text loading - Attributes - ID : 6 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 45 - y coordinate : 5 - Width : 100 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 3 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 1 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text date - Attributes - ID : 7 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 188 - y coordinate : 97 - Width : 230 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 25 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value01 - Attributes - ID : 8 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 162 - Width : 220 - Height : 22 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05 - Attributes - ID : 9 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 278 - Width : 220 - Height : 22 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : top - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04 - Attributes - ID : 10 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 249 - Width : 220 - Height : 21 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : top - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02 - Attributes - ID : 11 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 191 - Width : 220 - Height : 22 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03 - Attributes - ID : 12 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 219 - Width : 220 - Height : 24 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value01_icon - Attributes - ID : 13 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 159 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02_icon - Attributes - ID : 14 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 188 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03_icon - Attributes - ID : 15 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 218 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04_icon - Attributes - ID : 16 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 245 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05_icon - Attributes - ID : 17 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 275 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text temperature - Attributes - ID : 18 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 40 - y coordinate : 148 - Width : 120 - Height : 23 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Picture weather_icon - Attributes - ID : 3 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 41 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Hotspot weather_back - Attributes - ID : 5 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 387 - y coordinate : 0 - Width : 60 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - page home - -Timer swipestore - Attributes - ID : 2 - Scope : local - Period (ms): 50 - Enabled : no - - Events - Timer Event - swipex=tch0 - swipey=tch1 - -TouchCap swipe - Attributes - ID : 1 - Scope: local - Value: 0 - - Events - Touch Press Event - swipestore.en=1 // Start swipestore timer - - Touch Release Event - swipestore.en=0 - // Touch has ended, x - if(tch0==0) - { - swipec=swipex-tch2 - // From Left to Right - if(swipec>swipedx) - { - page weather03 - } - // Right to Left - swipec2=0-swipedx - if(swipec100) - { - //page - } - // Down to Up - swipec2=0-swipedy - if(swipec<-100) - { - //page - } - } - +Page weather04 + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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 + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"weather04\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + + Touch Press Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"weather04\", \"component\": \"touchevent\", \"value\": \"press\"}",0 + printh 00 + printh FF FF FF + + Touch Release Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"weather04\", \"component\": \"touchevent\", \"value\": \"release\"}",0 + printh 00 + printh FF FF FF + +Text day + Attributes + ID : 4 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text loading + Attributes + ID : 6 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 1 + +Text date + Attributes + ID : 7 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 25 + +Text value01 + Attributes + ID : 8 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value05 + Attributes + ID : 9 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value04 + Attributes + ID : 10 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value02 + Attributes + ID : 11 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value03 + Attributes + ID : 12 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value01_icon + Attributes + ID : 13 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value02_icon + Attributes + ID : 14 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value03_icon + Attributes + ID : 15 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value04_icon + Attributes + ID : 16 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value05_icon + Attributes + ID : 17 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text temperature + Attributes + ID : 18 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Picture weather_icon + Attributes + ID : 3 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Hotspot weather_back + Attributes + ID : 5 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + page home + +Timer swipestore + Attributes + ID : 2 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + swipex=tch0 + swipey=tch1 + +TouchCap swipe + Attributes + ID : 1 + Scope: local + Value: 0 + + Events + Touch Press Event + swipestore.en=1 // Start swipestore timer + + Touch Release Event + swipestore.en=0 + // Touch has ended, x + if(tch0==0) + { + swipec=swipex-tch2 + // From Left to Right + if(swipec>swipedx) + { + page weather03 + } + // Right to Left + swipec2=0-swipedx + if(swipec100) + { + //page + } + // Down to Up + swipec2=0-swipedy + if(swipec<-100) + { + //page + } + } + diff --git a/nspanel_eu_code/weather05.txt b/nspanel_eu_code/weather05.txt index 4e286ad..52c56c3 100644 --- a/nspanel_eu_code/weather05.txt +++ b/nspanel_eu_code/weather05.txt @@ -1,516 +1,252 @@ -Page weather05 - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : picture - Back. Picture ID : 113 - - Events - Preinitialize Event - printh 92 - prints "nspanelevent",0 - printh 00 - prints "{\"page\": \"weather05\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 - printh 00 - printh FF FF FF - - Touch Press Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"weather05\", \"component\": \"touchevent\", \"value\": \"press\"}",0 - printh 00 - printh FF FF FF - - Touch Release Event - printh 92 - prints "touchevent",0 - printh 00 - prints "{\"page\": \"weather05\", \"component\": \"touchevent\", \"value\": \"release\"}",0 - printh 00 - printh FF FF FF - -Text day - Attributes - ID : 4 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 218 - y coordinate : 55 - Width : 200 - Height : 40 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 20 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text loading - Attributes - ID : 6 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 45 - y coordinate : 5 - Width : 100 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : flat - Associated Keyboard : none - Font ID : 3 - Back. Color : 0 - Font Color : 0 - Horizontal Alignment: center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 1 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text date - Attributes - ID : 7 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 188 - y coordinate : 97 - Width : 230 - Height : 30 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 25 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value01 - Attributes - ID : 8 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 162 - Width : 220 - Height : 22 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05 - Attributes - ID : 9 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 278 - Width : 220 - Height : 22 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : top - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04 - Attributes - ID : 10 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 249 - Width : 220 - Height : 21 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : top - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02 - Attributes - ID : 11 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 191 - Width : 220 - Height : 22 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03 - Attributes - ID : 12 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 170 - y coordinate : 219 - Width : 220 - Height : 24 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : right - Vertical Alignment : bottom - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value01_icon - Attributes - ID : 13 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 159 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value02_icon - Attributes - ID : 14 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 188 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value03_icon - Attributes - ID : 15 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 218 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value04_icon - Attributes - ID : 16 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 245 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text value05_icon - Attributes - ID : 17 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 400 - y coordinate : 275 - Width : 25 - Height : 25 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 7 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Text temperature - Attributes - ID : 18 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 40 - y coordinate : 148 - Width : 120 - Height : 23 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : crop image - Associated Keyboard : none - Font ID : 3 - Cropped Back. Picture ID: 0 - Horizontal Alignment : center - Vertical Alignment : center - Input Type : character - Text : - Max. Text Size : 15 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - -Picture weather_icon - Attributes - ID : 3 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 50 - y coordinate : 41 - Width : 100 - Height : 100 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Picture ID : 1 - -Hotspot weather_back - Attributes - ID : 5 - Scope : local - Dragging : 0 - Send Component ID: disabled - Opacity : 127 - x coordinate : 387 - y coordinate : 0 - Width : 60 - Height : 35 - Effect : load - Effect Priority : 0 - Effect Time : 300 - - Events - Touch Press Event - page home - -Timer swipestore - Attributes - ID : 2 - Scope : local - Period (ms): 50 - Enabled : no - - Events - Timer Event - swipex=tch0 - swipey=tch1 - -TouchCap swipe - Attributes - ID : 1 - Scope: local - Value: 0 - - Events - Touch Press Event - swipestore.en=1 // Start swipestore timer - - Touch Release Event - swipestore.en=0 - // Touch has ended, x - if(tch0==0) - { - swipec=swipex-tch2 - // From Left to Right - if(swipec>swipedx) - { - page weather04 - } - // Right to Left - swipec2=0-swipedx - if(swipec100) - { - //page - } - // Down to Up - swipec2=0-swipedy - if(swipec<-100) - { - //page - } - } - +Page weather05 + Attributes + ID : 0 + Scope : local + Dragging : 0 + Send Component ID : disabled + 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 + printh 92 + prints "nspanelevent",0 + printh 00 + prints "{\"page\": \"weather05\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0 + printh 00 + printh FF FF FF + + Touch Press Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"weather05\", \"component\": \"touchevent\", \"value\": \"press\"}",0 + printh 00 + printh FF FF FF + + Touch Release Event + printh 92 + prints "touchevent",0 + printh 00 + prints "{\"page\": \"weather05\", \"component\": \"touchevent\", \"value\": \"release\"}",0 + printh 00 + printh FF FF FF + +Text day + Attributes + ID : 4 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + +Text loading + Attributes + ID : 6 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 1 + +Text date + Attributes + ID : 7 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 25 + +Text value01 + Attributes + ID : 8 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value05 + Attributes + ID : 9 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value04 + Attributes + ID : 10 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value02 + Attributes + ID : 11 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value03 + Attributes + ID : 12 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Text value01_icon + Attributes + ID : 13 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value02_icon + Attributes + ID : 14 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value03_icon + Attributes + ID : 15 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value04_icon + Attributes + ID : 16 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text value05_icon + Attributes + ID : 17 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 10 + +Text temperature + Attributes + ID : 18 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 15 + +Picture weather_icon + Attributes + ID : 3 + Scope : local + Dragging : 0 + Send Component ID: disabled + +Hotspot weather_back + Attributes + ID : 5 + Scope : local + Dragging : 0 + Send Component ID: disabled + + Events + Touch Press Event + page home + +Timer swipestore + Attributes + ID : 2 + Scope : local + Period (ms): 50 + Enabled : no + + Events + Timer Event + swipex=tch0 + swipey=tch1 + +TouchCap swipe + Attributes + ID : 1 + Scope: local + Value: 0 + + Events + Touch Press Event + swipestore.en=1 // Start swipestore timer + + Touch Release Event + swipestore.en=0 + // Touch has ended, x + if(tch0==0) + { + swipec=swipex-tch2 + // From Left to Right + if(swipec>swipedx) + { + page weather04 + } + // Right to Left + swipec2=0-swipedx + if(swipec100) + { + //page + } + // Down to Up + swipec2=0-swipedy + if(swipec<-100) + { + //page + } + } +