sync (add nextion2text)

This commit is contained in:
joBr99
2022-11-03 19:53:44 +00:00
committed by github-actions[bot]
parent b64104432f
commit 21b788f48d
7 changed files with 103 additions and 116 deletions

View File

@@ -74,7 +74,7 @@ Variable (string) strCommand
Attributes
Scope : local
Text :
Max. Text Size: 500
Max. Text Size: 960
Variable (string) tId
Attributes
@@ -110,7 +110,7 @@ Variable (string) vaModeList
Attributes
Scope : local
Text :
Max. Text Size: 400
Max. Text Size: 900
Variable (int32) vaModePos
Attributes

View File

@@ -23,6 +23,7 @@ Page popupLight
vis tTmp,0
vis tInstruction,0
vis tId,0
vis bEffect,0
//page open event
// event,pageOpenDetail,typeOfPage,tEntityName
// craft command
@@ -365,6 +366,23 @@ Button bColor
}
}
Button bEffect
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
State : unpressed
Text : 
Max. Text Size : 10
Events
Touch Press Event
pageIcons.tTmp1.txt=tEntity.txt
pageIcons.tTmp2.txt=entn.txt
pageIcons.tTmp3.txt=tIcon1.txt
page popupInSel
Dual-state Button btOnOff1
Attributes
Scope : local
@@ -557,6 +575,15 @@ Timer tmSerial
spstr strCommand.txt,t4.txt,"~",9
// set t1 Brightness (Localization)
spstr strCommand.txt,t1.txt,"~",10
// activate effect button
spstr strCommand.txt,tTmp.txt,"~",11
if(tTmp.txt=="enable")
{
vis bEffect,1
}else
{
vis bEffect,0
}
}
if(tInstruction.txt=="time")
{