From 17554fd57daa4cb0d9205f6996a84819184a6dc0 Mon Sep 17 00:00:00 2001 From: joBr99 Date: Sun, 20 Mar 2022 14:31:33 +0000 Subject: [PATCH] modified notify page commands (add nextion2text) --- HMI/n2t-out/nspanel_Stats.txt | 8 ++++---- HMI/n2t-out/popupNotify.txt | 22 +++++++++++++++++++--- 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/HMI/n2t-out/nspanel_Stats.txt b/HMI/n2t-out/nspanel_Stats.txt index 47720894..7bc3a55a 100644 --- a/HMI/n2t-out/nspanel_Stats.txt +++ b/HMI/n2t-out/nspanel_Stats.txt @@ -16,8 +16,8 @@ cardGrid 224 Unique line(s) of event code popupNotify 16 Component(s) - 152 Line(s) of event code - 100 Unique line(s) of event code + 164 Line(s) of event code + 109 Unique line(s) of event code pageStartup 19 Component(s) 145 Line(s) of event code @@ -62,5 +62,5 @@ cardEntities Total 14 Page(s) 342 Component(s) - 3065 Line(s) of event code - 768 Unique line(s) of event code + 3077 Line(s) of event code + 773 Unique line(s) of event code diff --git a/HMI/n2t-out/popupNotify.txt b/HMI/n2t-out/popupNotify.txt index 146f522c..9fc1703f 100644 --- a/HMI/n2t-out/popupNotify.txt +++ b/HMI/n2t-out/popupNotify.txt @@ -462,20 +462,36 @@ Timer tmSerial spstr strCommand.txt,entn.txt,",",1 // get Heading spstr strCommand.txt,tHeading.txt,",",2 + // heading color + spstr strCommand.txt,tTmp.txt,",",3 + covx tTmp.txt,sys0,0,0 + tHeading.pco=sys0 // get b1 - spstr strCommand.txt,b1.txt,",",3 + spstr strCommand.txt,b1.txt,",",4 if(b1.txt!="") { vis b1,1 } + // b1 color + spstr strCommand.txt,tTmp.txt,",",5 + covx tTmp.txt,sys0,0,0 + b1.pco=sys0 // get b2 - spstr strCommand.txt,b2.txt,",",4 + spstr strCommand.txt,b2.txt,",",6 if(b2.txt!="") { vis b2,1 } + // b2 color + spstr strCommand.txt,tTmp.txt,",",7 + covx tTmp.txt,sys0,0,0 + b2.pco=sys0 // get tText - spstr strCommand.txt,tText.txt,",",5 + spstr strCommand.txt,tText.txt,",",8 + // tText color + spstr strCommand.txt,tTmp.txt,",",9 + covx tTmp.txt,sys0,0,0 + tText.pco=sys0 } if(tInstruction.txt=="time") {