fixed active color setting (add nextion2text)

This commit is contained in:
joBr99
2022-03-14 16:59:29 +00:00
committed by GitHub Actions
parent 0bcacd6ba6
commit bea91b01a9
2 changed files with 20 additions and 20 deletions

View File

@@ -1076,12 +1076,12 @@ Timer tmSerial
spstr strCommand.txt,tTmp.txt,",",9
if(tTmp.txt!="")
{
// set icon
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt0.txt,sys0,1
// set text color on active state
spstr strCommand.txt,tTmp.txt,",",10
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt0.pco2,sys0,1
covx tTmp.txt,bt0.pco2,0,0
// set state
spstr strCommand.txt,tTmp.txt,",",11
covx tTmp.txt,bt0.val,0,0
@@ -1092,12 +1092,12 @@ Timer tmSerial
spstr strCommand.txt,tTmp.txt,",",12
if(tTmp.txt!="")
{
// set icon
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt1.txt,sys0,1
// set text color on active state
spstr strCommand.txt,tTmp.txt,",",13
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt1.pco2,sys0,1
covx tTmp.txt,bt1.pco2,0,0
// set state
spstr strCommand.txt,tTmp.txt,",",14
covx tTmp.txt,bt1.val,0,0
@@ -1108,12 +1108,12 @@ Timer tmSerial
spstr strCommand.txt,tTmp.txt,",",15
if(tTmp.txt!="")
{
// set icon
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt2.txt,sys0,1
// set text color on active state
spstr strCommand.txt,tTmp.txt,",",16
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt2.pco2,sys0,1
covx tTmp.txt,bt2.pco2,0,0
// set state
spstr strCommand.txt,tTmp.txt,",",17
covx tTmp.txt,bt2.val,0,0
@@ -1124,12 +1124,12 @@ Timer tmSerial
spstr strCommand.txt,tTmp.txt,",",18
if(tTmp.txt!="")
{
// set icon
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt3.txt,sys0,1
// set text color on active state
spstr strCommand.txt,tTmp.txt,",",19
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt3.pco2,sys0,1
covx tTmp.txt,bt3.pco2,0,0
// set state
spstr strCommand.txt,tTmp.txt,",",20
covx tTmp.txt,bt3.val,0,0
@@ -1140,12 +1140,12 @@ Timer tmSerial
spstr strCommand.txt,tTmp.txt,",",21
if(tTmp.txt!="")
{
// set icon
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt4.txt,sys0,1
// set text color on active state
spstr strCommand.txt,tTmp.txt,",",22
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt4.pco2,sys0,1
covx tTmp.txt,bt4.pco2,0,0
// set state
spstr strCommand.txt,tTmp.txt,",",23
covx tTmp.txt,bt4.val,0,0
@@ -1156,12 +1156,12 @@ Timer tmSerial
spstr strCommand.txt,tTmp.txt,",",24
if(tTmp.txt!="")
{
// set icon
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt5.txt,sys0,1
// set text color on active state
spstr strCommand.txt,tTmp.txt,",",25
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt5.pco2,sys0,1
covx tTmp.txt,bt5.pco2,0,0
// set state
spstr strCommand.txt,tTmp.txt,",",26
covx tTmp.txt,bt5.val,0,0
@@ -1172,12 +1172,12 @@ Timer tmSerial
spstr strCommand.txt,tTmp.txt,",",27
if(tTmp.txt!="")
{
// set icon
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt6.txt,sys0,1
// set text color on active state
spstr strCommand.txt,tTmp.txt,",",28
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt6.pco2,sys0,1
covx tTmp.txt,bt6.pco2,0,0
// set state
spstr strCommand.txt,tTmp.txt,",",29
covx tTmp.txt,bt6.val,0,0
@@ -1188,12 +1188,12 @@ Timer tmSerial
spstr strCommand.txt,tTmp.txt,",",30
if(tTmp.txt!="")
{
// set icon
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt7.txt,sys0,1
// set text color on active state
spstr strCommand.txt,tTmp.txt,",",31
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt7.pco2,sys0,1
covx tTmp.txt,bt7.pco2,0,0
// set state
spstr strCommand.txt,tTmp.txt,",",32
covx tTmp.txt,bt7.val,0,0
@@ -1204,12 +1204,12 @@ Timer tmSerial
spstr strCommand.txt,tTmp.txt,",",33
if(tTmp.txt!="")
{
// set icon
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt8.txt,sys0,1
// set text color on active state
spstr strCommand.txt,tTmp.txt,",",34
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt8.pco2,sys0,1
covx tTmp.txt,bt8.pco2,0,0
// set state
spstr strCommand.txt,tTmp.txt,",",35
covx tTmp.txt,bt8.val,0,0

View File

@@ -44,7 +44,7 @@ popupShutter
84 Unique line(s) of event code
cardThermo
33 Component(s)
324 Line(s) of event code
315 Line(s) of event code
200 Unique line(s) of event code
cardEntities
55 Component(s)
@@ -54,5 +54,5 @@ cardEntities
Total
12 Page(s)
264 Component(s)
2379 Line(s) of event code
2370 Line(s) of event code
658 Unique line(s) of event code