mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-17 10:27:00 +01:00
edge swipe (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
6e268674ae
commit
2968bd6c0b
@@ -1,6 +1,6 @@
|
|||||||
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-29 10:48:56.237095075 +0000
|
--- HMI/n2t-out/Program.s.txt 2022-05-29 11:04:58.994702886 +0000
|
||||||
+++ HMI/US/landscape/n2t-out/Program.s.txt 2022-05-29 10:48:57.129101860 +0000
|
+++ HMI/US/landscape/n2t-out/Program.s.txt 2022-05-29 11:04:59.930701874 +0000
|
||||||
@@ -11,6 +11,4 @@
|
@@ -11,6 +11,4 @@
|
||||||
// dim value
|
// dim value
|
||||||
int dimValue=40
|
int dimValue=40
|
||||||
@@ -9,8 +9,8 @@ diff -bur HMI/n2t-out/Program.s.txt HMI/US/landscape/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/cardGrid.txt HMI/US/landscape/n2t-out/cardGrid.txt
|
diff -bur HMI/n2t-out/cardGrid.txt HMI/US/landscape/n2t-out/cardGrid.txt
|
||||||
--- HMI/n2t-out/cardGrid.txt 2022-05-29 10:48:56.237095075 +0000
|
--- HMI/n2t-out/cardGrid.txt 2022-05-29 11:04:58.994702886 +0000
|
||||||
+++ HMI/US/landscape/n2t-out/cardGrid.txt 2022-05-29 10:48:57.129101860 +0000
|
+++ HMI/US/landscape/n2t-out/cardGrid.txt 2022-05-29 11:04:59.930701874 +0000
|
||||||
@@ -531,7 +531,24 @@
|
@@ -531,7 +531,24 @@
|
||||||
|
|
||||||
Events
|
Events
|
||||||
@@ -120,9 +120,87 @@ diff -bur HMI/n2t-out/cardGrid.txt HMI/US/landscape/n2t-out/cardGrid.txt
|
|||||||
bNext.txt="î³"
|
bNext.txt="î³"
|
||||||
}
|
}
|
||||||
// get Type
|
// get Type
|
||||||
|
diff -bur HMI/n2t-out/cardMedia.txt HMI/US/landscape/n2t-out/cardMedia.txt
|
||||||
|
--- HMI/n2t-out/cardMedia.txt 2022-05-29 11:04:58.994702886 +0000
|
||||||
|
+++ HMI/US/landscape/n2t-out/cardMedia.txt 2022-05-29 11:04:59.930701874 +0000
|
||||||
|
@@ -465,7 +465,24 @@
|
||||||
|
|
||||||
|
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
|
||||||
|
@@ -476,7 +493,24 @@
|
||||||
|
|
||||||
|
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
|
||||||
|
@@ -487,7 +521,24 @@
|
||||||
|
|
||||||
|
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
|
||||||
diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||||
--- HMI/n2t-out/cardThermo.txt 2022-05-29 10:48:56.237095075 +0000
|
--- HMI/n2t-out/cardThermo.txt 2022-05-29 11:04:58.998702881 +0000
|
||||||
+++ HMI/US/landscape/n2t-out/cardThermo.txt 2022-05-29 10:48:57.129101860 +0000
|
+++ HMI/US/landscape/n2t-out/cardThermo.txt 2022-05-29 11:04:59.930701874 +0000
|
||||||
@@ -804,7 +804,24 @@
|
@@ -804,7 +804,24 @@
|
||||||
|
|
||||||
Events
|
Events
|
||||||
@@ -233,8 +311,8 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
|||||||
}
|
}
|
||||||
//entity name
|
//entity name
|
||||||
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-29 10:48:56.237095075 +0000
|
--- HMI/n2t-out/pageStartup.txt 2022-05-29 11:04:58.994702886 +0000
|
||||||
+++ HMI/US/landscape/n2t-out/pageStartup.txt 2022-05-29 10:48:57.129101860 +0000
|
+++ HMI/US/landscape/n2t-out/pageStartup.txt 2022-05-29 11:04:59.930701874 +0000
|
||||||
@@ -177,7 +177,7 @@
|
@@ -177,7 +177,7 @@
|
||||||
recmod=1
|
recmod=1
|
||||||
bauds=115200
|
bauds=115200
|
||||||
|
|||||||
@@ -1013,24 +1013,7 @@ Hotspot mSwipeNext
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bNext,1
|
||||||
//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
|
Hotspot mSwipeUp
|
||||||
Attributes
|
Attributes
|
||||||
@@ -1050,24 +1033,7 @@ Hotspot mSwipeUp
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Hotspot mSwipePrev
|
||||||
Attributes
|
Attributes
|
||||||
@@ -1087,24 +1053,7 @@ Hotspot mSwipePrev
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
@@ -1168,25 +1117,33 @@ Timer tmSerial
|
|||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,1
|
||||||
|
tsw mSwipeUp,0
|
||||||
bPrev.txt="î°"
|
bPrev.txt="î°"
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="2")
|
if(tTmp.txt=="2")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,1
|
||||||
bPrev.txt="î¶"
|
bPrev.txt="î¶"
|
||||||
}
|
}
|
||||||
spstr tId.txt,tTmp.txt,"|",1
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bNext,0
|
vis bNext,0
|
||||||
|
tsw mSwipeNext,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bNext,1
|
vis bNext,1
|
||||||
|
tsw mSwipeNext,1
|
||||||
bNext.txt="î³"
|
bNext.txt="î³"
|
||||||
}
|
}
|
||||||
//text arm1
|
//text arm1
|
||||||
|
|||||||
@@ -1050,25 +1050,33 @@ Timer tmSerial
|
|||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,1
|
||||||
|
tsw mSwipeUp,0
|
||||||
bPrev.txt="î°"
|
bPrev.txt="î°"
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="2")
|
if(tTmp.txt=="2")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,1
|
||||||
bPrev.txt="î¶"
|
bPrev.txt="î¶"
|
||||||
}
|
}
|
||||||
spstr tId.txt,tTmp.txt,"|",1
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bNext,0
|
vis bNext,0
|
||||||
|
tsw mSwipeNext,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bNext,1
|
vis bNext,1
|
||||||
|
tsw mSwipeNext,1
|
||||||
bNext.txt="î³"
|
bNext.txt="î³"
|
||||||
}
|
}
|
||||||
//entity name
|
//entity name
|
||||||
|
|||||||
@@ -597,24 +597,7 @@ Hotspot mSwipeNext
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bNext,1
|
||||||
//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
|
Hotspot mSwipeUp
|
||||||
Attributes
|
Attributes
|
||||||
@@ -634,24 +617,7 @@ Hotspot mSwipeUp
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Hotspot mSwipePrev
|
||||||
Attributes
|
Attributes
|
||||||
@@ -671,24 +637,7 @@ Hotspot mSwipePrev
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
@@ -753,25 +702,33 @@ Timer tmSerial
|
|||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,1
|
||||||
|
tsw mSwipeUp,0
|
||||||
bPrev.txt="î°"
|
bPrev.txt="î°"
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="2")
|
if(tTmp.txt=="2")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,1
|
||||||
bPrev.txt="î¶"
|
bPrev.txt="î¶"
|
||||||
}
|
}
|
||||||
spstr tId.txt,tTmp.txt,"|",1
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bNext,0
|
vis bNext,0
|
||||||
|
tsw mSwipeNext,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bNext,1
|
vis bNext,1
|
||||||
|
tsw mSwipeNext,1
|
||||||
bNext.txt="î³"
|
bNext.txt="î³"
|
||||||
}
|
}
|
||||||
//text qrcode
|
//text qrcode
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ pageStartup
|
|||||||
115 Unique line(s) of event code
|
115 Unique line(s) of event code
|
||||||
cardAlarm
|
cardAlarm
|
||||||
38 Component(s)
|
38 Component(s)
|
||||||
364 Line(s) of event code
|
360 Line(s) of event code
|
||||||
224 Unique line(s) of event code
|
226 Unique line(s) of event code
|
||||||
cardGrid
|
cardGrid
|
||||||
42 Component(s)
|
42 Component(s)
|
||||||
439 Line(s) of event code
|
439 Line(s) of event code
|
||||||
@@ -32,16 +32,16 @@ popupShutter
|
|||||||
138 Unique line(s) of event code
|
138 Unique line(s) of event code
|
||||||
cardQR
|
cardQR
|
||||||
30 Component(s)
|
30 Component(s)
|
||||||
363 Line(s) of event code
|
359 Line(s) of event code
|
||||||
207 Unique line(s) of event code
|
209 Unique line(s) of event code
|
||||||
popupLight
|
popupLight
|
||||||
27 Component(s)
|
27 Component(s)
|
||||||
348 Line(s) of event code
|
348 Line(s) of event code
|
||||||
188 Unique line(s) of event code
|
188 Unique line(s) of event code
|
||||||
cardMedia
|
cardMedia
|
||||||
33 Component(s)
|
33 Component(s)
|
||||||
350 Line(s) of event code
|
358 Line(s) of event code
|
||||||
179 Unique line(s) of event code
|
185 Unique line(s) of event code
|
||||||
cardThermo
|
cardThermo
|
||||||
56 Component(s)
|
56 Component(s)
|
||||||
546 Line(s) of event code
|
546 Line(s) of event code
|
||||||
|
|||||||
@@ -475,24 +475,7 @@ Hotspot mSwipeNext
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bNext,1
|
||||||
//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
|
Hotspot mSwipeUp
|
||||||
Attributes
|
Attributes
|
||||||
@@ -503,24 +486,7 @@ Hotspot mSwipeUp
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Hotspot mSwipePrev
|
||||||
Attributes
|
Attributes
|
||||||
@@ -531,24 +497,7 @@ Hotspot mSwipePrev
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
@@ -611,25 +560,33 @@ Timer tmSerial
|
|||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,1
|
||||||
|
tsw mSwipeUp,0
|
||||||
bPrev.txt="î°"
|
bPrev.txt="î°"
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="2")
|
if(tTmp.txt=="2")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,1
|
||||||
bPrev.txt="î¶"
|
bPrev.txt="î¶"
|
||||||
}
|
}
|
||||||
spstr tId.txt,tTmp.txt,"|",1
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bNext,0
|
vis bNext,0
|
||||||
|
tsw mSwipeNext,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bNext,1
|
vis bNext,1
|
||||||
|
tsw mSwipeNext,1
|
||||||
bNext.txt="î³"
|
bNext.txt="î³"
|
||||||
}
|
}
|
||||||
//text arm1
|
//text arm1
|
||||||
|
|||||||
@@ -601,25 +601,33 @@ Timer tmSerial
|
|||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,1
|
||||||
|
tsw mSwipeUp,0
|
||||||
bPrev.txt="î°"
|
bPrev.txt="î°"
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="2")
|
if(tTmp.txt=="2")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,1
|
||||||
bPrev.txt="î¶"
|
bPrev.txt="î¶"
|
||||||
}
|
}
|
||||||
spstr tId.txt,tTmp.txt,"|",1
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bNext,0
|
vis bNext,0
|
||||||
|
tsw mSwipeNext,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bNext,1
|
vis bNext,1
|
||||||
|
tsw mSwipeNext,1
|
||||||
bNext.txt="î³"
|
bNext.txt="î³"
|
||||||
}
|
}
|
||||||
//entity name
|
//entity name
|
||||||
|
|||||||
@@ -326,24 +326,7 @@ Hotspot mSwipeNext
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bNext,1
|
||||||
//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
|
Hotspot mSwipeUp
|
||||||
Attributes
|
Attributes
|
||||||
@@ -354,24 +337,7 @@ Hotspot mSwipeUp
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Hotspot mSwipePrev
|
||||||
Attributes
|
Attributes
|
||||||
@@ -382,24 +348,7 @@ Hotspot mSwipePrev
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
@@ -463,25 +412,33 @@ Timer tmSerial
|
|||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,1
|
||||||
|
tsw mSwipeUp,0
|
||||||
bPrev.txt="î°"
|
bPrev.txt="î°"
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="2")
|
if(tTmp.txt=="2")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,1
|
||||||
bPrev.txt="î¶"
|
bPrev.txt="î¶"
|
||||||
}
|
}
|
||||||
spstr tId.txt,tTmp.txt,"|",1
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bNext,0
|
vis bNext,0
|
||||||
|
tsw mSwipeNext,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bNext,1
|
vis bNext,1
|
||||||
|
tsw mSwipeNext,1
|
||||||
bNext.txt="î³"
|
bNext.txt="î³"
|
||||||
}
|
}
|
||||||
//text qrcode
|
//text qrcode
|
||||||
|
|||||||
@@ -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-29 10:48:56.237095075 +0000
|
--- HMI/n2t-out/Program.s.txt 2022-05-29 11:04:58.994702886 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-29 10:48:56.665098330 +0000
|
+++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-29 11:04:59.430702414 +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/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-29 10:48:56.237095075 +0000
|
--- HMI/n2t-out/cardEntities.txt 2022-05-29 11:04:58.994702886 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-29 10:48:56.665098330 +0000
|
+++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-29 11:04:59.430702414 +0000
|
||||||
@@ -62,6 +62,16 @@
|
@@ -62,6 +62,16 @@
|
||||||
vis bText4,0
|
vis bText4,0
|
||||||
vis hSlider4,0
|
vis hSlider4,0
|
||||||
@@ -468,84 +468,9 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
|||||||
if(tInstruction.txt=="pageType")
|
if(tInstruction.txt=="pageType")
|
||||||
{
|
{
|
||||||
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-29 10:48:56.237095075 +0000
|
--- HMI/n2t-out/cardGrid.txt 2022-05-29 11:04:58.994702886 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/cardGrid.txt 2022-05-29 10:48:56.665098330 +0000
|
+++ HMI/US/portrait/n2t-out/cardGrid.txt 2022-05-29 11:04:59.430702414 +0000
|
||||||
@@ -531,7 +531,24 @@
|
@@ -616,33 +616,25 @@
|
||||||
|
|
||||||
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
|
|
||||||
@@ -542,7 +559,24 @@
|
|
||||||
|
|
||||||
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
|
|
||||||
@@ -553,7 +587,24 @@
|
|
||||||
|
|
||||||
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
|
|
||||||
@@ -616,33 +667,25 @@
|
|
||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
@@ -580,8 +505,8 @@ diff -bur HMI/n2t-out/cardGrid.txt HMI/US/portrait/n2t-out/cardGrid.txt
|
|||||||
}
|
}
|
||||||
// get Type
|
// get Type
|
||||||
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-29 10:48:56.237095075 +0000
|
--- HMI/n2t-out/cardQR.txt 2022-05-29 11:04:58.994702886 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/cardQR.txt 2022-05-29 10:48:56.665098330 +0000
|
+++ HMI/US/portrait/n2t-out/cardQR.txt 2022-05-29 11:04:59.430702414 +0000
|
||||||
@@ -34,7 +34,7 @@
|
@@ -34,7 +34,7 @@
|
||||||
Attributes
|
Attributes
|
||||||
Scope : local
|
Scope : local
|
||||||
@@ -592,84 +517,9 @@ diff -bur HMI/n2t-out/cardQR.txt HMI/US/portrait/n2t-out/cardQR.txt
|
|||||||
Variable (string) entn
|
Variable (string) entn
|
||||||
Attributes
|
Attributes
|
||||||
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-29 10:48:56.237095075 +0000
|
--- HMI/n2t-out/cardThermo.txt 2022-05-29 11:04:58.998702881 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/cardThermo.txt 2022-05-29 10:48:56.669098361 +0000
|
+++ HMI/US/portrait/n2t-out/cardThermo.txt 2022-05-29 11:04:59.430702414 +0000
|
||||||
@@ -804,7 +804,24 @@
|
@@ -889,33 +889,25 @@
|
||||||
|
|
||||||
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
|
|
||||||
@@ -815,7 +832,24 @@
|
|
||||||
|
|
||||||
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
|
|
||||||
@@ -826,7 +860,24 @@
|
|
||||||
|
|
||||||
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
|
|
||||||
@@ -889,33 +940,25 @@
|
|
||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
@@ -704,8 +554,8 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/portrait/n2t-out/cardThermo.txt
|
|||||||
}
|
}
|
||||||
//entity name
|
//entity name
|
||||||
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-29 10:48:56.237095075 +0000
|
--- HMI/n2t-out/pageStartup.txt 2022-05-29 11:04:58.994702886 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-29 10:48:56.665098330 +0000
|
+++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-29 11:04:59.430702414 +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
|
||||||
@@ -725,8 +575,8 @@ diff -bur HMI/n2t-out/pageStartup.txt HMI/US/portrait/n2t-out/pageStartup.txt
|
|||||||
btlen tSend.txt,sys0
|
btlen tSend.txt,sys0
|
||||||
crcrest 1,0xffff // reset CRC
|
crcrest 1,0xffff // reset CRC
|
||||||
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-29 10:48:56.237095075 +0000
|
--- HMI/n2t-out/screensaver.txt 2022-05-29 11:04:58.994702886 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/screensaver.txt 2022-05-29 10:48:56.665098330 +0000
|
+++ HMI/US/portrait/n2t-out/screensaver.txt 2022-05-29 11:04:59.430702414 +0000
|
||||||
@@ -471,22 +471,6 @@
|
@@ -471,22 +471,6 @@
|
||||||
vis tMainIconAlt,1
|
vis tMainIconAlt,1
|
||||||
vis tMRIcon,1
|
vis tMRIcon,1
|
||||||
|
|||||||
@@ -1,88 +1,13 @@
|
|||||||
+++ HMI/US/portrait/diff-eu-version.txt 2022-05-29 10:48:56.685098482 +0000
|
+++ HMI/US/portrait/diff-eu-version.txt 2022-05-29 11:04:59.486702354 +0000
|
||||||
+--- HMI/n2t-out/Program.s.txt 2022-05-29 10:48:56.237095075 +0000
|
+--- HMI/n2t-out/Program.s.txt 2022-05-29 11:04:58.994702886 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-29 10:48:56.665098330 +0000
|
++++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-29 11:04:59.430702414 +0000
|
||||||
+--- HMI/n2t-out/cardEntities.txt 2022-05-29 10:48:56.237095075 +0000
|
+--- HMI/n2t-out/cardEntities.txt 2022-05-29 11:04:58.994702886 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-29 10:48:56.665098330 +0000
|
++++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-29 11:04:59.430702414 +0000
|
||||||
+@@ -1849,6 +2077,169 @@
|
+@@ -1849,6 +2077,169 @@
|
||||||
+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-29 10:48:56.237095075 +0000
|
+--- HMI/n2t-out/cardGrid.txt 2022-05-29 11:04:58.994702886 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/cardGrid.txt 2022-05-29 10:48:56.665098330 +0000
|
++++ HMI/US/portrait/n2t-out/cardGrid.txt 2022-05-29 11:04:59.430702414 +0000
|
||||||
+@@ -531,7 +531,24 @@
|
+@@ -616,33 +616,25 @@
|
||||||
+
|
|
||||||
+ 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
|
|
||||||
+@@ -542,7 +559,24 @@
|
|
||||||
+
|
|
||||||
+ 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
|
|
||||||
+@@ -553,7 +587,24 @@
|
|
||||||
+
|
|
||||||
+ 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
|
|
||||||
+@@ -616,33 +667,25 @@
|
|
||||||
+ if(tTmp.txt=="0")
|
+ if(tTmp.txt=="0")
|
||||||
+ {
|
+ {
|
||||||
+ vis bPrev,0
|
+ vis bPrev,0
|
||||||
@@ -116,87 +41,12 @@
|
|||||||
+ bNext.txt="î³"
|
+ bNext.txt="î³"
|
||||||
+ }
|
+ }
|
||||||
+ // get Type
|
+ // get Type
|
||||||
+--- HMI/n2t-out/cardQR.txt 2022-05-29 10:48:56.237095075 +0000
|
+--- HMI/n2t-out/cardQR.txt 2022-05-29 11:04:58.994702886 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/cardQR.txt 2022-05-29 10:48:56.665098330 +0000
|
++++ HMI/US/portrait/n2t-out/cardQR.txt 2022-05-29 11:04:59.430702414 +0000
|
||||||
+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-29 10:48:56.237095075 +0000
|
+--- HMI/n2t-out/cardThermo.txt 2022-05-29 11:04:58.998702881 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/cardThermo.txt 2022-05-29 10:48:56.669098361 +0000
|
++++ HMI/US/portrait/n2t-out/cardThermo.txt 2022-05-29 11:04:59.430702414 +0000
|
||||||
+@@ -804,7 +804,24 @@
|
+@@ -889,33 +889,25 @@
|
||||||
+
|
|
||||||
+ 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
|
|
||||||
+@@ -815,7 +832,24 @@
|
|
||||||
+
|
|
||||||
+ 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
|
|
||||||
+@@ -826,7 +860,24 @@
|
|
||||||
+
|
|
||||||
+ 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
|
|
||||||
+@@ -889,33 +940,25 @@
|
|
||||||
+ if(tTmp.txt=="0")
|
+ if(tTmp.txt=="0")
|
||||||
+ {
|
+ {
|
||||||
+ vis bPrev,0
|
+ vis bPrev,0
|
||||||
@@ -230,8 +80,8 @@
|
|||||||
+ bNext.txt="î³"
|
+ bNext.txt="î³"
|
||||||
+ }
|
+ }
|
||||||
+ //entity name
|
+ //entity name
|
||||||
+--- HMI/n2t-out/pageStartup.txt 2022-05-29 10:48:56.237095075 +0000
|
+--- HMI/n2t-out/pageStartup.txt 2022-05-29 11:04:58.994702886 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-29 10:48:56.665098330 +0000
|
++++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-29 11:04:59.430702414 +0000
|
||||||
+--- HMI/n2t-out/screensaver.txt 2022-05-29 10:48:56.237095075 +0000
|
+--- HMI/n2t-out/screensaver.txt 2022-05-29 11:04:58.994702886 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/screensaver.txt 2022-05-29 10:48:56.665098330 +0000
|
++++ HMI/US/portrait/n2t-out/screensaver.txt 2022-05-29 11:04:59.430702414 +0000
|
||||||
+@@ -471,22 +471,6 @@
|
+@@ -471,22 +471,6 @@
|
||||||
|
|||||||
@@ -1013,24 +1013,7 @@ Hotspot mSwipeNext
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bNext,1
|
||||||
//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
|
Hotspot mSwipeUp
|
||||||
Attributes
|
Attributes
|
||||||
@@ -1050,24 +1033,7 @@ Hotspot mSwipeUp
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Hotspot mSwipePrev
|
||||||
Attributes
|
Attributes
|
||||||
@@ -1087,24 +1053,7 @@ Hotspot mSwipePrev
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
@@ -1168,25 +1117,33 @@ Timer tmSerial
|
|||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,1
|
||||||
|
tsw mSwipeUp,0
|
||||||
bPrev.txt="î°"
|
bPrev.txt="î°"
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="2")
|
if(tTmp.txt=="2")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,1
|
||||||
bPrev.txt="î¶"
|
bPrev.txt="î¶"
|
||||||
}
|
}
|
||||||
spstr tId.txt,tTmp.txt,"|",1
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bNext,0
|
vis bNext,0
|
||||||
|
tsw mSwipeNext,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bNext,1
|
vis bNext,1
|
||||||
|
tsw mSwipeNext,1
|
||||||
bNext.txt="î³"
|
bNext.txt="î³"
|
||||||
}
|
}
|
||||||
//text arm1
|
//text arm1
|
||||||
|
|||||||
@@ -976,24 +976,7 @@ Hotspot mSwipeNext
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bNext,1
|
||||||
//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
|
Hotspot mSwipeUp
|
||||||
Attributes
|
Attributes
|
||||||
@@ -1013,24 +996,7 @@ Hotspot mSwipeUp
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Hotspot mSwipePrev
|
||||||
Attributes
|
Attributes
|
||||||
@@ -1050,24 +1016,7 @@ Hotspot mSwipePrev
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
|
|||||||
@@ -895,24 +895,7 @@ Hotspot mSwipeNext
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bNext,1
|
||||||
//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
|
Hotspot mSwipeUp
|
||||||
Attributes
|
Attributes
|
||||||
@@ -932,24 +915,7 @@ Hotspot mSwipeUp
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Hotspot mSwipePrev
|
||||||
Attributes
|
Attributes
|
||||||
@@ -969,24 +935,7 @@ Hotspot mSwipePrev
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
@@ -1050,25 +999,33 @@ Timer tmSerial
|
|||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,1
|
||||||
|
tsw mSwipeUp,0
|
||||||
bPrev.txt="î°"
|
bPrev.txt="î°"
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="2")
|
if(tTmp.txt=="2")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,1
|
||||||
bPrev.txt="î¶"
|
bPrev.txt="î¶"
|
||||||
}
|
}
|
||||||
spstr tId.txt,tTmp.txt,"|",1
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bNext,0
|
vis bNext,0
|
||||||
|
tsw mSwipeNext,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bNext,1
|
vis bNext,1
|
||||||
|
tsw mSwipeNext,1
|
||||||
bNext.txt="î³"
|
bNext.txt="î³"
|
||||||
}
|
}
|
||||||
//entity name
|
//entity name
|
||||||
|
|||||||
@@ -597,24 +597,7 @@ Hotspot mSwipeNext
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bNext,1
|
||||||
//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
|
Hotspot mSwipeUp
|
||||||
Attributes
|
Attributes
|
||||||
@@ -634,24 +617,7 @@ Hotspot mSwipeUp
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Hotspot mSwipePrev
|
||||||
Attributes
|
Attributes
|
||||||
@@ -671,24 +637,7 @@ Hotspot mSwipePrev
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
@@ -753,25 +702,33 @@ Timer tmSerial
|
|||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,1
|
||||||
|
tsw mSwipeUp,0
|
||||||
bPrev.txt="î°"
|
bPrev.txt="î°"
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="2")
|
if(tTmp.txt=="2")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,1
|
||||||
bPrev.txt="î¶"
|
bPrev.txt="î¶"
|
||||||
}
|
}
|
||||||
spstr tId.txt,tTmp.txt,"|",1
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bNext,0
|
vis bNext,0
|
||||||
|
tsw mSwipeNext,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bNext,1
|
vis bNext,1
|
||||||
|
tsw mSwipeNext,1
|
||||||
bNext.txt="î³"
|
bNext.txt="î³"
|
||||||
}
|
}
|
||||||
//text qrcode
|
//text qrcode
|
||||||
|
|||||||
@@ -1566,24 +1566,7 @@ Hotspot mSwipeNext
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bNext,1
|
||||||
//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
|
Hotspot mSwipeUp
|
||||||
Attributes
|
Attributes
|
||||||
@@ -1603,24 +1586,7 @@ Hotspot mSwipeUp
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Hotspot mSwipePrev
|
||||||
Attributes
|
Attributes
|
||||||
@@ -1640,24 +1606,7 @@ Hotspot mSwipePrev
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
|
|||||||
@@ -2,6 +2,10 @@ Program.s
|
|||||||
0 Component(s)
|
0 Component(s)
|
||||||
10 Line(s) of event code
|
10 Line(s) of event code
|
||||||
10 Unique line(s) of event code
|
10 Unique line(s) of event code
|
||||||
|
cardAlarm
|
||||||
|
38 Component(s)
|
||||||
|
360 Line(s) of event code
|
||||||
|
226 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
|
||||||
@@ -14,26 +18,26 @@ popupNotify
|
|||||||
17 Component(s)
|
17 Component(s)
|
||||||
200 Line(s) of event code
|
200 Line(s) of event code
|
||||||
125 Unique line(s) of event code
|
125 Unique line(s) of event code
|
||||||
cardGrid
|
|
||||||
42 Component(s)
|
|
||||||
439 Line(s) of event code
|
|
||||||
254 Unique line(s) of event code
|
|
||||||
popupLight
|
popupLight
|
||||||
27 Component(s)
|
27 Component(s)
|
||||||
348 Line(s) of event code
|
348 Line(s) of event code
|
||||||
188 Unique line(s) of event code
|
188 Unique line(s) of event code
|
||||||
|
cardGrid
|
||||||
|
42 Component(s)
|
||||||
|
427 Line(s) of event code
|
||||||
|
250 Unique line(s) of event code
|
||||||
|
cardThermo
|
||||||
|
56 Component(s)
|
||||||
|
534 Line(s) of event code
|
||||||
|
286 Unique line(s) of event code
|
||||||
cardQR
|
cardQR
|
||||||
30 Component(s)
|
30 Component(s)
|
||||||
363 Line(s) of event code
|
359 Line(s) of event code
|
||||||
207 Unique line(s) of event code
|
209 Unique line(s) of event code
|
||||||
cardAlarm
|
|
||||||
38 Component(s)
|
|
||||||
364 Line(s) of event code
|
|
||||||
224 Unique line(s) of event code
|
|
||||||
cardMedia
|
cardMedia
|
||||||
33 Component(s)
|
33 Component(s)
|
||||||
350 Line(s) of event code
|
346 Line(s) of event code
|
||||||
179 Unique line(s) of event code
|
181 Unique line(s) of event code
|
||||||
pageStartup
|
pageStartup
|
||||||
19 Component(s)
|
19 Component(s)
|
||||||
154 Line(s) of event code
|
154 Line(s) of event code
|
||||||
@@ -50,13 +54,9 @@ cardEntities
|
|||||||
77 Component(s)
|
77 Component(s)
|
||||||
1359 Line(s) of event code
|
1359 Line(s) of event code
|
||||||
578 Unique line(s) of event code
|
578 Unique line(s) of event code
|
||||||
cardThermo
|
|
||||||
56 Component(s)
|
|
||||||
546 Line(s) of event code
|
|
||||||
290 Unique line(s) of event code
|
|
||||||
|
|
||||||
Total
|
Total
|
||||||
13 Page(s)
|
13 Page(s)
|
||||||
416 Component(s)
|
416 Component(s)
|
||||||
4681 Line(s) of event code
|
4645 Line(s) of event code
|
||||||
1240 Unique line(s) of event code
|
1234 Unique line(s) of event code
|
||||||
|
|||||||
@@ -475,24 +475,7 @@ Hotspot mSwipeNext
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bNext,1
|
||||||
//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
|
Hotspot mSwipeUp
|
||||||
Attributes
|
Attributes
|
||||||
@@ -503,24 +486,7 @@ Hotspot mSwipeUp
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Hotspot mSwipePrev
|
||||||
Attributes
|
Attributes
|
||||||
@@ -531,24 +497,7 @@ Hotspot mSwipePrev
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
@@ -611,25 +560,33 @@ Timer tmSerial
|
|||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,1
|
||||||
|
tsw mSwipeUp,0
|
||||||
bPrev.txt="î°"
|
bPrev.txt="î°"
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="2")
|
if(tTmp.txt=="2")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,1
|
||||||
bPrev.txt="î¶"
|
bPrev.txt="î¶"
|
||||||
}
|
}
|
||||||
spstr tId.txt,tTmp.txt,"|",1
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bNext,0
|
vis bNext,0
|
||||||
|
tsw mSwipeNext,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bNext,1
|
vis bNext,1
|
||||||
|
tsw mSwipeNext,1
|
||||||
bNext.txt="î³"
|
bNext.txt="î³"
|
||||||
}
|
}
|
||||||
//text arm1
|
//text arm1
|
||||||
|
|||||||
@@ -531,24 +531,7 @@ Hotspot mSwipeNext
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bNext,1
|
||||||
//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
|
Hotspot mSwipeUp
|
||||||
Attributes
|
Attributes
|
||||||
@@ -559,24 +542,7 @@ Hotspot mSwipeUp
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Hotspot mSwipePrev
|
||||||
Attributes
|
Attributes
|
||||||
@@ -587,24 +553,7 @@ Hotspot mSwipePrev
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
|
|||||||
@@ -465,24 +465,7 @@ Hotspot mSwipeNext
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bNext,1
|
||||||
//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
|
Hotspot mSwipeUp
|
||||||
Attributes
|
Attributes
|
||||||
@@ -493,24 +476,7 @@ Hotspot mSwipeUp
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Hotspot mSwipePrev
|
||||||
Attributes
|
Attributes
|
||||||
@@ -521,24 +487,7 @@ Hotspot mSwipePrev
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
@@ -601,25 +550,33 @@ Timer tmSerial
|
|||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,1
|
||||||
|
tsw mSwipeUp,0
|
||||||
bPrev.txt="î°"
|
bPrev.txt="î°"
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="2")
|
if(tTmp.txt=="2")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,1
|
||||||
bPrev.txt="î¶"
|
bPrev.txt="î¶"
|
||||||
}
|
}
|
||||||
spstr tId.txt,tTmp.txt,"|",1
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bNext,0
|
vis bNext,0
|
||||||
|
tsw mSwipeNext,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bNext,1
|
vis bNext,1
|
||||||
|
tsw mSwipeNext,1
|
||||||
bNext.txt="î³"
|
bNext.txt="î³"
|
||||||
}
|
}
|
||||||
//entity name
|
//entity name
|
||||||
|
|||||||
@@ -326,24 +326,7 @@ Hotspot mSwipeNext
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bNext,1
|
||||||
//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
|
Hotspot mSwipeUp
|
||||||
Attributes
|
Attributes
|
||||||
@@ -354,24 +337,7 @@ Hotspot mSwipeUp
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Hotspot mSwipePrev
|
||||||
Attributes
|
Attributes
|
||||||
@@ -382,24 +348,7 @@ Hotspot mSwipePrev
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
@@ -463,25 +412,33 @@ Timer tmSerial
|
|||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,1
|
||||||
|
tsw mSwipeUp,0
|
||||||
bPrev.txt="î°"
|
bPrev.txt="î°"
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="2")
|
if(tTmp.txt=="2")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,1
|
||||||
bPrev.txt="î¶"
|
bPrev.txt="î¶"
|
||||||
}
|
}
|
||||||
spstr tId.txt,tTmp.txt,"|",1
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bNext,0
|
vis bNext,0
|
||||||
|
tsw mSwipeNext,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bNext,1
|
vis bNext,1
|
||||||
|
tsw mSwipeNext,1
|
||||||
bNext.txt="î³"
|
bNext.txt="î³"
|
||||||
}
|
}
|
||||||
//text qrcode
|
//text qrcode
|
||||||
|
|||||||
@@ -804,24 +804,7 @@ Hotspot mSwipeNext
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bNext,1
|
||||||
//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
|
Hotspot mSwipeUp
|
||||||
Attributes
|
Attributes
|
||||||
@@ -832,24 +815,7 @@ Hotspot mSwipeUp
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Hotspot mSwipePrev
|
||||||
Attributes
|
Attributes
|
||||||
@@ -860,24 +826,7 @@ Hotspot mSwipePrev
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
|
|||||||
@@ -1013,24 +1013,7 @@ Hotspot mSwipeNext
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bNext,1
|
||||||
//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
|
Hotspot mSwipeUp
|
||||||
Attributes
|
Attributes
|
||||||
@@ -1050,24 +1033,7 @@ Hotspot mSwipeUp
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Hotspot mSwipePrev
|
||||||
Attributes
|
Attributes
|
||||||
@@ -1087,24 +1053,7 @@ Hotspot mSwipePrev
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
@@ -1168,25 +1117,33 @@ Timer tmSerial
|
|||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,1
|
||||||
|
tsw mSwipeUp,0
|
||||||
bPrev.txt="î°"
|
bPrev.txt="î°"
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="2")
|
if(tTmp.txt=="2")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,1
|
||||||
bPrev.txt="î¶"
|
bPrev.txt="î¶"
|
||||||
}
|
}
|
||||||
spstr tId.txt,tTmp.txt,"|",1
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bNext,0
|
vis bNext,0
|
||||||
|
tsw mSwipeNext,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bNext,1
|
vis bNext,1
|
||||||
|
tsw mSwipeNext,1
|
||||||
bNext.txt="î³"
|
bNext.txt="î³"
|
||||||
}
|
}
|
||||||
//text arm1
|
//text arm1
|
||||||
|
|||||||
@@ -895,24 +895,7 @@ Hotspot mSwipeNext
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bNext,1
|
||||||
//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
|
Hotspot mSwipeUp
|
||||||
Attributes
|
Attributes
|
||||||
@@ -932,24 +915,7 @@ Hotspot mSwipeUp
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Hotspot mSwipePrev
|
||||||
Attributes
|
Attributes
|
||||||
@@ -969,24 +935,7 @@ Hotspot mSwipePrev
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
@@ -1050,25 +999,33 @@ Timer tmSerial
|
|||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,1
|
||||||
|
tsw mSwipeUp,0
|
||||||
bPrev.txt="î°"
|
bPrev.txt="î°"
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="2")
|
if(tTmp.txt=="2")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,1
|
||||||
bPrev.txt="î¶"
|
bPrev.txt="î¶"
|
||||||
}
|
}
|
||||||
spstr tId.txt,tTmp.txt,"|",1
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bNext,0
|
vis bNext,0
|
||||||
|
tsw mSwipeNext,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bNext,1
|
vis bNext,1
|
||||||
|
tsw mSwipeNext,1
|
||||||
bNext.txt="î³"
|
bNext.txt="î³"
|
||||||
}
|
}
|
||||||
//entity name
|
//entity name
|
||||||
|
|||||||
@@ -597,24 +597,7 @@ Hotspot mSwipeNext
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bNext,1
|
||||||
//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
|
Hotspot mSwipeUp
|
||||||
Attributes
|
Attributes
|
||||||
@@ -634,24 +617,7 @@ Hotspot mSwipeUp
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Hotspot mSwipePrev
|
||||||
Attributes
|
Attributes
|
||||||
@@ -671,24 +637,7 @@ Hotspot mSwipePrev
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
@@ -753,25 +702,33 @@ Timer tmSerial
|
|||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,1
|
||||||
|
tsw mSwipeUp,0
|
||||||
bPrev.txt="î°"
|
bPrev.txt="î°"
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="2")
|
if(tTmp.txt=="2")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,1
|
||||||
bPrev.txt="î¶"
|
bPrev.txt="î¶"
|
||||||
}
|
}
|
||||||
spstr tId.txt,tTmp.txt,"|",1
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bNext,0
|
vis bNext,0
|
||||||
|
tsw mSwipeNext,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bNext,1
|
vis bNext,1
|
||||||
|
tsw mSwipeNext,1
|
||||||
bNext.txt="î³"
|
bNext.txt="î³"
|
||||||
}
|
}
|
||||||
//text qrcode
|
//text qrcode
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ pageStartup
|
|||||||
115 Unique line(s) of event code
|
115 Unique line(s) of event code
|
||||||
cardMedia
|
cardMedia
|
||||||
33 Component(s)
|
33 Component(s)
|
||||||
350 Line(s) of event code
|
346 Line(s) of event code
|
||||||
179 Unique line(s) of event code
|
181 Unique line(s) of event code
|
||||||
popupNotify
|
popupNotify
|
||||||
17 Component(s)
|
17 Component(s)
|
||||||
200 Line(s) of event code
|
200 Line(s) of event code
|
||||||
@@ -32,8 +32,8 @@ cardEntities
|
|||||||
493 Unique line(s) of event code
|
493 Unique line(s) of event code
|
||||||
cardQR
|
cardQR
|
||||||
30 Component(s)
|
30 Component(s)
|
||||||
363 Line(s) of event code
|
359 Line(s) of event code
|
||||||
207 Unique line(s) of event code
|
209 Unique line(s) of event code
|
||||||
popupShutter
|
popupShutter
|
||||||
20 Component(s)
|
20 Component(s)
|
||||||
244 Line(s) of event code
|
244 Line(s) of event code
|
||||||
@@ -48,8 +48,8 @@ cardGrid
|
|||||||
256 Unique line(s) of event code
|
256 Unique line(s) of event code
|
||||||
cardAlarm
|
cardAlarm
|
||||||
38 Component(s)
|
38 Component(s)
|
||||||
364 Line(s) of event code
|
360 Line(s) of event code
|
||||||
224 Unique line(s) of event code
|
226 Unique line(s) of event code
|
||||||
cardThermo
|
cardThermo
|
||||||
56 Component(s)
|
56 Component(s)
|
||||||
542 Line(s) of event code
|
542 Line(s) of event code
|
||||||
@@ -58,5 +58,5 @@ cardThermo
|
|||||||
Total
|
Total
|
||||||
13 Page(s)
|
13 Page(s)
|
||||||
404 Component(s)
|
404 Component(s)
|
||||||
4459 Line(s) of event code
|
4447 Line(s) of event code
|
||||||
1184 Unique line(s) of event code
|
1178 Unique line(s) of event code
|
||||||
|
|||||||
@@ -475,24 +475,7 @@ Hotspot mSwipeNext
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bNext,1
|
||||||
//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
|
Hotspot mSwipeUp
|
||||||
Attributes
|
Attributes
|
||||||
@@ -503,24 +486,7 @@ Hotspot mSwipeUp
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Hotspot mSwipePrev
|
||||||
Attributes
|
Attributes
|
||||||
@@ -531,24 +497,7 @@ Hotspot mSwipePrev
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
@@ -611,25 +560,33 @@ Timer tmSerial
|
|||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,1
|
||||||
|
tsw mSwipeUp,0
|
||||||
bPrev.txt="î°"
|
bPrev.txt="î°"
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="2")
|
if(tTmp.txt=="2")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,1
|
||||||
bPrev.txt="î¶"
|
bPrev.txt="î¶"
|
||||||
}
|
}
|
||||||
spstr tId.txt,tTmp.txt,"|",1
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bNext,0
|
vis bNext,0
|
||||||
|
tsw mSwipeNext,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bNext,1
|
vis bNext,1
|
||||||
|
tsw mSwipeNext,1
|
||||||
bNext.txt="î³"
|
bNext.txt="î³"
|
||||||
}
|
}
|
||||||
//text arm1
|
//text arm1
|
||||||
|
|||||||
@@ -465,24 +465,7 @@ Hotspot mSwipeNext
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bNext,1
|
||||||
//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
|
Hotspot mSwipeUp
|
||||||
Attributes
|
Attributes
|
||||||
@@ -493,24 +476,7 @@ Hotspot mSwipeUp
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Hotspot mSwipePrev
|
||||||
Attributes
|
Attributes
|
||||||
@@ -521,24 +487,7 @@ Hotspot mSwipePrev
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
@@ -601,25 +550,33 @@ Timer tmSerial
|
|||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,1
|
||||||
|
tsw mSwipeUp,0
|
||||||
bPrev.txt="î°"
|
bPrev.txt="î°"
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="2")
|
if(tTmp.txt=="2")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,1
|
||||||
bPrev.txt="î¶"
|
bPrev.txt="î¶"
|
||||||
}
|
}
|
||||||
spstr tId.txt,tTmp.txt,"|",1
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bNext,0
|
vis bNext,0
|
||||||
|
tsw mSwipeNext,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bNext,1
|
vis bNext,1
|
||||||
|
tsw mSwipeNext,1
|
||||||
bNext.txt="î³"
|
bNext.txt="î³"
|
||||||
}
|
}
|
||||||
//entity name
|
//entity name
|
||||||
|
|||||||
@@ -326,24 +326,7 @@ Hotspot mSwipeNext
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bNext,1
|
||||||
//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
|
Hotspot mSwipeUp
|
||||||
Attributes
|
Attributes
|
||||||
@@ -354,24 +337,7 @@ Hotspot mSwipeUp
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Hotspot mSwipePrev
|
||||||
Attributes
|
Attributes
|
||||||
@@ -382,24 +348,7 @@ Hotspot mSwipePrev
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
//This thin hotspot down the edge will intercept swipes
|
click bPrev,1
|
||||||
//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
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
@@ -463,25 +412,33 @@ Timer tmSerial
|
|||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,1
|
||||||
|
tsw mSwipeUp,0
|
||||||
bPrev.txt="î°"
|
bPrev.txt="î°"
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="2")
|
if(tTmp.txt=="2")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,1
|
||||||
bPrev.txt="î¶"
|
bPrev.txt="î¶"
|
||||||
}
|
}
|
||||||
spstr tId.txt,tTmp.txt,"|",1
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bNext,0
|
vis bNext,0
|
||||||
|
tsw mSwipeNext,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bNext,1
|
vis bNext,1
|
||||||
|
tsw mSwipeNext,1
|
||||||
bNext.txt="î³"
|
bNext.txt="î³"
|
||||||
}
|
}
|
||||||
//text qrcode
|
//text qrcode
|
||||||
|
|||||||
Reference in New Issue
Block a user