mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-20 05:04:44 +01:00
Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
50b36fc490
commit
31d3e2e416
@@ -13,25 +13,6 @@
|
||||
│ - // fix touch offset
|
||||
│ - lcd_dev fffb 0002 0000 0020
|
||||
│ - page pageStartup
|
||||
│ --- HMI/n2t-out/cardChart.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/cardChart.txt
|
||||
│ @@ -176,15 +176,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î³
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardChart,"
|
||||
│ - if(bPrev.txt=="î")
|
||||
│ + if(bNext.txt=="î")
|
||||
│ {
|
||||
│ tSend.txt+="bHome"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bNext"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ --- HMI/n2t-out/pageStartup.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/pageStartup.txt
|
||||
│ @@ -173,15 +173,15 @@
|
||||
@@ -51,132 +32,6 @@
|
||||
│ crcputs sys0,2
|
||||
│ crcputs tSend.txt,0
|
||||
│ //send cmd
|
||||
│ --- HMI/n2t-out/popupFan.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/popupFan.txt
|
||||
│ @@ -619,14 +619,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
│ --- HMI/n2t-out/popupInSel.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/popupInSel.txt
|
||||
│ @@ -977,14 +977,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
│ --- HMI/n2t-out/popupLight.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/popupLight.txt
|
||||
│ @@ -682,14 +682,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
│ --- HMI/n2t-out/popupNotify.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/popupNotify.txt
|
||||
│ @@ -437,14 +437,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
│ --- HMI/n2t-out/popupShutter.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/popupShutter.txt
|
||||
│ @@ -671,14 +671,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
│ --- HMI/n2t-out/popupThermo.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/popupThermo.txt
|
||||
│ @@ -942,14 +942,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
│ --- HMI/n2t-out/screensaver.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/screensaver.txt
|
||||
│ @@ -29,29 +29,20 @@
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
│ page pageStartup
|
||||
│ --- HMI/n2t-out/cardChart.txt
|
||||
├── +++ HMI/US/portrait/n2t-out/cardChart.txt
|
||||
│ @@ -175,16 +175,16 @@
|
||||
│ @@ -175,15 +175,15 @@
|
||||
│ Send Component ID : disabled
|
||||
│ State : unpressed
|
||||
│ Text : î³
|
||||
@@ -26,16 +26,14 @@
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ - tSend.txt="event,buttonPress2,cardChart,"
|
||||
│ - if(bPrev.txt=="î")
|
||||
│ + tSend.txt="event,buttonPress2,cardPower,"
|
||||
│ + if(bNext.txt=="î")
|
||||
│ if(bNext.txt=="î")
|
||||
│ {
|
||||
│ tSend.txt+="bHome"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bNext"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -207,15 +207,15 @@
|
||||
│ Send Component ID : disabled
|
||||
│ State : unpressed
|
||||
@@ -732,27 +730,6 @@
|
||||
│ crcputs sys0,2
|
||||
│ crcputs tSend.txt,0
|
||||
│ //send cmd
|
||||
│ --- HMI/n2t-out/popupFan.txt
|
||||
├── +++ HMI/US/portrait/n2t-out/popupFan.txt
|
||||
│ @@ -619,14 +619,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
│ --- HMI/n2t-out/popupInSel.txt
|
||||
├── +++ HMI/US/portrait/n2t-out/popupInSel.txt
|
||||
│ @@ -632,98 +632,14 @@
|
||||
@@ -853,110 +830,6 @@
|
||||
│ Scope : local
|
||||
│ Period (ms): 100
|
||||
│ Enabled : no
|
||||
│
|
||||
│ @@ -977,14 +893,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
│ --- HMI/n2t-out/popupLight.txt
|
||||
├── +++ HMI/US/portrait/n2t-out/popupLight.txt
|
||||
│ @@ -682,14 +682,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
│ --- HMI/n2t-out/popupNotify.txt
|
||||
├── +++ HMI/US/portrait/n2t-out/popupNotify.txt
|
||||
│ @@ -437,14 +437,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
│ --- HMI/n2t-out/popupShutter.txt
|
||||
├── +++ HMI/US/portrait/n2t-out/popupShutter.txt
|
||||
│ @@ -671,14 +671,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
│ --- HMI/n2t-out/popupThermo.txt
|
||||
├── +++ HMI/US/portrait/n2t-out/popupThermo.txt
|
||||
│ @@ -942,14 +942,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
│ --- HMI/n2t-out/screensaver.txt
|
||||
├── +++ HMI/US/portrait/n2t-out/screensaver.txt
|
||||
│ @@ -29,29 +29,20 @@
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
+++ /dev/fd/62 2022-12-09 23:39:29.754086326 +0000
|
||||
+++ /dev/fd/62 2022-12-10 08:03:16.022725697 +0000
|
||||
+I/n2t-out/Program.s.txt
|
||||
++ HMI/US/portrait/n2t-out/Program.s.txt
|
||||
+I/n2t-out/cardChart.txt
|
||||
++ HMI/US/portrait/n2t-out/cardChart.txt
|
||||
+16 +175,16 @@
|
||||
+15 +175,15 @@
|
||||
+ Send Component ID : disabled
|
||||
+ State : unpressed
|
||||
+ Text : î³
|
||||
@@ -12,7 +12,6 @@
|
||||
+nts
|
||||
+ Touch Press Event
|
||||
+ tSend.txt="event,buttonPress2,cardChart,"
|
||||
+ if(bPrev.txt=="î")
|
||||
+ tSend.txt="event,buttonPress2,cardPower,"
|
||||
+ if(bNext.txt=="î")
|
||||
+ {
|
||||
@@ -21,7 +20,6 @@
|
||||
+ {
|
||||
+ tSend.txt+="bNext"
|
||||
+ }
|
||||
+ //send calc crc
|
||||
+15 +207,15 @@
|
||||
+ Send Component ID : disabled
|
||||
+ State : unpressed
|
||||
@@ -88,27 +86,6 @@
|
||||
+ Enabled : yes
|
||||
+I/n2t-out/pageStartup.txt
|
||||
++ HMI/US/portrait/n2t-out/pageStartup.txt
|
||||
+I/n2t-out/popupFan.txt
|
||||
++ HMI/US/portrait/n2t-out/popupFan.txt
|
||||
+14 +619,18 @@
|
||||
+ {
|
||||
+ page cardQR
|
||||
+ }
|
||||
+ if(tId.txt=="cardPower")
|
||||
+ {
|
||||
+ page cardPower
|
||||
+ }
|
||||
+ if(tId.txt=="cardChart")
|
||||
+ {
|
||||
+ page cardChart
|
||||
+ }
|
||||
+ }
|
||||
+ // end of user code
|
||||
+ udelete payloadLength-1
|
||||
+ bufferPos=0
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+I/n2t-out/popupInSel.txt
|
||||
++ HMI/US/portrait/n2t-out/popupInSel.txt
|
||||
+98 +632,14 @@
|
||||
@@ -209,110 +186,6 @@
|
||||
+ Scope : local
|
||||
+ Period (ms): 100
|
||||
+ Enabled : no
|
||||
+
|
||||
+14 +893,18 @@
|
||||
+ {
|
||||
+ page cardQR
|
||||
+ }
|
||||
+ if(tId.txt=="cardPower")
|
||||
+ {
|
||||
+ page cardPower
|
||||
+ }
|
||||
+ if(tId.txt=="cardChart")
|
||||
+ {
|
||||
+ page cardChart
|
||||
+ }
|
||||
+ }
|
||||
+ // end of user code
|
||||
+ udelete payloadLength-1
|
||||
+ bufferPos=0
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+I/n2t-out/popupLight.txt
|
||||
++ HMI/US/portrait/n2t-out/popupLight.txt
|
||||
+14 +682,18 @@
|
||||
+ {
|
||||
+ page cardQR
|
||||
+ }
|
||||
+ if(tId.txt=="cardPower")
|
||||
+ {
|
||||
+ page cardPower
|
||||
+ }
|
||||
+ if(tId.txt=="cardChart")
|
||||
+ {
|
||||
+ page cardChart
|
||||
+ }
|
||||
+ }
|
||||
+ // end of user code
|
||||
+ udelete payloadLength-1
|
||||
+ bufferPos=0
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+I/n2t-out/popupNotify.txt
|
||||
++ HMI/US/portrait/n2t-out/popupNotify.txt
|
||||
+14 +437,18 @@
|
||||
+ {
|
||||
+ page cardQR
|
||||
+ }
|
||||
+ if(tId.txt=="cardPower")
|
||||
+ {
|
||||
+ page cardPower
|
||||
+ }
|
||||
+ if(tId.txt=="cardChart")
|
||||
+ {
|
||||
+ page cardChart
|
||||
+ }
|
||||
+ }
|
||||
+ // end of user code
|
||||
+ udelete payloadLength-1
|
||||
+ bufferPos=0
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+I/n2t-out/popupShutter.txt
|
||||
++ HMI/US/portrait/n2t-out/popupShutter.txt
|
||||
+14 +671,18 @@
|
||||
+ {
|
||||
+ page cardQR
|
||||
+ }
|
||||
+ if(tId.txt=="cardPower")
|
||||
+ {
|
||||
+ page cardPower
|
||||
+ }
|
||||
+ if(tId.txt=="cardChart")
|
||||
+ {
|
||||
+ page cardChart
|
||||
+ }
|
||||
+ }
|
||||
+ // end of user code
|
||||
+ udelete payloadLength-1
|
||||
+ bufferPos=0
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+I/n2t-out/popupThermo.txt
|
||||
++ HMI/US/portrait/n2t-out/popupThermo.txt
|
||||
+14 +942,18 @@
|
||||
+ {
|
||||
+ page cardQR
|
||||
+ }
|
||||
+ if(tId.txt=="cardPower")
|
||||
+ {
|
||||
+ page cardPower
|
||||
+ }
|
||||
+ if(tId.txt=="cardChart")
|
||||
+ {
|
||||
+ page cardChart
|
||||
+ }
|
||||
+ }
|
||||
+ // end of user code
|
||||
+ udelete payloadLength-1
|
||||
+ bufferPos=0
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+I/n2t-out/screensaver.txt
|
||||
++ HMI/US/portrait/n2t-out/screensaver.txt
|
||||
+9 +29,20 @@
|
||||
|
||||
Reference in New Issue
Block a user