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

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

View File

@@ -12,6 +12,7 @@ Page cardEntities
Events
Preinitialize Event
dim=dimValueNormal
//wup=cardEntities
//remove background & activate reparse mode
vis p0,0
@@ -155,6 +156,15 @@ Number nNum4
Associated Keyboard : none
Value : 0
Number n0
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Value : 0
Text tHeading
Attributes
Scope : local
@@ -1928,6 +1938,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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -68,6 +68,15 @@ Variable (string) tSend
Text :
Max. Text Size: 50
Number n0
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Value : 0
Text tTime
Attributes
Scope : local
@@ -400,6 +409,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")
{