fix current dimmode on page change (add nextion2text)

This commit is contained in:
joBr99
2022-05-30 18:24:37 +00:00
committed by github-actions[bot]
parent 9a734c9c64
commit ff838ef6cc
43 changed files with 434 additions and 145 deletions

View File

@@ -20,6 +20,7 @@ Page cardAlarm
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0

View File

@@ -20,6 +20,7 @@ Page cardEntities
Events
Preinitialize Event
dim=dimValueNormal
//wup=cardEntities
//remove background & activate reparse mode
vis p0,0
@@ -256,6 +257,36 @@ Number nNum4
Horizontal Spacing : 0
Vertical Spacing : 0
Number n0
Attributes
ID : 65
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 151
y coordinate : 172
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
Value : 0
Significant digits shown : all
Format : decimal
Word wrap : enabled
Horizontal Spacing : 0
Vertical Spacing : 0
Text tHeading
Attributes
ID : 2
@@ -2900,6 +2931,7 @@ Timer tmSerial
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
n0.val=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -20,7 +20,7 @@ Page cardGrid
Events
Preinitialize Event
//wup=cardEntities
dim=dimValueNormal
//remove background & activate reparse mode
vis p0,0
recmod=1

View File

@@ -20,6 +20,7 @@ Page cardMedia
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0

View File

@@ -20,6 +20,7 @@ Page cardQR
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0

View File

@@ -20,6 +20,7 @@ Page cardThermo
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0

View File

@@ -10,53 +10,53 @@ pageTest
14 Component(s)
14 Line(s) of event code
14 Unique line(s) of event code
cardQR
30 Component(s)
362 Line(s) of event code
211 Unique line(s) of event code
popupNotify
17 Component(s)
203 Line(s) of event code
127 Unique line(s) of event code
cardAlarm
38 Component(s)
362 Line(s) of event code
227 Unique line(s) of event code
popupShutter
20 Component(s)
247 Line(s) of event code
140 Unique line(s) of event code
cardGrid
42 Component(s)
438 Line(s) of event code
258 Unique line(s) of event code
204 Line(s) of event code
128 Unique line(s) of event code
popupLight
27 Component(s)
351 Line(s) of event code
190 Unique line(s) of event code
352 Line(s) of event code
191 Unique line(s) of event code
popupShutter
20 Component(s)
248 Line(s) of event code
141 Unique line(s) of event code
cardAlarm
38 Component(s)
363 Line(s) of event code
228 Unique line(s) of event code
cardMedia
33 Component(s)
348 Line(s) of event code
182 Unique line(s) of event code
screensaver
37 Component(s)
307 Line(s) of event code
245 Unique line(s) of event code
349 Line(s) of event code
183 Unique line(s) of event code
pageStartup
19 Component(s)
157 Line(s) of event code
117 Unique line(s) of event code
cardGrid
42 Component(s)
439 Line(s) of event code
259 Unique line(s) of event code
screensaver
38 Component(s)
308 Line(s) of event code
246 Unique line(s) of event code
cardThermo
56 Component(s)
545 Line(s) of event code
294 Unique line(s) of event code
546 Line(s) of event code
295 Unique line(s) of event code
cardEntities
65 Component(s)
1132 Line(s) of event code
495 Unique line(s) of event code
cardQR
30 Component(s)
361 Line(s) of event code
210 Unique line(s) of event code
66 Component(s)
1134 Line(s) of event code
497 Unique line(s) of event code
Total
13 Page(s)
404 Component(s)
4476 Line(s) of event code
1180 Unique line(s) of event code
406 Component(s)
4487 Line(s) of event code
1181 Unique line(s) of event code

View File

@@ -20,6 +20,7 @@ Page popupLight
Events
Preinitialize Event
dim=dimValueNormal
//get entitiy name
tEntity.txt=pageIcons.tTmp1.txt
//get entity id

View File

@@ -20,6 +20,7 @@ Page popupNotify
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tTmp,0

View File

@@ -20,6 +20,7 @@ Page popupShutter
Events
Preinitialize Event
dim=dimValueNormal
//get entitiy name
tEntity.txt=pageIcons.tTmp1.txt
//get entity id

View File

@@ -82,6 +82,36 @@ Variable (string) tSend
Text :
Max. Text Size: 50
Number n0
Attributes
ID : 37
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 188
y coordinate : 231
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
Value : 0
Significant digits shown : all
Format : decimal
Word wrap : enabled
Horizontal Spacing : 0
Vertical Spacing : 0
Text tTime
Attributes
ID : 5
@@ -945,6 +975,7 @@ Timer tmSerial
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
n0.val=dimValueNormal
}
if(tInstruction.txt=="time")
{