mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-22 07:24:24 +01:00
Merge branch 'main' of https://github.com/joBr99/nspanel-lovelace-ui
This commit is contained in:
@@ -1,212 +1,16 @@
|
|||||||
diff -bur HMI/n2t-out/Program.s.txt HMI/US/landscape/n2t-out/Program.s.txt
|
diff -bur HMI/n2t-out/Program.s.txt HMI/US/landscape/n2t-out/Program.s.txt
|
||||||
--- HMI/n2t-out/Program.s.txt 2022-05-21 11:46:43.729351186 +0000
|
--- HMI/n2t-out/Program.s.txt 2022-05-21 12:30:15.820142077 +0000
|
||||||
+++ HMI/US/landscape/n2t-out/Program.s.txt 2022-05-21 11:46:44.825339225 +0000
|
+++ HMI/US/landscape/n2t-out/Program.s.txt 2022-05-21 12:30:16.796150142 +0000
|
||||||
@@ -11,6 +11,3 @@
|
@@ -11,6 +11,4 @@
|
||||||
// dim value
|
// dim value
|
||||||
int dimValue=40
|
int dimValue=40
|
||||||
int dimValueNormal=100
|
int dimValueNormal=100
|
||||||
- // fix touch offset
|
- // fix touch offset
|
||||||
- lcd_dev fffb 0002 0000 0020
|
- lcd_dev fffb 0002 0000 0020
|
||||||
- page pageStartup
|
page pageStartup
|
||||||
diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/landscape/n2t-out/cardAlarm.txt
|
|
||||||
--- HMI/n2t-out/cardAlarm.txt 2022-05-21 11:46:43.733351142 +0000
|
|
||||||
+++ HMI/US/landscape/n2t-out/cardAlarm.txt 2022-05-21 11:46:44.829339181 +0000
|
|
||||||
@@ -788,10 +788,6 @@
|
|
||||||
{
|
|
||||||
page cardAlarm
|
|
||||||
}
|
|
||||||
- if(tId.txt=="cardQR")
|
|
||||||
- {
|
|
||||||
- page cardQR
|
|
||||||
- }
|
|
||||||
}
|
|
||||||
// end of user code
|
|
||||||
udelete payloadLength-1
|
|
||||||
diff -bur HMI/n2t-out/cardEntities.txt HMI/US/landscape/n2t-out/cardEntities.txt
|
|
||||||
--- HMI/n2t-out/cardEntities.txt 2022-05-21 11:46:43.733351142 +0000
|
|
||||||
+++ HMI/US/landscape/n2t-out/cardEntities.txt 2022-05-21 11:46:44.829339181 +0000
|
|
||||||
@@ -1277,28 +1277,6 @@
|
|
||||||
vis bText1,0
|
|
||||||
vis hSlider1,0
|
|
||||||
vis nNum1,0
|
|
||||||
- // get Button State (optional Value)
|
|
||||||
- spstr strCommand.txt,tId.txt,"~",8
|
|
||||||
- spstr tId.txt,tTmp.txt,"|",0
|
|
||||||
- if(tTmp.txt=="0")
|
|
||||||
- {
|
|
||||||
- bUp1.pco=27501
|
|
||||||
- tsw bUp1,0
|
|
||||||
- }else
|
|
||||||
- {
|
|
||||||
- bUp1.pco=65535
|
|
||||||
- tsw bUp1,1
|
|
||||||
- }
|
|
||||||
- spstr tId.txt,tTmp.txt,"|",1
|
|
||||||
- if(tTmp.txt=="0")
|
|
||||||
- {
|
|
||||||
- bDown1.pco=27501
|
|
||||||
- tsw bDown1,0
|
|
||||||
- }else
|
|
||||||
- {
|
|
||||||
- bDown1.pco=65535
|
|
||||||
- tsw bDown1,1
|
|
||||||
- }
|
|
||||||
}
|
|
||||||
if(type1.txt=="light")
|
|
||||||
{
|
|
||||||
@@ -1421,28 +1399,6 @@
|
|
||||||
vis bText2,0
|
|
||||||
vis hSlider2,0
|
|
||||||
vis nNum2,0
|
|
||||||
- // get Button State (optional Value)
|
|
||||||
- spstr strCommand.txt,tId.txt,"~",14
|
|
||||||
- spstr tId.txt,tTmp.txt,"|",0
|
|
||||||
- if(tTmp.txt=="0")
|
|
||||||
- {
|
|
||||||
- bUp2.pco=27501
|
|
||||||
- tsw bUp2,0
|
|
||||||
- }else
|
|
||||||
- {
|
|
||||||
- bUp2.pco=65535
|
|
||||||
- tsw bUp2,1
|
|
||||||
- }
|
|
||||||
- spstr tId.txt,tTmp.txt,"|",1
|
|
||||||
- if(tTmp.txt=="0")
|
|
||||||
- {
|
|
||||||
- bDown2.pco=27501
|
|
||||||
- tsw bDown2,0
|
|
||||||
- }else
|
|
||||||
- {
|
|
||||||
- bDown2.pco=65535
|
|
||||||
- tsw bDown2,1
|
|
||||||
- }
|
|
||||||
}
|
|
||||||
if(type2.txt=="light")
|
|
||||||
{
|
|
||||||
@@ -1565,28 +1521,6 @@
|
|
||||||
vis bText3,0
|
|
||||||
vis hSlider3,0
|
|
||||||
vis nNum3,0
|
|
||||||
- // get Button State (optional Value)
|
|
||||||
- spstr strCommand.txt,tId.txt,"~",20
|
|
||||||
- spstr tId.txt,tTmp.txt,"|",0
|
|
||||||
- if(tTmp.txt=="0")
|
|
||||||
- {
|
|
||||||
- bUp3.pco=27501
|
|
||||||
- tsw bUp3,0
|
|
||||||
- }else
|
|
||||||
- {
|
|
||||||
- bUp3.pco=65535
|
|
||||||
- tsw bUp3,1
|
|
||||||
- }
|
|
||||||
- spstr tId.txt,tTmp.txt,"|",1
|
|
||||||
- if(tTmp.txt=="0")
|
|
||||||
- {
|
|
||||||
- bDown3.pco=27501
|
|
||||||
- tsw bDown3,0
|
|
||||||
- }else
|
|
||||||
- {
|
|
||||||
- bDown3.pco=65535
|
|
||||||
- tsw bDown3,1
|
|
||||||
- }
|
|
||||||
}
|
|
||||||
if(type3.txt=="light")
|
|
||||||
{
|
|
||||||
@@ -1709,28 +1643,6 @@
|
|
||||||
vis bText4,0
|
|
||||||
vis hSlider4,0
|
|
||||||
vis nNum4,0
|
|
||||||
- // get Button State (optional Value)
|
|
||||||
- spstr strCommand.txt,tId.txt,"~",26
|
|
||||||
- spstr tId.txt,tTmp.txt,"|",0
|
|
||||||
- if(tTmp.txt=="0")
|
|
||||||
- {
|
|
||||||
- bUp4.pco=27501
|
|
||||||
- tsw bUp4,0
|
|
||||||
- }else
|
|
||||||
- {
|
|
||||||
- bUp4.pco=65535
|
|
||||||
- tsw bUp4,1
|
|
||||||
- }
|
|
||||||
- spstr tId.txt,tTmp.txt,"|",1
|
|
||||||
- if(tTmp.txt=="0")
|
|
||||||
- {
|
|
||||||
- bDown4.pco=27501
|
|
||||||
- tsw bDown4,0
|
|
||||||
- }else
|
|
||||||
- {
|
|
||||||
- bDown4.pco=65535
|
|
||||||
- tsw bDown4,1
|
|
||||||
- }
|
|
||||||
}
|
|
||||||
if(type4.txt=="light")
|
|
||||||
{
|
|
||||||
@@ -1871,10 +1783,6 @@
|
|
||||||
{
|
|
||||||
page cardAlarm
|
|
||||||
}
|
|
||||||
- if(tId.txt=="cardQR")
|
|
||||||
- {
|
|
||||||
- page cardQR
|
|
||||||
- }
|
|
||||||
}
|
|
||||||
if(tInstruction.txt=="time")
|
|
||||||
{
|
|
||||||
diff -bur HMI/n2t-out/cardGrid.txt HMI/US/landscape/n2t-out/cardGrid.txt
|
|
||||||
--- HMI/n2t-out/cardGrid.txt 2022-05-21 11:46:43.733351142 +0000
|
|
||||||
+++ HMI/US/landscape/n2t-out/cardGrid.txt 2022-05-21 11:46:44.829339181 +0000
|
|
||||||
@@ -869,10 +869,6 @@
|
|
||||||
{
|
|
||||||
page cardAlarm
|
|
||||||
}
|
|
||||||
- if(tId.txt=="cardQR")
|
|
||||||
- {
|
|
||||||
- page cardQR
|
|
||||||
- }
|
|
||||||
}
|
|
||||||
if(tInstruction.txt=="time")
|
|
||||||
{
|
|
||||||
diff -bur HMI/n2t-out/cardMedia.txt HMI/US/landscape/n2t-out/cardMedia.txt
|
|
||||||
--- HMI/n2t-out/cardMedia.txt 2022-05-21 11:46:43.733351142 +0000
|
|
||||||
+++ HMI/US/landscape/n2t-out/cardMedia.txt 2022-05-21 11:46:44.829339181 +0000
|
|
||||||
@@ -740,10 +740,6 @@
|
|
||||||
{
|
|
||||||
page cardAlarm
|
|
||||||
}
|
|
||||||
- if(tId.txt=="cardQR")
|
|
||||||
- {
|
|
||||||
- page cardQR
|
|
||||||
- }
|
|
||||||
}
|
|
||||||
// end of user code
|
|
||||||
udelete payloadLength-1
|
|
||||||
Only in HMI/n2t-out: cardQR.txt
|
|
||||||
diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
|
||||||
--- HMI/n2t-out/cardThermo.txt 2022-05-21 11:46:43.733351142 +0000
|
|
||||||
+++ HMI/US/landscape/n2t-out/cardThermo.txt 2022-05-21 11:46:44.829339181 +0000
|
|
||||||
@@ -1192,10 +1192,6 @@
|
|
||||||
{
|
|
||||||
page cardAlarm
|
|
||||||
}
|
|
||||||
- if(tId.txt=="cardQR")
|
|
||||||
- {
|
|
||||||
- page cardQR
|
|
||||||
- }
|
|
||||||
}
|
|
||||||
if(tInstruction.txt=="time")
|
|
||||||
{
|
|
||||||
diff -bur HMI/n2t-out/pageStartup.txt HMI/US/landscape/n2t-out/pageStartup.txt
|
diff -bur HMI/n2t-out/pageStartup.txt HMI/US/landscape/n2t-out/pageStartup.txt
|
||||||
--- HMI/n2t-out/pageStartup.txt 2022-05-21 11:46:43.733351142 +0000
|
--- HMI/n2t-out/pageStartup.txt 2022-05-21 12:30:15.820142077 +0000
|
||||||
+++ HMI/US/landscape/n2t-out/pageStartup.txt 2022-05-21 11:46:44.829339181 +0000
|
+++ HMI/US/landscape/n2t-out/pageStartup.txt 2022-05-21 12:30:16.796150142 +0000
|
||||||
@@ -152,7 +152,7 @@
|
|
||||||
Disable release event after dragging: 0
|
|
||||||
Send Component ID : disabled
|
|
||||||
Associated Keyboard : none
|
|
||||||
- Text : 35
|
|
||||||
+ Text : 34
|
|
||||||
Max. Text Size : 10
|
|
||||||
|
|
||||||
Picture p0
|
|
||||||
@@ -177,7 +177,7 @@
|
@@ -177,7 +177,7 @@
|
||||||
recmod=1
|
recmod=1
|
||||||
bauds=115200
|
bauds=115200
|
||||||
@@ -216,91 +20,3 @@ diff -bur HMI/n2t-out/pageStartup.txt HMI/US/landscape/n2t-out/pageStartup.txt
|
|||||||
//send calc crc
|
//send calc crc
|
||||||
btlen tSend.txt,sys0
|
btlen tSend.txt,sys0
|
||||||
crcrest 1,0xffff // reset CRC
|
crcrest 1,0xffff // reset CRC
|
||||||
@@ -330,10 +330,6 @@
|
|
||||||
{
|
|
||||||
page cardAlarm
|
|
||||||
}
|
|
||||||
- if(tId.txt=="cardQR")
|
|
||||||
- {
|
|
||||||
- page cardQR
|
|
||||||
- }
|
|
||||||
}
|
|
||||||
// end of user code
|
|
||||||
udelete payloadLength-1
|
|
||||||
diff -bur HMI/n2t-out/pageTest.txt HMI/US/landscape/n2t-out/pageTest.txt
|
|
||||||
--- HMI/n2t-out/pageTest.txt 2022-05-21 11:46:43.729351186 +0000
|
|
||||||
+++ HMI/US/landscape/n2t-out/pageTest.txt 2022-05-21 11:46:44.825339225 +0000
|
|
||||||
@@ -176,17 +176,3 @@
|
|
||||||
Touch Press Event
|
|
||||||
bauds=115200
|
|
||||||
|
|
||||||
-Button b2
|
|
||||||
- Attributes
|
|
||||||
- Scope : local
|
|
||||||
- Dragging : 0
|
|
||||||
- Disable release event after dragging: 0
|
|
||||||
- Send Component ID : disabled
|
|
||||||
- State : unpressed
|
|
||||||
- Text : qr
|
|
||||||
- Max. Text Size : 10
|
|
||||||
-
|
|
||||||
- Events
|
|
||||||
- Touch Press Event
|
|
||||||
- page cardQR
|
|
||||||
-
|
|
||||||
diff -bur HMI/n2t-out/popupLight.txt HMI/US/landscape/n2t-out/popupLight.txt
|
|
||||||
--- HMI/n2t-out/popupLight.txt 2022-05-21 11:46:43.733351142 +0000
|
|
||||||
+++ HMI/US/landscape/n2t-out/popupLight.txt 2022-05-21 11:46:44.825339225 +0000
|
|
||||||
@@ -618,10 +618,6 @@
|
|
||||||
{
|
|
||||||
page cardAlarm
|
|
||||||
}
|
|
||||||
- if(tId.txt=="cardQR")
|
|
||||||
- {
|
|
||||||
- page cardQR
|
|
||||||
- }
|
|
||||||
}
|
|
||||||
// end of user code
|
|
||||||
udelete payloadLength-1
|
|
||||||
diff -bur HMI/n2t-out/popupNotify.txt HMI/US/landscape/n2t-out/popupNotify.txt
|
|
||||||
--- HMI/n2t-out/popupNotify.txt 2022-05-21 11:46:43.733351142 +0000
|
|
||||||
+++ HMI/US/landscape/n2t-out/popupNotify.txt 2022-05-21 11:46:44.829339181 +0000
|
|
||||||
@@ -381,10 +381,6 @@
|
|
||||||
{
|
|
||||||
page cardAlarm
|
|
||||||
}
|
|
||||||
- if(tId.txt=="cardQR")
|
|
||||||
- {
|
|
||||||
- page cardQR
|
|
||||||
- }
|
|
||||||
}
|
|
||||||
// end of user code
|
|
||||||
udelete payloadLength-1
|
|
||||||
diff -bur HMI/n2t-out/popupShutter.txt HMI/US/landscape/n2t-out/popupShutter.txt
|
|
||||||
--- HMI/n2t-out/popupShutter.txt 2022-05-21 11:46:43.733351142 +0000
|
|
||||||
+++ HMI/US/landscape/n2t-out/popupShutter.txt 2022-05-21 11:46:44.829339181 +0000
|
|
||||||
@@ -422,10 +422,6 @@
|
|
||||||
{
|
|
||||||
page cardAlarm
|
|
||||||
}
|
|
||||||
- if(tId.txt=="cardQR")
|
|
||||||
- {
|
|
||||||
- page cardQR
|
|
||||||
- }
|
|
||||||
}
|
|
||||||
// end of user code
|
|
||||||
udelete payloadLength-1
|
|
||||||
diff -bur HMI/n2t-out/screensaver.txt HMI/US/landscape/n2t-out/screensaver.txt
|
|
||||||
--- HMI/n2t-out/screensaver.txt 2022-05-21 11:46:43.733351142 +0000
|
|
||||||
+++ HMI/US/landscape/n2t-out/screensaver.txt 2022-05-21 11:46:44.829339181 +0000
|
|
||||||
@@ -607,10 +607,6 @@
|
|
||||||
{
|
|
||||||
page cardAlarm
|
|
||||||
}
|
|
||||||
- if(tId.txt=="cardQR")
|
|
||||||
- {
|
|
||||||
- page cardQR
|
|
||||||
- }
|
|
||||||
}
|
|
||||||
// end of user code
|
|
||||||
udelete payloadLength-1
|
|
||||||
|
|||||||
@@ -11,3 +11,4 @@ Program.s
|
|||||||
// dim value
|
// dim value
|
||||||
int dimValue=40
|
int dimValue=40
|
||||||
int dimValueNormal=100
|
int dimValueNormal=100
|
||||||
|
page pageStartup
|
||||||
|
|||||||
@@ -1003,9 +1003,9 @@ Hotspot mSwipeNext
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 472
|
x coordinate : 471
|
||||||
y coordinate : 5
|
y coordinate : 5
|
||||||
Width : 8
|
Width : 9
|
||||||
Height : 310
|
Height : 310
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
@@ -1042,7 +1042,7 @@ Hotspot mSwipeUp
|
|||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 12
|
x coordinate : 12
|
||||||
y coordinate : 0
|
y coordinate : 0
|
||||||
Width : 426
|
Width : 450
|
||||||
Height : 9
|
Height : 9
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
@@ -1345,6 +1345,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ Number nNum1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 394
|
x coordinate : 393
|
||||||
y coordinate : 76
|
y coordinate : 76
|
||||||
Width : 46
|
Width : 46
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -174,7 +174,7 @@ Number nNum2
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 394
|
x coordinate : 393
|
||||||
y coordinate : 132
|
y coordinate : 132
|
||||||
Width : 46
|
Width : 46
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -204,7 +204,7 @@ Number nNum3
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 394
|
x coordinate : 393
|
||||||
y coordinate : 186
|
y coordinate : 186
|
||||||
Width : 45
|
Width : 45
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -234,7 +234,7 @@ Number nNum4
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 394
|
x coordinate : 393
|
||||||
y coordinate : 242
|
y coordinate : 242
|
||||||
Width : 44
|
Width : 44
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -264,7 +264,7 @@ Text tHeading
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 127
|
x coordinate : 126
|
||||||
y coordinate : 26
|
y coordinate : 26
|
||||||
Width : 227
|
Width : 227
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -294,7 +294,7 @@ Text tEntity1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 93
|
x coordinate : 92
|
||||||
y coordinate : 85
|
y coordinate : 85
|
||||||
Width : 180
|
Width : 180
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -324,7 +324,7 @@ Text tEntity2
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 94
|
x coordinate : 93
|
||||||
y coordinate : 142
|
y coordinate : 142
|
||||||
Width : 180
|
Width : 180
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -354,7 +354,7 @@ Text tEntity3
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 94
|
x coordinate : 93
|
||||||
y coordinate : 198
|
y coordinate : 198
|
||||||
Width : 180
|
Width : 180
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -384,7 +384,7 @@ Text tEntity4
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 94
|
x coordinate : 93
|
||||||
y coordinate : 254
|
y coordinate : 254
|
||||||
Width : 180
|
Width : 180
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -414,7 +414,7 @@ Text tIcon1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 41
|
x coordinate : 40
|
||||||
y coordinate : 84
|
y coordinate : 84
|
||||||
Width : 45
|
Width : 45
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -444,7 +444,7 @@ Text tIcon2
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 41
|
x coordinate : 40
|
||||||
y coordinate : 141
|
y coordinate : 141
|
||||||
Width : 45
|
Width : 45
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -474,7 +474,7 @@ Text tIcon3
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 41
|
x coordinate : 40
|
||||||
y coordinate : 197
|
y coordinate : 197
|
||||||
Width : 45
|
Width : 45
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -504,7 +504,7 @@ Text tIcon4
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 41
|
x coordinate : 40
|
||||||
y coordinate : 254
|
y coordinate : 254
|
||||||
Width : 45
|
Width : 45
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -534,7 +534,7 @@ Text tSend
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 16
|
x coordinate : 15
|
||||||
y coordinate : 0
|
y coordinate : 0
|
||||||
Width : 230
|
Width : 230
|
||||||
Height : 24
|
Height : 24
|
||||||
@@ -564,7 +564,7 @@ Text tTmp
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 410
|
x coordinate : 409
|
||||||
y coordinate : 289
|
y coordinate : 289
|
||||||
Width : 34
|
Width : 34
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -594,7 +594,7 @@ Text tInstruction
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 16
|
x coordinate : 15
|
||||||
y coordinate : 290
|
y coordinate : 290
|
||||||
Width : 100
|
Width : 100
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -624,7 +624,7 @@ Text tId
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 115
|
x coordinate : 114
|
||||||
y coordinate : 290
|
y coordinate : 290
|
||||||
Width : 39
|
Width : 39
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -654,7 +654,7 @@ Picture p0
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 1
|
x coordinate : 0
|
||||||
y coordinate : 0
|
y coordinate : 0
|
||||||
Width : 479
|
Width : 479
|
||||||
Height : 319
|
Height : 319
|
||||||
@@ -671,7 +671,7 @@ Slider hSlider1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 291
|
x coordinate : 290
|
||||||
y coordinate : 79
|
y coordinate : 79
|
||||||
Width : 100
|
Width : 100
|
||||||
Height : 43
|
Height : 43
|
||||||
@@ -714,7 +714,7 @@ Slider hSlider2
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 292
|
x coordinate : 291
|
||||||
y coordinate : 135
|
y coordinate : 135
|
||||||
Width : 100
|
Width : 100
|
||||||
Height : 43
|
Height : 43
|
||||||
@@ -757,7 +757,7 @@ Slider hSlider3
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 292
|
x coordinate : 291
|
||||||
y coordinate : 189
|
y coordinate : 189
|
||||||
Width : 100
|
Width : 100
|
||||||
Height : 43
|
Height : 43
|
||||||
@@ -800,7 +800,7 @@ Slider hSlider4
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 290
|
x coordinate : 289
|
||||||
y coordinate : 244
|
y coordinate : 244
|
||||||
Width : 100
|
Width : 100
|
||||||
Height : 43
|
Height : 43
|
||||||
@@ -843,7 +843,7 @@ Button bDown1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 393
|
x coordinate : 392
|
||||||
y coordinate : 75
|
y coordinate : 75
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -890,7 +890,7 @@ Button bUp1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 291
|
x coordinate : 290
|
||||||
y coordinate : 75
|
y coordinate : 75
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -937,7 +937,7 @@ Button bStop1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 341
|
x coordinate : 340
|
||||||
y coordinate : 75
|
y coordinate : 75
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -984,7 +984,7 @@ Button bStop2
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 342
|
x coordinate : 341
|
||||||
y coordinate : 132
|
y coordinate : 132
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -1031,7 +1031,7 @@ Button bDown2
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 393
|
x coordinate : 392
|
||||||
y coordinate : 131
|
y coordinate : 131
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -1078,7 +1078,7 @@ Button bUp2
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 291
|
x coordinate : 290
|
||||||
y coordinate : 132
|
y coordinate : 132
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -1125,7 +1125,7 @@ Button bStop3
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 342
|
x coordinate : 341
|
||||||
y coordinate : 185
|
y coordinate : 185
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -1172,7 +1172,7 @@ Button bDown3
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 394
|
x coordinate : 393
|
||||||
y coordinate : 185
|
y coordinate : 185
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -1219,7 +1219,7 @@ Button bUp3
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 291
|
x coordinate : 290
|
||||||
y coordinate : 186
|
y coordinate : 186
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -1266,7 +1266,7 @@ Button bStop4
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 342
|
x coordinate : 341
|
||||||
y coordinate : 241
|
y coordinate : 241
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -1313,7 +1313,7 @@ Button bDown4
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 393
|
x coordinate : 392
|
||||||
y coordinate : 241
|
y coordinate : 241
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -1360,7 +1360,7 @@ Button bUp4
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 291
|
x coordinate : 290
|
||||||
y coordinate : 242
|
y coordinate : 242
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -1407,7 +1407,7 @@ Button bPrev
|
|||||||
Disable release event after 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 : 24
|
||||||
y coordinate : 16
|
y coordinate : 16
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -1461,7 +1461,7 @@ Button bNext
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 407
|
x coordinate : 406
|
||||||
y coordinate : 16
|
y coordinate : 16
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -1508,7 +1508,7 @@ Button bText1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 293
|
x coordinate : 292
|
||||||
y coordinate : 84
|
y coordinate : 84
|
||||||
Width : 145
|
Width : 145
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -1555,7 +1555,7 @@ Button bText2
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 292
|
x coordinate : 291
|
||||||
y coordinate : 140
|
y coordinate : 140
|
||||||
Width : 145
|
Width : 145
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -1602,7 +1602,7 @@ Button bText3
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 293
|
x coordinate : 292
|
||||||
y coordinate : 197
|
y coordinate : 197
|
||||||
Width : 145
|
Width : 145
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -1649,7 +1649,7 @@ Button bText4
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 293
|
x coordinate : 292
|
||||||
y coordinate : 254
|
y coordinate : 254
|
||||||
Width : 145
|
Width : 145
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -1696,7 +1696,7 @@ Dual-state Button btOnOff1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 388
|
x coordinate : 387
|
||||||
y coordinate : 75
|
y coordinate : 75
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -1741,7 +1741,7 @@ Dual-state Button btOnOff2
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 389
|
x coordinate : 388
|
||||||
y coordinate : 132
|
y coordinate : 132
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -1786,7 +1786,7 @@ Dual-state Button btOnOff3
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 390
|
x coordinate : 389
|
||||||
y coordinate : 186
|
y coordinate : 186
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -1831,7 +1831,7 @@ Dual-state Button btOnOff4
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 390
|
x coordinate : 389
|
||||||
y coordinate : 242
|
y coordinate : 242
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -1876,7 +1876,7 @@ Hotspot mSpecial
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 324
|
x coordinate : 323
|
||||||
y coordinate : 0
|
y coordinate : 0
|
||||||
Width : 83
|
Width : 83
|
||||||
Height : 67
|
Height : 67
|
||||||
@@ -1902,7 +1902,7 @@ Hotspot m2
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 41
|
x coordinate : 40
|
||||||
y coordinate : 184
|
y coordinate : 184
|
||||||
Width : 250
|
Width : 250
|
||||||
Height : 60
|
Height : 60
|
||||||
@@ -1933,7 +1933,7 @@ Hotspot m1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 40
|
x coordinate : 39
|
||||||
y coordinate : 127
|
y coordinate : 127
|
||||||
Width : 247
|
Width : 247
|
||||||
Height : 60
|
Height : 60
|
||||||
@@ -1964,7 +1964,7 @@ Hotspot m0
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 38
|
x coordinate : 37
|
||||||
y coordinate : 70
|
y coordinate : 70
|
||||||
Width : 244
|
Width : 244
|
||||||
Height : 56
|
Height : 56
|
||||||
@@ -1995,7 +1995,7 @@ Hotspot m3
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 39
|
x coordinate : 38
|
||||||
y coordinate : 237
|
y coordinate : 237
|
||||||
Width : 244
|
Width : 244
|
||||||
Height : 60
|
Height : 60
|
||||||
@@ -2026,9 +2026,9 @@ Hotspot mSwipeNext
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 473
|
x coordinate : 471
|
||||||
y coordinate : 5
|
y coordinate : 5
|
||||||
Width : 7
|
Width : 9
|
||||||
Height : 310
|
Height : 310
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
@@ -2065,7 +2065,7 @@ Hotspot mSwipeUp
|
|||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 12
|
x coordinate : 12
|
||||||
y coordinate : 0
|
y coordinate : 0
|
||||||
Width : 426
|
Width : 454
|
||||||
Height : 9
|
Height : 9
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
@@ -2102,7 +2102,7 @@ Hotspot mSwipePrev
|
|||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 0
|
x coordinate : 0
|
||||||
y coordinate : 5
|
y coordinate : 5
|
||||||
Width : 8
|
Width : 9
|
||||||
Height : 310
|
Height : 310
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
@@ -2249,6 +2249,28 @@ Timer tmSerial
|
|||||||
vis bText1,0
|
vis bText1,0
|
||||||
vis hSlider1,0
|
vis hSlider1,0
|
||||||
vis nNum1,0
|
vis nNum1,0
|
||||||
|
// get Button State (optional Value)
|
||||||
|
spstr strCommand.txt,tId.txt,"~",8
|
||||||
|
spstr tId.txt,tTmp.txt,"|",0
|
||||||
|
if(tTmp.txt=="0")
|
||||||
|
{
|
||||||
|
bUp1.pco=27501
|
||||||
|
tsw bUp1,0
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
bUp1.pco=65535
|
||||||
|
tsw bUp1,1
|
||||||
|
}
|
||||||
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
|
if(tTmp.txt=="0")
|
||||||
|
{
|
||||||
|
bDown1.pco=27501
|
||||||
|
tsw bDown1,0
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
bDown1.pco=65535
|
||||||
|
tsw bDown1,1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(type1.txt=="light")
|
if(type1.txt=="light")
|
||||||
{
|
{
|
||||||
@@ -2371,6 +2393,28 @@ Timer tmSerial
|
|||||||
vis bText2,0
|
vis bText2,0
|
||||||
vis hSlider2,0
|
vis hSlider2,0
|
||||||
vis nNum2,0
|
vis nNum2,0
|
||||||
|
// get Button State (optional Value)
|
||||||
|
spstr strCommand.txt,tId.txt,"~",14
|
||||||
|
spstr tId.txt,tTmp.txt,"|",0
|
||||||
|
if(tTmp.txt=="0")
|
||||||
|
{
|
||||||
|
bUp2.pco=27501
|
||||||
|
tsw bUp2,0
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
bUp2.pco=65535
|
||||||
|
tsw bUp2,1
|
||||||
|
}
|
||||||
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
|
if(tTmp.txt=="0")
|
||||||
|
{
|
||||||
|
bDown2.pco=27501
|
||||||
|
tsw bDown2,0
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
bDown2.pco=65535
|
||||||
|
tsw bDown2,1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(type2.txt=="light")
|
if(type2.txt=="light")
|
||||||
{
|
{
|
||||||
@@ -2493,6 +2537,28 @@ Timer tmSerial
|
|||||||
vis bText3,0
|
vis bText3,0
|
||||||
vis hSlider3,0
|
vis hSlider3,0
|
||||||
vis nNum3,0
|
vis nNum3,0
|
||||||
|
// get Button State (optional Value)
|
||||||
|
spstr strCommand.txt,tId.txt,"~",20
|
||||||
|
spstr tId.txt,tTmp.txt,"|",0
|
||||||
|
if(tTmp.txt=="0")
|
||||||
|
{
|
||||||
|
bUp3.pco=27501
|
||||||
|
tsw bUp3,0
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
bUp3.pco=65535
|
||||||
|
tsw bUp3,1
|
||||||
|
}
|
||||||
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
|
if(tTmp.txt=="0")
|
||||||
|
{
|
||||||
|
bDown3.pco=27501
|
||||||
|
tsw bDown3,0
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
bDown3.pco=65535
|
||||||
|
tsw bDown3,1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(type3.txt=="light")
|
if(type3.txt=="light")
|
||||||
{
|
{
|
||||||
@@ -2615,6 +2681,28 @@ Timer tmSerial
|
|||||||
vis bText4,0
|
vis bText4,0
|
||||||
vis hSlider4,0
|
vis hSlider4,0
|
||||||
vis nNum4,0
|
vis nNum4,0
|
||||||
|
// get Button State (optional Value)
|
||||||
|
spstr strCommand.txt,tId.txt,"~",26
|
||||||
|
spstr tId.txt,tTmp.txt,"|",0
|
||||||
|
if(tTmp.txt=="0")
|
||||||
|
{
|
||||||
|
bUp4.pco=27501
|
||||||
|
tsw bUp4,0
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
bUp4.pco=65535
|
||||||
|
tsw bUp4,1
|
||||||
|
}
|
||||||
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
|
if(tTmp.txt=="0")
|
||||||
|
{
|
||||||
|
bDown4.pco=27501
|
||||||
|
tsw bDown4,0
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
bDown4.pco=65535
|
||||||
|
tsw bDown4,1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(type4.txt=="light")
|
if(type4.txt=="light")
|
||||||
{
|
{
|
||||||
@@ -2755,6 +2843,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="time")
|
if(tInstruction.txt=="time")
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -144,9 +144,9 @@ Text tHeading
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 125
|
x coordinate : 128
|
||||||
y coordinate : 25
|
y coordinate : 26
|
||||||
Width : 226
|
Width : 227
|
||||||
Height : 30
|
Height : 30
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
@@ -174,7 +174,7 @@ Text tEntity1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 21
|
x coordinate : 23
|
||||||
y coordinate : 155
|
y coordinate : 155
|
||||||
Width : 140
|
Width : 140
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -324,7 +324,7 @@ Text tEntity2
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 172
|
x coordinate : 174
|
||||||
y coordinate : 155
|
y coordinate : 155
|
||||||
Width : 140
|
Width : 140
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -354,7 +354,7 @@ Text tEntity3
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 322
|
x coordinate : 324
|
||||||
y coordinate : 155
|
y coordinate : 155
|
||||||
Width : 140
|
Width : 140
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -384,7 +384,7 @@ Text tEntity4
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 21
|
x coordinate : 23
|
||||||
y coordinate : 274
|
y coordinate : 274
|
||||||
Width : 140
|
Width : 140
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -414,7 +414,7 @@ Text tEntity5
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 172
|
x coordinate : 174
|
||||||
y coordinate : 274
|
y coordinate : 274
|
||||||
Width : 140
|
Width : 140
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -444,7 +444,7 @@ Text tEntity6
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 322
|
x coordinate : 324
|
||||||
y coordinate : 274
|
y coordinate : 274
|
||||||
Width : 140
|
Width : 140
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -474,7 +474,7 @@ Picture p0
|
|||||||
Disable release event after 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 : 1
|
||||||
y coordinate : 0
|
y coordinate : 0
|
||||||
Width : 479
|
Width : 479
|
||||||
Height : 319
|
Height : 319
|
||||||
@@ -491,7 +491,7 @@ Button bPrev
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 24
|
x coordinate : 26
|
||||||
y coordinate : 16
|
y coordinate : 16
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -545,7 +545,7 @@ Button bNext
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 406
|
x coordinate : 408
|
||||||
y coordinate : 16
|
y coordinate : 16
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -592,7 +592,7 @@ Button bEntity1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 51
|
x coordinate : 53
|
||||||
y coordinate : 75
|
y coordinate : 75
|
||||||
Width : 80
|
Width : 80
|
||||||
Height : 80
|
Height : 80
|
||||||
@@ -650,7 +650,7 @@ Button bEntity2
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 202
|
x coordinate : 204
|
||||||
y coordinate : 75
|
y coordinate : 75
|
||||||
Width : 80
|
Width : 80
|
||||||
Height : 80
|
Height : 80
|
||||||
@@ -708,7 +708,7 @@ Button bEntity3
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 352
|
x coordinate : 354
|
||||||
y coordinate : 75
|
y coordinate : 75
|
||||||
Width : 80
|
Width : 80
|
||||||
Height : 80
|
Height : 80
|
||||||
@@ -766,7 +766,7 @@ Button bEntity4
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 51
|
x coordinate : 37
|
||||||
y coordinate : 194
|
y coordinate : 194
|
||||||
Width : 80
|
Width : 80
|
||||||
Height : 80
|
Height : 80
|
||||||
@@ -824,7 +824,7 @@ Button bEntity5
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 202
|
x coordinate : 204
|
||||||
y coordinate : 194
|
y coordinate : 194
|
||||||
Width : 80
|
Width : 80
|
||||||
Height : 80
|
Height : 80
|
||||||
@@ -882,7 +882,7 @@ Button bEntity6
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 352
|
x coordinate : 354
|
||||||
y coordinate : 194
|
y coordinate : 194
|
||||||
Width : 80
|
Width : 80
|
||||||
Height : 80
|
Height : 80
|
||||||
@@ -940,7 +940,7 @@ Hotspot mSpecial
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 308
|
x coordinate : 322
|
||||||
y coordinate : 0
|
y coordinate : 0
|
||||||
Width : 83
|
Width : 83
|
||||||
Height : 67
|
Height : 67
|
||||||
@@ -968,7 +968,7 @@ Hotspot mSwipeNext
|
|||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 471
|
x coordinate : 471
|
||||||
y coordinate : 5
|
y coordinate : 5
|
||||||
Width : 7
|
Width : 9
|
||||||
Height : 310
|
Height : 310
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
@@ -1003,10 +1003,10 @@ Hotspot mSwipeUp
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 10
|
x coordinate : 12
|
||||||
y coordinate : 0
|
y coordinate : 0
|
||||||
Width : 425
|
Width : 426
|
||||||
Height : 7
|
Height : 9
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
Effect Time : 300
|
Effect Time : 300
|
||||||
@@ -1042,7 +1042,7 @@ Hotspot mSwipePrev
|
|||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 0
|
x coordinate : 0
|
||||||
y coordinate : 5
|
y coordinate : 5
|
||||||
Width : 8
|
Width : 9
|
||||||
Height : 310
|
Height : 310
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
@@ -1333,6 +1333,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="time")
|
if(tInstruction.txt=="time")
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ Text tSend
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 16
|
x coordinate : 17
|
||||||
y coordinate : 0
|
y coordinate : 0
|
||||||
Width : 230
|
Width : 230
|
||||||
Height : 15
|
Height : 15
|
||||||
@@ -94,7 +94,7 @@ Text tTmp
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 14
|
x coordinate : 31
|
||||||
y coordinate : 156
|
y coordinate : 156
|
||||||
Width : 27
|
Width : 27
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -124,7 +124,7 @@ Text tInstruction
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 296
|
x coordinate : 313
|
||||||
y coordinate : 0
|
y coordinate : 0
|
||||||
Width : 100
|
Width : 100
|
||||||
Height : 20
|
Height : 20
|
||||||
@@ -154,7 +154,7 @@ Text tId
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 49
|
x coordinate : 66
|
||||||
y coordinate : 159
|
y coordinate : 159
|
||||||
Width : 30
|
Width : 30
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -184,7 +184,7 @@ Text tHeading
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 126
|
x coordinate : 128
|
||||||
y coordinate : 26
|
y coordinate : 26
|
||||||
Width : 228
|
Width : 228
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -214,7 +214,7 @@ Text tTitle
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 99
|
x coordinate : 101
|
||||||
y coordinate : 78
|
y coordinate : 78
|
||||||
Width : 358
|
Width : 358
|
||||||
Height : 25
|
Height : 25
|
||||||
@@ -244,7 +244,7 @@ Text tAuthor
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 100
|
x coordinate : 102
|
||||||
y coordinate : 108
|
y coordinate : 108
|
||||||
Width : 358
|
Width : 358
|
||||||
Height : 25
|
Height : 25
|
||||||
@@ -274,7 +274,7 @@ Text t2
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 317
|
x coordinate : 319
|
||||||
y coordinate : 145
|
y coordinate : 145
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -323,7 +323,7 @@ Text tPlayPause
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 214
|
x coordinate : 216
|
||||||
y coordinate : 145
|
y coordinate : 145
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -372,7 +372,7 @@ Text t0
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 107
|
x coordinate : 109
|
||||||
y coordinate : 145
|
y coordinate : 145
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -421,7 +421,7 @@ Text tIcon
|
|||||||
Disable release event after 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 : 28
|
||||||
y coordinate : 75
|
y coordinate : 75
|
||||||
Width : 71
|
Width : 71
|
||||||
Height : 62
|
Height : 62
|
||||||
@@ -451,7 +451,7 @@ Text t1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 22
|
x coordinate : 24
|
||||||
y coordinate : 201
|
y coordinate : 201
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -501,7 +501,7 @@ Text t3
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 408
|
x coordinate : 410
|
||||||
y coordinate : 201
|
y coordinate : 201
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -551,7 +551,7 @@ Text t4
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 36
|
x coordinate : 38
|
||||||
y coordinate : 262
|
y coordinate : 262
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -581,7 +581,7 @@ Text tSpeaker
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 109
|
x coordinate : 111
|
||||||
y coordinate : 262
|
y coordinate : 262
|
||||||
Width : 267
|
Width : 267
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -630,7 +630,7 @@ Text t6
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 396
|
x coordinate : 398
|
||||||
y coordinate : 262
|
y coordinate : 262
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -672,7 +672,7 @@ Text t5
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 408
|
x coordinate : 410
|
||||||
y coordinate : 145
|
y coordinate : 145
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -738,7 +738,7 @@ Slider hVolume
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 76
|
x coordinate : 78
|
||||||
y coordinate : 206
|
y coordinate : 206
|
||||||
Width : 328
|
Width : 328
|
||||||
Height : 43
|
Height : 43
|
||||||
@@ -784,7 +784,7 @@ Button bNext
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 406
|
x coordinate : 408
|
||||||
y coordinate : 16
|
y coordinate : 16
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -831,7 +831,7 @@ Button bPrev
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 24
|
x coordinate : 26
|
||||||
y coordinate : 16
|
y coordinate : 16
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -885,9 +885,9 @@ Hotspot mSwipeNext
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 472
|
x coordinate : 471
|
||||||
y coordinate : 5
|
y coordinate : 5
|
||||||
Width : 8
|
Width : 9
|
||||||
Height : 310
|
Height : 310
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
@@ -924,7 +924,7 @@ Hotspot mSwipeUp
|
|||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 12
|
x coordinate : 12
|
||||||
y coordinate : 0
|
y coordinate : 0
|
||||||
Width : 426
|
Width : 451
|
||||||
Height : 9
|
Height : 9
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
@@ -1189,6 +1189,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
|
|||||||
891
HMI/US/landscape/n2t-out-visual/cardQR.txt
Normal file
891
HMI/US/landscape/n2t-out-visual/cardQR.txt
Normal file
@@ -0,0 +1,891 @@
|
|||||||
|
Page cardQR
|
||||||
|
Attributes
|
||||||
|
ID : 0
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
Width : 480
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Locked : no
|
||||||
|
Swide up page ID : disabled
|
||||||
|
Swide down page ID : disabled
|
||||||
|
Swide left page ID : disabled
|
||||||
|
Swide right page ID : disabled
|
||||||
|
Fill : solid color
|
||||||
|
Back. Color : 6371
|
||||||
|
|
||||||
|
Events
|
||||||
|
Preinitialize Event
|
||||||
|
vis p0,0
|
||||||
|
vis tSend,0
|
||||||
|
vis tInstruction,0
|
||||||
|
vis tTmp,0
|
||||||
|
vis tId,0
|
||||||
|
vis bPrev,0
|
||||||
|
vis bNext,0
|
||||||
|
|
||||||
|
Variable (string) strCommand
|
||||||
|
Attributes
|
||||||
|
ID : 6
|
||||||
|
Scope : local
|
||||||
|
Text :
|
||||||
|
Max. Text Size: 200
|
||||||
|
|
||||||
|
Variable (string) entn
|
||||||
|
Attributes
|
||||||
|
ID : 7
|
||||||
|
Scope : local
|
||||||
|
Text :
|
||||||
|
Max. Text Size: 80
|
||||||
|
|
||||||
|
Variable (string) tSend
|
||||||
|
Attributes
|
||||||
|
ID : 10
|
||||||
|
Scope : local
|
||||||
|
Text :
|
||||||
|
Max. Text Size: 100
|
||||||
|
|
||||||
|
Variable (string) tTmp
|
||||||
|
Attributes
|
||||||
|
ID : 14
|
||||||
|
Scope : local
|
||||||
|
Text :
|
||||||
|
Max. Text Size: 10
|
||||||
|
|
||||||
|
Variable (string) tId
|
||||||
|
Attributes
|
||||||
|
ID : 15
|
||||||
|
Scope : local
|
||||||
|
Text :
|
||||||
|
Max. Text Size: 20
|
||||||
|
|
||||||
|
Variable (string) tInstruction
|
||||||
|
Attributes
|
||||||
|
ID : 16
|
||||||
|
Scope : local
|
||||||
|
Text :
|
||||||
|
Max. Text Size: 20
|
||||||
|
|
||||||
|
Variable (string) entn1
|
||||||
|
Attributes
|
||||||
|
ID : 26
|
||||||
|
Scope : local
|
||||||
|
Text :
|
||||||
|
Max. Text Size: 80
|
||||||
|
|
||||||
|
Variable (string) entn2
|
||||||
|
Attributes
|
||||||
|
ID : 27
|
||||||
|
Scope : local
|
||||||
|
Text :
|
||||||
|
Max. Text Size: 80
|
||||||
|
|
||||||
|
Text tEntity1
|
||||||
|
Attributes
|
||||||
|
ID : 18
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 286
|
||||||
|
y coordinate : 97
|
||||||
|
Width : 170
|
||||||
|
Height : 30
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : solid color
|
||||||
|
Style : flat
|
||||||
|
Associated Keyboard : none
|
||||||
|
Font ID : 0
|
||||||
|
Back. Color : 6371
|
||||||
|
Font Color : 65535
|
||||||
|
Horizontal Alignment : left
|
||||||
|
Vertical Alignment : center
|
||||||
|
Input Type : character
|
||||||
|
Text : tEntity1
|
||||||
|
Max. Text Size : 30
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Text tIcon1
|
||||||
|
Attributes
|
||||||
|
ID : 19
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 234
|
||||||
|
y coordinate : 96
|
||||||
|
Width : 45
|
||||||
|
Height : 30
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : solid color
|
||||||
|
Style : flat
|
||||||
|
Associated Keyboard : none
|
||||||
|
Font ID : 1
|
||||||
|
Back. Color : 6371
|
||||||
|
Font Color : 17299
|
||||||
|
Horizontal Alignment : center
|
||||||
|
Vertical Alignment : center
|
||||||
|
Input Type : character
|
||||||
|
Text : î°
|
||||||
|
Max. Text Size : 5
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Text tEntity2
|
||||||
|
Attributes
|
||||||
|
ID : 22
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 287
|
||||||
|
y coordinate : 204
|
||||||
|
Width : 170
|
||||||
|
Height : 30
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : solid color
|
||||||
|
Style : flat
|
||||||
|
Associated Keyboard : none
|
||||||
|
Font ID : 0
|
||||||
|
Back. Color : 6371
|
||||||
|
Font Color : 65535
|
||||||
|
Horizontal Alignment : left
|
||||||
|
Vertical Alignment : center
|
||||||
|
Input Type : character
|
||||||
|
Text : tEntity1
|
||||||
|
Max. Text Size : 30
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Text tIcon2
|
||||||
|
Attributes
|
||||||
|
ID : 23
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 235
|
||||||
|
y coordinate : 203
|
||||||
|
Width : 45
|
||||||
|
Height : 30
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : solid color
|
||||||
|
Style : flat
|
||||||
|
Associated Keyboard : none
|
||||||
|
Font ID : 1
|
||||||
|
Back. Color : 6371
|
||||||
|
Font Color : 17299
|
||||||
|
Horizontal Alignment : center
|
||||||
|
Vertical Alignment : center
|
||||||
|
Input Type : character
|
||||||
|
Text : î°
|
||||||
|
Max. Text Size : 5
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Text tHeading
|
||||||
|
Attributes
|
||||||
|
ID : 25
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 81
|
||||||
|
y coordinate : 26
|
||||||
|
Width : 320
|
||||||
|
Height : 30
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : solid color
|
||||||
|
Style : flat
|
||||||
|
Associated Keyboard : none
|
||||||
|
Font ID : 2
|
||||||
|
Back. Color : 6371
|
||||||
|
Font Color : 65535
|
||||||
|
Horizontal Alignment : center
|
||||||
|
Vertical Alignment : center
|
||||||
|
Input Type : character
|
||||||
|
Text : testHeading
|
||||||
|
Max. Text Size : 40
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Picture p0
|
||||||
|
Attributes
|
||||||
|
ID : 1
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 0
|
||||||
|
y coordinate : 0
|
||||||
|
Width : 480
|
||||||
|
Height : 320
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Picture ID : 0
|
||||||
|
|
||||||
|
QR Code qr0
|
||||||
|
Attributes
|
||||||
|
ID : 17
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 28
|
||||||
|
y coordinate : 91
|
||||||
|
Width : 200
|
||||||
|
Height : 200
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Logo overlay : no
|
||||||
|
Text : WIFI:S:SSID;T:WPA;P:PASSWORD;;
|
||||||
|
Max. Text Size : 105
|
||||||
|
|
||||||
|
Button bNext
|
||||||
|
Attributes
|
||||||
|
ID : 3
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 406
|
||||||
|
y coordinate : 16
|
||||||
|
Width : 50
|
||||||
|
Height : 50
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : solid color
|
||||||
|
Style : flat
|
||||||
|
Font ID : 3
|
||||||
|
Back. Color : 6371
|
||||||
|
Back. Picture ID (Pressed) : 65535
|
||||||
|
Back. Color (Pressed) : 14823
|
||||||
|
Font Color (Unpressed) : 65535
|
||||||
|
Font Color (Pressed) : 65535
|
||||||
|
Horizontal Alignment : center
|
||||||
|
Vertical Alignment : center
|
||||||
|
State : unpressed
|
||||||
|
Text : î³
|
||||||
|
Max. Text Size : 10
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
tSend.txt="event,buttonPress2,cardAlarm,bNext"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
|
|
||||||
|
Button bPrev
|
||||||
|
Attributes
|
||||||
|
ID : 4
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 24
|
||||||
|
y coordinate : 16
|
||||||
|
Width : 50
|
||||||
|
Height : 50
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : solid color
|
||||||
|
Style : flat
|
||||||
|
Font ID : 3
|
||||||
|
Back. Color : 6371
|
||||||
|
Back. Picture ID (Pressed) : 65535
|
||||||
|
Back. Color (Pressed) : 14823
|
||||||
|
Font Color (Unpressed) : 65535
|
||||||
|
Font Color (Pressed) : 65535
|
||||||
|
Horizontal Alignment : center
|
||||||
|
Vertical Alignment : center
|
||||||
|
State : unpressed
|
||||||
|
Text : î°
|
||||||
|
Max. Text Size : 10
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
tSend.txt="event,buttonPress2,cardAlarm,"
|
||||||
|
if(bPrev.txt=="î¶")
|
||||||
|
{
|
||||||
|
tSend.txt+="bUp"
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
tSend.txt+="bPrev"
|
||||||
|
}
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
|
|
||||||
|
Button bText1
|
||||||
|
Attributes
|
||||||
|
ID : 20
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 235
|
||||||
|
y coordinate : 146
|
||||||
|
Width : 214
|
||||||
|
Height : 30
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : solid color
|
||||||
|
Style : flat
|
||||||
|
Font ID : 0
|
||||||
|
Back. Color : 6371
|
||||||
|
Back. Picture ID (Pressed) : 65535
|
||||||
|
Back. Color (Pressed) : 14823
|
||||||
|
Font Color (Unpressed) : 65535
|
||||||
|
Font Color (Pressed) : 65535
|
||||||
|
Horizontal Alignment : center
|
||||||
|
Vertical Alignment : center
|
||||||
|
State : unpressed
|
||||||
|
Text :
|
||||||
|
Max. Text Size : 10
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
tSend.txt="event,buttonPress2,"+entn1.txt+",button"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
|
|
||||||
|
Button bText2
|
||||||
|
Attributes
|
||||||
|
ID : 24
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 237
|
||||||
|
y coordinate : 253
|
||||||
|
Width : 213
|
||||||
|
Height : 30
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : solid color
|
||||||
|
Style : flat
|
||||||
|
Font ID : 0
|
||||||
|
Back. Color : 6371
|
||||||
|
Back. Picture ID (Pressed) : 65535
|
||||||
|
Back. Color (Pressed) : 14823
|
||||||
|
Font Color (Unpressed) : 65535
|
||||||
|
Font Color (Pressed) : 65535
|
||||||
|
Horizontal Alignment : center
|
||||||
|
Vertical Alignment : center
|
||||||
|
State : unpressed
|
||||||
|
Text :
|
||||||
|
Max. Text Size : 10
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
tSend.txt="event,buttonPress2,"+entn1.txt+",button"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
|
|
||||||
|
Dual-state Button btOnOff1
|
||||||
|
Attributes
|
||||||
|
ID : 2
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 399
|
||||||
|
y coordinate : 137
|
||||||
|
Width : 50
|
||||||
|
Height : 50
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : image
|
||||||
|
Font ID : 0
|
||||||
|
Background Picture ID (Unpressed) : 1
|
||||||
|
Back. Picture ID (Pressed) : 2
|
||||||
|
Horizontal Alignment : center
|
||||||
|
Vertical Alignment : center
|
||||||
|
State : unpressed
|
||||||
|
Text :
|
||||||
|
Max. Text Size : 10
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
tSend.txt="event,buttonPress2,"+entn1.txt+",OnOff,"
|
||||||
|
covx btOnOff1.val,tTmp.txt,0,0
|
||||||
|
tSend.txt+=tTmp.txt
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
|
|
||||||
|
Dual-state Button btOnOff2
|
||||||
|
Attributes
|
||||||
|
ID : 21
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 400
|
||||||
|
y coordinate : 244
|
||||||
|
Width : 50
|
||||||
|
Height : 50
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : image
|
||||||
|
Font ID : 0
|
||||||
|
Background Picture ID (Unpressed) : 1
|
||||||
|
Back. Picture ID (Pressed) : 2
|
||||||
|
Horizontal Alignment : center
|
||||||
|
Vertical Alignment : center
|
||||||
|
State : unpressed
|
||||||
|
Text :
|
||||||
|
Max. Text Size : 10
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
tSend.txt="event,buttonPress2,"+entn1.txt+",OnOff,"
|
||||||
|
covx btOnOff1.val,tTmp.txt,0,0
|
||||||
|
tSend.txt+=tTmp.txt
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
|
|
||||||
|
Hotspot mSwipeNext
|
||||||
|
Attributes
|
||||||
|
ID : 11
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 471
|
||||||
|
y coordinate : 5
|
||||||
|
Width : 9
|
||||||
|
Height : 310
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
//This thin hotspot down the edge will intercept swipes
|
||||||
|
//from the bezel into the screen area before the
|
||||||
|
//Nextion register touch for any other components -
|
||||||
|
//IF the hotspot is 'layered' at the top (use the up
|
||||||
|
//arrow at the far left of the Nextion Editor Tool Bar).
|
||||||
|
//
|
||||||
|
//Calibrate how wide the edge hotspot has to be on your
|
||||||
|
//own physical device using this screen to test the
|
||||||
|
//x & y coordinates where the swipe is first detected.)
|
||||||
|
//---------------------------
|
||||||
|
//The navigation text is stored as local variable within tld.txt
|
||||||
|
//Pressing right button if swiped on the right side of the screen
|
||||||
|
//
|
||||||
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
|
if(tTmp.txt=="1")
|
||||||
|
{
|
||||||
|
click bNext,1
|
||||||
|
}
|
||||||
|
|
||||||
|
Hotspot mSwipeUp
|
||||||
|
Attributes
|
||||||
|
ID : 12
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 12
|
||||||
|
y coordinate : 0
|
||||||
|
Width : 454
|
||||||
|
Height : 9
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
//This thin hotspot down the edge will intercept swipes
|
||||||
|
//from the bezel into the screen area before the
|
||||||
|
//Nextion register touch for any other components -
|
||||||
|
//IF the hotspot is 'layered' at the top (use the up
|
||||||
|
//arrow at the far left of the Nextion Editor Tool Bar).
|
||||||
|
//
|
||||||
|
//Calibrate how wide the edge hotspot has to be on your
|
||||||
|
//own physical device using this screen to test the
|
||||||
|
//x & y coordinates where the swipe is first detected.)
|
||||||
|
//---------------------------
|
||||||
|
//The navigation text is stored as local variable within tld.txt
|
||||||
|
//Pressing up button if swiped on the top side of the screen
|
||||||
|
//
|
||||||
|
spstr tId.txt,tTmp.txt,"|",0
|
||||||
|
if(tTmp.txt=="2")
|
||||||
|
{
|
||||||
|
click bPrev,1
|
||||||
|
}
|
||||||
|
|
||||||
|
Hotspot mSwipePrev
|
||||||
|
Attributes
|
||||||
|
ID : 13
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 0
|
||||||
|
y coordinate : 5
|
||||||
|
Width : 9
|
||||||
|
Height : 310
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
//This thin hotspot down the edge will intercept swipes
|
||||||
|
//from the bezel into the screen area before the
|
||||||
|
//Nextion register touch for any other components -
|
||||||
|
//IF the hotspot is 'layered' at the top (use the up
|
||||||
|
//arrow at the far left of the Nextion Editor Tool Bar).
|
||||||
|
//
|
||||||
|
//Calibrate how wide the edge hotspot has to be on your
|
||||||
|
//own physical device using this screen to test the
|
||||||
|
//x & y coordinates where the swipe is first detected.)
|
||||||
|
//---------------------------
|
||||||
|
//The navigation text is stored as local variable within tld.txt
|
||||||
|
//Pressing left button if swiped on the left side of the screen
|
||||||
|
//
|
||||||
|
spstr tId.txt,tTmp.txt,"|",0
|
||||||
|
if(tTmp.txt=="1")
|
||||||
|
{
|
||||||
|
click bPrev,1
|
||||||
|
}
|
||||||
|
|
||||||
|
Timer tmSerial
|
||||||
|
Attributes
|
||||||
|
ID : 5
|
||||||
|
Scope : local
|
||||||
|
Period (ms): 50
|
||||||
|
Enabled : yes
|
||||||
|
|
||||||
|
Events
|
||||||
|
Timer Event
|
||||||
|
// data available
|
||||||
|
if(usize>1)
|
||||||
|
{
|
||||||
|
bufferPos=0
|
||||||
|
while(bufferPos<usize)
|
||||||
|
{
|
||||||
|
// check for 0x55 0xBB - Command Init Secuence
|
||||||
|
if(u[bufferPos]==187&&u[bufferPos-1]==85)
|
||||||
|
{
|
||||||
|
//remove garbage at the start of the buffer if there's any to free buffer for command
|
||||||
|
if(u[bufferPos]!=1)
|
||||||
|
{
|
||||||
|
udelete bufferPos-1
|
||||||
|
}
|
||||||
|
//instruction is now aligned with buffer, because we deleted garbage before instrcution
|
||||||
|
//get length after init sequence (check if there are more than to bytes in buffer)
|
||||||
|
if(3<usize)
|
||||||
|
{
|
||||||
|
// check if serial buffer has reached the announced length
|
||||||
|
ucopy payloadLength,2,2,0
|
||||||
|
// we are only checking payload length so we have to skip first 3 bytes (init+payload length) (-1 because of < instead of <=)
|
||||||
|
payloadLength+=3
|
||||||
|
// payload length does also not contain crc, so we are adding another 2 bytes for crc
|
||||||
|
payloadLength+=2
|
||||||
|
if(payloadLength<usize)
|
||||||
|
{
|
||||||
|
// calculate crc
|
||||||
|
crcrest 1,0xFFFF
|
||||||
|
// u[2] contains payload legth at 3rd pos in buffer, we are calculating crc from 3rd pos with number of bytes from payload length
|
||||||
|
//crcputu 3,u[2]
|
||||||
|
// u[2] cotnains payload length, we are calculating a crc over the whole message, so we have to add 3 to the length from u[2]
|
||||||
|
crcputu 0,payloadLength-1
|
||||||
|
// get recived crc to be able to compare it
|
||||||
|
ucopy recvCrc,payloadLength-1,2,0
|
||||||
|
// compare crc with recived value
|
||||||
|
if(crcval==recvCrc)
|
||||||
|
{
|
||||||
|
// crc is okay
|
||||||
|
// here is the location where acual code should be
|
||||||
|
// write command to variable strCommand
|
||||||
|
ucopy strCommand.txt,4,payloadLength-5,0
|
||||||
|
// write instruction to tInstuction (debug output, but used as variable here, ui elements will be disabled by default)
|
||||||
|
spstr strCommand.txt,tInstruction.txt,"~",0
|
||||||
|
if(tInstruction.txt=="entityUpd")
|
||||||
|
{
|
||||||
|
//entn
|
||||||
|
spstr strCommand.txt,entn.txt,"~",1
|
||||||
|
// navigation icons
|
||||||
|
spstr strCommand.txt,tId.txt,"~",2
|
||||||
|
spstr tId.txt,tTmp.txt,"|",0
|
||||||
|
if(tTmp.txt=="0")
|
||||||
|
{
|
||||||
|
vis bPrev,0
|
||||||
|
}
|
||||||
|
if(tTmp.txt=="1")
|
||||||
|
{
|
||||||
|
vis bPrev,1
|
||||||
|
bPrev.txt="î°"
|
||||||
|
}
|
||||||
|
if(tTmp.txt=="2")
|
||||||
|
{
|
||||||
|
vis bPrev,1
|
||||||
|
bPrev.txt="î¶"
|
||||||
|
}
|
||||||
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
|
if(tTmp.txt=="0")
|
||||||
|
{
|
||||||
|
vis bNext,0
|
||||||
|
}
|
||||||
|
if(tTmp.txt=="1")
|
||||||
|
{
|
||||||
|
vis bNext,1
|
||||||
|
bNext.txt="î³"
|
||||||
|
}
|
||||||
|
//text heading
|
||||||
|
spstr strCommand.txt,tHeading.txt,"~",3
|
||||||
|
//text qrcode
|
||||||
|
spstr strCommand.txt,qr0.txt,"~",4
|
||||||
|
}
|
||||||
|
if(tInstruction.txt=="time")
|
||||||
|
{
|
||||||
|
// get set time to global variable
|
||||||
|
spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
|
||||||
|
}
|
||||||
|
if(tInstruction.txt=="date")
|
||||||
|
{
|
||||||
|
// get set date to global variable
|
||||||
|
spstr strCommand.txt,pageIcons.vaDate.txt,"~",1
|
||||||
|
}
|
||||||
|
if(tInstruction.txt=="dimmode")
|
||||||
|
{
|
||||||
|
// get value
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",1
|
||||||
|
covx tTmp.txt,dimValue,0,0
|
||||||
|
dim=dimValue
|
||||||
|
}
|
||||||
|
if(tInstruction.txt=="timeout")
|
||||||
|
{
|
||||||
|
//set timeout to global var
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",1
|
||||||
|
covx tTmp.txt,sleepTimeout,0,0
|
||||||
|
}
|
||||||
|
if(tInstruction.txt=="pageType")
|
||||||
|
{
|
||||||
|
//command format pageType,specialPageName
|
||||||
|
//write name of speical page to tId
|
||||||
|
spstr strCommand.txt,tId.txt,"~",1
|
||||||
|
//save second arg if there's one
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",2
|
||||||
|
//save third arg if there's one
|
||||||
|
spstr strCommand.txt,pageIcons.tTmp2.txt,"~",3
|
||||||
|
//we are going to exit this page with this command, so we have to clear the buffer, so we are not getting into a stupid loop ...
|
||||||
|
udelete payloadLength-1
|
||||||
|
bufferPos=0
|
||||||
|
if(tId.txt=="pageStartup")
|
||||||
|
{
|
||||||
|
page pageStartup
|
||||||
|
}
|
||||||
|
if(tId.txt=="screensaver")
|
||||||
|
{
|
||||||
|
page screensaver
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardEntities")
|
||||||
|
{
|
||||||
|
page cardEntities
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardGrid")
|
||||||
|
{
|
||||||
|
page cardGrid
|
||||||
|
}
|
||||||
|
if(tId.txt=="popupLight")
|
||||||
|
{
|
||||||
|
pageIcons.tTmp1.txt=tTmp.txt
|
||||||
|
page popupLight
|
||||||
|
}
|
||||||
|
if(tId.txt=="popupShutter")
|
||||||
|
{
|
||||||
|
pageIcons.tTmp1.txt=tTmp.txt
|
||||||
|
page popupShutter
|
||||||
|
}
|
||||||
|
if(tId.txt=="popupNotify")
|
||||||
|
{
|
||||||
|
page popupNotify
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardThermo")
|
||||||
|
{
|
||||||
|
page cardThermo
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardMedia")
|
||||||
|
{
|
||||||
|
page cardMedia
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardAlarm")
|
||||||
|
{
|
||||||
|
page cardAlarm
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// end of user code
|
||||||
|
udelete payloadLength-1
|
||||||
|
bufferPos=0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// next character
|
||||||
|
bufferPos++
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Timer tmSleep
|
||||||
|
Attributes
|
||||||
|
ID : 8
|
||||||
|
Scope : local
|
||||||
|
Period (ms): 1000
|
||||||
|
Enabled : yes
|
||||||
|
|
||||||
|
Events
|
||||||
|
Timer Event
|
||||||
|
if(sleepTimeout!=0&&dimValue!=dim)
|
||||||
|
{
|
||||||
|
sleepValue+=1
|
||||||
|
if(sleepTimeout<=sleepValue)
|
||||||
|
{
|
||||||
|
sleepValue=0
|
||||||
|
dim=dimValue
|
||||||
|
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
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
TouchCap tc0
|
||||||
|
Attributes
|
||||||
|
ID : 9
|
||||||
|
Scope: local
|
||||||
|
Value: 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
sleepValue=0
|
||||||
|
|
||||||
@@ -158,7 +158,7 @@ XFloat xTempDest1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 307
|
x coordinate : 310
|
||||||
y coordinate : 118
|
y coordinate : 118
|
||||||
Width : 120
|
Width : 120
|
||||||
Height : 60
|
Height : 60
|
||||||
@@ -188,7 +188,7 @@ XFloat xTempMin1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 395
|
x coordinate : 398
|
||||||
y coordinate : 71
|
y coordinate : 71
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 22
|
Height : 22
|
||||||
@@ -218,7 +218,7 @@ XFloat xTempMax1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 395
|
x coordinate : 398
|
||||||
y coordinate : 93
|
y coordinate : 93
|
||||||
Width : 45
|
Width : 45
|
||||||
Height : 20
|
Height : 20
|
||||||
@@ -248,7 +248,7 @@ XFloat xTempStep1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 396
|
x coordinate : 399
|
||||||
y coordinate : 181
|
y coordinate : 181
|
||||||
Width : 45
|
Width : 45
|
||||||
Height : 20
|
Height : 20
|
||||||
@@ -278,7 +278,7 @@ XFloat xTempDest2
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 154
|
x coordinate : 157
|
||||||
y coordinate : 118
|
y coordinate : 118
|
||||||
Width : 120
|
Width : 120
|
||||||
Height : 60
|
Height : 60
|
||||||
@@ -308,7 +308,7 @@ XFloat xTempMin2
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 243
|
x coordinate : 246
|
||||||
y coordinate : 69
|
y coordinate : 69
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 21
|
Height : 21
|
||||||
@@ -338,7 +338,7 @@ XFloat xTempMax2
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 243
|
x coordinate : 246
|
||||||
y coordinate : 91
|
y coordinate : 91
|
||||||
Width : 45
|
Width : 45
|
||||||
Height : 20
|
Height : 20
|
||||||
@@ -368,7 +368,7 @@ XFloat xTempStep2
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 244
|
x coordinate : 247
|
||||||
y coordinate : 179
|
y coordinate : 179
|
||||||
Width : 45
|
Width : 45
|
||||||
Height : 20
|
Height : 20
|
||||||
@@ -398,7 +398,7 @@ XFloat xTempDest
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 233
|
x coordinate : 236
|
||||||
y coordinate : 119
|
y coordinate : 119
|
||||||
Width : 120
|
Width : 120
|
||||||
Height : 60
|
Height : 60
|
||||||
@@ -428,7 +428,7 @@ Text tHeading
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 76
|
x coordinate : 79
|
||||||
y coordinate : 26
|
y coordinate : 26
|
||||||
Width : 320
|
Width : 320
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -458,7 +458,7 @@ Text tStatus
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 23
|
x coordinate : 26
|
||||||
y coordinate : 200
|
y coordinate : 200
|
||||||
Width : 97
|
Width : 97
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -488,7 +488,7 @@ Text tCF1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 428
|
x coordinate : 431
|
||||||
y coordinate : 116
|
y coordinate : 116
|
||||||
Width : 25
|
Width : 25
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -518,7 +518,7 @@ Text tCurTempLbl
|
|||||||
Disable release event after 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 : 28
|
||||||
y coordinate : 85
|
y coordinate : 85
|
||||||
Width : 95
|
Width : 95
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -548,7 +548,7 @@ Text tStateLbl
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 24
|
x coordinate : 27
|
||||||
y coordinate : 162
|
y coordinate : 162
|
||||||
Width : 95
|
Width : 95
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -578,7 +578,7 @@ Text tCF2
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 275
|
x coordinate : 278
|
||||||
y coordinate : 116
|
y coordinate : 116
|
||||||
Width : 25
|
Width : 25
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -608,7 +608,7 @@ Text tALbl
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 19
|
x coordinate : 22
|
||||||
y coordinate : 260
|
y coordinate : 260
|
||||||
Width : 67
|
Width : 67
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -638,7 +638,7 @@ Text tCF
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 354
|
x coordinate : 357
|
||||||
y coordinate : 116
|
y coordinate : 116
|
||||||
Width : 25
|
Width : 25
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -668,7 +668,7 @@ Text tCurTemp
|
|||||||
Disable release event after 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 : 28
|
||||||
y coordinate : 121
|
y coordinate : 121
|
||||||
Width : 95
|
Width : 95
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -715,7 +715,7 @@ Button bNext
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 403
|
x coordinate : 406
|
||||||
y coordinate : 16
|
y coordinate : 16
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -762,7 +762,7 @@ Button bPrev
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 21
|
x coordinate : 24
|
||||||
y coordinate : 16
|
y coordinate : 16
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -816,7 +816,7 @@ Dual-state Button bt0
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 94
|
x coordinate : 97
|
||||||
y coordinate : 255
|
y coordinate : 255
|
||||||
Width : 40
|
Width : 40
|
||||||
Height : 40
|
Height : 40
|
||||||
@@ -865,7 +865,7 @@ Dual-state Button bt2
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 184
|
x coordinate : 187
|
||||||
y coordinate : 255
|
y coordinate : 255
|
||||||
Width : 40
|
Width : 40
|
||||||
Height : 40
|
Height : 40
|
||||||
@@ -914,7 +914,7 @@ Dual-state Button bt4
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 274
|
x coordinate : 277
|
||||||
y coordinate : 255
|
y coordinate : 255
|
||||||
Width : 40
|
Width : 40
|
||||||
Height : 40
|
Height : 40
|
||||||
@@ -963,7 +963,7 @@ Dual-state Button bt6
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 364
|
x coordinate : 367
|
||||||
y coordinate : 255
|
y coordinate : 255
|
||||||
Width : 40
|
Width : 40
|
||||||
Height : 40
|
Height : 40
|
||||||
@@ -1012,7 +1012,7 @@ Dual-state Button bt1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 139
|
x coordinate : 142
|
||||||
y coordinate : 255
|
y coordinate : 255
|
||||||
Width : 40
|
Width : 40
|
||||||
Height : 40
|
Height : 40
|
||||||
@@ -1061,7 +1061,7 @@ Dual-state Button bt3
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 229
|
x coordinate : 232
|
||||||
y coordinate : 255
|
y coordinate : 255
|
||||||
Width : 40
|
Width : 40
|
||||||
Height : 40
|
Height : 40
|
||||||
@@ -1110,7 +1110,7 @@ Dual-state Button bt5
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 319
|
x coordinate : 322
|
||||||
y coordinate : 255
|
y coordinate : 255
|
||||||
Width : 40
|
Width : 40
|
||||||
Height : 40
|
Height : 40
|
||||||
@@ -1159,7 +1159,7 @@ Dual-state Button bt7
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 409
|
x coordinate : 412
|
||||||
y coordinate : 255
|
y coordinate : 255
|
||||||
Width : 40
|
Width : 40
|
||||||
Height : 40
|
Height : 40
|
||||||
@@ -1208,7 +1208,7 @@ Dual-state Button btUp1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 343
|
x coordinate : 346
|
||||||
y coordinate : 67
|
y coordinate : 67
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -1266,7 +1266,7 @@ Dual-state Button btDown1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 343
|
x coordinate : 346
|
||||||
y coordinate : 179
|
y coordinate : 179
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -1324,7 +1324,7 @@ Dual-state Button bUp2
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 190
|
x coordinate : 193
|
||||||
y coordinate : 67
|
y coordinate : 67
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -1382,7 +1382,7 @@ Dual-state Button bDown2
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 190
|
x coordinate : 193
|
||||||
y coordinate : 179
|
y coordinate : 179
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -1440,7 +1440,7 @@ Dual-state Button btUp
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 269
|
x coordinate : 272
|
||||||
y coordinate : 68
|
y coordinate : 68
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -1498,7 +1498,7 @@ Dual-state Button btDown
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 269
|
x coordinate : 272
|
||||||
y coordinate : 180
|
y coordinate : 180
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -1556,9 +1556,9 @@ Hotspot mSwipeNext
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 472
|
x coordinate : 471
|
||||||
y coordinate : 5
|
y coordinate : 5
|
||||||
Width : 8
|
Width : 9
|
||||||
Height : 310
|
Height : 310
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
@@ -1593,10 +1593,10 @@ Hotspot mSwipeUp
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 11
|
x coordinate : 12
|
||||||
y coordinate : 0
|
y coordinate : 0
|
||||||
Width : 425
|
Width : 453
|
||||||
Height : 8
|
Height : 9
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
Effect Time : 300
|
Effect Time : 300
|
||||||
@@ -1973,6 +1973,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="time")
|
if(tInstruction.txt=="time")
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,58 +1,62 @@
|
|||||||
Program.s
|
Program.s
|
||||||
0 Component(s)
|
0 Component(s)
|
||||||
9 Line(s) of event code
|
10 Line(s) of event code
|
||||||
9 Unique line(s) of event code
|
10 Unique line(s) of event code
|
||||||
pageIcons
|
pageIcons
|
||||||
6 Component(s)
|
6 Component(s)
|
||||||
0 Line(s) of event code
|
0 Line(s) of event code
|
||||||
0 Unique line(s) of event code
|
0 Unique line(s) of event code
|
||||||
pageTest
|
pageTest
|
||||||
13 Component(s)
|
14 Component(s)
|
||||||
13 Line(s) of event code
|
14 Line(s) of event code
|
||||||
13 Unique line(s) of event code
|
14 Unique line(s) of event code
|
||||||
popupLight
|
|
||||||
27 Component(s)
|
|
||||||
341 Line(s) of event code
|
|
||||||
185 Unique line(s) of event code
|
|
||||||
pageStartup
|
|
||||||
19 Component(s)
|
|
||||||
150 Line(s) of event code
|
|
||||||
113 Unique line(s) of event code
|
|
||||||
cardGrid
|
|
||||||
42 Component(s)
|
|
||||||
435 Line(s) of event code
|
|
||||||
252 Unique line(s) of event code
|
|
||||||
screensaver
|
|
||||||
35 Component(s)
|
|
||||||
292 Line(s) of event code
|
|
||||||
235 Unique line(s) of event code
|
|
||||||
cardAlarm
|
|
||||||
38 Component(s)
|
|
||||||
360 Line(s) of event code
|
|
||||||
222 Unique line(s) of event code
|
|
||||||
popupShutter
|
|
||||||
20 Component(s)
|
|
||||||
193 Line(s) of event code
|
|
||||||
109 Unique line(s) of event code
|
|
||||||
popupNotify
|
popupNotify
|
||||||
17 Component(s)
|
17 Component(s)
|
||||||
196 Line(s) of event code
|
200 Line(s) of event code
|
||||||
123 Unique line(s) of event code
|
125 Unique line(s) of event code
|
||||||
cardMedia
|
pageStartup
|
||||||
33 Component(s)
|
19 Component(s)
|
||||||
346 Line(s) of event code
|
154 Line(s) of event code
|
||||||
177 Unique line(s) of event code
|
115 Unique line(s) of event code
|
||||||
|
screensaver
|
||||||
|
35 Component(s)
|
||||||
|
296 Line(s) of event code
|
||||||
|
237 Unique line(s) of event code
|
||||||
|
cardAlarm
|
||||||
|
38 Component(s)
|
||||||
|
364 Line(s) of event code
|
||||||
|
224 Unique line(s) of event code
|
||||||
|
popupShutter
|
||||||
|
20 Component(s)
|
||||||
|
197 Line(s) of event code
|
||||||
|
111 Unique line(s) of event code
|
||||||
|
popupLight
|
||||||
|
27 Component(s)
|
||||||
|
345 Line(s) of event code
|
||||||
|
187 Unique line(s) of event code
|
||||||
cardThermo
|
cardThermo
|
||||||
56 Component(s)
|
56 Component(s)
|
||||||
542 Line(s) of event code
|
546 Line(s) of event code
|
||||||
288 Unique line(s) of event code
|
290 Unique line(s) of event code
|
||||||
|
cardMedia
|
||||||
|
33 Component(s)
|
||||||
|
350 Line(s) of event code
|
||||||
|
179 Unique line(s) of event code
|
||||||
|
cardGrid
|
||||||
|
42 Component(s)
|
||||||
|
439 Line(s) of event code
|
||||||
|
254 Unique line(s) of event code
|
||||||
|
cardQR
|
||||||
|
28 Component(s)
|
||||||
|
252 Line(s) of event code
|
||||||
|
140 Unique line(s) of event code
|
||||||
cardEntities
|
cardEntities
|
||||||
65 Component(s)
|
65 Component(s)
|
||||||
981 Line(s) of event code
|
1069 Line(s) of event code
|
||||||
418 Unique line(s) of event code
|
462 Unique line(s) of event code
|
||||||
|
|
||||||
Total
|
Total
|
||||||
12 Page(s)
|
13 Page(s)
|
||||||
371 Component(s)
|
400 Component(s)
|
||||||
3858 Line(s) of event code
|
4236 Line(s) of event code
|
||||||
1059 Unique line(s) of event code
|
1105 Unique line(s) of event code
|
||||||
|
|||||||
@@ -402,7 +402,7 @@ Text tVersion
|
|||||||
Horizontal Alignment : center
|
Horizontal Alignment : center
|
||||||
Vertical Alignment : center
|
Vertical Alignment : center
|
||||||
Input Type : character
|
Input Type : character
|
||||||
Text : 34
|
Text : 35
|
||||||
Max. Text Size : 10
|
Max. Text Size : 10
|
||||||
Word wrap : disabled
|
Word wrap : disabled
|
||||||
Horizontal Spacing : 0
|
Horizontal Spacing : 0
|
||||||
@@ -625,6 +625,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
|
|||||||
@@ -436,3 +436,39 @@ Button b1
|
|||||||
Touch Press Event
|
Touch Press Event
|
||||||
bauds=115200
|
bauds=115200
|
||||||
|
|
||||||
|
Button b2
|
||||||
|
Attributes
|
||||||
|
ID : 13
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 0
|
||||||
|
y coordinate : 244
|
||||||
|
Width : 100
|
||||||
|
Height : 50
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : solid color
|
||||||
|
Style : 3D auto
|
||||||
|
Font ID : 1
|
||||||
|
Back. Color : 50712
|
||||||
|
Back. Picture ID (Pressed) : 65535
|
||||||
|
Back. Color (Pressed) : 1024
|
||||||
|
Font Color (Unpressed) : 0
|
||||||
|
Font Color (Pressed) : 65535
|
||||||
|
Horizontal Alignment : center
|
||||||
|
Vertical Alignment : center
|
||||||
|
State : unpressed
|
||||||
|
Text : qr
|
||||||
|
Max. Text Size : 10
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
page cardQR
|
||||||
|
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ Text tEntity
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 108
|
x coordinate : 107
|
||||||
y coordinate : 21
|
y coordinate : 21
|
||||||
Width : 263
|
Width : 263
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -122,7 +122,7 @@ Text tIcon1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 27
|
x coordinate : 26
|
||||||
y coordinate : 21
|
y coordinate : 21
|
||||||
Width : 45
|
Width : 45
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -152,7 +152,7 @@ Text t1
|
|||||||
Disable release event after 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 : 25
|
||||||
y coordinate : 226
|
y coordinate : 226
|
||||||
Width : 211
|
Width : 211
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -182,7 +182,7 @@ Text t2
|
|||||||
Disable release event after 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 : 25
|
||||||
y coordinate : 267
|
y coordinate : 267
|
||||||
Width : 45
|
Width : 45
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -212,7 +212,7 @@ Text t3
|
|||||||
Disable release event after 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 : 25
|
||||||
y coordinate : 181
|
y coordinate : 181
|
||||||
Width : 45
|
Width : 45
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -242,7 +242,7 @@ Text t4
|
|||||||
Disable release event after 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 : 24
|
||||||
y coordinate : 143
|
y coordinate : 143
|
||||||
Width : 242
|
Width : 242
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -272,7 +272,7 @@ Text tSend
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 16
|
x coordinate : 15
|
||||||
y coordinate : 0
|
y coordinate : 0
|
||||||
Width : 348
|
Width : 348
|
||||||
Height : 7
|
Height : 7
|
||||||
@@ -302,7 +302,7 @@ Text tTmp
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 422
|
x coordinate : 421
|
||||||
y coordinate : 277
|
y coordinate : 277
|
||||||
Width : 34
|
Width : 34
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -332,7 +332,7 @@ Text tInstruction
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 16
|
x coordinate : 15
|
||||||
y coordinate : 290
|
y coordinate : 290
|
||||||
Width : 100
|
Width : 100
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -362,7 +362,7 @@ Text tId
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 116
|
x coordinate : 115
|
||||||
y coordinate : 290
|
y coordinate : 290
|
||||||
Width : 100
|
Width : 100
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -392,7 +392,7 @@ Text t0
|
|||||||
Disable release event after 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 : 24
|
||||||
y coordinate : 80
|
y coordinate : 80
|
||||||
Width : 64
|
Width : 64
|
||||||
Height : 30
|
Height : 30
|
||||||
@@ -439,7 +439,7 @@ Picture pColorWheel
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 183
|
x coordinate : 182
|
||||||
y coordinate : 69
|
y coordinate : 69
|
||||||
Width : 160
|
Width : 160
|
||||||
Height : 160
|
Height : 160
|
||||||
@@ -481,7 +481,7 @@ Slider hBrightness
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 77
|
x coordinate : 76
|
||||||
y coordinate : 261
|
y coordinate : 261
|
||||||
Width : 335
|
Width : 335
|
||||||
Height : 43
|
Height : 43
|
||||||
@@ -526,7 +526,7 @@ Slider hTempSlider
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 77
|
x coordinate : 76
|
||||||
y coordinate : 178
|
y coordinate : 178
|
||||||
Width : 335
|
Width : 335
|
||||||
Height : 44
|
Height : 44
|
||||||
@@ -571,7 +571,7 @@ Button b0
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 413
|
x coordinate : 412
|
||||||
y coordinate : 8
|
y coordinate : 8
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -618,7 +618,7 @@ Button bColor
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 109
|
x coordinate : 108
|
||||||
y coordinate : 68
|
y coordinate : 68
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -675,7 +675,7 @@ Dual-state Button btOnOff1
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 386
|
x coordinate : 385
|
||||||
y coordinate : 79
|
y coordinate : 79
|
||||||
Width : 50
|
Width : 50
|
||||||
Height : 50
|
Height : 50
|
||||||
@@ -964,6 +964,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
|
|||||||
@@ -590,6 +590,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
|
|||||||
@@ -707,6 +707,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
|
|||||||
@@ -1131,6 +1131,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
|
|||||||
@@ -11,3 +11,4 @@ Program.s
|
|||||||
// dim value
|
// dim value
|
||||||
int dimValue=40
|
int dimValue=40
|
||||||
int dimValueNormal=100
|
int dimValueNormal=100
|
||||||
|
page pageStartup
|
||||||
|
|||||||
@@ -788,6 +788,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
|
|||||||
@@ -1277,6 +1277,28 @@ Timer tmSerial
|
|||||||
vis bText1,0
|
vis bText1,0
|
||||||
vis hSlider1,0
|
vis hSlider1,0
|
||||||
vis nNum1,0
|
vis nNum1,0
|
||||||
|
// get Button State (optional Value)
|
||||||
|
spstr strCommand.txt,tId.txt,"~",8
|
||||||
|
spstr tId.txt,tTmp.txt,"|",0
|
||||||
|
if(tTmp.txt=="0")
|
||||||
|
{
|
||||||
|
bUp1.pco=27501
|
||||||
|
tsw bUp1,0
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
bUp1.pco=65535
|
||||||
|
tsw bUp1,1
|
||||||
|
}
|
||||||
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
|
if(tTmp.txt=="0")
|
||||||
|
{
|
||||||
|
bDown1.pco=27501
|
||||||
|
tsw bDown1,0
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
bDown1.pco=65535
|
||||||
|
tsw bDown1,1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(type1.txt=="light")
|
if(type1.txt=="light")
|
||||||
{
|
{
|
||||||
@@ -1399,6 +1421,28 @@ Timer tmSerial
|
|||||||
vis bText2,0
|
vis bText2,0
|
||||||
vis hSlider2,0
|
vis hSlider2,0
|
||||||
vis nNum2,0
|
vis nNum2,0
|
||||||
|
// get Button State (optional Value)
|
||||||
|
spstr strCommand.txt,tId.txt,"~",14
|
||||||
|
spstr tId.txt,tTmp.txt,"|",0
|
||||||
|
if(tTmp.txt=="0")
|
||||||
|
{
|
||||||
|
bUp2.pco=27501
|
||||||
|
tsw bUp2,0
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
bUp2.pco=65535
|
||||||
|
tsw bUp2,1
|
||||||
|
}
|
||||||
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
|
if(tTmp.txt=="0")
|
||||||
|
{
|
||||||
|
bDown2.pco=27501
|
||||||
|
tsw bDown2,0
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
bDown2.pco=65535
|
||||||
|
tsw bDown2,1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(type2.txt=="light")
|
if(type2.txt=="light")
|
||||||
{
|
{
|
||||||
@@ -1521,6 +1565,28 @@ Timer tmSerial
|
|||||||
vis bText3,0
|
vis bText3,0
|
||||||
vis hSlider3,0
|
vis hSlider3,0
|
||||||
vis nNum3,0
|
vis nNum3,0
|
||||||
|
// get Button State (optional Value)
|
||||||
|
spstr strCommand.txt,tId.txt,"~",20
|
||||||
|
spstr tId.txt,tTmp.txt,"|",0
|
||||||
|
if(tTmp.txt=="0")
|
||||||
|
{
|
||||||
|
bUp3.pco=27501
|
||||||
|
tsw bUp3,0
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
bUp3.pco=65535
|
||||||
|
tsw bUp3,1
|
||||||
|
}
|
||||||
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
|
if(tTmp.txt=="0")
|
||||||
|
{
|
||||||
|
bDown3.pco=27501
|
||||||
|
tsw bDown3,0
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
bDown3.pco=65535
|
||||||
|
tsw bDown3,1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(type3.txt=="light")
|
if(type3.txt=="light")
|
||||||
{
|
{
|
||||||
@@ -1643,6 +1709,28 @@ Timer tmSerial
|
|||||||
vis bText4,0
|
vis bText4,0
|
||||||
vis hSlider4,0
|
vis hSlider4,0
|
||||||
vis nNum4,0
|
vis nNum4,0
|
||||||
|
// get Button State (optional Value)
|
||||||
|
spstr strCommand.txt,tId.txt,"~",26
|
||||||
|
spstr tId.txt,tTmp.txt,"|",0
|
||||||
|
if(tTmp.txt=="0")
|
||||||
|
{
|
||||||
|
bUp4.pco=27501
|
||||||
|
tsw bUp4,0
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
bUp4.pco=65535
|
||||||
|
tsw bUp4,1
|
||||||
|
}
|
||||||
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
|
if(tTmp.txt=="0")
|
||||||
|
{
|
||||||
|
bDown4.pco=27501
|
||||||
|
tsw bDown4,0
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
bDown4.pco=65535
|
||||||
|
tsw bDown4,1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(type4.txt=="light")
|
if(type4.txt=="light")
|
||||||
{
|
{
|
||||||
@@ -1783,6 +1871,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="time")
|
if(tInstruction.txt=="time")
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -869,6 +869,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="time")
|
if(tInstruction.txt=="time")
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -740,6 +740,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
|
|||||||
601
HMI/US/landscape/n2t-out/cardQR.txt
Normal file
601
HMI/US/landscape/n2t-out/cardQR.txt
Normal file
@@ -0,0 +1,601 @@
|
|||||||
|
Page cardQR
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Locked : no
|
||||||
|
Swide up page ID : disabled
|
||||||
|
Swide down page ID : disabled
|
||||||
|
Swide left page ID : disabled
|
||||||
|
Swide right page ID : disabled
|
||||||
|
|
||||||
|
Events
|
||||||
|
Preinitialize Event
|
||||||
|
vis p0,0
|
||||||
|
vis tSend,0
|
||||||
|
vis tInstruction,0
|
||||||
|
vis tTmp,0
|
||||||
|
vis tId,0
|
||||||
|
vis bPrev,0
|
||||||
|
vis bNext,0
|
||||||
|
|
||||||
|
Variable (string) strCommand
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Text :
|
||||||
|
Max. Text Size: 200
|
||||||
|
|
||||||
|
Variable (string) entn
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Text :
|
||||||
|
Max. Text Size: 80
|
||||||
|
|
||||||
|
Variable (string) tSend
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Text :
|
||||||
|
Max. Text Size: 100
|
||||||
|
|
||||||
|
Variable (string) tTmp
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Text :
|
||||||
|
Max. Text Size: 10
|
||||||
|
|
||||||
|
Variable (string) tId
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Text :
|
||||||
|
Max. Text Size: 20
|
||||||
|
|
||||||
|
Variable (string) tInstruction
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Text :
|
||||||
|
Max. Text Size: 20
|
||||||
|
|
||||||
|
Variable (string) entn1
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Text :
|
||||||
|
Max. Text Size: 80
|
||||||
|
|
||||||
|
Variable (string) entn2
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Text :
|
||||||
|
Max. Text Size: 80
|
||||||
|
|
||||||
|
Text tEntity1
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Associated Keyboard : none
|
||||||
|
Text : tEntity1
|
||||||
|
Max. Text Size : 30
|
||||||
|
|
||||||
|
Text tIcon1
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Associated Keyboard : none
|
||||||
|
Text : î°
|
||||||
|
Max. Text Size : 5
|
||||||
|
|
||||||
|
Text tEntity2
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Associated Keyboard : none
|
||||||
|
Text : tEntity1
|
||||||
|
Max. Text Size : 30
|
||||||
|
|
||||||
|
Text tIcon2
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Associated Keyboard : none
|
||||||
|
Text : î°
|
||||||
|
Max. Text Size : 5
|
||||||
|
|
||||||
|
Text tHeading
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Associated Keyboard : none
|
||||||
|
Text : testHeading
|
||||||
|
Max. Text Size : 40
|
||||||
|
|
||||||
|
Picture p0
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
|
||||||
|
QR Code qr0
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Text : WIFI:S:SSID;T:WPA;P:PASSWORD;;
|
||||||
|
Max. Text Size : 105
|
||||||
|
|
||||||
|
Button bNext
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
State : unpressed
|
||||||
|
Text : î³
|
||||||
|
Max. Text Size : 10
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
tSend.txt="event,buttonPress2,cardAlarm,bNext"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
|
|
||||||
|
Button bPrev
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
State : unpressed
|
||||||
|
Text : î°
|
||||||
|
Max. Text Size : 10
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
tSend.txt="event,buttonPress2,cardAlarm,"
|
||||||
|
if(bPrev.txt=="î¶")
|
||||||
|
{
|
||||||
|
tSend.txt+="bUp"
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
tSend.txt+="bPrev"
|
||||||
|
}
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
|
|
||||||
|
Button bText1
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
State : unpressed
|
||||||
|
Text :
|
||||||
|
Max. Text Size : 10
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
tSend.txt="event,buttonPress2,"+entn1.txt+",button"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
|
|
||||||
|
Button bText2
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
State : unpressed
|
||||||
|
Text :
|
||||||
|
Max. Text Size : 10
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
tSend.txt="event,buttonPress2,"+entn1.txt+",button"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
|
|
||||||
|
Dual-state Button btOnOff1
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
State : unpressed
|
||||||
|
Text :
|
||||||
|
Max. Text Size : 10
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
tSend.txt="event,buttonPress2,"+entn1.txt+",OnOff,"
|
||||||
|
covx btOnOff1.val,tTmp.txt,0,0
|
||||||
|
tSend.txt+=tTmp.txt
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
|
|
||||||
|
Dual-state Button btOnOff2
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
State : unpressed
|
||||||
|
Text :
|
||||||
|
Max. Text Size : 10
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
tSend.txt="event,buttonPress2,"+entn1.txt+",OnOff,"
|
||||||
|
covx btOnOff1.val,tTmp.txt,0,0
|
||||||
|
tSend.txt+=tTmp.txt
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
|
|
||||||
|
Hotspot mSwipeNext
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
//This thin hotspot down the edge will intercept swipes
|
||||||
|
//from the bezel into the screen area before the
|
||||||
|
//Nextion register touch for any other components -
|
||||||
|
//IF the hotspot is 'layered' at the top (use the up
|
||||||
|
//arrow at the far left of the Nextion Editor Tool Bar).
|
||||||
|
//
|
||||||
|
//Calibrate how wide the edge hotspot has to be on your
|
||||||
|
//own physical device using this screen to test the
|
||||||
|
//x & y coordinates where the swipe is first detected.)
|
||||||
|
//---------------------------
|
||||||
|
//The navigation text is stored as local variable within tld.txt
|
||||||
|
//Pressing right button if swiped on the right side of the screen
|
||||||
|
//
|
||||||
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
|
if(tTmp.txt=="1")
|
||||||
|
{
|
||||||
|
click bNext,1
|
||||||
|
}
|
||||||
|
|
||||||
|
Hotspot mSwipeUp
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
//This thin hotspot down the edge will intercept swipes
|
||||||
|
//from the bezel into the screen area before the
|
||||||
|
//Nextion register touch for any other components -
|
||||||
|
//IF the hotspot is 'layered' at the top (use the up
|
||||||
|
//arrow at the far left of the Nextion Editor Tool Bar).
|
||||||
|
//
|
||||||
|
//Calibrate how wide the edge hotspot has to be on your
|
||||||
|
//own physical device using this screen to test the
|
||||||
|
//x & y coordinates where the swipe is first detected.)
|
||||||
|
//---------------------------
|
||||||
|
//The navigation text is stored as local variable within tld.txt
|
||||||
|
//Pressing up button if swiped on the top side of the screen
|
||||||
|
//
|
||||||
|
spstr tId.txt,tTmp.txt,"|",0
|
||||||
|
if(tTmp.txt=="2")
|
||||||
|
{
|
||||||
|
click bPrev,1
|
||||||
|
}
|
||||||
|
|
||||||
|
Hotspot mSwipePrev
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
//This thin hotspot down the edge will intercept swipes
|
||||||
|
//from the bezel into the screen area before the
|
||||||
|
//Nextion register touch for any other components -
|
||||||
|
//IF the hotspot is 'layered' at the top (use the up
|
||||||
|
//arrow at the far left of the Nextion Editor Tool Bar).
|
||||||
|
//
|
||||||
|
//Calibrate how wide the edge hotspot has to be on your
|
||||||
|
//own physical device using this screen to test the
|
||||||
|
//x & y coordinates where the swipe is first detected.)
|
||||||
|
//---------------------------
|
||||||
|
//The navigation text is stored as local variable within tld.txt
|
||||||
|
//Pressing left button if swiped on the left side of the screen
|
||||||
|
//
|
||||||
|
spstr tId.txt,tTmp.txt,"|",0
|
||||||
|
if(tTmp.txt=="1")
|
||||||
|
{
|
||||||
|
click bPrev,1
|
||||||
|
}
|
||||||
|
|
||||||
|
Timer tmSerial
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Period (ms): 50
|
||||||
|
Enabled : yes
|
||||||
|
|
||||||
|
Events
|
||||||
|
Timer Event
|
||||||
|
// data available
|
||||||
|
if(usize>1)
|
||||||
|
{
|
||||||
|
bufferPos=0
|
||||||
|
while(bufferPos<usize)
|
||||||
|
{
|
||||||
|
// check for 0x55 0xBB - Command Init Secuence
|
||||||
|
if(u[bufferPos]==187&&u[bufferPos-1]==85)
|
||||||
|
{
|
||||||
|
//remove garbage at the start of the buffer if there's any to free buffer for command
|
||||||
|
if(u[bufferPos]!=1)
|
||||||
|
{
|
||||||
|
udelete bufferPos-1
|
||||||
|
}
|
||||||
|
//instruction is now aligned with buffer, because we deleted garbage before instrcution
|
||||||
|
//get length after init sequence (check if there are more than to bytes in buffer)
|
||||||
|
if(3<usize)
|
||||||
|
{
|
||||||
|
// check if serial buffer has reached the announced length
|
||||||
|
ucopy payloadLength,2,2,0
|
||||||
|
// we are only checking payload length so we have to skip first 3 bytes (init+payload length) (-1 because of < instead of <=)
|
||||||
|
payloadLength+=3
|
||||||
|
// payload length does also not contain crc, so we are adding another 2 bytes for crc
|
||||||
|
payloadLength+=2
|
||||||
|
if(payloadLength<usize)
|
||||||
|
{
|
||||||
|
// calculate crc
|
||||||
|
crcrest 1,0xFFFF
|
||||||
|
// u[2] contains payload legth at 3rd pos in buffer, we are calculating crc from 3rd pos with number of bytes from payload length
|
||||||
|
//crcputu 3,u[2]
|
||||||
|
// u[2] cotnains payload length, we are calculating a crc over the whole message, so we have to add 3 to the length from u[2]
|
||||||
|
crcputu 0,payloadLength-1
|
||||||
|
// get recived crc to be able to compare it
|
||||||
|
ucopy recvCrc,payloadLength-1,2,0
|
||||||
|
// compare crc with recived value
|
||||||
|
if(crcval==recvCrc)
|
||||||
|
{
|
||||||
|
// crc is okay
|
||||||
|
// here is the location where acual code should be
|
||||||
|
// write command to variable strCommand
|
||||||
|
ucopy strCommand.txt,4,payloadLength-5,0
|
||||||
|
// write instruction to tInstuction (debug output, but used as variable here, ui elements will be disabled by default)
|
||||||
|
spstr strCommand.txt,tInstruction.txt,"~",0
|
||||||
|
if(tInstruction.txt=="entityUpd")
|
||||||
|
{
|
||||||
|
//entn
|
||||||
|
spstr strCommand.txt,entn.txt,"~",1
|
||||||
|
// navigation icons
|
||||||
|
spstr strCommand.txt,tId.txt,"~",2
|
||||||
|
spstr tId.txt,tTmp.txt,"|",0
|
||||||
|
if(tTmp.txt=="0")
|
||||||
|
{
|
||||||
|
vis bPrev,0
|
||||||
|
}
|
||||||
|
if(tTmp.txt=="1")
|
||||||
|
{
|
||||||
|
vis bPrev,1
|
||||||
|
bPrev.txt="î°"
|
||||||
|
}
|
||||||
|
if(tTmp.txt=="2")
|
||||||
|
{
|
||||||
|
vis bPrev,1
|
||||||
|
bPrev.txt="î¶"
|
||||||
|
}
|
||||||
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
|
if(tTmp.txt=="0")
|
||||||
|
{
|
||||||
|
vis bNext,0
|
||||||
|
}
|
||||||
|
if(tTmp.txt=="1")
|
||||||
|
{
|
||||||
|
vis bNext,1
|
||||||
|
bNext.txt="î³"
|
||||||
|
}
|
||||||
|
//text heading
|
||||||
|
spstr strCommand.txt,tHeading.txt,"~",3
|
||||||
|
//text qrcode
|
||||||
|
spstr strCommand.txt,qr0.txt,"~",4
|
||||||
|
}
|
||||||
|
if(tInstruction.txt=="time")
|
||||||
|
{
|
||||||
|
// get set time to global variable
|
||||||
|
spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
|
||||||
|
}
|
||||||
|
if(tInstruction.txt=="date")
|
||||||
|
{
|
||||||
|
// get set date to global variable
|
||||||
|
spstr strCommand.txt,pageIcons.vaDate.txt,"~",1
|
||||||
|
}
|
||||||
|
if(tInstruction.txt=="dimmode")
|
||||||
|
{
|
||||||
|
// get value
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",1
|
||||||
|
covx tTmp.txt,dimValue,0,0
|
||||||
|
dim=dimValue
|
||||||
|
}
|
||||||
|
if(tInstruction.txt=="timeout")
|
||||||
|
{
|
||||||
|
//set timeout to global var
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",1
|
||||||
|
covx tTmp.txt,sleepTimeout,0,0
|
||||||
|
}
|
||||||
|
if(tInstruction.txt=="pageType")
|
||||||
|
{
|
||||||
|
//command format pageType,specialPageName
|
||||||
|
//write name of speical page to tId
|
||||||
|
spstr strCommand.txt,tId.txt,"~",1
|
||||||
|
//save second arg if there's one
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",2
|
||||||
|
//save third arg if there's one
|
||||||
|
spstr strCommand.txt,pageIcons.tTmp2.txt,"~",3
|
||||||
|
//we are going to exit this page with this command, so we have to clear the buffer, so we are not getting into a stupid loop ...
|
||||||
|
udelete payloadLength-1
|
||||||
|
bufferPos=0
|
||||||
|
if(tId.txt=="pageStartup")
|
||||||
|
{
|
||||||
|
page pageStartup
|
||||||
|
}
|
||||||
|
if(tId.txt=="screensaver")
|
||||||
|
{
|
||||||
|
page screensaver
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardEntities")
|
||||||
|
{
|
||||||
|
page cardEntities
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardGrid")
|
||||||
|
{
|
||||||
|
page cardGrid
|
||||||
|
}
|
||||||
|
if(tId.txt=="popupLight")
|
||||||
|
{
|
||||||
|
pageIcons.tTmp1.txt=tTmp.txt
|
||||||
|
page popupLight
|
||||||
|
}
|
||||||
|
if(tId.txt=="popupShutter")
|
||||||
|
{
|
||||||
|
pageIcons.tTmp1.txt=tTmp.txt
|
||||||
|
page popupShutter
|
||||||
|
}
|
||||||
|
if(tId.txt=="popupNotify")
|
||||||
|
{
|
||||||
|
page popupNotify
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardThermo")
|
||||||
|
{
|
||||||
|
page cardThermo
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardMedia")
|
||||||
|
{
|
||||||
|
page cardMedia
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardAlarm")
|
||||||
|
{
|
||||||
|
page cardAlarm
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// end of user code
|
||||||
|
udelete payloadLength-1
|
||||||
|
bufferPos=0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// next character
|
||||||
|
bufferPos++
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Timer tmSleep
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Period (ms): 1000
|
||||||
|
Enabled : yes
|
||||||
|
|
||||||
|
Events
|
||||||
|
Timer Event
|
||||||
|
if(sleepTimeout!=0&&dimValue!=dim)
|
||||||
|
{
|
||||||
|
sleepValue+=1
|
||||||
|
if(sleepTimeout<=sleepValue)
|
||||||
|
{
|
||||||
|
sleepValue=0
|
||||||
|
dim=dimValue
|
||||||
|
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
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
TouchCap tc0
|
||||||
|
Attributes
|
||||||
|
Scope: local
|
||||||
|
Value: 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
sleepValue=0
|
||||||
|
|
||||||
@@ -1192,6 +1192,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="time")
|
if(tInstruction.txt=="time")
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ Text tVersion
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Associated Keyboard : none
|
Associated Keyboard : none
|
||||||
Text : 34
|
Text : 35
|
||||||
Max. Text Size : 10
|
Max. Text Size : 10
|
||||||
|
|
||||||
Picture p0
|
Picture p0
|
||||||
@@ -330,6 +330,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
|
|||||||
@@ -176,3 +176,17 @@ Button b1
|
|||||||
Touch Press Event
|
Touch Press Event
|
||||||
bauds=115200
|
bauds=115200
|
||||||
|
|
||||||
|
Button b2
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
State : unpressed
|
||||||
|
Text : qr
|
||||||
|
Max. Text Size : 10
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
page cardQR
|
||||||
|
|
||||||
|
|||||||
@@ -618,6 +618,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
|
|||||||
@@ -381,6 +381,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
|
|||||||
@@ -422,6 +422,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
|
|||||||
@@ -607,6 +607,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
diff -bur HMI/n2t-out/Program.s.txt HMI/US/portrait/n2t-out/Program.s.txt
|
diff -bur HMI/n2t-out/Program.s.txt HMI/US/portrait/n2t-out/Program.s.txt
|
||||||
--- HMI/n2t-out/Program.s.txt 2022-05-21 11:46:43.729351186 +0000
|
--- HMI/n2t-out/Program.s.txt 2022-05-21 12:30:15.820142077 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-21 11:46:44.281345162 +0000
|
+++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-21 12:30:16.264145746 +0000
|
||||||
@@ -11,6 +11,6 @@
|
@@ -11,6 +11,6 @@
|
||||||
// dim value
|
// dim value
|
||||||
int dimValue=40
|
int dimValue=40
|
||||||
@@ -11,8 +11,8 @@ diff -bur HMI/n2t-out/Program.s.txt HMI/US/portrait/n2t-out/Program.s.txt
|
|||||||
+ //lcd_dev fffb 0002 0000 0020
|
+ //lcd_dev fffb 0002 0000 0020
|
||||||
page pageStartup
|
page pageStartup
|
||||||
diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/portrait/n2t-out/cardAlarm.txt
|
diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/portrait/n2t-out/cardAlarm.txt
|
||||||
--- HMI/n2t-out/cardAlarm.txt 2022-05-21 11:46:43.733351142 +0000
|
--- HMI/n2t-out/cardAlarm.txt 2022-05-21 12:30:15.824142110 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/cardAlarm.txt 2022-05-21 11:46:44.281345162 +0000
|
+++ HMI/US/portrait/n2t-out/cardAlarm.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
@@ -788,10 +788,6 @@
|
@@ -788,10 +788,6 @@
|
||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
@@ -25,8 +25,8 @@ diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/portrait/n2t-out/cardAlarm.txt
|
|||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
||||||
--- HMI/n2t-out/cardEntities.txt 2022-05-21 11:46:43.733351142 +0000
|
--- HMI/n2t-out/cardEntities.txt 2022-05-21 12:30:15.824142110 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-21 11:46:44.281345162 +0000
|
+++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
@@ -62,6 +62,16 @@
|
@@ -62,6 +62,16 @@
|
||||||
vis bText4,0
|
vis bText4,0
|
||||||
vis hSlider4,0
|
vis hSlider4,0
|
||||||
@@ -568,8 +568,8 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
|||||||
if(tInstruction.txt=="time")
|
if(tInstruction.txt=="time")
|
||||||
{
|
{
|
||||||
diff -bur HMI/n2t-out/cardGrid.txt HMI/US/portrait/n2t-out/cardGrid.txt
|
diff -bur HMI/n2t-out/cardGrid.txt HMI/US/portrait/n2t-out/cardGrid.txt
|
||||||
--- HMI/n2t-out/cardGrid.txt 2022-05-21 11:46:43.733351142 +0000
|
--- HMI/n2t-out/cardGrid.txt 2022-05-21 12:30:15.824142110 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/cardGrid.txt 2022-05-21 11:46:44.281345162 +0000
|
+++ HMI/US/portrait/n2t-out/cardGrid.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
@@ -869,10 +869,6 @@
|
@@ -869,10 +869,6 @@
|
||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
@@ -582,8 +582,8 @@ diff -bur HMI/n2t-out/cardGrid.txt HMI/US/portrait/n2t-out/cardGrid.txt
|
|||||||
if(tInstruction.txt=="time")
|
if(tInstruction.txt=="time")
|
||||||
{
|
{
|
||||||
diff -bur HMI/n2t-out/cardMedia.txt HMI/US/portrait/n2t-out/cardMedia.txt
|
diff -bur HMI/n2t-out/cardMedia.txt HMI/US/portrait/n2t-out/cardMedia.txt
|
||||||
--- HMI/n2t-out/cardMedia.txt 2022-05-21 11:46:43.733351142 +0000
|
--- HMI/n2t-out/cardMedia.txt 2022-05-21 12:30:15.824142110 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-05-21 11:46:44.281345162 +0000
|
+++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
@@ -740,10 +740,6 @@
|
@@ -740,10 +740,6 @@
|
||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
@@ -596,8 +596,8 @@ diff -bur HMI/n2t-out/cardMedia.txt HMI/US/portrait/n2t-out/cardMedia.txt
|
|||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
diff -bur HMI/n2t-out/cardQR.txt HMI/US/portrait/n2t-out/cardQR.txt
|
diff -bur HMI/n2t-out/cardQR.txt HMI/US/portrait/n2t-out/cardQR.txt
|
||||||
--- HMI/n2t-out/cardQR.txt 2022-05-21 11:46:43.733351142 +0000
|
--- HMI/n2t-out/cardQR.txt 2022-05-21 12:30:15.824142110 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/cardQR.txt 2022-05-21 11:46:44.281345162 +0000
|
+++ HMI/US/portrait/n2t-out/cardQR.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
@@ -461,10 +461,8 @@
|
@@ -461,10 +461,8 @@
|
||||||
vis bNext,1
|
vis bNext,1
|
||||||
bNext.txt="î³"
|
bNext.txt="î³"
|
||||||
@@ -622,8 +622,8 @@ diff -bur HMI/n2t-out/cardQR.txt HMI/US/portrait/n2t-out/cardQR.txt
|
|||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
diff -bur HMI/n2t-out/cardThermo.txt HMI/US/portrait/n2t-out/cardThermo.txt
|
diff -bur HMI/n2t-out/cardThermo.txt HMI/US/portrait/n2t-out/cardThermo.txt
|
||||||
--- HMI/n2t-out/cardThermo.txt 2022-05-21 11:46:43.733351142 +0000
|
--- HMI/n2t-out/cardThermo.txt 2022-05-21 12:30:15.824142110 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/cardThermo.txt 2022-05-21 11:46:44.281345162 +0000
|
+++ HMI/US/portrait/n2t-out/cardThermo.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
@@ -1192,10 +1192,6 @@
|
@@ -1192,10 +1192,6 @@
|
||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
@@ -636,8 +636,8 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/portrait/n2t-out/cardThermo.txt
|
|||||||
if(tInstruction.txt=="time")
|
if(tInstruction.txt=="time")
|
||||||
{
|
{
|
||||||
diff -bur HMI/n2t-out/pageStartup.txt HMI/US/portrait/n2t-out/pageStartup.txt
|
diff -bur HMI/n2t-out/pageStartup.txt HMI/US/portrait/n2t-out/pageStartup.txt
|
||||||
--- HMI/n2t-out/pageStartup.txt 2022-05-21 11:46:43.733351142 +0000
|
--- HMI/n2t-out/pageStartup.txt 2022-05-21 12:30:15.820142077 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-21 11:46:44.281345162 +0000
|
+++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
@@ -142,7 +142,7 @@
|
@@ -142,7 +142,7 @@
|
||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
@@ -677,8 +677,8 @@ diff -bur HMI/n2t-out/pageStartup.txt HMI/US/portrait/n2t-out/pageStartup.txt
|
|||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
diff -bur HMI/n2t-out/popupLight.txt HMI/US/portrait/n2t-out/popupLight.txt
|
diff -bur HMI/n2t-out/popupLight.txt HMI/US/portrait/n2t-out/popupLight.txt
|
||||||
--- HMI/n2t-out/popupLight.txt 2022-05-21 11:46:43.733351142 +0000
|
--- HMI/n2t-out/popupLight.txt 2022-05-21 12:30:15.824142110 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/popupLight.txt 2022-05-21 11:46:44.281345162 +0000
|
+++ HMI/US/portrait/n2t-out/popupLight.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
@@ -618,10 +618,6 @@
|
@@ -618,10 +618,6 @@
|
||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
@@ -691,8 +691,8 @@ diff -bur HMI/n2t-out/popupLight.txt HMI/US/portrait/n2t-out/popupLight.txt
|
|||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
diff -bur HMI/n2t-out/popupNotify.txt HMI/US/portrait/n2t-out/popupNotify.txt
|
diff -bur HMI/n2t-out/popupNotify.txt HMI/US/portrait/n2t-out/popupNotify.txt
|
||||||
--- HMI/n2t-out/popupNotify.txt 2022-05-21 11:46:43.733351142 +0000
|
--- HMI/n2t-out/popupNotify.txt 2022-05-21 12:30:15.824142110 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/popupNotify.txt 2022-05-21 11:46:44.281345162 +0000
|
+++ HMI/US/portrait/n2t-out/popupNotify.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
@@ -381,10 +381,6 @@
|
@@ -381,10 +381,6 @@
|
||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
@@ -705,8 +705,8 @@ diff -bur HMI/n2t-out/popupNotify.txt HMI/US/portrait/n2t-out/popupNotify.txt
|
|||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
diff -bur HMI/n2t-out/popupShutter.txt HMI/US/portrait/n2t-out/popupShutter.txt
|
diff -bur HMI/n2t-out/popupShutter.txt HMI/US/portrait/n2t-out/popupShutter.txt
|
||||||
--- HMI/n2t-out/popupShutter.txt 2022-05-21 11:46:43.733351142 +0000
|
--- HMI/n2t-out/popupShutter.txt 2022-05-21 12:30:15.820142077 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/popupShutter.txt 2022-05-21 11:46:44.281345162 +0000
|
+++ HMI/US/portrait/n2t-out/popupShutter.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
@@ -422,10 +422,6 @@
|
@@ -422,10 +422,6 @@
|
||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
@@ -719,8 +719,8 @@ diff -bur HMI/n2t-out/popupShutter.txt HMI/US/portrait/n2t-out/popupShutter.txt
|
|||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
diff -bur HMI/n2t-out/screensaver.txt HMI/US/portrait/n2t-out/screensaver.txt
|
diff -bur HMI/n2t-out/screensaver.txt HMI/US/portrait/n2t-out/screensaver.txt
|
||||||
--- HMI/n2t-out/screensaver.txt 2022-05-21 11:46:43.733351142 +0000
|
--- HMI/n2t-out/screensaver.txt 2022-05-21 12:30:15.824142110 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/screensaver.txt 2022-05-21 11:46:44.281345162 +0000
|
+++ HMI/US/portrait/n2t-out/screensaver.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
@@ -607,10 +607,6 @@
|
@@ -607,10 +607,6 @@
|
||||||
{
|
{
|
||||||
page cardAlarm
|
page cardAlarm
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
+++ HMI/US/portrait/diff-eu-version.txt 2022-05-21 11:46:44.301344943 +0000
|
+++ HMI/US/portrait/diff-eu-version.txt 2022-05-21 12:30:16.280145878 +0000
|
||||||
+--- HMI/n2t-out/Program.s.txt 2022-05-21 11:46:43.729351186 +0000
|
+--- HMI/n2t-out/Program.s.txt 2022-05-21 12:30:15.820142077 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-21 11:46:44.281345162 +0000
|
++++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-21 12:30:16.264145746 +0000
|
||||||
+diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/portrait/n2t-out/cardAlarm.txt
|
+diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/portrait/n2t-out/cardAlarm.txt
|
||||||
+--- HMI/n2t-out/cardAlarm.txt 2022-05-21 11:46:43.733351142 +0000
|
+--- HMI/n2t-out/cardAlarm.txt 2022-05-21 12:30:15.824142110 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/cardAlarm.txt 2022-05-21 11:46:44.281345162 +0000
|
++++ HMI/US/portrait/n2t-out/cardAlarm.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
+@@ -788,10 +788,6 @@
|
+@@ -788,10 +788,6 @@
|
||||||
+ {
|
+ {
|
||||||
+ page cardAlarm
|
+ page cardAlarm
|
||||||
@@ -15,8 +15,8 @@
|
|||||||
+ }
|
+ }
|
||||||
+ // end of user code
|
+ // end of user code
|
||||||
+ udelete payloadLength-1
|
+ udelete payloadLength-1
|
||||||
+--- HMI/n2t-out/cardEntities.txt 2022-05-21 11:46:43.733351142 +0000
|
+--- HMI/n2t-out/cardEntities.txt 2022-05-21 12:30:15.824142110 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-21 11:46:44.281345162 +0000
|
++++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
+ Hotspot mSwipeNext
|
+ Hotspot mSwipeNext
|
||||||
+ Scope : local
|
+ Scope : local
|
||||||
+@@ -1277,28 +1505,6 @@
|
+@@ -1277,28 +1505,6 @@
|
||||||
@@ -148,8 +148,8 @@
|
|||||||
+ if(tInstruction.txt=="time")
|
+ if(tInstruction.txt=="time")
|
||||||
+ {
|
+ {
|
||||||
+diff -bur HMI/n2t-out/cardGrid.txt HMI/US/portrait/n2t-out/cardGrid.txt
|
+diff -bur HMI/n2t-out/cardGrid.txt HMI/US/portrait/n2t-out/cardGrid.txt
|
||||||
+--- HMI/n2t-out/cardGrid.txt 2022-05-21 11:46:43.733351142 +0000
|
+--- HMI/n2t-out/cardGrid.txt 2022-05-21 12:30:15.824142110 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/cardGrid.txt 2022-05-21 11:46:44.281345162 +0000
|
++++ HMI/US/portrait/n2t-out/cardGrid.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
+@@ -869,10 +869,6 @@
|
+@@ -869,10 +869,6 @@
|
||||||
+ {
|
+ {
|
||||||
+ page cardAlarm
|
+ page cardAlarm
|
||||||
@@ -162,8 +162,8 @@
|
|||||||
+ if(tInstruction.txt=="time")
|
+ if(tInstruction.txt=="time")
|
||||||
+ {
|
+ {
|
||||||
+diff -bur HMI/n2t-out/cardMedia.txt HMI/US/portrait/n2t-out/cardMedia.txt
|
+diff -bur HMI/n2t-out/cardMedia.txt HMI/US/portrait/n2t-out/cardMedia.txt
|
||||||
+--- HMI/n2t-out/cardMedia.txt 2022-05-21 11:46:43.733351142 +0000
|
+--- HMI/n2t-out/cardMedia.txt 2022-05-21 12:30:15.824142110 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-05-21 11:46:44.281345162 +0000
|
++++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
+@@ -740,10 +740,6 @@
|
+@@ -740,10 +740,6 @@
|
||||||
+ {
|
+ {
|
||||||
+ page cardAlarm
|
+ page cardAlarm
|
||||||
@@ -176,8 +176,8 @@
|
|||||||
+ // end of user code
|
+ // end of user code
|
||||||
+ udelete payloadLength-1
|
+ udelete payloadLength-1
|
||||||
+diff -bur HMI/n2t-out/cardQR.txt HMI/US/portrait/n2t-out/cardQR.txt
|
+diff -bur HMI/n2t-out/cardQR.txt HMI/US/portrait/n2t-out/cardQR.txt
|
||||||
+--- HMI/n2t-out/cardQR.txt 2022-05-21 11:46:43.733351142 +0000
|
+--- HMI/n2t-out/cardQR.txt 2022-05-21 12:30:15.824142110 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/cardQR.txt 2022-05-21 11:46:44.281345162 +0000
|
++++ HMI/US/portrait/n2t-out/cardQR.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
+@@ -461,10 +461,8 @@
|
+@@ -461,10 +461,8 @@
|
||||||
+ vis bNext,1
|
+ vis bNext,1
|
||||||
+ bNext.txt="î³"
|
+ bNext.txt="î³"
|
||||||
@@ -202,8 +202,8 @@
|
|||||||
+ // end of user code
|
+ // end of user code
|
||||||
+ udelete payloadLength-1
|
+ udelete payloadLength-1
|
||||||
+diff -bur HMI/n2t-out/cardThermo.txt HMI/US/portrait/n2t-out/cardThermo.txt
|
+diff -bur HMI/n2t-out/cardThermo.txt HMI/US/portrait/n2t-out/cardThermo.txt
|
||||||
+--- HMI/n2t-out/cardThermo.txt 2022-05-21 11:46:43.733351142 +0000
|
+--- HMI/n2t-out/cardThermo.txt 2022-05-21 12:30:15.824142110 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/cardThermo.txt 2022-05-21 11:46:44.281345162 +0000
|
++++ HMI/US/portrait/n2t-out/cardThermo.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
+@@ -1192,10 +1192,6 @@
|
+@@ -1192,10 +1192,6 @@
|
||||||
+ {
|
+ {
|
||||||
+ page cardAlarm
|
+ page cardAlarm
|
||||||
@@ -215,8 +215,8 @@
|
|||||||
+ }
|
+ }
|
||||||
+ if(tInstruction.txt=="time")
|
+ if(tInstruction.txt=="time")
|
||||||
+ {
|
+ {
|
||||||
+--- HMI/n2t-out/pageStartup.txt 2022-05-21 11:46:43.733351142 +0000
|
+--- HMI/n2t-out/pageStartup.txt 2022-05-21 12:30:15.820142077 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-21 11:46:44.281345162 +0000
|
++++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
+@@ -152,7 +152,7 @@
|
+@@ -152,7 +152,7 @@
|
||||||
+ Disable release event after dragging: 0
|
+ Disable release event after dragging: 0
|
||||||
+ Send Component ID : disabled
|
+ Send Component ID : disabled
|
||||||
@@ -238,8 +238,8 @@
|
|||||||
+ // end of user code
|
+ // end of user code
|
||||||
+ udelete payloadLength-1
|
+ udelete payloadLength-1
|
||||||
+diff -bur HMI/n2t-out/popupLight.txt HMI/US/portrait/n2t-out/popupLight.txt
|
+diff -bur HMI/n2t-out/popupLight.txt HMI/US/portrait/n2t-out/popupLight.txt
|
||||||
+--- HMI/n2t-out/popupLight.txt 2022-05-21 11:46:43.733351142 +0000
|
+--- HMI/n2t-out/popupLight.txt 2022-05-21 12:30:15.824142110 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/popupLight.txt 2022-05-21 11:46:44.281345162 +0000
|
++++ HMI/US/portrait/n2t-out/popupLight.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
+@@ -618,10 +618,6 @@
|
+@@ -618,10 +618,6 @@
|
||||||
+ {
|
+ {
|
||||||
+ page cardAlarm
|
+ page cardAlarm
|
||||||
@@ -252,8 +252,8 @@
|
|||||||
+ // end of user code
|
+ // end of user code
|
||||||
+ udelete payloadLength-1
|
+ udelete payloadLength-1
|
||||||
+diff -bur HMI/n2t-out/popupNotify.txt HMI/US/portrait/n2t-out/popupNotify.txt
|
+diff -bur HMI/n2t-out/popupNotify.txt HMI/US/portrait/n2t-out/popupNotify.txt
|
||||||
+--- HMI/n2t-out/popupNotify.txt 2022-05-21 11:46:43.733351142 +0000
|
+--- HMI/n2t-out/popupNotify.txt 2022-05-21 12:30:15.824142110 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/popupNotify.txt 2022-05-21 11:46:44.281345162 +0000
|
++++ HMI/US/portrait/n2t-out/popupNotify.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
+@@ -381,10 +381,6 @@
|
+@@ -381,10 +381,6 @@
|
||||||
+ {
|
+ {
|
||||||
+ page cardAlarm
|
+ page cardAlarm
|
||||||
@@ -266,8 +266,8 @@
|
|||||||
+ // end of user code
|
+ // end of user code
|
||||||
+ udelete payloadLength-1
|
+ udelete payloadLength-1
|
||||||
+diff -bur HMI/n2t-out/popupShutter.txt HMI/US/portrait/n2t-out/popupShutter.txt
|
+diff -bur HMI/n2t-out/popupShutter.txt HMI/US/portrait/n2t-out/popupShutter.txt
|
||||||
+--- HMI/n2t-out/popupShutter.txt 2022-05-21 11:46:43.733351142 +0000
|
+--- HMI/n2t-out/popupShutter.txt 2022-05-21 12:30:15.820142077 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/popupShutter.txt 2022-05-21 11:46:44.281345162 +0000
|
++++ HMI/US/portrait/n2t-out/popupShutter.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
+@@ -422,10 +422,6 @@
|
+@@ -422,10 +422,6 @@
|
||||||
+ {
|
+ {
|
||||||
+ page cardAlarm
|
+ page cardAlarm
|
||||||
@@ -280,8 +280,8 @@
|
|||||||
+ // end of user code
|
+ // end of user code
|
||||||
+ udelete payloadLength-1
|
+ udelete payloadLength-1
|
||||||
+diff -bur HMI/n2t-out/screensaver.txt HMI/US/portrait/n2t-out/screensaver.txt
|
+diff -bur HMI/n2t-out/screensaver.txt HMI/US/portrait/n2t-out/screensaver.txt
|
||||||
+--- HMI/n2t-out/screensaver.txt 2022-05-21 11:46:43.733351142 +0000
|
+--- HMI/n2t-out/screensaver.txt 2022-05-21 12:30:15.824142110 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/screensaver.txt 2022-05-21 11:46:44.281345162 +0000
|
++++ HMI/US/portrait/n2t-out/screensaver.txt 2022-05-21 12:30:16.268145779 +0000
|
||||||
+@@ -607,10 +607,6 @@
|
+@@ -607,10 +607,6 @@
|
||||||
+ {
|
+ {
|
||||||
+ page cardAlarm
|
+ page cardAlarm
|
||||||
|
|||||||
Reference in New Issue
Block a user