Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui (add nextion2text)

This commit is contained in:
joBr99
2023-08-24 14:39:55 +00:00
committed by github-actions[bot]
parent 632663cd9f
commit 1a4f7a7754
10 changed files with 2127 additions and 27 deletions

View File

@@ -1167,6 +1167,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity1.txt,"~",16
// way to get force font adjustment
strlen bEntity1.txt,sys0
//check 2nd last char for ¬
substr bEntity1.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity1.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity1.font=sys1
substr bEntity1.txt,bEntity1.txt,0,sys0-2
}
vis bEntity1,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",17
@@ -1188,6 +1199,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity2.txt,"~",22
// way to get force font adjustment
strlen bEntity2.txt,sys0
//check 2nd last char for ¬
substr bEntity2.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity2.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity2.font=sys1
substr bEntity2.txt,bEntity2.txt,0,sys0-2
}
vis bEntity2,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",23
@@ -1209,6 +1231,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity3.txt,"~",28
// way to get force font adjustment
strlen bEntity3.txt,sys0
//check 2nd last char for ¬
substr bEntity3.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity3.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity3.font=sys1
substr bEntity3.txt,bEntity3.txt,0,sys0-2
}
vis bEntity3,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",29
@@ -1230,6 +1263,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity4.txt,"~",34
// way to get force font adjustment
strlen bEntity4.txt,sys0
//check 2nd last char for ¬
substr bEntity4.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity4.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity4.font=sys1
substr bEntity4.txt,bEntity4.txt,0,sys0-2
}
vis bEntity4,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",35
@@ -1251,6 +1295,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity5.txt,"~",40
// way to get force font adjustment
strlen bEntity5.txt,sys0
//check 2nd last char for ¬
substr bEntity5.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity5.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity5.font=sys1
substr bEntity5.txt,bEntity5.txt,0,sys0-2
}
vis bEntity5,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",41
@@ -1272,6 +1327,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity6.txt,"~",46
// way to get force font adjustment
strlen bEntity6.txt,sys0
//check 2nd last char for ¬
substr bEntity6.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity6.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity6.font=sys1
substr bEntity6.txt,bEntity6.txt,0,sys0-2
}
vis bEntity6,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",47
@@ -1358,10 +1424,6 @@ Timer tmSerial
{
page cardChart
}
if(tId.txt=="cardLChart")
{
page cardLChart
}
}
if(tInstruction.txt=="time")
{

View File

@@ -1389,6 +1389,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity1.txt,"~",16
// way to get force font adjustment
strlen bEntity1.txt,sys0
//check 2nd last char for ¬
substr bEntity1.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity1.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity1.font=sys1
substr bEntity1.txt,bEntity1.txt,0,sys0-2
}
vis bEntity1,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",17
@@ -1410,6 +1421,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity2.txt,"~",22
// way to get force font adjustment
strlen bEntity2.txt,sys0
//check 2nd last char for ¬
substr bEntity2.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity2.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity2.font=sys1
substr bEntity2.txt,bEntity2.txt,0,sys0-2
}
vis bEntity2,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",23
@@ -1431,6 +1453,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity3.txt,"~",28
// way to get force font adjustment
strlen bEntity3.txt,sys0
//check 2nd last char for ¬
substr bEntity3.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity3.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity3.font=sys1
substr bEntity3.txt,bEntity3.txt,0,sys0-2
}
vis bEntity3,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",29
@@ -1452,6 +1485,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity4.txt,"~",34
// way to get force font adjustment
strlen bEntity4.txt,sys0
//check 2nd last char for ¬
substr bEntity4.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity4.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity4.font=sys1
substr bEntity4.txt,bEntity4.txt,0,sys0-2
}
vis bEntity4,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",35
@@ -1473,6 +1517,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity5.txt,"~",40
// way to get force font adjustment
strlen bEntity5.txt,sys0
//check 2nd last char for ¬
substr bEntity5.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity5.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity5.font=sys1
substr bEntity5.txt,bEntity5.txt,0,sys0-2
}
vis bEntity5,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",41
@@ -1494,6 +1549,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity6.txt,"~",46
// way to get force font adjustment
strlen bEntity6.txt,sys0
//check 2nd last char for ¬
substr bEntity6.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity6.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity6.font=sys1
substr bEntity6.txt,bEntity6.txt,0,sys0-2
}
vis bEntity6,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",47
@@ -1515,6 +1581,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity7.txt,"~",52
// way to get force font adjustment
strlen bEntity7.txt,sys0
//check 2nd last char for ¬
substr bEntity7.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity7.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity7.font=sys1
substr bEntity7.txt,bEntity7.txt,0,sys0-2
}
vis bEntity7,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",53
@@ -1536,6 +1613,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity8.txt,"~",58
// way to get force font adjustment
strlen bEntity8.txt,sys0
//check 2nd last char for ¬
substr bEntity8.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity8.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity8.font=sys1
substr bEntity8.txt,bEntity8.txt,0,sys0-2
}
vis bEntity8,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",59

View File

@@ -1485,6 +1485,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity1.txt,"~",25
vis bEntity1,1
// way to get force font adjustment
strlen bEntity1.txt,sys0
//check 2nd last char for ¬
substr bEntity1.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity1.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity1.font=sys1
substr bEntity1.txt,bEntity1.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",26
covx tTmp.txt,sys0,0,0
@@ -1506,6 +1517,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity2.txt,"~",31
vis bEntity2,1
// way to get force font adjustment
strlen bEntity2.txt,sys0
//check 2nd last char for ¬
substr bEntity2.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity2.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity2.font=sys1
substr bEntity2.txt,bEntity2.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",32
covx tTmp.txt,sys0,0,0
@@ -1527,6 +1549,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity3.txt,"~",37
vis bEntity3,1
// way to get force font adjustment
strlen bEntity3.txt,sys0
//check 2nd last char for ¬
substr bEntity3.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity3.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity3.font=sys1
substr bEntity3.txt,bEntity3.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",38
covx tTmp.txt,sys0,0,0
@@ -1548,6 +1581,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity4.txt,"~",43
vis bEntity4,1
// way to get force font adjustment
strlen bEntity4.txt,sys0
//check 2nd last char for ¬
substr bEntity4.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity4.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity4.font=sys1
substr bEntity4.txt,bEntity4.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",44
covx tTmp.txt,sys0,0,0
@@ -1569,6 +1613,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity5.txt,"~",49
vis bEntity5,1
// way to get force font adjustment
strlen bEntity5.txt,sys0
//check 2nd last char for ¬
substr bEntity5.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity5.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity5.font=sys1
substr bEntity5.txt,bEntity5.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",50
covx tTmp.txt,sys0,0,0
@@ -1590,6 +1645,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity6.txt,"~",55
vis bEntity6,1
// way to get force font adjustment
strlen bEntity6.txt,sys0
//check 2nd last char for ¬
substr bEntity6.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity6.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity6.font=sys1
substr bEntity6.txt,bEntity6.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",56
covx tTmp.txt,sys0,0,0
@@ -1675,10 +1741,6 @@ Timer tmSerial
{
page cardChart
}
if(tId.txt=="cardLChart")
{
page cardLChart
}
}
if(tInstruction.txt=="time")
{

View File

@@ -32,8 +32,8 @@ popupNotify
172 Unique line(s) of event code
cardGrid
44 Component(s)
529 Line(s) of event code
298 Unique line(s) of event code
579 Line(s) of event code
330 Unique line(s) of event code
pageStartup
20 Component(s)
198 Line(s) of event code
@@ -64,12 +64,12 @@ cardThermo
319 Unique line(s) of event code
cardGrid2
52 Component(s)
617 Line(s) of event code
338 Unique line(s) of event code
689 Line(s) of event code
382 Unique line(s) of event code
cardMedia
59 Component(s)
649 Line(s) of event code
322 Unique line(s) of event code
699 Line(s) of event code
354 Unique line(s) of event code
popupInSel
34 Component(s)
621 Line(s) of event code
@@ -98,5 +98,5 @@ cardEntities
Total
23 Page(s)
878 Component(s)
10404 Line(s) of event code
2417 Unique line(s) of event code
10576 Line(s) of event code
2459 Unique line(s) of event code