From 1e2a7bc2caece55dbb48dcd98383d3453a45c7f4 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Sat, 26 Mar 2022 00:28:30 +0000 Subject: [PATCH] allow empty type as alternative for delete (add nextion2text) --- HMI/n2t-out/cardEntities.txt | 8 ++++---- HMI/n2t-out/nspanel_Stats.txt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/HMI/n2t-out/cardEntities.txt b/HMI/n2t-out/cardEntities.txt index 9ed5176c..78281fd3 100644 --- a/HMI/n2t-out/cardEntities.txt +++ b/HMI/n2t-out/cardEntities.txt @@ -1800,7 +1800,7 @@ Timer tmSerial spstr strCommand.txt,type1.txt,",",1 // get internal name spstr strCommand.txt,entn1.txt,",",2 - if(type1.txt=="delete") + if(type1.txt=="delete"||type1.txt=="") { vis bUp1,0 vis bStop1,0 @@ -1887,7 +1887,7 @@ Timer tmSerial spstr strCommand.txt,type2.txt,",",7 // get internal name spstr strCommand.txt,entn2.txt,",",8 - if(type2.txt=="delete") + if(type2.txt=="delete"||type2.txt=="") { vis bUp2,0 vis bStop2,0 @@ -1974,7 +1974,7 @@ Timer tmSerial spstr strCommand.txt,type3.txt,",",13 // get internal name spstr strCommand.txt,entn3.txt,",",14 - if(type3.txt=="delete") + if(type3.txt=="delete"||type3.txt=="") { vis bUp3,0 vis bStop3,0 @@ -2061,7 +2061,7 @@ Timer tmSerial spstr strCommand.txt,type4.txt,",",19 // get internal name spstr strCommand.txt,entn4.txt,",",20 - if(type4.txt=="delete") + if(type4.txt=="delete"||type4.txt=="") { vis bUp4,0 vis bStop4,0 diff --git a/HMI/n2t-out/nspanel_Stats.txt b/HMI/n2t-out/nspanel_Stats.txt index 0e1d96fc..25d14cd7 100644 --- a/HMI/n2t-out/nspanel_Stats.txt +++ b/HMI/n2t-out/nspanel_Stats.txt @@ -59,4 +59,4 @@ Total 13 Page(s) 330 Component(s) 3043 Line(s) of event code - 812 Unique line(s) of event code + 808 Unique line(s) of event code