mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-03-01 02:20:12 +01:00
added timer popup (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
c26cc91369
commit
4400728194
@@ -1023,6 +1023,10 @@ Hotspot m0
|
||||
{
|
||||
page popupInSel
|
||||
}
|
||||
if(type1.txt=="timer")
|
||||
{
|
||||
page popupTimer
|
||||
}
|
||||
|
||||
Hotspot m1
|
||||
Attributes
|
||||
@@ -1054,6 +1058,10 @@ Hotspot m1
|
||||
{
|
||||
page popupInSel
|
||||
}
|
||||
if(type2.txt=="timer")
|
||||
{
|
||||
page popupTimer
|
||||
}
|
||||
|
||||
Hotspot m2
|
||||
Attributes
|
||||
@@ -1085,6 +1093,10 @@ Hotspot m2
|
||||
{
|
||||
page popupInSel
|
||||
}
|
||||
if(type3.txt=="timer")
|
||||
{
|
||||
page popupTimer
|
||||
}
|
||||
|
||||
Hotspot m3
|
||||
Attributes
|
||||
@@ -1116,6 +1128,10 @@ Hotspot m3
|
||||
{
|
||||
page popupInSel
|
||||
}
|
||||
if(type4.txt=="timer")
|
||||
{
|
||||
page popupTimer
|
||||
}
|
||||
|
||||
Hotspot mSpecial
|
||||
Attributes
|
||||
@@ -1370,7 +1386,7 @@ Timer tmSerial
|
||||
// get Text (optional Value)
|
||||
spstr strCommand.txt,bText1.txt,"~",8
|
||||
}
|
||||
if(type1.txt=="button"||type1.txt=="input_sel")
|
||||
if(type1.txt=="button"||type1.txt=="input_sel"||type1.txt=="timer")
|
||||
{
|
||||
vis bUp1,0
|
||||
vis bStop1,0
|
||||
@@ -1519,7 +1535,7 @@ Timer tmSerial
|
||||
// get Text (optional Value)
|
||||
spstr strCommand.txt,bText2.txt,"~",14
|
||||
}
|
||||
if(type2.txt=="button"||type2.txt=="input_sel")
|
||||
if(type2.txt=="button"||type2.txt=="input_sel"||type2.txt=="timer")
|
||||
{
|
||||
vis bUp2,0
|
||||
vis bStop2,0
|
||||
@@ -1668,7 +1684,7 @@ Timer tmSerial
|
||||
// get Text (optional Value)
|
||||
spstr strCommand.txt,bText3.txt,"~",20
|
||||
}
|
||||
if(type3.txt=="button"||type3.txt=="input_sel")
|
||||
if(type3.txt=="button"||type3.txt=="input_sel"||type3.txt=="timer")
|
||||
{
|
||||
vis bUp3,0
|
||||
vis bStop3,0
|
||||
@@ -1817,7 +1833,7 @@ Timer tmSerial
|
||||
// get Text (optional Value)
|
||||
spstr strCommand.txt,bText4.txt,"~",26
|
||||
}
|
||||
if(type4.txt=="button"||type4.txt=="input_sel")
|
||||
if(type4.txt=="button"||type4.txt=="input_sel"||type4.txt=="timer")
|
||||
{
|
||||
vis bUp4,0
|
||||
vis bStop4,0
|
||||
@@ -1923,10 +1939,6 @@ Timer tmSerial
|
||||
{
|
||||
page cardPower
|
||||
}
|
||||
if(tId.txt=="cardChart")
|
||||
{
|
||||
page cardChart
|
||||
}
|
||||
}
|
||||
if(tInstruction.txt=="time")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user