mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-11 23:57:42 +01:00
fix disable (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
6ad9e20c5a
commit
ecb90d4bfd
@@ -1,6 +1,6 @@
|
||||
diff -bur HMI/n2t-out/Program.s.txt HMI/US/portrait/n2t-out/Program.s.txt
|
||||
--- HMI/n2t-out/Program.s.txt 2022-05-22 08:17:12.774830515 +0000
|
||||
+++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-22 08:17:13.326846513 +0000
|
||||
--- HMI/n2t-out/Program.s.txt 2022-05-22 08:36:42.175632757 +0000
|
||||
+++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-22 08:36:42.611635917 +0000
|
||||
@@ -11,6 +11,6 @@
|
||||
// dim value
|
||||
int dimValue=40
|
||||
@@ -11,8 +11,8 @@ diff -bur HMI/n2t-out/Program.s.txt HMI/US/portrait/n2t-out/Program.s.txt
|
||||
+ //lcd_dev fffb 0002 0000 0020
|
||||
page pageStartup
|
||||
diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
||||
--- HMI/n2t-out/cardEntities.txt 2022-05-22 08:17:12.774830515 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-22 08:17:13.326846513 +0000
|
||||
--- HMI/n2t-out/cardEntities.txt 2022-05-22 08:36:42.175632757 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-22 08:36:42.615635946 +0000
|
||||
@@ -62,6 +62,16 @@
|
||||
vis bText4,0
|
||||
vis hSlider4,0
|
||||
@@ -297,7 +297,7 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
||||
Hotspot mSwipeNext
|
||||
Attributes
|
||||
Scope : local
|
||||
@@ -1876,6 +2104,165 @@
|
||||
@@ -1880,6 +2108,166 @@
|
||||
covx tTmp.txt,sys0,0,0
|
||||
hSlider4.maxval=sys0
|
||||
}
|
||||
@@ -342,38 +342,39 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
||||
+ spstr strCommand.txt,tId.txt,"~",32
|
||||
+ // up button
|
||||
+ spstr tId.txt,tTmp.txt,"|",0
|
||||
+ if(tTmp.txt!="")
|
||||
+ {
|
||||
+ bUp5.pco=65535
|
||||
+ tsw bUp5,1
|
||||
+ }else if(tTmp.txt=="disable")
|
||||
+ if(tTmp.txt=="disable")
|
||||
+ {
|
||||
+ bUp5.pco=27501
|
||||
+ tsw bUp5,0
|
||||
+ }else if(tTmp.txt!="")
|
||||
+ {
|
||||
+ bUp5.pco=65535
|
||||
+ bUp5.txt=tTmp.txt
|
||||
+ tsw bUp5,1
|
||||
+ }
|
||||
+ // stop button
|
||||
+ spstr tId.txt,tTmp.txt,"|",1
|
||||
+ if(tTmp.txt!="")
|
||||
+ if(tTmp.txt=="disable")
|
||||
+ {
|
||||
+ bStop5.pco=27501
|
||||
+ tsw bStop5,0
|
||||
+ }else if(tTmp.txt!="")
|
||||
+ {
|
||||
+ bStop5.pco=65535
|
||||
+ bStop5.txt=tTmp.txt
|
||||
+ tsw bStop5,1
|
||||
+ }else if(tTmp.txt=="disable")
|
||||
+ {
|
||||
+ bStop5.pco=27501
|
||||
+ tsw bStop5,0
|
||||
+ }
|
||||
+ // down button
|
||||
+ spstr tId.txt,tTmp.txt,"|",2
|
||||
+ if(tTmp.txt!="")
|
||||
+ if(tTmp.txt=="disable")
|
||||
+ {
|
||||
+ bDown5.pco=27501
|
||||
+ tsw bDown5,0
|
||||
+ }else if(tTmp.txt!="")
|
||||
+ {
|
||||
+ bDown5.pco=65535
|
||||
+ bDown5.txt=tTmp.txt
|
||||
+ tsw bDown5,1
|
||||
+ }else if(tTmp.txt=="disable")
|
||||
+ {
|
||||
+ bDown5.pco=27501
|
||||
+ tsw bDown5,0
|
||||
+ }
|
||||
+ }
|
||||
+ if(type5.txt=="light")
|
||||
@@ -464,8 +465,8 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
||||
if(tInstruction.txt=="pageType")
|
||||
{
|
||||
diff -bur HMI/n2t-out/pageStartup.txt HMI/US/portrait/n2t-out/pageStartup.txt
|
||||
--- HMI/n2t-out/pageStartup.txt 2022-05-22 08:17:12.774830515 +0000
|
||||
+++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-22 08:17:13.326846513 +0000
|
||||
--- HMI/n2t-out/pageStartup.txt 2022-05-22 08:36:42.175632757 +0000
|
||||
+++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-22 08:36:42.611635917 +0000
|
||||
@@ -142,7 +142,7 @@
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
|
||||
Reference in New Issue
Block a user