mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-03-01 16:06:51 +01:00
sync us-l (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
fc355d8169
commit
775d3b44c2
@@ -90,7 +90,7 @@ Text tTime
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 52
|
||||
x coordinate : 53
|
||||
y coordinate : 18
|
||||
Width : 376
|
||||
Height : 112
|
||||
@@ -120,7 +120,7 @@ Text tDate
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 15
|
||||
x coordinate : 16
|
||||
y coordinate : 162
|
||||
Width : 450
|
||||
Height : 32
|
||||
@@ -130,7 +130,7 @@ Text tDate
|
||||
Fill : solid color
|
||||
Style : flat
|
||||
Associated Keyboard : none
|
||||
Font ID : 1
|
||||
Font ID : 2
|
||||
Back. Color : 0
|
||||
Font Color : 65535
|
||||
Horizontal Alignment : center
|
||||
@@ -150,7 +150,7 @@ Text tMainIcon
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 41
|
||||
x coordinate : 42
|
||||
y coordinate : 206
|
||||
Width : 70
|
||||
Height : 66
|
||||
@@ -180,7 +180,7 @@ Text tMainText
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 22
|
||||
x coordinate : 23
|
||||
y coordinate : 271
|
||||
Width : 110
|
||||
Height : 43
|
||||
@@ -210,7 +210,7 @@ Text tForecast1
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 143
|
||||
x coordinate : 144
|
||||
y coordinate : 214
|
||||
Width : 72
|
||||
Height : 26
|
||||
@@ -240,7 +240,7 @@ Text tForecast1Val
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 140
|
||||
x coordinate : 141
|
||||
y coordinate : 280
|
||||
Width : 71
|
||||
Height : 25
|
||||
@@ -270,7 +270,7 @@ Text tF1Icon
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 161
|
||||
x coordinate : 162
|
||||
y coordinate : 243
|
||||
Width : 40
|
||||
Height : 35
|
||||
@@ -300,7 +300,7 @@ Text tForecast2
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 227
|
||||
x coordinate : 228
|
||||
y coordinate : 214
|
||||
Width : 72
|
||||
Height : 25
|
||||
@@ -330,7 +330,7 @@ Text tF2Icon
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 243
|
||||
x coordinate : 244
|
||||
y coordinate : 243
|
||||
Width : 40
|
||||
Height : 35
|
||||
@@ -360,7 +360,7 @@ Text tForecast2Val
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 227
|
||||
x coordinate : 228
|
||||
y coordinate : 281
|
||||
Width : 72
|
||||
Height : 25
|
||||
@@ -390,7 +390,7 @@ Text t10
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 61
|
||||
x coordinate : 62
|
||||
y coordinate : 199
|
||||
Width : 360
|
||||
Height : 2
|
||||
@@ -420,7 +420,7 @@ Text tAMPM
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 358
|
||||
x coordinate : 359
|
||||
y coordinate : 49
|
||||
Width : 104
|
||||
Height : 57
|
||||
@@ -450,7 +450,7 @@ Text tForecast3Val
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 307
|
||||
x coordinate : 308
|
||||
y coordinate : 281
|
||||
Width : 71
|
||||
Height : 25
|
||||
@@ -480,7 +480,7 @@ Text tF3Icon
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 324
|
||||
x coordinate : 325
|
||||
y coordinate : 243
|
||||
Width : 40
|
||||
Height : 35
|
||||
@@ -510,7 +510,7 @@ Text tForecast3
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 308
|
||||
x coordinate : 309
|
||||
y coordinate : 214
|
||||
Width : 72
|
||||
Height : 25
|
||||
@@ -540,7 +540,7 @@ Text tForecast4
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 389
|
||||
x coordinate : 390
|
||||
y coordinate : 214
|
||||
Width : 72
|
||||
Height : 25
|
||||
@@ -570,7 +570,7 @@ Text tF4Icon
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 405
|
||||
x coordinate : 406
|
||||
y coordinate : 243
|
||||
Width : 40
|
||||
Height : 35
|
||||
@@ -600,7 +600,7 @@ Text tForecast4Val
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 389
|
||||
x coordinate : 390
|
||||
y coordinate : 281
|
||||
Width : 72
|
||||
Height : 25
|
||||
@@ -630,7 +630,7 @@ Text tMainTextAlt
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 119
|
||||
x coordinate : 120
|
||||
y coordinate : 214
|
||||
Width : 106
|
||||
Height : 42
|
||||
@@ -660,7 +660,7 @@ Text tMainIconAlt
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 15
|
||||
x coordinate : 16
|
||||
y coordinate : 225
|
||||
Width : 100
|
||||
Height : 66
|
||||
@@ -690,7 +690,7 @@ Text tMRIcon
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 116
|
||||
x coordinate : 117
|
||||
y coordinate : 270
|
||||
Width : 40
|
||||
Height : 35
|
||||
@@ -720,7 +720,7 @@ Text tMR
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 159
|
||||
x coordinate : 160
|
||||
y coordinate : 274
|
||||
Width : 62
|
||||
Height : 21
|
||||
@@ -750,7 +750,7 @@ Text tNotifyHead
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 15
|
||||
x coordinate : 16
|
||||
y coordinate : 205
|
||||
Width : 450
|
||||
Height : 58
|
||||
@@ -780,7 +780,7 @@ Text tNotifyText
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 15
|
||||
x coordinate : 16
|
||||
y coordinate : 262
|
||||
Width : 450
|
||||
Height : 47
|
||||
@@ -810,7 +810,7 @@ Text tIcon1
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 15
|
||||
x coordinate : 16
|
||||
y coordinate : 0
|
||||
Width : 38
|
||||
Height : 38
|
||||
@@ -840,7 +840,7 @@ Text tIcon2
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 428
|
||||
x coordinate : 429
|
||||
y coordinate : 0
|
||||
Width : 38
|
||||
Height : 38
|
||||
@@ -870,7 +870,7 @@ Text tTimeAdd
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 15
|
||||
x coordinate : 16
|
||||
y coordinate : 130
|
||||
Width : 450
|
||||
Height : 32
|
||||
@@ -880,7 +880,7 @@ Text tTimeAdd
|
||||
Fill : solid color
|
||||
Style : flat
|
||||
Associated Keyboard : none
|
||||
Font ID : 1
|
||||
Font ID : 2
|
||||
Back. Color : 0
|
||||
Font Color : 65535
|
||||
Horizontal Alignment : center
|
||||
@@ -971,10 +971,22 @@ Timer tmSerial
|
||||
// get value
|
||||
spstr strCommand.txt,tTmp.txt,"~",1
|
||||
covx tTmp.txt,dimValue,0,0
|
||||
dim=dimValue
|
||||
// get value normal
|
||||
spstr strCommand.txt,tTmp.txt,"~",2
|
||||
covx tTmp.txt,dimValueNormal,0,0
|
||||
dim=dimValueNormal
|
||||
// get background color
|
||||
spstr strCommand.txt,tTmp.txt,"~",3
|
||||
if(tTmp.txt!="")
|
||||
{
|
||||
covx tTmp.txt,defaultBcoColor,0,0
|
||||
}
|
||||
// get font color
|
||||
spstr strCommand.txt,tTmp.txt,"~",4
|
||||
if(tTmp.txt!="")
|
||||
{
|
||||
covx tTmp.txt,defaultFontColor,0,0
|
||||
}
|
||||
}
|
||||
if(tInstruction.txt=="time")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user