chnaged order of preinit code (add nextion2text)

This commit is contained in:
joBr99
2022-07-12 19:48:24 +00:00
committed by github-actions[bot]
parent 256117be04
commit 386f800e07
6 changed files with 216 additions and 136 deletions

View File

@@ -18,6 +18,10 @@ popupShutter
25 Component(s)
388 Line(s) of event code
211 Unique line(s) of event code
popupLight
27 Component(s)
382 Line(s) of event code
209 Unique line(s) of event code
cardQR
32 Component(s)
384 Line(s) of event code
@@ -30,10 +34,6 @@ pageStartup
19 Component(s)
167 Line(s) of event code
122 Unique line(s) of event code
popupLight
27 Component(s)
382 Line(s) of event code
209 Unique line(s) of event code
cardMedia
34 Component(s)
384 Line(s) of event code

View File

@@ -20,25 +20,6 @@ Page popupLight
Events
Preinitialize Event
for(sys0=0;sys0<40;sys0++)
{
b[sys0].bco=defaultBcoColor
b[sys0].pco=defaultFontColor
if(b[sys0].type==53&&defaultBcoColor==0)
{
b[sys0].pic=10
b[sys0].pic2=11
}
}
if(defaultBcoColor==0)
{
hBrightness.pic=14
hBrightness.pic1=13
hBrightness.pic2=15
hTempSlider.pic=16
hTempSlider.pic1=17
hTempSlider.pic2=15
}
dim=dimValueNormal
//get entitiy name
tEntity.txt=pageIcons.tTmp1.txt
@@ -77,6 +58,25 @@ Page popupLight
vis t0,0
vis pColorWheel,0
//vis t0,0
for(sys0=0;sys0<40;sys0++)
{
b[sys0].bco=defaultBcoColor
b[sys0].pco=defaultFontColor
if(b[sys0].type==53&&defaultBcoColor==0)
{
b[sys0].pic=10
b[sys0].pic2=11
}
}
if(defaultBcoColor==0)
{
hBrightness.pic=14
hBrightness.pic1=13
hBrightness.pic2=15
hTempSlider.pic=16
hTempSlider.pic1=17
hTempSlider.pic2=15
}
Variable (string) strCommand
Attributes