open select popup on cardGird direct (add nextion2text)

This commit is contained in:
joBr99
2022-11-30 16:01:16 +00:00
committed by github-actions[bot]
parent 3bc42a9d0f
commit a70494b355
26 changed files with 327 additions and 95 deletions

View File

@@ -1,6 +1,7 @@
--- HMI/n2t-out
+++ HMI/US/landscape/n2t-out
├── Program.s.txt
│ --- HMI/n2t-out/Program.s.txt
├── +++ HMI/US/landscape/n2t-out/Program.s.txt
│ @@ -10,10 +10,7 @@
│ int sleepValue=0
│ // dim value
@@ -12,7 +13,8 @@
│ - // fix touch offset
│ - lcd_dev fffb 0002 0000 0020
│ - page pageStartup
├── cardChart.txt
│ --- HMI/n2t-out/cardChart.txt
├── +++ HMI/US/landscape/n2t-out/cardChart.txt
│ @@ -175,16 +175,16 @@
│ Send Component ID : disabled
│ State : unpressed
@@ -49,7 +51,28 @@
│ {
│ tSend.txt+="bPrev"
│ }
├── cardMedia.txt
│ --- HMI/n2t-out/cardGrid.txt
├── +++ HMI/US/landscape/n2t-out/cardGrid.txt
│ @@ -609,14 +609,18 @@
│ {
│ page popupLight
│ }
│ if(tTmp.txt=="fan")
│ {
│ page popupFan
│ }
│ + if(tTmp.txt=="input_sel")
│ + {
│ + page popupInSel
│ + }
│ Timer tmSerial
│ Attributes
│ Scope : local
│ Period (ms): 50
│ Enabled : yes
│ --- HMI/n2t-out/cardMedia.txt
├── +++ HMI/US/landscape/n2t-out/cardMedia.txt
│ @@ -15,15 +15,14 @@
│ dim=dimValueNormal
│ vis p0,0
@@ -238,7 +261,8 @@
│ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
│ }
│ if(tInstruction.txt=="date")
├── pageStartup.txt
│ --- HMI/n2t-out/pageStartup.txt
├── +++ HMI/US/landscape/n2t-out/pageStartup.txt
│ @@ -173,15 +173,15 @@
│ Max. Text Size : 10
@@ -256,7 +280,8 @@
│ crcputs sys0,2
│ crcputs tSend.txt,0
│ //send cmd
├── popupFan.txt
│ --- HMI/n2t-out/popupFan.txt
├── +++ HMI/US/landscape/n2t-out/popupFan.txt
│ @@ -619,14 +619,18 @@
│ {
│ page cardQR
@@ -276,7 +301,8 @@
│ }
│ }
│ }
├── popupInSel.txt
│ --- HMI/n2t-out/popupInSel.txt
├── +++ HMI/US/landscape/n2t-out/popupInSel.txt
│ @@ -893,14 +893,18 @@
│ {
│ page cardQR
@@ -296,7 +322,8 @@
│ }
│ }
│ }
├── popupLight.txt
│ --- HMI/n2t-out/popupLight.txt
├── +++ HMI/US/landscape/n2t-out/popupLight.txt
│ @@ -682,14 +682,18 @@
│ {
│ page cardQR
@@ -316,7 +343,8 @@
│ }
│ }
│ }
├── popupNotify.txt
│ --- HMI/n2t-out/popupNotify.txt
├── +++ HMI/US/landscape/n2t-out/popupNotify.txt
│ @@ -437,14 +437,18 @@
│ {
│ page cardQR
@@ -336,7 +364,8 @@
│ }
│ }
│ }
├── popupShutter.txt
│ --- HMI/n2t-out/popupShutter.txt
├── +++ HMI/US/landscape/n2t-out/popupShutter.txt
│ @@ -671,14 +671,18 @@
│ {
│ page cardQR
@@ -356,7 +385,8 @@
│ }
│ }
│ }
├── popupThermo.txt
│ --- HMI/n2t-out/popupThermo.txt
├── +++ HMI/US/landscape/n2t-out/popupThermo.txt
│ @@ -942,14 +942,18 @@
│ {
│ page cardQR
@@ -376,7 +406,8 @@
│ }
│ }
│ }
├── screensaver.txt
│ --- HMI/n2t-out/screensaver.txt
├── +++ HMI/US/landscape/n2t-out/screensaver.txt
│ @@ -351,15 +351,15 @@
│ Text tTime
│ Attributes