mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-22 22:18:38 +01:00
Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
52ee1de46a
commit
708904863b
@@ -1355,47 +1355,6 @@
|
|||||||
│ Scope : local
|
│ Scope : local
|
||||||
│ Period (ms): 50
|
│ Period (ms): 50
|
||||||
│ Enabled : yes
|
│ Enabled : yes
|
||||||
│ --- HMI/n2t-out/cardQR.txt
|
|
||||||
├── +++ HMI/US/portrait/n2t-out/cardQR.txt
|
|
||||||
│ @@ -584,19 +584,19 @@
|
|
||||||
│ // get Text (optional Value)
|
|
||||||
│ spstr strCommand.txt,bText2.txt,"~",26
|
|
||||||
│ }
|
|
||||||
│ if(type2.txt=="delete"||type2.txt=="")
|
|
||||||
│ {
|
|
||||||
│ if(type1.txt=="delete"||type1.txt=="")
|
|
||||||
│ {
|
|
||||||
│ - qrcode m1.x,m1.y,200,65535,defaultBcoColor,-1,8,vaQR.txt
|
|
||||||
│ + qrcode m1.x,m1.y,200,65535,defaultBcoColor,-1,vaQR.txt
|
|
||||||
│ }
|
|
||||||
│ }else
|
|
||||||
│ {
|
|
||||||
│ - qrcode m0.x,m0.y,200,65535,defaultBcoColor,-1,8,vaQR.txt
|
|
||||||
│ + qrcode m0.x,m0.y,200,65535,defaultBcoColor,-1,vaQR.txt
|
|
||||||
│ }
|
|
||||||
│ }
|
|
||||||
│ if(tInstruction.txt=="time")
|
|
||||||
│ {
|
|
||||||
│ // get set time to global variable
|
|
||||||
│ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
|
|
||||||
│ }
|
|
||||||
│ @@ -733,15 +733,15 @@
|
|
||||||
│ if(sleepTimeout!=0&&dimValue!=dim)
|
|
||||||
│ {
|
|
||||||
│ sleepValue+=1
|
|
||||||
│ if(sleepTimeout<=sleepValue)
|
|
||||||
│ {
|
|
||||||
│ sleepValue=0
|
|
||||||
│ dim=dimValue
|
|
||||||
│ - tSend.txt="event,sleepReached,cardQR"
|
|
||||||
│ + tSend.txt="event,sleepReached,cardAlarm"
|
|
||||||
│ //send calc crc
|
|
||||||
│ btlen tSend.txt,sys0
|
|
||||||
│ crcrest 1,0xffff // reset CRC
|
|
||||||
│ crcputh 55 bb
|
|
||||||
│ crcputs sys0,2
|
|
||||||
│ crcputs tSend.txt,0
|
|
||||||
│ //send cmd
|
|
||||||
│ --- HMI/n2t-out/pageStartup.txt
|
│ --- HMI/n2t-out/pageStartup.txt
|
||||||
├── +++ HMI/US/portrait/n2t-out/pageStartup.txt
|
├── +++ HMI/US/portrait/n2t-out/pageStartup.txt
|
||||||
│ @@ -34,20 +34,14 @@
|
│ @@ -34,20 +34,14 @@
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
+++ /dev/fd/62 2023-05-13 09:27:24.610159768 +0000
|
+++ /dev/fd/62 2023-05-13 10:11:16.737208392 +0000
|
||||||
+I/n2t-out/Program.s.txt
|
+I/n2t-out/Program.s.txt
|
||||||
++ HMI/US/portrait/n2t-out/Program.s.txt
|
++ HMI/US/portrait/n2t-out/Program.s.txt
|
||||||
+1 +10,11 @@
|
+1 +10,11 @@
|
||||||
@@ -57,13 +57,13 @@
|
|||||||
+ributes
|
+ributes
|
||||||
+ Scope : local
|
+ Scope : local
|
||||||
+ Text :
|
+ Text :
|
||||||
|
+ Max. Text Size: 80
|
||||||
+ Max. Text Size: 40
|
+ Max. Text Size: 40
|
||||||
+
|
+
|
||||||
+e (string) nent2
|
+e (string) nent2
|
||||||
+ributes
|
+ributes
|
||||||
+ Scope : local
|
+ Scope : local
|
||||||
+ Text :
|
+ Text :
|
||||||
+ Max. Text Size: 80
|
|
||||||
+ Max. Text Size: 40
|
+ Max. Text Size: 40
|
||||||
+14 +185,26 @@
|
+14 +185,26 @@
|
||||||
+e (string) type6
|
+e (string) type6
|
||||||
@@ -913,47 +913,6 @@
|
|||||||
+ Scope : local
|
+ Scope : local
|
||||||
+ Period (ms): 50
|
+ Period (ms): 50
|
||||||
+ Enabled : yes
|
+ Enabled : yes
|
||||||
+I/n2t-out/cardQR.txt
|
|
||||||
++ HMI/US/portrait/n2t-out/cardQR.txt
|
|
||||||
+19 +584,19 @@
|
|
||||||
+ // get Text (optional Value)
|
|
||||||
+ spstr strCommand.txt,bText2.txt,"~",26
|
|
||||||
+ }
|
|
||||||
+ if(type2.txt=="delete"||type2.txt=="")
|
|
||||||
+ {
|
|
||||||
+ if(type1.txt=="delete"||type1.txt=="")
|
|
||||||
+ {
|
|
||||||
+ qrcode m1.x,m1.y,200,65535,defaultBcoColor,-1,8,vaQR.txt
|
|
||||||
+ qrcode m1.x,m1.y,200,65535,defaultBcoColor,-1,vaQR.txt
|
|
||||||
+ }
|
|
||||||
+ }else
|
|
||||||
+ {
|
|
||||||
+ qrcode m0.x,m0.y,200,65535,defaultBcoColor,-1,8,vaQR.txt
|
|
||||||
+ qrcode m0.x,m0.y,200,65535,defaultBcoColor,-1,vaQR.txt
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+ if(tInstruction.txt=="time")
|
|
||||||
+ {
|
|
||||||
+ // get set time to global variable
|
|
||||||
+ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
|
|
||||||
+ }
|
|
||||||
+15 +733,15 @@
|
|
||||||
+ if(sleepTimeout!=0&&dimValue!=dim)
|
|
||||||
+ {
|
|
||||||
+ sleepValue+=1
|
|
||||||
+ if(sleepTimeout<=sleepValue)
|
|
||||||
+ {
|
|
||||||
+ sleepValue=0
|
|
||||||
+ dim=dimValue
|
|
||||||
+ tSend.txt="event,sleepReached,cardQR"
|
|
||||||
+ tSend.txt="event,sleepReached,cardAlarm"
|
|
||||||
+ //send calc crc
|
|
||||||
+ btlen tSend.txt,sys0
|
|
||||||
+ crcrest 1,0xffff // reset CRC
|
|
||||||
+ crcputh 55 bb
|
|
||||||
+ crcputs sys0,2
|
|
||||||
+ crcputs tSend.txt,0
|
|
||||||
+ //send cmd
|
|
||||||
+I/n2t-out/pageStartup.txt
|
+I/n2t-out/pageStartup.txt
|
||||||
++ HMI/US/portrait/n2t-out/pageStartup.txt
|
++ HMI/US/portrait/n2t-out/pageStartup.txt
|
||||||
+0 +34,14 @@
|
+0 +34,14 @@
|
||||||
|
|||||||
@@ -1,22 +1,21 @@
|
|||||||
Page cardQR
|
Page cardQR
|
||||||
Attributes
|
Attributes
|
||||||
ID : 0
|
ID : 0
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Disable release event after dragging: 0
|
Send Component ID : disabled
|
||||||
Send Component ID : disabled
|
Opacity : 127
|
||||||
Opacity : 127
|
Width : 320
|
||||||
Width : 320
|
Effect : load
|
||||||
Effect : load
|
Effect Priority : 0
|
||||||
Effect Priority : 0
|
Effect Time : 300
|
||||||
Effect Time : 300
|
Locked : no
|
||||||
Locked : no
|
Swide up page ID : disabled
|
||||||
Swide up page ID : disabled
|
Swide down page ID : disabled
|
||||||
Swide down page ID : disabled
|
Swide left page ID : disabled
|
||||||
Swide left page ID : disabled
|
Swide right page ID: disabled
|
||||||
Swide right page ID : disabled
|
Fill : solid color
|
||||||
Fill : solid color
|
Back. Color : 6371
|
||||||
Back. Color : 6371
|
|
||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
@@ -153,202 +152,195 @@ Variable (string) vaQR
|
|||||||
|
|
||||||
Text tEntity1
|
Text tEntity1
|
||||||
Attributes
|
Attributes
|
||||||
ID : 17
|
ID : 17
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Disable release event after dragging: 0
|
Send Component ID : disabled
|
||||||
Send Component ID : disabled
|
Opacity : 127
|
||||||
Opacity : 127
|
x coordinate : 82
|
||||||
x coordinate : 82
|
y coordinate : 295
|
||||||
y coordinate : 295
|
Width : 163
|
||||||
Width : 163
|
Height : 30
|
||||||
Height : 30
|
Effect : load
|
||||||
Effect : load
|
Effect Priority : 0
|
||||||
Effect Priority : 0
|
Effect Time : 300
|
||||||
Effect Time : 300
|
Fill : solid color
|
||||||
Fill : solid color
|
Style : flat
|
||||||
Style : flat
|
Associated Keyboard : none
|
||||||
Associated Keyboard : none
|
Font ID : 0
|
||||||
Font ID : 0
|
Back. Color : 6371
|
||||||
Back. Color : 6371
|
Font Color : 65535
|
||||||
Font Color : 65535
|
Horizontal Alignment: left
|
||||||
Horizontal Alignment : left
|
Vertical Alignment : center
|
||||||
Vertical Alignment : center
|
Input Type : character
|
||||||
Input Type : character
|
Text : tEntity1
|
||||||
Text : tEntity1
|
Max. Text Size : 30
|
||||||
Max. Text Size : 30
|
Word wrap : disabled
|
||||||
Word wrap : disabled
|
Horizontal Spacing : 0
|
||||||
Horizontal Spacing : 0
|
Vertical Spacing : 0
|
||||||
Vertical Spacing : 0
|
|
||||||
|
|
||||||
Text tEntity2
|
Text tEntity2
|
||||||
Attributes
|
Attributes
|
||||||
ID : 21
|
ID : 21
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Disable release event after dragging: 0
|
Send Component ID : disabled
|
||||||
Send Component ID : disabled
|
Opacity : 127
|
||||||
Opacity : 127
|
x coordinate : 83
|
||||||
x coordinate : 83
|
y coordinate : 394
|
||||||
y coordinate : 394
|
Width : 165
|
||||||
Width : 165
|
Height : 30
|
||||||
Height : 30
|
Effect : load
|
||||||
Effect : load
|
Effect Priority : 0
|
||||||
Effect Priority : 0
|
Effect Time : 300
|
||||||
Effect Time : 300
|
Fill : solid color
|
||||||
Fill : solid color
|
Style : flat
|
||||||
Style : flat
|
Associated Keyboard : none
|
||||||
Associated Keyboard : none
|
Font ID : 0
|
||||||
Font ID : 0
|
Back. Color : 6371
|
||||||
Back. Color : 6371
|
Font Color : 65535
|
||||||
Font Color : 65535
|
Horizontal Alignment: left
|
||||||
Horizontal Alignment : left
|
Vertical Alignment : center
|
||||||
Vertical Alignment : center
|
Input Type : character
|
||||||
Input Type : character
|
Text : tEntity1
|
||||||
Text : tEntity1
|
Max. Text Size : 30
|
||||||
Max. Text Size : 30
|
Word wrap : disabled
|
||||||
Word wrap : disabled
|
Horizontal Spacing : 0
|
||||||
Horizontal Spacing : 0
|
Vertical Spacing : 0
|
||||||
Vertical Spacing : 0
|
|
||||||
|
|
||||||
Text tHeading
|
Text tHeading
|
||||||
Attributes
|
Attributes
|
||||||
ID : 24
|
ID : 24
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Disable release event after dragging: 0
|
Send Component ID : disabled
|
||||||
Send Component ID : disabled
|
Opacity : 127
|
||||||
Opacity : 127
|
x coordinate : 66
|
||||||
x coordinate : 66
|
y coordinate : 26
|
||||||
y coordinate : 26
|
Width : 184
|
||||||
Width : 184
|
Height : 30
|
||||||
Height : 30
|
Effect : load
|
||||||
Effect : load
|
Effect Priority : 0
|
||||||
Effect Priority : 0
|
Effect Time : 300
|
||||||
Effect Time : 300
|
Fill : solid color
|
||||||
Fill : solid color
|
Style : flat
|
||||||
Style : flat
|
Associated Keyboard : none
|
||||||
Associated Keyboard : none
|
Font ID : 2
|
||||||
Font ID : 2
|
Back. Color : 6371
|
||||||
Back. Color : 6371
|
Font Color : 65535
|
||||||
Font Color : 65535
|
Horizontal Alignment: center
|
||||||
Horizontal Alignment : center
|
Vertical Alignment : center
|
||||||
Vertical Alignment : center
|
Input Type : character
|
||||||
Input Type : character
|
Text :
|
||||||
Text :
|
Max. Text Size : 40
|
||||||
Max. Text Size : 40
|
Word wrap : disabled
|
||||||
Word wrap : disabled
|
Horizontal Spacing : 0
|
||||||
Horizontal Spacing : 0
|
Vertical Spacing : 0
|
||||||
Vertical Spacing : 0
|
|
||||||
|
|
||||||
Text tIcon1
|
Text tIcon1
|
||||||
Attributes
|
Attributes
|
||||||
ID : 18
|
ID : 18
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Disable release event after dragging: 0
|
Send Component ID : disabled
|
||||||
Send Component ID : disabled
|
Opacity : 127
|
||||||
Opacity : 127
|
x coordinate : 25
|
||||||
x coordinate : 25
|
y coordinate : 294
|
||||||
y coordinate : 294
|
Width : 45
|
||||||
Width : 45
|
Height : 30
|
||||||
Height : 30
|
Effect : load
|
||||||
Effect : load
|
Effect Priority : 0
|
||||||
Effect Priority : 0
|
Effect Time : 300
|
||||||
Effect Time : 300
|
Fill : solid color
|
||||||
Fill : solid color
|
Style : flat
|
||||||
Style : flat
|
Associated Keyboard : none
|
||||||
Associated Keyboard : none
|
Font ID : 1
|
||||||
Font ID : 1
|
Back. Color : 6371
|
||||||
Back. Color : 6371
|
Font Color : 17299
|
||||||
Font Color : 17299
|
Horizontal Alignment: center
|
||||||
Horizontal Alignment : center
|
Vertical Alignment : center
|
||||||
Vertical Alignment : center
|
Input Type : character
|
||||||
Input Type : character
|
Text : î°
|
||||||
Text : î°
|
Max. Text Size : 5
|
||||||
Max. Text Size : 5
|
Word wrap : disabled
|
||||||
Word wrap : disabled
|
Horizontal Spacing : 0
|
||||||
Horizontal Spacing : 0
|
Vertical Spacing : 0
|
||||||
Vertical Spacing : 0
|
|
||||||
|
|
||||||
Text tIcon2
|
Text tIcon2
|
||||||
Attributes
|
Attributes
|
||||||
ID : 22
|
ID : 22
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Disable release event after dragging: 0
|
Send Component ID : disabled
|
||||||
Send Component ID : disabled
|
Opacity : 127
|
||||||
Opacity : 127
|
x coordinate : 26
|
||||||
x coordinate : 26
|
y coordinate : 393
|
||||||
y coordinate : 393
|
Width : 45
|
||||||
Width : 45
|
Height : 30
|
||||||
Height : 30
|
Effect : load
|
||||||
Effect : load
|
Effect Priority : 0
|
||||||
Effect Priority : 0
|
Effect Time : 300
|
||||||
Effect Time : 300
|
Fill : solid color
|
||||||
Fill : solid color
|
Style : flat
|
||||||
Style : flat
|
Associated Keyboard : none
|
||||||
Associated Keyboard : none
|
Font ID : 1
|
||||||
Font ID : 1
|
Back. Color : 6371
|
||||||
Back. Color : 6371
|
Font Color : 17299
|
||||||
Font Color : 17299
|
Horizontal Alignment: center
|
||||||
Horizontal Alignment : center
|
Vertical Alignment : center
|
||||||
Vertical Alignment : center
|
Input Type : character
|
||||||
Input Type : character
|
Text : î°
|
||||||
Text : î°
|
Max. Text Size : 5
|
||||||
Max. Text Size : 5
|
Word wrap : disabled
|
||||||
Word wrap : disabled
|
Horizontal Spacing : 0
|
||||||
Horizontal Spacing : 0
|
Vertical Spacing : 0
|
||||||
Vertical Spacing : 0
|
|
||||||
|
|
||||||
Picture p0
|
Picture p0
|
||||||
Attributes
|
Attributes
|
||||||
ID : 1
|
ID : 1
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Disable release event after dragging: 0
|
Send Component ID: disabled
|
||||||
Send Component ID : disabled
|
Opacity : 127
|
||||||
Opacity : 127
|
x coordinate : 0
|
||||||
x coordinate : 0
|
y coordinate : 0
|
||||||
y coordinate : 0
|
Width : 319
|
||||||
Width : 319
|
Height : 479
|
||||||
Height : 479
|
Effect : load
|
||||||
Effect : load
|
Effect Priority : 0
|
||||||
Effect Priority : 0
|
Effect Time : 300
|
||||||
Effect Time : 300
|
Picture ID : 0
|
||||||
Picture ID : 0
|
|
||||||
|
|
||||||
Button bNext
|
Button bNext
|
||||||
Attributes
|
Attributes
|
||||||
ID : 3
|
ID : 3
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Disable release event after dragging: 0
|
Send Component ID : disabled
|
||||||
Send Component ID : disabled
|
Opacity : 127
|
||||||
Opacity : 127
|
x coordinate : 262
|
||||||
x coordinate : 262
|
y coordinate : 16
|
||||||
y coordinate : 16
|
Width : 50
|
||||||
Width : 50
|
Height : 50
|
||||||
Height : 50
|
Effect : load
|
||||||
Effect : load
|
Effect Priority : 0
|
||||||
Effect Priority : 0
|
Effect Time : 300
|
||||||
Effect Time : 300
|
Fill : solid color
|
||||||
Fill : solid color
|
Style : flat
|
||||||
Style : flat
|
Font ID : 3
|
||||||
Font ID : 3
|
Back. Color : 6371
|
||||||
Back. Color : 6371
|
Back. Picture ID (Pressed): 65535
|
||||||
Back. Picture ID (Pressed) : 65535
|
Back. Color (Pressed) : 14823
|
||||||
Back. Color (Pressed) : 14823
|
Font Color (Unpressed) : 65535
|
||||||
Font Color (Unpressed) : 65535
|
Font Color (Pressed) : 65535
|
||||||
Font Color (Pressed) : 65535
|
Horizontal Alignment : center
|
||||||
Horizontal Alignment : center
|
Vertical Alignment : center
|
||||||
Vertical Alignment : center
|
State : unpressed
|
||||||
State : unpressed
|
Text : î³
|
||||||
Text : î³
|
Max. Text Size : 10
|
||||||
Max. Text Size : 10
|
Word wrap : disabled
|
||||||
Word wrap : disabled
|
Horizontal Spacing : 0
|
||||||
Horizontal Spacing : 0
|
Vertical Spacing : 0
|
||||||
Vertical Spacing : 0
|
|
||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
@@ -367,35 +359,34 @@ Button bNext
|
|||||||
|
|
||||||
Button bPrev
|
Button bPrev
|
||||||
Attributes
|
Attributes
|
||||||
ID : 4
|
ID : 4
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Disable release event after dragging: 0
|
Send Component ID : disabled
|
||||||
Send Component ID : disabled
|
Opacity : 127
|
||||||
Opacity : 127
|
x coordinate : 9
|
||||||
x coordinate : 9
|
y coordinate : 16
|
||||||
y coordinate : 16
|
Width : 50
|
||||||
Width : 50
|
Height : 50
|
||||||
Height : 50
|
Effect : load
|
||||||
Effect : load
|
Effect Priority : 0
|
||||||
Effect Priority : 0
|
Effect Time : 300
|
||||||
Effect Time : 300
|
Fill : solid color
|
||||||
Fill : solid color
|
Style : flat
|
||||||
Style : flat
|
Font ID : 3
|
||||||
Font ID : 3
|
Back. Color : 6371
|
||||||
Back. Color : 6371
|
Back. Picture ID (Pressed): 65535
|
||||||
Back. Picture ID (Pressed) : 65535
|
Back. Color (Pressed) : 14823
|
||||||
Back. Color (Pressed) : 14823
|
Font Color (Unpressed) : 65535
|
||||||
Font Color (Unpressed) : 65535
|
Font Color (Pressed) : 65535
|
||||||
Font Color (Pressed) : 65535
|
Horizontal Alignment : center
|
||||||
Horizontal Alignment : center
|
Vertical Alignment : center
|
||||||
Vertical Alignment : center
|
State : unpressed
|
||||||
State : unpressed
|
Text : î°
|
||||||
Text : î°
|
Max. Text Size : 10
|
||||||
Max. Text Size : 10
|
Word wrap : disabled
|
||||||
Word wrap : disabled
|
Horizontal Spacing : 0
|
||||||
Horizontal Spacing : 0
|
Vertical Spacing : 0
|
||||||
Vertical Spacing : 0
|
|
||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
@@ -414,35 +405,34 @@ Button bPrev
|
|||||||
|
|
||||||
Button bText1
|
Button bText1
|
||||||
Attributes
|
Attributes
|
||||||
ID : 19
|
ID : 19
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Disable release event after dragging: 0
|
Send Component ID : disabled
|
||||||
Send Component ID : disabled
|
Opacity : 127
|
||||||
Opacity : 127
|
x coordinate : 84
|
||||||
x coordinate : 84
|
y coordinate : 342
|
||||||
y coordinate : 342
|
Width : 212
|
||||||
Width : 212
|
Height : 30
|
||||||
Height : 30
|
Effect : load
|
||||||
Effect : load
|
Effect Priority : 0
|
||||||
Effect Priority : 0
|
Effect Time : 300
|
||||||
Effect Time : 300
|
Fill : solid color
|
||||||
Fill : solid color
|
Style : flat
|
||||||
Style : flat
|
Font ID : 0
|
||||||
Font ID : 0
|
Back. Color : 6371
|
||||||
Back. Color : 6371
|
Back. Picture ID (Pressed): 65535
|
||||||
Back. Picture ID (Pressed) : 65535
|
Back. Color (Pressed) : 14823
|
||||||
Back. Color (Pressed) : 14823
|
Font Color (Unpressed) : 65535
|
||||||
Font Color (Unpressed) : 65535
|
Font Color (Pressed) : 65535
|
||||||
Font Color (Pressed) : 65535
|
Horizontal Alignment : center
|
||||||
Horizontal Alignment : center
|
Vertical Alignment : center
|
||||||
Vertical Alignment : center
|
State : unpressed
|
||||||
State : unpressed
|
Text :
|
||||||
Text :
|
Max. Text Size : 30
|
||||||
Max. Text Size : 30
|
Word wrap : disabled
|
||||||
Word wrap : disabled
|
Horizontal Spacing : 0
|
||||||
Horizontal Spacing : 0
|
Vertical Spacing : 0
|
||||||
Vertical Spacing : 0
|
|
||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
@@ -461,35 +451,34 @@ Button bText1
|
|||||||
|
|
||||||
Button bText2
|
Button bText2
|
||||||
Attributes
|
Attributes
|
||||||
ID : 23
|
ID : 23
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Disable release event after dragging: 0
|
Send Component ID : disabled
|
||||||
Send Component ID : disabled
|
Opacity : 127
|
||||||
Opacity : 127
|
x coordinate : 80
|
||||||
x coordinate : 80
|
y coordinate : 439
|
||||||
y coordinate : 439
|
Width : 213
|
||||||
Width : 213
|
Height : 30
|
||||||
Height : 30
|
Effect : load
|
||||||
Effect : load
|
Effect Priority : 0
|
||||||
Effect Priority : 0
|
Effect Time : 300
|
||||||
Effect Time : 300
|
Fill : solid color
|
||||||
Fill : solid color
|
Style : flat
|
||||||
Style : flat
|
Font ID : 0
|
||||||
Font ID : 0
|
Back. Color : 6371
|
||||||
Back. Color : 6371
|
Back. Picture ID (Pressed): 65535
|
||||||
Back. Picture ID (Pressed) : 65535
|
Back. Color (Pressed) : 14823
|
||||||
Back. Color (Pressed) : 14823
|
Font Color (Unpressed) : 65535
|
||||||
Font Color (Unpressed) : 65535
|
Font Color (Pressed) : 65535
|
||||||
Font Color (Pressed) : 65535
|
Horizontal Alignment : center
|
||||||
Horizontal Alignment : center
|
Vertical Alignment : center
|
||||||
Vertical Alignment : center
|
State : unpressed
|
||||||
State : unpressed
|
Text :
|
||||||
Text :
|
Max. Text Size : 30
|
||||||
Max. Text Size : 30
|
Word wrap : disabled
|
||||||
Word wrap : disabled
|
Horizontal Spacing : 0
|
||||||
Horizontal Spacing : 0
|
Vertical Spacing : 0
|
||||||
Vertical Spacing : 0
|
|
||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
@@ -508,31 +497,30 @@ Button bText2
|
|||||||
|
|
||||||
Dual-state Button btOnOff1
|
Dual-state Button btOnOff1
|
||||||
Attributes
|
Attributes
|
||||||
ID : 2
|
ID : 2
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Disable release event after dragging: 0
|
Send Component ID : disabled
|
||||||
Send Component ID : disabled
|
Opacity : 127
|
||||||
Opacity : 127
|
x coordinate : 249
|
||||||
x coordinate : 249
|
y coordinate : 285
|
||||||
y coordinate : 285
|
Width : 50
|
||||||
Width : 50
|
Height : 50
|
||||||
Height : 50
|
Effect : load
|
||||||
Effect : load
|
Effect Priority : 0
|
||||||
Effect Priority : 0
|
Effect Time : 300
|
||||||
Effect Time : 300
|
Fill : image
|
||||||
Fill : image
|
Font ID : 0
|
||||||
Font ID : 0
|
Background Picture ID (Unpressed): 1
|
||||||
Background Picture ID (Unpressed) : 1
|
Back. Picture ID (Pressed) : 2
|
||||||
Back. Picture ID (Pressed) : 2
|
Horizontal Alignment : center
|
||||||
Horizontal Alignment : center
|
Vertical Alignment : center
|
||||||
Vertical Alignment : center
|
State : unpressed
|
||||||
State : unpressed
|
Text :
|
||||||
Text :
|
Max. Text Size : 10
|
||||||
Max. Text Size : 10
|
Word wrap : disabled
|
||||||
Word wrap : disabled
|
Horizontal Spacing : 0
|
||||||
Horizontal Spacing : 0
|
Vertical Spacing : 0
|
||||||
Vertical Spacing : 0
|
|
||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
@@ -553,31 +541,30 @@ Dual-state Button btOnOff1
|
|||||||
|
|
||||||
Dual-state Button btOnOff2
|
Dual-state Button btOnOff2
|
||||||
Attributes
|
Attributes
|
||||||
ID : 20
|
ID : 20
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Disable release event after dragging: 0
|
Send Component ID : disabled
|
||||||
Send Component ID : disabled
|
Opacity : 127
|
||||||
Opacity : 127
|
x coordinate : 251
|
||||||
x coordinate : 251
|
y coordinate : 382
|
||||||
y coordinate : 382
|
Width : 50
|
||||||
Width : 50
|
Height : 50
|
||||||
Height : 50
|
Effect : load
|
||||||
Effect : load
|
Effect Priority : 0
|
||||||
Effect Priority : 0
|
Effect Time : 300
|
||||||
Effect Time : 300
|
Fill : image
|
||||||
Fill : image
|
Font ID : 0
|
||||||
Font ID : 0
|
Background Picture ID (Unpressed): 1
|
||||||
Background Picture ID (Unpressed) : 1
|
Back. Picture ID (Pressed) : 2
|
||||||
Back. Picture ID (Pressed) : 2
|
Horizontal Alignment : center
|
||||||
Horizontal Alignment : center
|
Vertical Alignment : center
|
||||||
Vertical Alignment : center
|
State : unpressed
|
||||||
State : unpressed
|
Text :
|
||||||
Text :
|
Max. Text Size : 10
|
||||||
Max. Text Size : 10
|
Word wrap : disabled
|
||||||
Word wrap : disabled
|
Horizontal Spacing : 0
|
||||||
Horizontal Spacing : 0
|
Vertical Spacing : 0
|
||||||
Vertical Spacing : 0
|
|
||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
@@ -598,51 +585,48 @@ Dual-state Button btOnOff2
|
|||||||
|
|
||||||
Hotspot m0
|
Hotspot m0
|
||||||
Attributes
|
Attributes
|
||||||
ID : 29
|
ID : 29
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Disable release event after dragging: 0
|
Send Component ID: disabled
|
||||||
Send Component ID : disabled
|
Opacity : 127
|
||||||
Opacity : 127
|
x coordinate : 57
|
||||||
x coordinate : 57
|
y coordinate : 77
|
||||||
y coordinate : 77
|
Width : 200
|
||||||
Width : 200
|
Height : 200
|
||||||
Height : 200
|
Effect : load
|
||||||
Effect : load
|
Effect Priority : 0
|
||||||
Effect Priority : 0
|
Effect Time : 300
|
||||||
Effect Time : 300
|
|
||||||
|
|
||||||
Hotspot m1
|
Hotspot m1
|
||||||
Attributes
|
Attributes
|
||||||
ID : 31
|
ID : 31
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Disable release event after dragging: 0
|
Send Component ID: disabled
|
||||||
Send Component ID : disabled
|
Opacity : 127
|
||||||
Opacity : 127
|
x coordinate : 57
|
||||||
x coordinate : 57
|
y coordinate : 144
|
||||||
y coordinate : 144
|
Width : 200
|
||||||
Width : 200
|
Height : 200
|
||||||
Height : 200
|
Effect : load
|
||||||
Effect : load
|
Effect Priority : 0
|
||||||
Effect Priority : 0
|
Effect Time : 300
|
||||||
Effect Time : 300
|
|
||||||
|
|
||||||
Hotspot mSwipeNext
|
Hotspot mSwipeNext
|
||||||
Attributes
|
Attributes
|
||||||
ID : 11
|
ID : 11
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Disable release event after dragging: 0
|
Send Component ID: disabled
|
||||||
Send Component ID : disabled
|
Opacity : 127
|
||||||
Opacity : 127
|
x coordinate : 310
|
||||||
x coordinate : 310
|
y coordinate : 5
|
||||||
y coordinate : 5
|
Width : 8
|
||||||
Width : 8
|
Height : 475
|
||||||
Height : 475
|
Effect : load
|
||||||
Effect : load
|
Effect Priority : 0
|
||||||
Effect Priority : 0
|
Effect Time : 300
|
||||||
Effect Time : 300
|
|
||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
@@ -650,19 +634,18 @@ Hotspot mSwipeNext
|
|||||||
|
|
||||||
Hotspot mSwipePrev
|
Hotspot mSwipePrev
|
||||||
Attributes
|
Attributes
|
||||||
ID : 13
|
ID : 13
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Disable release event after dragging: 0
|
Send Component ID: disabled
|
||||||
Send Component ID : disabled
|
Opacity : 127
|
||||||
Opacity : 127
|
x coordinate : 0
|
||||||
x coordinate : 0
|
y coordinate : 5
|
||||||
y coordinate : 5
|
Width : 9
|
||||||
Width : 9
|
Height : 475
|
||||||
Height : 475
|
Effect : load
|
||||||
Effect : load
|
Effect Priority : 0
|
||||||
Effect Priority : 0
|
Effect Time : 300
|
||||||
Effect Time : 300
|
|
||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
@@ -670,19 +653,18 @@ Hotspot mSwipePrev
|
|||||||
|
|
||||||
Hotspot mSwipeUp
|
Hotspot mSwipeUp
|
||||||
Attributes
|
Attributes
|
||||||
ID : 12
|
ID : 12
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Disable release event after dragging: 0
|
Send Component ID: disabled
|
||||||
Send Component ID : disabled
|
Opacity : 127
|
||||||
Opacity : 127
|
x coordinate : 12
|
||||||
x coordinate : 12
|
y coordinate : 0
|
||||||
y coordinate : 0
|
Width : 295
|
||||||
Width : 295
|
Height : 10
|
||||||
Height : 10
|
Effect : load
|
||||||
Effect : load
|
Effect Priority : 0
|
||||||
Effect Priority : 0
|
Effect Time : 300
|
||||||
Effect Time : 300
|
|
||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
@@ -907,11 +889,11 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
if(type1.txt=="delete"||type1.txt=="")
|
if(type1.txt=="delete"||type1.txt=="")
|
||||||
{
|
{
|
||||||
qrcode m1.x,m1.y,200,65535,defaultBcoColor,-1,vaQR.txt
|
qrcode m1.x,m1.y,200,65535,defaultBcoColor,-1,8,vaQR.txt
|
||||||
}
|
}
|
||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
qrcode m0.x,m0.y,200,65535,defaultBcoColor,-1,vaQR.txt
|
qrcode m0.x,m0.y,200,65535,defaultBcoColor,-1,8,vaQR.txt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="time")
|
if(tInstruction.txt=="time")
|
||||||
@@ -1057,7 +1039,7 @@ Timer tmSleep
|
|||||||
{
|
{
|
||||||
sleepValue=0
|
sleepValue=0
|
||||||
dim=dimValue
|
dim=dimValue
|
||||||
tSend.txt="event,sleepReached,cardAlarm"
|
tSend.txt="event,sleepReached,cardQR"
|
||||||
//send calc crc
|
//send calc crc
|
||||||
btlen tSend.txt,sys0
|
btlen tSend.txt,sys0
|
||||||
crcrest 1,0xffff // reset CRC
|
crcrest 1,0xffff // reset CRC
|
||||||
|
|||||||
@@ -38,6 +38,10 @@ popupShutter
|
|||||||
25 Component(s)
|
25 Component(s)
|
||||||
398 Line(s) of event code
|
398 Line(s) of event code
|
||||||
218 Unique line(s) of event code
|
218 Unique line(s) of event code
|
||||||
|
cardQR
|
||||||
|
34 Component(s)
|
||||||
|
406 Line(s) of event code
|
||||||
|
236 Unique line(s) of event code
|
||||||
cardAlarm
|
cardAlarm
|
||||||
43 Component(s)
|
43 Component(s)
|
||||||
496 Line(s) of event code
|
496 Line(s) of event code
|
||||||
@@ -62,10 +66,6 @@ cardMedia
|
|||||||
59 Component(s)
|
59 Component(s)
|
||||||
645 Line(s) of event code
|
645 Line(s) of event code
|
||||||
320 Unique line(s) of event code
|
320 Unique line(s) of event code
|
||||||
cardQR
|
|
||||||
34 Component(s)
|
|
||||||
406 Line(s) of event code
|
|
||||||
236 Unique line(s) of event code
|
|
||||||
screensaver
|
screensaver
|
||||||
46 Component(s)
|
46 Component(s)
|
||||||
425 Line(s) of event code
|
425 Line(s) of event code
|
||||||
@@ -91,4 +91,4 @@ Total
|
|||||||
22 Page(s)
|
22 Page(s)
|
||||||
806 Component(s)
|
806 Component(s)
|
||||||
9627 Line(s) of event code
|
9627 Line(s) of event code
|
||||||
2446 Unique line(s) of event code
|
2447 Unique line(s) of event code
|
||||||
|
|||||||
@@ -588,11 +588,11 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
if(type1.txt=="delete"||type1.txt=="")
|
if(type1.txt=="delete"||type1.txt=="")
|
||||||
{
|
{
|
||||||
qrcode m1.x,m1.y,200,65535,defaultBcoColor,-1,vaQR.txt
|
qrcode m1.x,m1.y,200,65535,defaultBcoColor,-1,8,vaQR.txt
|
||||||
}
|
}
|
||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
qrcode m0.x,m0.y,200,65535,defaultBcoColor,-1,vaQR.txt
|
qrcode m0.x,m0.y,200,65535,defaultBcoColor,-1,8,vaQR.txt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="time")
|
if(tInstruction.txt=="time")
|
||||||
@@ -737,7 +737,7 @@ Timer tmSleep
|
|||||||
{
|
{
|
||||||
sleepValue=0
|
sleepValue=0
|
||||||
dim=dimValue
|
dim=dimValue
|
||||||
tSend.txt="event,sleepReached,cardAlarm"
|
tSend.txt="event,sleepReached,cardQR"
|
||||||
//send calc crc
|
//send calc crc
|
||||||
btlen tSend.txt,sys0
|
btlen tSend.txt,sys0
|
||||||
crcrest 1,0xffff // reset CRC
|
crcrest 1,0xffff // reset CRC
|
||||||
|
|||||||
Reference in New Issue
Block a user