From bea91b01a91df1a35faf4e6cb5f10ec4e54e8377 Mon Sep 17 00:00:00 2001 From: joBr99 Date: Mon, 14 Mar 2022 16:59:29 +0000 Subject: [PATCH] fixed active color setting (add nextion2text) --- HMI/n2t-out/cardThermo.txt | 36 +++++++++++++++++------------------ HMI/n2t-out/nspanel_Stats.txt | 4 ++-- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/HMI/n2t-out/cardThermo.txt b/HMI/n2t-out/cardThermo.txt index 6a5fc62e..d2e90a39 100644 --- a/HMI/n2t-out/cardThermo.txt +++ b/HMI/n2t-out/cardThermo.txt @@ -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 diff --git a/HMI/n2t-out/nspanel_Stats.txt b/HMI/n2t-out/nspanel_Stats.txt index 14f9de61..f1b29f98 100644 --- a/HMI/n2t-out/nspanel_Stats.txt +++ b/HMI/n2t-out/nspanel_Stats.txt @@ -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