mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-20 14:37:01 +01:00
add parameter to hide detail page button (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
766159cff7
commit
d403656c35
@@ -82,6 +82,31 @@
|
|||||||
│ Dragging : 0
|
│ Dragging : 0
|
||||||
│ Disable release event after dragging: 0
|
│ Disable release event after dragging: 0
|
||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
|
│
|
||||||
|
│ @@ -1094,23 +1078,14 @@
|
||||||
|
│ vis btDown1,1
|
||||||
|
│ vis tCF1,1
|
||||||
|
│ vis bUp2,1
|
||||||
|
│ vis xTempDest2,1
|
||||||
|
│ vis bDown2,1
|
||||||
|
│ vis tCF2,1
|
||||||
|
│ }
|
||||||
|
│ - //Show btDetail
|
||||||
|
│ - spstr strCommand.txt,tTmp.txt,"~",47
|
||||||
|
│ - if(tTmp.txt!="1")
|
||||||
|
│ - {
|
||||||
|
│ - vis btDetail,1
|
||||||
|
│ - }else
|
||||||
|
│ - {
|
||||||
|
│ - vis btDetail,0
|
||||||
|
│ - }
|
||||||
|
│ }
|
||||||
|
│ if(tInstruction.txt=="pageType")
|
||||||
|
│ {
|
||||||
|
│ sleepValue=0
|
||||||
|
│ //command format pageType,specialPageName
|
||||||
|
│ //write name of speical page to tId
|
||||||
|
│ spstr strCommand.txt,tId.txt,"~",1
|
||||||
├── pageStartup.txt
|
├── pageStartup.txt
|
||||||
│ @@ -173,15 +173,15 @@
|
│ @@ -173,15 +173,15 @@
|
||||||
│ Max. Text Size : 10
|
│ Max. Text Size : 10
|
||||||
|
|||||||
@@ -574,6 +574,31 @@
|
|||||||
│ Dragging : 0
|
│ Dragging : 0
|
||||||
│ Disable release event after dragging: 0
|
│ Disable release event after dragging: 0
|
||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
|
│
|
||||||
|
│ @@ -1094,23 +1078,14 @@
|
||||||
|
│ vis btDown1,1
|
||||||
|
│ vis tCF1,1
|
||||||
|
│ vis bUp2,1
|
||||||
|
│ vis xTempDest2,1
|
||||||
|
│ vis bDown2,1
|
||||||
|
│ vis tCF2,1
|
||||||
|
│ }
|
||||||
|
│ - //Show btDetail
|
||||||
|
│ - spstr strCommand.txt,tTmp.txt,"~",47
|
||||||
|
│ - if(tTmp.txt!="1")
|
||||||
|
│ - {
|
||||||
|
│ - vis btDetail,1
|
||||||
|
│ - }else
|
||||||
|
│ - {
|
||||||
|
│ - vis btDetail,0
|
||||||
|
│ - }
|
||||||
|
│ }
|
||||||
|
│ if(tInstruction.txt=="pageType")
|
||||||
|
│ {
|
||||||
|
│ sleepValue=0
|
||||||
|
│ //command format pageType,specialPageName
|
||||||
|
│ //write name of speical page to tId
|
||||||
|
│ spstr strCommand.txt,tId.txt,"~",1
|
||||||
├── pageIcons.txt
|
├── pageIcons.txt
|
||||||
│ @@ -15,15 +15,15 @@
|
│ @@ -15,15 +15,15 @@
|
||||||
│ Scope : global
|
│ Scope : global
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
+++ /dev/fd/62 2022-10-23 17:50:22.699416515 +0000
|
+++ /dev/fd/62 2022-10-23 18:52:01.421240024 +0000
|
||||||
++9,8 @@
|
++9,8 @@
|
||||||
+tify.txt
|
+tify.txt
|
||||||
+utter.txt
|
+utter.txt
|
||||||
@@ -35,6 +35,31 @@
|
|||||||
+ Dragging : 0
|
+ Dragging : 0
|
||||||
+ Disable release event after dragging: 0
|
+ Disable release event after dragging: 0
|
||||||
+ Send Component ID : disabled
|
+ Send Component ID : disabled
|
||||||
|
+
|
||||||
|
+,23 +1078,14 @@
|
||||||
|
+ vis btDown1,1
|
||||||
|
+ vis tCF1,1
|
||||||
|
+ vis bUp2,1
|
||||||
|
+ vis xTempDest2,1
|
||||||
|
+ vis bDown2,1
|
||||||
|
+ vis tCF2,1
|
||||||
|
+ }
|
||||||
|
+ //Show btDetail
|
||||||
|
+ spstr strCommand.txt,tTmp.txt,"~",47
|
||||||
|
+ if(tTmp.txt!="1")
|
||||||
|
+ {
|
||||||
|
+ vis btDetail,1
|
||||||
|
+ }else
|
||||||
|
+ {
|
||||||
|
+ vis btDetail,0
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
+ if(tInstruction.txt=="pageType")
|
||||||
|
+ {
|
||||||
|
+ sleepValue=0
|
||||||
|
+ //command format pageType,specialPageName
|
||||||
|
+ //write name of speical page to tId
|
||||||
|
+ spstr strCommand.txt,tId.txt,"~",1
|
||||||
+geIcons.txt
|
+geIcons.txt
|
||||||
+5 +15,15 @@
|
+5 +15,15 @@
|
||||||
+ Scope : global
|
+ Scope : global
|
||||||
|
|||||||
@@ -1818,6 +1818,15 @@ Timer tmSerial
|
|||||||
vis bDown2,1
|
vis bDown2,1
|
||||||
vis tCF2,1
|
vis tCF2,1
|
||||||
}
|
}
|
||||||
|
//Show btDetail
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",47
|
||||||
|
if(tTmp.txt!="1")
|
||||||
|
{
|
||||||
|
vis btDetail,1
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
vis btDetail,0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="pageType")
|
if(tInstruction.txt=="pageType")
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -42,18 +42,18 @@ cardMedia
|
|||||||
34 Component(s)
|
34 Component(s)
|
||||||
394 Line(s) of event code
|
394 Line(s) of event code
|
||||||
213 Unique line(s) of event code
|
213 Unique line(s) of event code
|
||||||
screensaver
|
|
||||||
38 Component(s)
|
|
||||||
350 Line(s) of event code
|
|
||||||
266 Unique line(s) of event code
|
|
||||||
cardThermo
|
cardThermo
|
||||||
53 Component(s)
|
53 Component(s)
|
||||||
588 Line(s) of event code
|
596 Line(s) of event code
|
||||||
309 Unique line(s) of event code
|
314 Unique line(s) of event code
|
||||||
popupFan
|
popupFan
|
||||||
27 Component(s)
|
27 Component(s)
|
||||||
347 Line(s) of event code
|
347 Line(s) of event code
|
||||||
202 Unique line(s) of event code
|
202 Unique line(s) of event code
|
||||||
|
screensaver
|
||||||
|
38 Component(s)
|
||||||
|
350 Line(s) of event code
|
||||||
|
266 Unique line(s) of event code
|
||||||
cardAlarm
|
cardAlarm
|
||||||
40 Component(s)
|
40 Component(s)
|
||||||
427 Line(s) of event code
|
427 Line(s) of event code
|
||||||
@@ -70,5 +70,5 @@ cardPower
|
|||||||
Total
|
Total
|
||||||
16 Page(s)
|
16 Page(s)
|
||||||
535 Component(s)
|
535 Component(s)
|
||||||
6352 Line(s) of event code
|
6360 Line(s) of event code
|
||||||
1688 Unique line(s) of event code
|
1692 Unique line(s) of event code
|
||||||
|
|||||||
@@ -1098,6 +1098,15 @@ Timer tmSerial
|
|||||||
vis bDown2,1
|
vis bDown2,1
|
||||||
vis tCF2,1
|
vis tCF2,1
|
||||||
}
|
}
|
||||||
|
//Show btDetail
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",47
|
||||||
|
if(tTmp.txt!="1")
|
||||||
|
{
|
||||||
|
vis btDetail,1
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
vis btDetail,0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="pageType")
|
if(tInstruction.txt=="pageType")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user