sync (add nextion2text)

This commit is contained in:
joBr99
2022-07-23 09:08:03 +00:00
committed by github-actions[bot]
parent d4ab833cd5
commit 229bfa4ecc
8 changed files with 217 additions and 416 deletions

View File

@@ -20,21 +20,6 @@ Page cardAlarm
Events
Preinitialize Event
for(sys0=0;sys0<40;sys0++)
{
b[sys0].bco=defaultBcoColor
b[sys0].pco=defaultFontColor
}
if(defaultBcoColor==0)
{
tCode.bco=6371
tCode.pco=40179
}
if(defaultBcoColor==6371)
{
tCode.bco=10565
tCode.pco=40179
}
dim=dimValueNormal
vis p0,0
vis tSend,0
@@ -60,6 +45,25 @@ Page cardAlarm
vis tCode,0
vis bPrev,0
vis bNext,0
cardAlarm.bco=defaultBcoColor
for(sys0=0;sys0<40;sys0++)
{
if(b[sys0].type==98||b[sys0].type==116)
{
b[sys0].bco=defaultBcoColor
b[sys0].pco=defaultFontColor
}
}
if(defaultBcoColor==0)
{
tCode.bco=6371
tCode.pco=40179
}
if(defaultBcoColor==6371)
{
tCode.bco=10565
tCode.pco=40179
}
Variable (string) strCommand
Attributes

View File

@@ -20,22 +20,6 @@ Page cardEntities
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(b[sys0].type==1&&defaultBcoColor==0)
{
b[sys0].pic=14
b[sys0].pic1=13
b[sys0].pic2=15
}
}
dim=dimValueNormal
//wup=cardEntities
//remove background & activate reparse mode
@@ -99,8 +83,26 @@ Page cardEntities
vis bText5,0
vis hSlider5,0
vis nNum5,0
vis bPrev,0
vis bNext,0
cardEntities.bco=defaultBcoColor
for(sys0=0;sys0<65;sys0++)
{
if(b[sys0].type==98||b[sys0].type==116||b[sys0].type==54)
{
b[sys0].bco=defaultBcoColor
b[sys0].pco=defaultFontColor
}
if(b[sys0].type==53&&defaultBcoColor==0)
{
b[sys0].pic=10
b[sys0].pic2=11
}
if(b[sys0].type==1&&defaultBcoColor==0)
{
b[sys0].pic=14
b[sys0].pic1=13
b[sys0].pic2=15
}
}
Variable (string) strCommand
Attributes
@@ -2333,6 +2335,10 @@ Hotspot m2
//popupLight.tEntity.txt=tEntity3.txt
page popupLight
}
if(type3.txt=="fan")
{
page popupFan
}
Hotspot m1
Attributes
@@ -2364,6 +2370,10 @@ Hotspot m1
//popupLight.tEntity.txt=tEntity2.txt
page popupLight
}
if(type2.txt=="fan")
{
page popupFan
}
Hotspot m0
Attributes
@@ -2395,6 +2405,10 @@ Hotspot m0
//popupLight.tEntity.txt=tEntity1.txt
page popupLight
}
if(type1.txt=="fan")
{
page popupFan
}
Hotspot m3
Attributes
@@ -2426,6 +2440,10 @@ Hotspot m3
//popupLight.tEntity.txt=tEntity4.txt
page popupLight
}
if(type4.txt=="fan")
{
page popupFan
}
Hotspot m4
Attributes
@@ -2457,6 +2475,10 @@ Hotspot m4
//popupLight.tEntity.txt=tEntity5.txt
page popupLight
}
if(type5.txt=="fan")
{
page popupFan
}
Hotspot mSwipeNext
Attributes

View File

@@ -26,10 +26,6 @@ cardQR
32 Component(s)
384 Line(s) of event code
223 Unique line(s) of event code
cardAlarm
40 Component(s)
417 Line(s) of event code
252 Unique line(s) of event code
popupFan
20 Component(s)
234 Line(s) of event code
@@ -50,10 +46,14 @@ cardGrid
42 Component(s)
454 Line(s) of event code
267 Unique line(s) of event code
cardAlarm
40 Component(s)
421 Line(s) of event code
254 Unique line(s) of event code
cardEntities
77 Component(s)
1245 Line(s) of event code
533 Unique line(s) of event code
1267 Line(s) of event code
541 Unique line(s) of event code
cardThermo
53 Component(s)
580 Line(s) of event code
@@ -62,5 +62,5 @@ cardThermo
Total
14 Page(s)
444 Component(s)
5223 Line(s) of event code
1351 Unique line(s) of event code
5249 Line(s) of event code
1361 Unique line(s) of event code