mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-20 05:04:44 +01:00
fix navigation on cardlchart (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
a21fdabbe6
commit
259179b323
@@ -267,14 +267,7 @@ Button bNext
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardChart,"
|
||||
if(bPrev.txt=="î")
|
||||
{
|
||||
tSend.txt+="bHome"
|
||||
}else
|
||||
{
|
||||
tSend.txt+="bNext"
|
||||
}
|
||||
tSend.txt="event,buttonPress2,"+nent2.txt+",button"
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
@@ -321,14 +314,7 @@ Button bPrev
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardChart,"
|
||||
if(bPrev.txt=="î¶")
|
||||
{
|
||||
tSend.txt+="bUp"
|
||||
}else
|
||||
{
|
||||
tSend.txt+="bPrev"
|
||||
}
|
||||
tSend.txt="event,buttonPress2,"+nent1.txt+",button"
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
|
||||
@@ -26,10 +26,6 @@ cardChart
|
||||
33 Component(s)
|
||||
429 Line(s) of event code
|
||||
292 Unique line(s) of event code
|
||||
cardLChart
|
||||
33 Component(s)
|
||||
408 Line(s) of event code
|
||||
268 Unique line(s) of event code
|
||||
pageTest
|
||||
26 Component(s)
|
||||
68 Line(s) of event code
|
||||
@@ -46,6 +42,10 @@ cardAlarm
|
||||
43 Component(s)
|
||||
492 Line(s) of event code
|
||||
269 Unique line(s) of event code
|
||||
cardLChart
|
||||
33 Component(s)
|
||||
394 Line(s) of event code
|
||||
262 Unique line(s) of event code
|
||||
screensaver
|
||||
47 Component(s)
|
||||
428 Line(s) of event code
|
||||
@@ -86,5 +86,5 @@ cardEntities
|
||||
Total
|
||||
20 Page(s)
|
||||
737 Component(s)
|
||||
8824 Line(s) of event code
|
||||
2271 Unique line(s) of event code
|
||||
8810 Line(s) of event code
|
||||
2264 Unique line(s) of event code
|
||||
|
||||
Reference in New Issue
Block a user