increase limit for notify text on screensaver and activate isbr (add nextion2text)

This commit is contained in:
joBr99
2022-12-10 19:17:42 +00:00
committed by github-actions[bot]
parent 95b26154fe
commit feddca8105
13 changed files with 83 additions and 175 deletions

View File

@@ -64,7 +64,7 @@
│ Max. Text Size: 25 │ Max. Text Size: 25
│ Variable (string) tInstruction │ Variable (string) tInstruction
│ @@ -103,24 +94,14 @@ │ @@ -103,34 +94,14 @@
│ Value: 0 │ Value: 0
│ Variable (int32) ycR │ Variable (int32) ycR
@@ -82,6 +82,16 @@
│ - Text : │ - Text :
│ - Max. Text Size : 10 │ - Max. Text Size : 10
│ - │ -
│ - Events
│ - Touch Press Event
│ - if(tDate.x==0)
│ - {
│ - vis m0,1
│ - }else
│ - {
│ - vis m0,1
│ - }
│ -
│ Text t10 │ Text t10
│ Attributes │ Attributes
│ Scope : local │ Scope : local
@@ -89,7 +99,7 @@
│ Disable release event after dragging: 0 │ Disable release event after dragging: 0
│ Send Component ID : disabled │ Send Component ID : disabled
│ Associated Keyboard : none │ Associated Keyboard : none
│ @@ -370,15 +351,15 @@ │ @@ -380,15 +351,15 @@
│ Text tTime │ Text tTime
│ Attributes │ Attributes
│ Scope : local │ Scope : local
@@ -106,7 +116,7 @@
│ Scope : local │ Scope : local
│ Dragging : 0 │ Dragging : 0
│ Disable release event after dragging: 0 │ Disable release event after dragging: 0
│ @@ -582,15 +563,14 @@ │ @@ -592,15 +563,14 @@
│ spstr strCommand.txt,tIcon1.txt,"~",17 │ spstr strCommand.txt,tIcon1.txt,"~",17
│ spstr strCommand.txt,tTmp.txt,"~",18 │ spstr strCommand.txt,tTmp.txt,"~",18
│ covx tTmp.txt,tIcon1.pco,0,0 │ covx tTmp.txt,tIcon1.pco,0,0

View File

@@ -22,10 +22,6 @@ popupNotify
19 Component(s) 19 Component(s)
257 Line(s) of event code 257 Line(s) of event code
166 Unique line(s) of event code 166 Unique line(s) of event code
screensaver
45 Component(s)
400 Line(s) of event code
296 Unique line(s) of event code
popupLight popupLight
28 Component(s) 28 Component(s)
408 Line(s) of event code 408 Line(s) of event code
@@ -74,6 +70,10 @@ cardGrid
42 Component(s) 42 Component(s)
514 Line(s) of event code 514 Line(s) of event code
293 Unique line(s) of event code 293 Unique line(s) of event code
screensaver
45 Component(s)
400 Line(s) of event code
296 Unique line(s) of event code
Total Total
18 Page(s) 18 Page(s)

View File

@@ -863,8 +863,8 @@ Text tNotifyText
Vertical Alignment : top Vertical Alignment : top
Input Type : character Input Type : character
Text : Text :
Max. Text Size : 35 Max. Text Size : 80
Word wrap : disabled Word wrap : enabled
Horizontal Spacing : 0 Horizontal Spacing : 0
Vertical Spacing : 0 Vertical Spacing : 0

View File

@@ -346,7 +346,7 @@ Text tNotifyText
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard : none Associated Keyboard : none
Text : Text :
Max. Text Size : 35 Max. Text Size : 80
Text tTime Text tTime
Attributes Attributes

View File

@@ -862,7 +862,7 @@
│ Max. Text Size: 25 │ Max. Text Size: 25
│ Variable (string) tInstruction │ Variable (string) tInstruction
│ @@ -103,24 +94,14 @@ │ @@ -103,34 +94,14 @@
│ Value: 0 │ Value: 0
│ Variable (int32) ycR │ Variable (int32) ycR
@@ -880,6 +880,16 @@
│ - Text : │ - Text :
│ - Max. Text Size : 10 │ - Max. Text Size : 10
│ - │ -
│ - Events
│ - Touch Press Event
│ - if(tDate.x==0)
│ - {
│ - vis m0,1
│ - }else
│ - {
│ - vis m0,1
│ - }
│ -
│ Text t10 │ Text t10
│ Attributes │ Attributes
│ Scope : local │ Scope : local
@@ -887,7 +897,7 @@
│ Disable release event after dragging: 0 │ Disable release event after dragging: 0
│ Send Component ID : disabled │ Send Component ID : disabled
│ Associated Keyboard : none │ Associated Keyboard : none
│ @@ -582,15 +563,14 @@ │ @@ -592,15 +563,14 @@
│ spstr strCommand.txt,tIcon1.txt,"~",17 │ spstr strCommand.txt,tIcon1.txt,"~",17
│ spstr strCommand.txt,tTmp.txt,"~",18 │ spstr strCommand.txt,tTmp.txt,"~",18
│ covx tTmp.txt,tIcon1.pco,0,0 │ covx tTmp.txt,tIcon1.pco,0,0

View File

@@ -1,4 +1,4 @@
+++ /dev/fd/62 2022-12-10 08:03:16.022725697 +0000 +++ /dev/fd/62 2022-12-10 19:17:36.292152828 +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
@@ -218,7 +218,7 @@
+ Max. Text Size: 25 + Max. Text Size: 25
+ +
+e (string) tInstruction +e (string) tInstruction
+24 +94,14 @@ +34 +94,14 @@
+ Value: 0 + Value: 0
+ +
+e (int32) ycR +e (int32) ycR
@@ -236,6 +236,16 @@
+ Text : + Text :
+ Max. Text Size : 10 + Max. Text Size : 10
+ +
+nts
+ Touch Press Event
+ if(tDate.x==0)
+ {
+ vis m0,1
+ }else
+ {
+ vis m0,1
+ }
+
+0 +0
+ributes +ributes
+ Scope : local + Scope : local

View File

@@ -863,8 +863,8 @@ Text tNotifyText
Vertical Alignment : center Vertical Alignment : center
Input Type : character Input Type : character
Text : Text :
Max. Text Size : 35 Max. Text Size : 80
Word wrap : disabled Word wrap : enabled
Horizontal Spacing : 0 Horizontal Spacing : 0
Vertical Spacing : 0 Vertical Spacing : 0

View File

@@ -346,7 +346,7 @@ Text tNotifyText
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard : none Associated Keyboard : none
Text : Text :
Max. Text Size : 35 Max. Text Size : 80
Text tTime Text tTime
Attributes Attributes

View File

@@ -18,14 +18,14 @@ cardChart
31 Component(s) 31 Component(s)
452 Line(s) of event code 452 Line(s) of event code
296 Unique line(s) of event code 296 Unique line(s) of event code
pageTest
20 Component(s)
65 Line(s) of event code
63 Unique line(s) of event code
pageStartup 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
popupFan popupFan
27 Component(s) 27 Component(s)
351 Line(s) of event code 351 Line(s) of event code
@@ -50,6 +50,10 @@ cardPower
43 Component(s) 43 Component(s)
439 Line(s) of event code 439 Line(s) of event code
299 Unique line(s) of event code 299 Unique line(s) of event code
screensaver
47 Component(s)
409 Line(s) of event code
301 Unique line(s) of event code
cardQR cardQR
32 Component(s) 32 Component(s)
425 Line(s) of event code 425 Line(s) of event code
@@ -58,10 +62,6 @@ 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
cardThermo cardThermo
53 Component(s) 53 Component(s)
612 Line(s) of event code 612 Line(s) of event code
@@ -77,6 +77,6 @@ cardEntities
Total Total
18 Page(s) 18 Page(s)
636 Component(s) 633 Component(s)
7933 Line(s) of event code 7932 Line(s) of event code
2008 Unique line(s) of event code 2004 Unique line(s) of event code

View File

@@ -45,77 +45,6 @@ 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
@@ -146,36 +75,6 @@ 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

View File

@@ -136,9 +136,9 @@ Text m0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 465 x coordinate : 462
y coordinate : 0 y coordinate : 0
Width : 15 Width : 18
Height : 320 Height : 320
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
@@ -158,6 +158,16 @@ Text m0
Horizontal Spacing : 0 Horizontal Spacing : 0
Vertical Spacing : 0 Vertical Spacing : 0
Events
Touch Press Event
if(tDate.x==0)
{
vis m0,1
}else
{
vis m0,1
}
Text t10 Text t10
Attributes Attributes
ID : 15 ID : 15
@@ -903,8 +913,8 @@ Text tNotifyText
Vertical Alignment : top Vertical Alignment : top
Input Type : character Input Type : character
Text : Text :
Max. Text Size : 35 Max. Text Size : 80
Word wrap : disabled Word wrap : enabled
Horizontal Spacing : 0 Horizontal Spacing : 0
Vertical Spacing : 0 Vertical Spacing : 0

View File

@@ -34,37 +34,6 @@ 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
@@ -75,16 +44,6 @@ 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

View File

@@ -117,6 +117,16 @@ Text m0
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
if(tDate.x==0)
{
vis m0,1
}else
{
vis m0,1
}
Text t10 Text t10
Attributes Attributes
Scope : local Scope : local
@@ -365,7 +375,7 @@ Text tNotifyText
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard : none Associated Keyboard : none
Text : Text :
Max. Text Size : 35 Max. Text Size : 80
Text tTime Text tTime
Attributes Attributes