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

This commit is contained in:
joBr99
2022-07-13 16:57:11 +00:00
committed by github-actions[bot]
parent 21b00bc573
commit eb07944deb
22 changed files with 916 additions and 696 deletions

View File

@@ -20,25 +20,6 @@ Page cardAlarm
Events
Preinitialize Event
cardAlarm.bco=defaultBcoColor
for(sys0=0;sys0<40;sys0++)
{
if(b[sys0].type==98||b[sys0].type==116)
{
b[sys0].bco=defaultBcoColor
b[sys0].pco=defaultFontColor
}
}
if(defaultBcoColor==0)
{
tCode.bco=6371
tCode.pco=40179
}
if(defaultBcoColor==6371)
{
tCode.bco=10565
tCode.pco=40179
}
dim=dimValueNormal
vis p0,0
vis tSend,0
@@ -64,6 +45,25 @@ Page cardAlarm
vis tCode,0
vis bPrev,0
vis bNext,0
cardAlarm.bco=defaultBcoColor
for(sys0=0;sys0<40;sys0++)
{
if(b[sys0].type==98||b[sys0].type==116)
{
b[sys0].bco=defaultBcoColor
b[sys0].pco=defaultFontColor
}
}
if(defaultBcoColor==0)
{
tCode.bco=6371
tCode.pco=40179
}
if(defaultBcoColor==6371)
{
tCode.bco=10565
tCode.pco=40179
}
Variable (string) strCommand
Attributes
@@ -235,7 +235,7 @@ Text tCode
Horizontal Alignment : center
Vertical Alignment : center
Input Type : password
Text : xxxxxxx
Text :
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0