HW button bar in all pages

Partially solves #1835
Partially solves #1517
Solves #1507
This commit is contained in:
Edward Firmo
2024-02-26 18:36:12 +01:00
parent 692e145162
commit 16e9b899d6
30 changed files with 1523 additions and 496 deletions

View File

@@ -5,11 +5,6 @@
- **Program.s:**
- Change to `display_mode=3`
- **Page `home`:**
1. Change left_bt_pic (x,y,w,h) from ( 47,307,120,3) to (467,173,3,120)
2. Change right_bt_pic(x,y,w,h) from (288,307,120,3) to (467, 27,3,120)
3. Rotate pictures 30 & 31 by 90degrees - You will find the rotated pics under `\dev\ui\us_land\pics` folder.
## Creating `nspanel_CJK_xxx.HMI` from `nspanel_xxx.HMI`
- **Program.s:**

View File

@@ -10,7 +10,7 @@ Program.s
int is_entities=0,is_qrcode=0,is_notification=0
int brightness=100,brightness_dim=40,brightness_sleep=0
int display_mode=1 // 1 = EU, 2 = US, 3 = US landscape, 4 = blank
int charset=2 // 1 = International (original), 2 = CJK
int charset=1 // 1 = International (original), 2 = CJK
//bauds=115200//Configure baudrate
recmod=0//Serial data parsing mode:0-Passive mode;1-Active mode
printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port

View File

@@ -35,7 +35,7 @@ Variable (string) lastclick
Variable (string) click_comp
Attributes
ID : 41
ID : 39
Scope : local
Text :
Max. Text Size: 8
@@ -414,7 +414,7 @@ Text meridiem
Text button01
Attributes
ID : 38
ID : 36
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -442,7 +442,7 @@ Text button01
Text button02
Attributes
ID : 39
ID : 37
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -470,7 +470,7 @@ Text button02
Text button03
Attributes
ID : 40
ID : 38
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -498,7 +498,7 @@ Text button03
Text button04
Attributes
ID : 43
ID : 41
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -526,7 +526,7 @@ Text button04
Text button05
Attributes
ID : 44
ID : 42
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -554,7 +554,7 @@ Text button05
Text button06
Attributes
ID : 45
ID : 43
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -582,7 +582,7 @@ Text button06
Text unavailable
Attributes
ID : 46
ID : 44
Scope : local
Dragging : 0
Send Component ID : disabled
@@ -604,26 +604,6 @@ Picture weather
page weather01
}
Dual-state Button left_bt_pic
Attributes
ID : 35
Scope : global
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text :
Max. Text Size : 0
Dual-state Button right_bt_pic
Attributes
ID : 36
Scope : global
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text :
Max. Text Size : 0
Timer swipestore
Attributes
ID : 2
@@ -649,7 +629,7 @@ Timer settings_timer
Timer wakeup_timer
Attributes
ID : 37
ID : 35
Scope : local
Period (ms): 50
Enabled : yes
@@ -672,7 +652,7 @@ Timer wakeup_timer
Timer click_timer
Attributes
ID : 42
ID : 40
Scope : local
Period (ms): 800
Enabled : no

View File

@@ -0,0 +1,430 @@
Page utilities
Attributes
ID : 0
Scope : local
Dragging : 0
Send Component ID : on press and release
Locked : no
Swide up page ID : disabled
Swide down page ID : disabled
Swide left page ID : disabled
Swide right page ID: disabled
Events
Preinitialize Event
if(api==0)
{
page home
}
vis unavailable,0
Postinitialize Event
sendme
Text title
Attributes
ID : 1
Scope : local
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text : Power Dashboard
Max. Text Size : 100
Text title_icon
Attributes
ID : 2
Scope : local
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text : 
Max. Text Size : 10
Text unavailable
Attributes
ID : 5
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 1
Text t0
Attributes
ID : 6
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : î´½
Max. Text Size : 4
Text t1
Attributes
ID : 7
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 賈
Max. Text Size : 4
Text t2
Attributes
ID : 9
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 
Max. Text Size : 4
Text t3
Attributes
ID : 10
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 
Max. Text Size : 4
Text t4
Attributes
ID : 11
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Green
Max. Text Size : 10
Text t5
Attributes
ID : 12
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Fossil
Max. Text Size : 10
Text t6
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Home
Max. Text Size : 10
Text t7
Attributes
ID : 16
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 全
Max. Text Size : 4
Text t8
Attributes
ID : 17
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Solar
Max. Text Size : 10
Text t9
Attributes
ID : 19
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 98%
Max. Text Size : 10
Text t10
Attributes
ID : 20
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 2%
Max. Text Size : 10
Text t11
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 豈
Max. Text Size : 4
Text t12
Attributes
ID : 22
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Battery
Max. Text Size : 10
Text t13
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 暑
Max. Text Size : 4
Text t14
Attributes
ID : 25
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Heating
Max. Text Size : 10
Text t15
Attributes
ID : 27
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 1.7 kW
Max. Text Size : 10
Text t16
Attributes
ID : 28
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 21.7°C
Max. Text Size : 10
Text t17
Attributes
ID : 29
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 1.1 kW
Max. Text Size : 10
Text t18
Attributes
ID : 30
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : -2.1 kW
Max. Text Size : 10
Text t19
Attributes
ID : 31
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 0.8 kW
Max. Text Size : 10
Text t20
Attributes
ID : 32
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 慎
Max. Text Size : 4
Text t21
Attributes
ID : 33
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Wind
Max. Text Size : 10
Text t22
Attributes
ID : 35
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 1.1 kW
Max. Text Size : 10
Text t23
Attributes
ID : 36
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : î—°
Max. Text Size : 4
Text t24
Attributes
ID : 37
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Car
Max. Text Size : 10
Text t25
Attributes
ID : 39
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 1.1 kW
Max. Text Size : 10
Slider h0
Attributes
ID : 8
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Slider h1
Attributes
ID : 13
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Slider h2
Attributes
ID : 14
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Slider h3
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Slider h4
Attributes
ID : 23
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Slider h5
Attributes
ID : 26
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Slider h6
Attributes
ID : 34
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Slider h7
Attributes
ID : 38
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Button button_back
Attributes
ID : 3
Scope : local
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text : î…˜
Max. Text Size : 3
Events
Touch Press Event
page back_page_id
Timer wakeup_timer
Attributes
ID : 4
Scope : local
Period (ms): 100
Enabled : yes
Events
Timer Event
if(dim<brightness)
{
dimdelta=brightness-dim
dimdelta/=10
if(dimdelta<1)
{
dimdelta=1
}
dim+=dimdelta
}else
{
wakeup_timer.en=0
}

View File

@@ -10,7 +10,7 @@ Program.s
int is_entities=0,is_qrcode=0,is_notification=0
int brightness=100,brightness_dim=40,brightness_sleep=0
int display_mode=2 // 1 = EU, 2 = US, 3 = US landscape, 4 = blank
int charset=2 // 1 = International (original), 2 = CJK
int charset=1 // 1 = International (original), 2 = CJK
//bauds=115200//Configure baudrate
recmod=0//Serial data parsing mode:0-Passive mode;1-Active mode
printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port

View File

@@ -35,7 +35,7 @@ Variable (string) lastclick
Variable (string) click_comp
Attributes
ID : 41
ID : 39
Scope : local
Text :
Max. Text Size: 8
@@ -414,7 +414,7 @@ Text meridiem
Text button01
Attributes
ID : 38
ID : 36
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -442,7 +442,7 @@ Text button01
Text button02
Attributes
ID : 39
ID : 37
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -470,7 +470,7 @@ Text button02
Text button03
Attributes
ID : 40
ID : 38
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -498,7 +498,7 @@ Text button03
Text button04
Attributes
ID : 43
ID : 41
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -526,7 +526,7 @@ Text button04
Text button05
Attributes
ID : 44
ID : 42
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -554,7 +554,7 @@ Text button05
Text button06
Attributes
ID : 45
ID : 43
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -582,7 +582,7 @@ Text button06
Text unavailable
Attributes
ID : 46
ID : 44
Scope : local
Dragging : 0
Send Component ID : disabled
@@ -604,26 +604,6 @@ Picture weather
page weather01
}
Dual-state Button left_bt_pic
Attributes
ID : 35
Scope : global
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text :
Max. Text Size : 0
Dual-state Button right_bt_pic
Attributes
ID : 36
Scope : global
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text :
Max. Text Size : 0
Timer swipestore
Attributes
ID : 2
@@ -649,7 +629,7 @@ Timer settings_timer
Timer wakeup_timer
Attributes
ID : 37
ID : 35
Scope : local
Period (ms): 50
Enabled : yes
@@ -672,7 +652,7 @@ Timer wakeup_timer
Timer click_timer
Attributes
ID : 42
ID : 40
Scope : local
Period (ms): 800
Enabled : no

View File

@@ -0,0 +1,430 @@
Page utilities
Attributes
ID : 0
Scope : local
Dragging : 0
Send Component ID : on press and release
Locked : no
Swide up page ID : disabled
Swide down page ID : disabled
Swide left page ID : disabled
Swide right page ID: disabled
Events
Preinitialize Event
if(api==0)
{
page home
}
vis unavailable,0
Postinitialize Event
sendme
Text title
Attributes
ID : 1
Scope : local
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text : Power Dashboard
Max. Text Size : 100
Text title_icon
Attributes
ID : 2
Scope : local
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text : 
Max. Text Size : 10
Text unavailable
Attributes
ID : 5
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 1
Text t1
Attributes
ID : 6
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 賈
Max. Text Size : 4
Text t6
Attributes
ID : 7
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Home
Max. Text Size : 10
Text t15
Attributes
ID : 8
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 1.7 kW
Max. Text Size : 10
Text t16
Attributes
ID : 9
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 21.7°C
Max. Text Size : 10
Text t0
Attributes
ID : 10
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : î´½
Max. Text Size : 4
Text t2
Attributes
ID : 12
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 
Max. Text Size : 4
Text t4
Attributes
ID : 13
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Green
Max. Text Size : 10
Text t9
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 98%
Max. Text Size : 10
Text t3
Attributes
ID : 16
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 
Max. Text Size : 4
Text t5
Attributes
ID : 17
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Fossil
Max. Text Size : 10
Text t10
Attributes
ID : 19
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 2%
Max. Text Size : 10
Text t7
Attributes
ID : 20
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 全
Max. Text Size : 4
Text t8
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Solar
Max. Text Size : 10
Text t17
Attributes
ID : 23
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 1.1 kW
Max. Text Size : 10
Text t20
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 慎
Max. Text Size : 4
Text t21
Attributes
ID : 25
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Wind
Max. Text Size : 10
Text t22
Attributes
ID : 27
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 1.1 kW
Max. Text Size : 10
Text t11
Attributes
ID : 28
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 豈
Max. Text Size : 4
Text t12
Attributes
ID : 29
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Battery
Max. Text Size : 10
Text t18
Attributes
ID : 31
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : -2.1 kW
Max. Text Size : 10
Text t23
Attributes
ID : 32
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : î—°
Max. Text Size : 4
Text t24
Attributes
ID : 33
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Car
Max. Text Size : 10
Text t25
Attributes
ID : 35
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 1.1 kW
Max. Text Size : 10
Text t13
Attributes
ID : 36
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 暑
Max. Text Size : 4
Text t14
Attributes
ID : 37
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Heating
Max. Text Size : 10
Text t19
Attributes
ID : 39
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 0.8 kW
Max. Text Size : 10
Slider h0
Attributes
ID : 11
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Slider h1
Attributes
ID : 14
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Slider h2
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Slider h3
Attributes
ID : 22
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Slider h6
Attributes
ID : 26
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Slider h4
Attributes
ID : 30
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Slider h7
Attributes
ID : 34
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Slider h5
Attributes
ID : 38
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Button button_back
Attributes
ID : 3
Scope : local
Dragging : 0
Send Component ID: on release
State : unpressed
Text : î…˜
Max. Text Size : 3
Events
Touch Press Event
page back_page_id
Timer wakeup_timer
Attributes
ID : 4
Scope : local
Period (ms): 100
Enabled : yes
Events
Timer Event
if(dim<brightness)
{
dimdelta=brightness-dim
dimdelta/=10
if(dimdelta<1)
{
dimdelta=1
}
dim+=dimdelta
}else
{
wakeup_timer.en=0
}

View File

@@ -10,7 +10,7 @@ Program.s
int is_entities=0,is_qrcode=0,is_notification=0
int brightness=100,brightness_dim=40,brightness_sleep=0
int display_mode=3 // 1 = EU, 2 = US, 3 = US landscape, 4 = blank
int charset=2 // 1 = International (original), 2 = CJK
int charset=1 // 1 = International (original), 2 = CJK
//bauds=115200//Configure baudrate
recmod=0//Serial data parsing mode:0-Passive mode;1-Active mode
printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port

View File

@@ -35,7 +35,7 @@ Variable (string) lastclick
Variable (string) click_comp
Attributes
ID : 41
ID : 39
Scope : local
Text :
Max. Text Size: 8
@@ -414,7 +414,7 @@ Text meridiem
Text button01
Attributes
ID : 38
ID : 36
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -442,7 +442,7 @@ Text button01
Text button02
Attributes
ID : 39
ID : 37
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -470,7 +470,7 @@ Text button02
Text button03
Attributes
ID : 40
ID : 38
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -498,7 +498,7 @@ Text button03
Text button04
Attributes
ID : 43
ID : 41
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -526,7 +526,7 @@ Text button04
Text button05
Attributes
ID : 44
ID : 42
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -554,7 +554,7 @@ Text button05
Text button06
Attributes
ID : 45
ID : 43
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -582,7 +582,7 @@ Text button06
Text unavailable
Attributes
ID : 46
ID : 44
Scope : local
Dragging : 0
Send Component ID : disabled
@@ -604,26 +604,6 @@ Picture weather
page weather01
}
Dual-state Button left_bt_pic
Attributes
ID : 35
Scope : global
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text :
Max. Text Size : 0
Dual-state Button right_bt_pic
Attributes
ID : 36
Scope : global
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text :
Max. Text Size : 0
Timer swipestore
Attributes
ID : 2
@@ -649,7 +629,7 @@ Timer settings_timer
Timer wakeup_timer
Attributes
ID : 37
ID : 35
Scope : local
Period (ms): 50
Enabled : yes
@@ -672,7 +652,7 @@ Timer wakeup_timer
Timer click_timer
Attributes
ID : 42
ID : 40
Scope : local
Period (ms): 800
Enabled : no

View File

@@ -0,0 +1,430 @@
Page utilities
Attributes
ID : 0
Scope : local
Dragging : 0
Send Component ID : on press and release
Locked : no
Swide up page ID : disabled
Swide down page ID : disabled
Swide left page ID : disabled
Swide right page ID: disabled
Events
Preinitialize Event
if(api==0)
{
page home
}
vis unavailable,0
Postinitialize Event
sendme
Text title
Attributes
ID : 1
Scope : local
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text : Power Dashboard
Max. Text Size : 100
Text title_icon
Attributes
ID : 2
Scope : local
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text : 
Max. Text Size : 10
Text unavailable
Attributes
ID : 5
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 1
Text t0
Attributes
ID : 6
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : î´½
Max. Text Size : 4
Text t1
Attributes
ID : 7
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 賈
Max. Text Size : 4
Text t2
Attributes
ID : 9
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 
Max. Text Size : 4
Text t3
Attributes
ID : 10
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 
Max. Text Size : 4
Text t4
Attributes
ID : 11
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Green
Max. Text Size : 10
Text t5
Attributes
ID : 12
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Fossil
Max. Text Size : 10
Text t6
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Home
Max. Text Size : 10
Text t7
Attributes
ID : 16
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 全
Max. Text Size : 4
Text t8
Attributes
ID : 17
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Solar
Max. Text Size : 10
Text t9
Attributes
ID : 19
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 98%
Max. Text Size : 10
Text t10
Attributes
ID : 20
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 2%
Max. Text Size : 10
Text t11
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 豈
Max. Text Size : 4
Text t12
Attributes
ID : 22
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Battery
Max. Text Size : 10
Text t13
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 暑
Max. Text Size : 4
Text t14
Attributes
ID : 25
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Heating
Max. Text Size : 10
Text t15
Attributes
ID : 27
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 1.7 kW
Max. Text Size : 10
Text t16
Attributes
ID : 28
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 21.7°C
Max. Text Size : 10
Text t17
Attributes
ID : 29
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 1.1 kW
Max. Text Size : 10
Text t18
Attributes
ID : 30
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : -2.1 kW
Max. Text Size : 10
Text t19
Attributes
ID : 31
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 0.8 kW
Max. Text Size : 10
Text t20
Attributes
ID : 32
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 慎
Max. Text Size : 4
Text t21
Attributes
ID : 33
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Wind
Max. Text Size : 10
Text t22
Attributes
ID : 35
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 1.1 kW
Max. Text Size : 10
Text t23
Attributes
ID : 36
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : î—°
Max. Text Size : 4
Text t24
Attributes
ID : 37
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Car
Max. Text Size : 10
Text t25
Attributes
ID : 39
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 1.1 kW
Max. Text Size : 10
Slider h0
Attributes
ID : 8
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Slider h1
Attributes
ID : 13
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Slider h2
Attributes
ID : 14
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Slider h3
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Slider h4
Attributes
ID : 23
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Slider h5
Attributes
ID : 26
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Slider h6
Attributes
ID : 34
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Slider h7
Attributes
ID : 38
Scope : local
Dragging : 0
Send Component ID: disabled
Position : 50
Upper range limit: 100
Lower range limit: 0
Button button_back
Attributes
ID : 3
Scope : local
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text : î…˜
Max. Text Size : 3
Events
Touch Press Event
page back_page_id
Timer wakeup_timer
Attributes
ID : 4
Scope : local
Period (ms): 100
Enabled : yes
Events
Timer Event
if(dim<brightness)
{
dimdelta=brightness-dim
dimdelta/=10
if(dimdelta<1)
{
dimdelta=1
}
dim+=dimdelta
}else
{
wakeup_timer.en=0
}

View File

@@ -35,7 +35,7 @@ Variable (string) lastclick
Variable (string) click_comp
Attributes
ID : 41
ID : 39
Scope : local
Text :
Max. Text Size: 8
@@ -414,7 +414,7 @@ Text meridiem
Text button01
Attributes
ID : 38
ID : 36
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -442,7 +442,7 @@ Text button01
Text button02
Attributes
ID : 39
ID : 37
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -470,7 +470,7 @@ Text button02
Text button03
Attributes
ID : 40
ID : 38
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -498,7 +498,7 @@ Text button03
Text button04
Attributes
ID : 43
ID : 41
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -526,7 +526,7 @@ Text button04
Text button05
Attributes
ID : 44
ID : 42
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -554,7 +554,7 @@ Text button05
Text button06
Attributes
ID : 45
ID : 43
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -582,7 +582,7 @@ Text button06
Text unavailable
Attributes
ID : 46
ID : 44
Scope : local
Dragging : 0
Send Component ID : disabled
@@ -604,26 +604,6 @@ Picture weather
page weather01
}
Dual-state Button left_bt_pic
Attributes
ID : 35
Scope : global
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text :
Max. Text Size : 0
Dual-state Button right_bt_pic
Attributes
ID : 36
Scope : global
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text :
Max. Text Size : 0
Timer swipestore
Attributes
ID : 2
@@ -649,7 +629,7 @@ Timer settings_timer
Timer wakeup_timer
Attributes
ID : 37
ID : 35
Scope : local
Period (ms): 50
Enabled : yes
@@ -672,7 +652,7 @@ Timer wakeup_timer
Timer click_timer
Attributes
ID : 42
ID : 40
Scope : local
Period (ms): 800
Enabled : no

View File

@@ -35,7 +35,7 @@ Variable (string) lastclick
Variable (string) click_comp
Attributes
ID : 41
ID : 39
Scope : local
Text :
Max. Text Size: 8
@@ -414,7 +414,7 @@ Text meridiem
Text button01
Attributes
ID : 38
ID : 36
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -442,7 +442,7 @@ Text button01
Text button02
Attributes
ID : 39
ID : 37
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -470,7 +470,7 @@ Text button02
Text button03
Attributes
ID : 40
ID : 38
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -498,7 +498,7 @@ Text button03
Text button04
Attributes
ID : 43
ID : 41
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -526,7 +526,7 @@ Text button04
Text button05
Attributes
ID : 44
ID : 42
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -554,7 +554,7 @@ Text button05
Text button06
Attributes
ID : 45
ID : 43
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -582,7 +582,7 @@ Text button06
Text unavailable
Attributes
ID : 46
ID : 44
Scope : local
Dragging : 0
Send Component ID : disabled
@@ -604,26 +604,6 @@ Picture weather
page weather01
}
Dual-state Button left_bt_pic
Attributes
ID : 35
Scope : global
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text :
Max. Text Size : 0
Dual-state Button right_bt_pic
Attributes
ID : 36
Scope : global
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text :
Max. Text Size : 0
Timer swipestore
Attributes
ID : 2
@@ -649,7 +629,7 @@ Timer settings_timer
Timer wakeup_timer
Attributes
ID : 37
ID : 35
Scope : local
Period (ms): 50
Enabled : yes
@@ -672,7 +652,7 @@ Timer wakeup_timer
Timer click_timer
Attributes
ID : 42
ID : 40
Scope : local
Period (ms): 800
Enabled : no

View File

@@ -35,7 +35,7 @@ Variable (string) lastclick
Variable (string) click_comp
Attributes
ID : 41
ID : 39
Scope : local
Text :
Max. Text Size: 8
@@ -414,7 +414,7 @@ Text meridiem
Text button01
Attributes
ID : 38
ID : 36
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -442,7 +442,7 @@ Text button01
Text button02
Attributes
ID : 39
ID : 37
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -470,7 +470,7 @@ Text button02
Text button03
Attributes
ID : 40
ID : 38
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -498,7 +498,7 @@ Text button03
Text button04
Attributes
ID : 43
ID : 41
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -526,7 +526,7 @@ Text button04
Text button05
Attributes
ID : 44
ID : 42
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -554,7 +554,7 @@ Text button05
Text button06
Attributes
ID : 45
ID : 43
Scope : global
Dragging : 0
Send Component ID : on press and release
@@ -582,7 +582,7 @@ Text button06
Text unavailable
Attributes
ID : 46
ID : 44
Scope : local
Dragging : 0
Send Component ID : disabled
@@ -604,26 +604,6 @@ Picture weather
page weather01
}
Dual-state Button left_bt_pic
Attributes
ID : 35
Scope : global
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text :
Max. Text Size : 0
Dual-state Button right_bt_pic
Attributes
ID : 36
Scope : global
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text :
Max. Text Size : 0
Timer swipestore
Attributes
ID : 2
@@ -649,7 +629,7 @@ Timer settings_timer
Timer wakeup_timer
Attributes
ID : 37
ID : 35
Scope : local
Period (ms): 50
Enabled : yes
@@ -672,7 +652,7 @@ Timer wakeup_timer
Timer click_timer
Attributes
ID : 42
ID : 40
Scope : local
Period (ms): 800
Enabled : no

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.