mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-18 10:57:01 +01:00
implemented cardGrid with 8 icons #898 (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
3d9861b2a5
commit
064ed0c50e
@@ -1,5 +1,20 @@
|
||||
--- HMI/n2t-out
|
||||
+++ HMI/US/landscape/n2t-out
|
||||
├── file list
|
||||
│ @@ -1,13 +1,12 @@
|
||||
│ Program.s.txt
|
||||
│ cardAlarm.txt
|
||||
│ cardChart.txt
|
||||
│ cardEntities.txt
|
||||
│ cardGrid.txt
|
||||
│ -cardGrid2.txt
|
||||
│ cardLChart.txt
|
||||
│ cardMedia.txt
|
||||
│ cardPower.txt
|
||||
│ cardQR.txt
|
||||
│ cardThermo.txt
|
||||
│ pageIcons.txt
|
||||
│ pageStartup.txt
|
||||
│ --- HMI/n2t-out/Program.s.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/Program.s.txt
|
||||
│ @@ -11,10 +11,10 @@
|
||||
@@ -14,8 +29,214 @@
|
||||
│ + //lcd_dev fffb 0002 0000 0020
|
||||
│ printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port
|
||||
│ page pageStartup
|
||||
│ --- HMI/n2t-out/cardAlarm.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/cardAlarm.txt
|
||||
│ @@ -885,18 +885,14 @@
|
||||
│ {
|
||||
│ page cardEntities
|
||||
│ }
|
||||
│ if(tId.txt=="cardGrid")
|
||||
│ {
|
||||
│ page cardGrid
|
||||
│ }
|
||||
│ - if(tId.txt=="cardGrid2")
|
||||
│ - {
|
||||
│ - page cardGrid2
|
||||
│ - }
|
||||
│ if(tId.txt=="popupLight")
|
||||
│ {
|
||||
│ pageIcons.tTmp1.txt=tTmp.txt
|
||||
│ page popupLight
|
||||
│ }
|
||||
│ if(tId.txt=="popupShutter")
|
||||
│ {
|
||||
│ --- HMI/n2t-out/cardChart.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/cardChart.txt
|
||||
│ @@ -637,18 +637,14 @@
|
||||
│ {
|
||||
│ page cardEntities
|
||||
│ }
|
||||
│ if(tId.txt=="cardGrid")
|
||||
│ {
|
||||
│ page cardGrid
|
||||
│ }
|
||||
│ - if(tId.txt=="cardGrid2")
|
||||
│ - {
|
||||
│ - page cardGrid2
|
||||
│ - }
|
||||
│ if(tId.txt=="popupLight")
|
||||
│ {
|
||||
│ pageIcons.tTmp1.txt=tTmp.txt
|
||||
│ page popupLight
|
||||
│ }
|
||||
│ if(tId.txt=="popupShutter")
|
||||
│ {
|
||||
│ --- HMI/n2t-out/cardEntities.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/cardEntities.txt
|
||||
│ @@ -1845,18 +1845,14 @@
|
||||
│ {
|
||||
│ page cardEntities
|
||||
│ }
|
||||
│ if(tId.txt=="cardGrid")
|
||||
│ {
|
||||
│ page cardGrid
|
||||
│ }
|
||||
│ - if(tId.txt=="cardGrid2")
|
||||
│ - {
|
||||
│ - page cardGrid2
|
||||
│ - }
|
||||
│ if(tId.txt=="popupLight")
|
||||
│ {
|
||||
│ pageIcons.tTmp1.txt=tTmp.txt
|
||||
│ page popupLight
|
||||
│ }
|
||||
│ if(tId.txt=="popupShutter")
|
||||
│ {
|
||||
│ --- HMI/n2t-out/cardGrid.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/cardGrid.txt
|
||||
│ @@ -858,18 +858,14 @@
|
||||
│ {
|
||||
│ page cardEntities
|
||||
│ }
|
||||
│ if(tId.txt=="cardGrid")
|
||||
│ {
|
||||
│ page cardGrid
|
||||
│ }
|
||||
│ - if(tId.txt=="cardGrid2")
|
||||
│ - {
|
||||
│ - page cardGrid2
|
||||
│ - }
|
||||
│ if(tId.txt=="popupLight")
|
||||
│ {
|
||||
│ pageIcons.tTmp1.txt=tTmp.txt
|
||||
│ page popupLight
|
||||
│ }
|
||||
│ if(tId.txt=="popupShutter")
|
||||
│ {
|
||||
│ --- HMI/n2t-out/cardLChart.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/cardLChart.txt
|
||||
│ @@ -619,18 +619,14 @@
|
||||
│ {
|
||||
│ page cardEntities
|
||||
│ }
|
||||
│ if(tId.txt=="cardGrid")
|
||||
│ {
|
||||
│ page cardGrid
|
||||
│ }
|
||||
│ - if(tId.txt=="cardGrid2")
|
||||
│ - {
|
||||
│ - page cardGrid2
|
||||
│ - }
|
||||
│ if(tId.txt=="popupLight")
|
||||
│ {
|
||||
│ pageIcons.tTmp1.txt=tTmp.txt
|
||||
│ page popupLight
|
||||
│ }
|
||||
│ if(tId.txt=="popupShutter")
|
||||
│ {
|
||||
│ --- HMI/n2t-out/cardMedia.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/cardMedia.txt
|
||||
│ @@ -1141,18 +1141,14 @@
|
||||
│ {
|
||||
│ page cardEntities
|
||||
│ }
|
||||
│ if(tId.txt=="cardGrid")
|
||||
│ {
|
||||
│ page cardGrid
|
||||
│ }
|
||||
│ - if(tId.txt=="cardGrid2")
|
||||
│ - {
|
||||
│ - page cardGrid2
|
||||
│ - }
|
||||
│ if(tId.txt=="popupLight")
|
||||
│ {
|
||||
│ pageIcons.tTmp1.txt=tTmp.txt
|
||||
│ page popupLight
|
||||
│ }
|
||||
│ if(tId.txt=="popupShutter")
|
||||
│ {
|
||||
│ --- HMI/n2t-out/cardPower.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/cardPower.txt
|
||||
│ @@ -918,18 +918,14 @@
|
||||
│ {
|
||||
│ page cardEntities
|
||||
│ }
|
||||
│ if(tId.txt=="cardGrid")
|
||||
│ {
|
||||
│ page cardGrid
|
||||
│ }
|
||||
│ - if(tId.txt=="cardGrid2")
|
||||
│ - {
|
||||
│ - page cardGrid2
|
||||
│ - }
|
||||
│ if(tId.txt=="popupLight")
|
||||
│ {
|
||||
│ pageIcons.tTmp1.txt=tTmp.txt
|
||||
│ page popupLight
|
||||
│ }
|
||||
│ if(tId.txt=="popupShutter")
|
||||
│ {
|
||||
│ --- HMI/n2t-out/cardQR.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/cardQR.txt
|
||||
│ @@ -663,18 +663,14 @@
|
||||
│ {
|
||||
│ page cardEntities
|
||||
│ }
|
||||
│ if(tId.txt=="cardGrid")
|
||||
│ {
|
||||
│ page cardGrid
|
||||
│ }
|
||||
│ - if(tId.txt=="cardGrid2")
|
||||
│ - {
|
||||
│ - page cardGrid2
|
||||
│ - }
|
||||
│ if(tId.txt=="popupLight")
|
||||
│ {
|
||||
│ pageIcons.tTmp1.txt=tTmp.txt
|
||||
│ page popupLight
|
||||
│ }
|
||||
│ if(tId.txt=="popupShutter")
|
||||
│ {
|
||||
│ --- HMI/n2t-out/cardThermo.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
│ @@ -1047,18 +1047,14 @@
|
||||
│ {
|
||||
│ page cardEntities
|
||||
│ }
|
||||
│ if(tId.txt=="cardGrid")
|
||||
│ {
|
||||
│ page cardGrid
|
||||
│ }
|
||||
│ - if(tId.txt=="cardGrid2")
|
||||
│ - {
|
||||
│ - page cardGrid2
|
||||
│ - }
|
||||
│ if(tId.txt=="popupLight")
|
||||
│ {
|
||||
│ pageIcons.tTmp1.txt=tTmp.txt
|
||||
│ page popupLight
|
||||
│ }
|
||||
│ if(tId.txt=="popupShutter")
|
||||
│ {
|
||||
│ --- HMI/n2t-out/pageStartup.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/pageStartup.txt
|
||||
│ @@ -141,15 +141,15 @@
|
||||
│
|
||||
│ Text tVersion
|
||||
│ Attributes
|
||||
│ Scope : local
|
||||
│ Dragging : 0
|
||||
│ Send Component ID : disabled
|
||||
│ Associated Keyboard: none
|
||||
│ - Text : 51
|
||||
│ + Text : 50
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Picture p0
|
||||
│ Attributes
|
||||
│ Scope : local
|
||||
│ Dragging : 0
|
||||
│ Send Component ID: disabled
|
||||
│ @@ -164,15 +164,15 @@
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
@@ -33,6 +254,172 @@
|
||||
│ crcputs sys0,2
|
||||
│ crcputs tSend.txt,0
|
||||
│ //send cmd
|
||||
│ @@ -316,18 +316,14 @@
|
||||
│ {
|
||||
│ page cardEntities
|
||||
│ }
|
||||
│ if(tId.txt=="cardGrid")
|
||||
│ {
|
||||
│ page cardGrid
|
||||
│ }
|
||||
│ - if(tId.txt=="cardGrid2")
|
||||
│ - {
|
||||
│ - page cardGrid2
|
||||
│ - }
|
||||
│ if(tId.txt=="popupLight")
|
||||
│ {
|
||||
│ pageIcons.tTmp1.txt=tTmp.txt
|
||||
│ page popupLight
|
||||
│ }
|
||||
│ if(tId.txt=="popupShutter")
|
||||
│ {
|
||||
│ --- HMI/n2t-out/popupFan.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/popupFan.txt
|
||||
│ @@ -570,18 +570,14 @@
|
||||
│ {
|
||||
│ page cardEntities
|
||||
│ }
|
||||
│ if(tId.txt=="cardGrid")
|
||||
│ {
|
||||
│ page cardGrid
|
||||
│ }
|
||||
│ - if(tId.txt=="cardGrid2")
|
||||
│ - {
|
||||
│ - page cardGrid2
|
||||
│ - }
|
||||
│ if(tId.txt=="popupLight")
|
||||
│ {
|
||||
│ pageIcons.tTmp1.txt=tTmp.txt
|
||||
│ page popupLight
|
||||
│ }
|
||||
│ if(tId.txt=="popupShutter")
|
||||
│ {
|
||||
│ --- HMI/n2t-out/popupInSel.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/popupInSel.txt
|
||||
│ @@ -925,18 +925,14 @@
|
||||
│ {
|
||||
│ page cardEntities
|
||||
│ }
|
||||
│ if(tId.txt=="cardGrid")
|
||||
│ {
|
||||
│ page cardGrid
|
||||
│ }
|
||||
│ - if(tId.txt=="cardGrid2")
|
||||
│ - {
|
||||
│ - page cardGrid2
|
||||
│ - }
|
||||
│ if(tId.txt=="popupLight")
|
||||
│ {
|
||||
│ pageIcons.tTmp1.txt=tTmp.txt
|
||||
│ page popupLight
|
||||
│ }
|
||||
│ if(tId.txt=="popupShutter")
|
||||
│ {
|
||||
│ --- HMI/n2t-out/popupLight.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/popupLight.txt
|
||||
│ @@ -600,18 +600,14 @@
|
||||
│ {
|
||||
│ page cardEntities
|
||||
│ }
|
||||
│ if(tId.txt=="cardGrid")
|
||||
│ {
|
||||
│ page cardGrid
|
||||
│ }
|
||||
│ - if(tId.txt=="cardGrid2")
|
||||
│ - {
|
||||
│ - page cardGrid2
|
||||
│ - }
|
||||
│ if(tId.txt=="popupLight")
|
||||
│ {
|
||||
│ pageIcons.tTmp1.txt=tTmp.txt
|
||||
│ page popupLight
|
||||
│ }
|
||||
│ if(tId.txt=="popupShutter")
|
||||
│ {
|
||||
│ --- HMI/n2t-out/popupNotify.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/popupNotify.txt
|
||||
│ @@ -397,18 +397,14 @@
|
||||
│ {
|
||||
│ page cardEntities
|
||||
│ }
|
||||
│ if(tId.txt=="cardGrid")
|
||||
│ {
|
||||
│ page cardGrid
|
||||
│ }
|
||||
│ - if(tId.txt=="cardGrid2")
|
||||
│ - {
|
||||
│ - page cardGrid2
|
||||
│ - }
|
||||
│ if(tId.txt=="popupLight")
|
||||
│ {
|
||||
│ pageIcons.tTmp1.txt=tTmp.txt
|
||||
│ page popupLight
|
||||
│ }
|
||||
│ if(tId.txt=="popupShutter")
|
||||
│ {
|
||||
│ --- HMI/n2t-out/popupShutter.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/popupShutter.txt
|
||||
│ @@ -621,18 +621,14 @@
|
||||
│ {
|
||||
│ page cardEntities
|
||||
│ }
|
||||
│ if(tId.txt=="cardGrid")
|
||||
│ {
|
||||
│ page cardGrid
|
||||
│ }
|
||||
│ - if(tId.txt=="cardGrid2")
|
||||
│ - {
|
||||
│ - page cardGrid2
|
||||
│ - }
|
||||
│ if(tId.txt=="popupLight")
|
||||
│ {
|
||||
│ pageIcons.tTmp1.txt=tTmp.txt
|
||||
│ page popupLight
|
||||
│ }
|
||||
│ if(tId.txt=="popupShutter")
|
||||
│ {
|
||||
│ --- HMI/n2t-out/popupThermo.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/popupThermo.txt
|
||||
│ @@ -888,18 +888,14 @@
|
||||
│ {
|
||||
│ page cardEntities
|
||||
│ }
|
||||
│ if(tId.txt=="cardGrid")
|
||||
│ {
|
||||
│ page cardGrid
|
||||
│ }
|
||||
│ - if(tId.txt=="cardGrid2")
|
||||
│ - {
|
||||
│ - page cardGrid2
|
||||
│ - }
|
||||
│ if(tId.txt=="popupLight")
|
||||
│ {
|
||||
│ pageIcons.tTmp1.txt=tTmp.txt
|
||||
│ page popupLight
|
||||
│ }
|
||||
│ if(tId.txt=="popupShutter")
|
||||
│ {
|
||||
│ --- HMI/n2t-out/popupTimer.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/popupTimer.txt
|
||||
│ @@ -857,18 +857,14 @@
|
||||
│ {
|
||||
│ page cardEntities
|
||||
│ }
|
||||
│ if(tId.txt=="cardGrid")
|
||||
│ {
|
||||
│ page cardGrid
|
||||
│ }
|
||||
│ - if(tId.txt=="cardGrid2")
|
||||
│ - {
|
||||
│ - page cardGrid2
|
||||
│ - }
|
||||
│ if(tId.txt=="popupLight")
|
||||
│ {
|
||||
│ pageIcons.tTmp1.txt=tTmp.txt
|
||||
│ page popupLight
|
||||
│ }
|
||||
│ if(tId.txt=="popupShutter")
|
||||
│ {
|
||||
│ --- HMI/n2t-out/screensaver.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/screensaver.txt
|
||||
│ @@ -28,17 +28,14 @@
|
||||
@@ -88,6 +475,25 @@
|
||||
│ Send Component ID : disabled
|
||||
│ Associated Keyboard: none
|
||||
│ Text : |
|
||||
│ @@ -736,18 +713,14 @@
|
||||
│ {
|
||||
│ page cardEntities
|
||||
│ }
|
||||
│ if(tId.txt=="cardGrid")
|
||||
│ {
|
||||
│ page cardGrid
|
||||
│ }
|
||||
│ - if(tId.txt=="cardGrid2")
|
||||
│ - {
|
||||
│ - page cardGrid2
|
||||
│ - }
|
||||
│ if(tId.txt=="popupLight")
|
||||
│ {
|
||||
│ pageIcons.tTmp1.txt=tTmp.txt
|
||||
│ page popupLight
|
||||
│ }
|
||||
│ if(tId.txt=="popupShutter")
|
||||
│ {
|
||||
│ --- HMI/n2t-out/screensaver2.txt
|
||||
├── +++ HMI/US/landscape/n2t-out/screensaver2.txt
|
||||
│ @@ -28,17 +28,14 @@
|
||||
@@ -159,3 +565,22 @@
|
||||
│ if(tAMPM.txt=="")
|
||||
│ {
|
||||
│ vis tAMPM,0
|
||||
│ @@ -782,18 +758,14 @@
|
||||
│ {
|
||||
│ page cardEntities
|
||||
│ }
|
||||
│ if(tId.txt=="cardGrid")
|
||||
│ {
|
||||
│ page cardGrid
|
||||
│ }
|
||||
│ - if(tId.txt=="cardGrid2")
|
||||
│ - {
|
||||
│ - page cardGrid2
|
||||
│ - }
|
||||
│ if(tId.txt=="popupLight")
|
||||
│ {
|
||||
│ pageIcons.tTmp1.txt=tTmp.txt
|
||||
│ page popupLight
|
||||
│ }
|
||||
│ if(tId.txt=="popupShutter")
|
||||
│ {
|
||||
|
||||
Reference in New Issue
Block a user