mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-10 07:16:34 +01:00
added text to test page (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
aa4cabf930
commit
d7b43b9975
@@ -1,4 +1,4 @@
|
|||||||
+++ /dev/fd/62 2022-12-06 20:06:24.733697158 +0000
|
+++ /dev/fd/62 2022-12-06 21:19:22.503654117 +0000
|
||||||
+I/n2t-out/Program.s.txt
|
+I/n2t-out/Program.s.txt
|
||||||
++ HMI/US/portrait/n2t-out/Program.s.txt
|
++ HMI/US/portrait/n2t-out/Program.s.txt
|
||||||
+I/n2t-out/cardChart.txt
|
+I/n2t-out/cardChart.txt
|
||||||
|
|||||||
@@ -6,10 +6,6 @@ pageIcons
|
|||||||
7 Component(s)
|
7 Component(s)
|
||||||
0 Line(s) of event code
|
0 Line(s) of event code
|
||||||
0 Unique line(s) of event code
|
0 Unique line(s) of event code
|
||||||
pageTest
|
|
||||||
21 Component(s)
|
|
||||||
65 Line(s) of event code
|
|
||||||
63 Unique line(s) of event code
|
|
||||||
popupShutter
|
popupShutter
|
||||||
25 Component(s)
|
25 Component(s)
|
||||||
394 Line(s) of event code
|
394 Line(s) of event code
|
||||||
@@ -26,6 +22,10 @@ pageStartup
|
|||||||
19 Component(s)
|
19 Component(s)
|
||||||
181 Line(s) of event code
|
181 Line(s) of event code
|
||||||
129 Unique line(s) of event code
|
129 Unique line(s) of event code
|
||||||
|
pageTest
|
||||||
|
23 Component(s)
|
||||||
|
73 Line(s) of event code
|
||||||
|
69 Unique line(s) of event code
|
||||||
popupInSel
|
popupInSel
|
||||||
34 Component(s)
|
34 Component(s)
|
||||||
529 Line(s) of event code
|
529 Line(s) of event code
|
||||||
@@ -54,6 +54,10 @@ cardAlarm
|
|||||||
40 Component(s)
|
40 Component(s)
|
||||||
443 Line(s) of event code
|
443 Line(s) of event code
|
||||||
263 Unique line(s) of event code
|
263 Unique line(s) of event code
|
||||||
|
screensaver
|
||||||
|
47 Component(s)
|
||||||
|
402 Line(s) of event code
|
||||||
|
298 Unique line(s) of event code
|
||||||
popupThermo
|
popupThermo
|
||||||
44 Component(s)
|
44 Component(s)
|
||||||
515 Line(s) of event code
|
515 Line(s) of event code
|
||||||
@@ -62,10 +66,6 @@ cardThermo
|
|||||||
53 Component(s)
|
53 Component(s)
|
||||||
612 Line(s) of event code
|
612 Line(s) of event code
|
||||||
318 Unique line(s) of event code
|
318 Unique line(s) of event code
|
||||||
screensaver
|
|
||||||
47 Component(s)
|
|
||||||
402 Line(s) of event code
|
|
||||||
298 Unique line(s) of event code
|
|
||||||
cardMedia
|
cardMedia
|
||||||
57 Component(s)
|
57 Component(s)
|
||||||
640 Line(s) of event code
|
640 Line(s) of event code
|
||||||
@@ -77,6 +77,6 @@ cardEntities
|
|||||||
|
|
||||||
Total
|
Total
|
||||||
18 Page(s)
|
18 Page(s)
|
||||||
634 Component(s)
|
636 Component(s)
|
||||||
7797 Line(s) of event code
|
7805 Line(s) of event code
|
||||||
1961 Unique line(s) of event code
|
1967 Unique line(s) of event code
|
||||||
|
|||||||
@@ -45,6 +45,77 @@ Variable (string) tSend
|
|||||||
Text :
|
Text :
|
||||||
Max. Text Size: 40
|
Max. Text Size: 40
|
||||||
|
|
||||||
|
Text m0
|
||||||
|
Attributes
|
||||||
|
ID : 20
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 465
|
||||||
|
y coordinate : 0
|
||||||
|
Width : 15
|
||||||
|
Height : 320
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : solid color
|
||||||
|
Style : flat
|
||||||
|
Associated Keyboard : none
|
||||||
|
Font ID : 0
|
||||||
|
Back. Color : 63488
|
||||||
|
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
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
tTmp.txt="change model conf to us-l/p "
|
||||||
|
strlen tTmp.txt,sys1
|
||||||
|
sya1=sys1*11+m0.h-48/2
|
||||||
|
for(sys0=0;sys0<sys1;sys0++)
|
||||||
|
{
|
||||||
|
substr tTmp.txt,strTmp.txt,sys0,1
|
||||||
|
xstr m0.x,sys0*-11+m0.y+sya1,25,20,6,WHITE,RED,2,1,3,strTmp.txt
|
||||||
|
}
|
||||||
|
|
||||||
|
Text strTmp
|
||||||
|
Attributes
|
||||||
|
ID : 22
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 163
|
||||||
|
y coordinate : 204
|
||||||
|
Width : 100
|
||||||
|
Height : 30
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : solid color
|
||||||
|
Style : flat
|
||||||
|
Associated Keyboard : none
|
||||||
|
Font ID : 0
|
||||||
|
Back. Color : 65535
|
||||||
|
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 tBench
|
Text tBench
|
||||||
Attributes
|
Attributes
|
||||||
ID : 15
|
ID : 15
|
||||||
@@ -75,6 +146,36 @@ Text tBench
|
|||||||
Horizontal Spacing : 0
|
Horizontal Spacing : 0
|
||||||
Vertical Spacing : 0
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Text tTmp
|
||||||
|
Attributes
|
||||||
|
ID : 21
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 164
|
||||||
|
y coordinate : 244
|
||||||
|
Width : 100
|
||||||
|
Height : 30
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : solid color
|
||||||
|
Style : flat
|
||||||
|
Associated Keyboard : none
|
||||||
|
Font ID : 0
|
||||||
|
Back. Color : 65535
|
||||||
|
Font Color : 0
|
||||||
|
Horizontal Alignment : center
|
||||||
|
Vertical Alignment : center
|
||||||
|
Input Type : character
|
||||||
|
Text :
|
||||||
|
Max. Text Size : 30
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
Picture p0
|
Picture p0
|
||||||
Attributes
|
Attributes
|
||||||
ID : 1
|
ID : 1
|
||||||
@@ -561,22 +662,6 @@ Button b9
|
|||||||
Touch Press Event
|
Touch Press Event
|
||||||
page popupNotify
|
page popupNotify
|
||||||
|
|
||||||
Hotspot m0
|
|
||||||
Attributes
|
|
||||||
ID : 20
|
|
||||||
Scope : local
|
|
||||||
Dragging : 0
|
|
||||||
Disable release event after dragging: 0
|
|
||||||
Send Component ID : disabled
|
|
||||||
Opacity : 127
|
|
||||||
x coordinate : 225
|
|
||||||
y coordinate : 81
|
|
||||||
Width : 60
|
|
||||||
Height : 215
|
|
||||||
Effect : load
|
|
||||||
Effect Priority : 0
|
|
||||||
Effect Time : 300
|
|
||||||
|
|
||||||
Timer tmSerial
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
ID : 14
|
ID : 14
|
||||||
|
|||||||
@@ -34,6 +34,37 @@ Variable (string) tSend
|
|||||||
Text :
|
Text :
|
||||||
Max. Text Size: 40
|
Max. Text Size: 40
|
||||||
|
|
||||||
|
Text m0
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Associated Keyboard : none
|
||||||
|
Text :
|
||||||
|
Max. Text Size : 10
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
tTmp.txt="change model conf to us-l/p "
|
||||||
|
strlen tTmp.txt,sys1
|
||||||
|
sya1=sys1*11+m0.h-48/2
|
||||||
|
for(sys0=0;sys0<sys1;sys0++)
|
||||||
|
{
|
||||||
|
substr tTmp.txt,strTmp.txt,sys0,1
|
||||||
|
xstr m0.x,sys0*-11+m0.y+sya1,25,20,6,WHITE,RED,2,1,3,strTmp.txt
|
||||||
|
}
|
||||||
|
|
||||||
|
Text strTmp
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Associated Keyboard : none
|
||||||
|
Text :
|
||||||
|
Max. Text Size : 10
|
||||||
|
|
||||||
Text tBench
|
Text tBench
|
||||||
Attributes
|
Attributes
|
||||||
Scope : local
|
Scope : local
|
||||||
@@ -44,6 +75,16 @@ Text tBench
|
|||||||
Text :
|
Text :
|
||||||
Max. Text Size : 20
|
Max. Text Size : 20
|
||||||
|
|
||||||
|
Text tTmp
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Associated Keyboard : none
|
||||||
|
Text :
|
||||||
|
Max. Text Size : 30
|
||||||
|
|
||||||
Picture p0
|
Picture p0
|
||||||
Attributes
|
Attributes
|
||||||
Scope : local
|
Scope : local
|
||||||
@@ -234,13 +275,6 @@ Button b9
|
|||||||
Touch Press Event
|
Touch Press Event
|
||||||
page popupNotify
|
page popupNotify
|
||||||
|
|
||||||
Hotspot m0
|
|
||||||
Attributes
|
|
||||||
Scope : local
|
|
||||||
Dragging : 0
|
|
||||||
Disable release event after dragging: 0
|
|
||||||
Send Component ID : disabled
|
|
||||||
|
|
||||||
Timer tmSerial
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
Scope : local
|
Scope : local
|
||||||
|
|||||||
Reference in New Issue
Block a user