Merge branch 'sleepOverride-patch' of https://github.com/illuzn/nspanel-lovelace-ui into sleepOverride-patch

This commit is contained in:
illuzn
2022-05-30 14:22:44 +09:30
83 changed files with 3690 additions and 2413 deletions

View File

@@ -79,4 +79,4 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v4 - uses: stefanzweifel/git-auto-commit-action@v4
with: with:
commit_message: ${{ steps.last-commit-message.outputs.msg }} (add nextion2text) commit_message: ${{ steps.last-commit-message.outputs.msg }} (add nextion2text)
file_pattern: "**.txt" #file_pattern: "**.txt"

View File

@@ -185,7 +185,7 @@ The following message can be used to update the content on the cardEntities Page
`event,buttonPress2,internalNameEntity,colorTempSlider,50` `event,buttonPress2,internalNameEntity,colorTempSlider,50`
`event,buttonPress2,internalNameEntity,colorWheel,x|y` `event,buttonPress2,internalNameEntity,colorWheel,x|y|wh`
### popupShutter Page ### popupShutter Page

View File

@@ -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-28 08:26:23.480334206 +0000 --- HMI/n2t-out/Program.s.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/Program.s.txt 2022-05-28 08:26:24.560334500 +0000 +++ HMI/US/landscape/n2t-out/Program.s.txt 2022-05-29 21:20:55.900415426 +0000
@@ -11,6 +11,4 @@ @@ -11,6 +11,4 @@
// dim value // dim value
int dimValue=40 int dimValue=40
@@ -8,21 +8,96 @@ diff -bur HMI/n2t-out/Program.s.txt HMI/US/landscape/n2t-out/Program.s.txt
- // fix touch offset - // fix touch offset
- lcd_dev fffb 0002 0000 0020 - lcd_dev fffb 0002 0000 0020
page pageStartup page pageStartup
diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/landscape/n2t-out/cardAlarm.txt
--- HMI/n2t-out/cardAlarm.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/cardAlarm.txt 2022-05-29 21:20:55.904415457 +0000
@@ -683,10 +683,7 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
+ dim=dimValue
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/cardEntities.txt HMI/US/landscape/n2t-out/cardEntities.txt
--- HMI/n2t-out/cardEntities.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/cardEntities.txt 2022-05-29 21:20:55.904415457 +0000
@@ -1924,10 +1924,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/cardGrid.txt HMI/US/landscape/n2t-out/cardGrid.txt
--- HMI/n2t-out/cardGrid.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/cardGrid.txt 2022-05-29 21:20:55.904415457 +0000
@@ -846,10 +846,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/cardMedia.txt HMI/US/landscape/n2t-out/cardMedia.txt
--- HMI/n2t-out/cardMedia.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/cardMedia.txt 2022-05-29 21:20:55.904415457 +0000
@@ -635,10 +635,7 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
+ dim=dimValue
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/cardQR.txt HMI/US/landscape/n2t-out/cardQR.txt diff -bur HMI/n2t-out/cardQR.txt HMI/US/landscape/n2t-out/cardQR.txt
--- HMI/n2t-out/cardQR.txt 2022-05-28 08:26:23.480334206 +0000 --- HMI/n2t-out/cardQR.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/cardQR.txt 2022-05-28 08:26:24.564334501 +0000 +++ HMI/US/landscape/n2t-out/cardQR.txt 2022-05-29 21:20:55.904415457 +0000
@@ -34,7 +34,7 @@ @@ -581,10 +581,7 @@
Attributes // get value
Scope : local spstr strCommand.txt,tTmp.txt,"~",1
Text : covx tTmp.txt,dimValue,0,0
- Max. Text Size: 275 - // get value normal
+ Max. Text Size: 270 - spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
Variable (string) entn - dim=dimValueNormal
Attributes + dim=dimValue
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
--- HMI/n2t-out/cardThermo.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/cardThermo.txt 2022-05-29 21:20:55.904415457 +0000
@@ -1169,10 +1169,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{
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-28 08:26:23.480334206 +0000 --- HMI/n2t-out/pageStartup.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/pageStartup.txt 2022-05-28 08:26:24.564334501 +0000 +++ HMI/US/landscape/n2t-out/pageStartup.txt 2022-05-29 21:20:55.900415426 +0000
@@ -177,7 +177,7 @@ @@ -177,7 +177,7 @@
recmod=1 recmod=1
bauds=115200 bauds=115200
@@ -32,100 +107,69 @@ diff -bur HMI/n2t-out/pageStartup.txt HMI/US/landscape/n2t-out/pageStartup.txt
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
diff -bur HMI/n2t-out/popupLight.txt HMI/US/landscape/n2t-out/popupLight.txt @@ -273,10 +273,6 @@
--- HMI/n2t-out/popupLight.txt 2022-05-28 08:26:23.480334206 +0000 // get value
+++ HMI/US/landscape/n2t-out/popupLight.txt 2022-05-28 08:26:24.564334501 +0000 spstr strCommand.txt,tTmp.txt,"~",1
@@ -209,9 +209,6 @@ covx tTmp.txt,dimValue,0,0
sys0=sys0-pColorWheel.y - // get value normal
covx sys0,tTmp.txt,0,0 - spstr strCommand.txt,tTmp.txt,"~",2
tSend.txt+=tTmp.txt - covx tTmp.txt,dimValueNormal,0,0
- tSend.txt+="|" - dim=dimValueNormal
- covx pColorWheel.h,tTmp.txt,0,0
- tSend.txt+=tTmp.txt
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
diff -bur HMI/n2t-out/screensaver.txt HMI/US/landscape/n2t-out/screensaver.txt
--- HMI/n2t-out/screensaver.txt 2022-05-28 08:26:23.480334206 +0000
+++ HMI/US/landscape/n2t-out/screensaver.txt 2022-05-28 08:26:24.564334501 +0000
@@ -62,12 +62,6 @@
Text :
Max. Text Size: 50
-Variable (string) tSend
- Attributes
- Scope : local
- Text :
- Max. Text Size: 50
-
Text tTime
Attributes
Scope : local
@@ -88,6 +82,16 @@
Text : Tuesday, 08. March 2022
Max. Text Size : 35
+Text tSend
+ Attributes
+ Scope : local
+ Dragging : 0
+ Disable release event after dragging: 0
+ Send Component ID : disabled
+ Associated Keyboard : none
+ Text :
+ Max. Text Size : 50
+
Text tMainIcon
Attributes
Scope : local
@@ -308,26 +312,6 @@
Text :
Max. Text Size : 35
-Text tIcon1
- Attributes
- Scope : local
- Dragging : 0
- Disable release event after dragging: 0
- Send Component ID : disabled
- Associated Keyboard : none
- Text :
- Max. Text Size : 5
-
-Text tIcon2
- Attributes
- Scope : local
- Dragging : 0
- Disable release event after dragging: 0
- Send Component ID : disabled
- Associated Keyboard : none
- Text :
- Max. Text Size : 5
-
Picture p0
Attributes
Scope : local
@@ -490,14 +474,6 @@
} }
//tMR if(tInstruction.txt=="timeout")
spstr strCommand.txt,tMR.txt,"~",16 {
- //statusIcon1 diff -bur HMI/n2t-out/popupLight.txt HMI/US/landscape/n2t-out/popupLight.txt
- spstr strCommand.txt,tIcon1.txt,"~",17 --- HMI/n2t-out/popupLight.txt 2022-05-29 21:20:55.128409486 +0000
- spstr strCommand.txt,tTmp.txt,"~",18 +++ HMI/US/landscape/n2t-out/popupLight.txt 2022-05-29 21:20:55.904415457 +0000
- covx tTmp.txt,tIcon1.pco,0,0 @@ -560,10 +560,6 @@
- //statusIcon2 // get value
- spstr strCommand.txt,tIcon2.txt,"~",19 spstr strCommand.txt,tTmp.txt,"~",1
- spstr strCommand.txt,tTmp.txt,"~",20 covx tTmp.txt,dimValue,0,0
- covx tTmp.txt,tIcon2.pco,0,0 - // get value normal
} - spstr strCommand.txt,tTmp.txt,"~",2
if(tInstruction.txt=="color") - covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/popupNotify.txt HMI/US/landscape/n2t-out/popupNotify.txt
--- HMI/n2t-out/popupNotify.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/popupNotify.txt 2022-05-29 21:20:55.900415426 +0000
@@ -310,10 +310,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/popupShutter.txt HMI/US/landscape/n2t-out/popupShutter.txt
--- HMI/n2t-out/popupShutter.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/popupShutter.txt 2022-05-29 21:20:55.904415457 +0000
@@ -405,10 +405,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="time")
{
diff -bur HMI/n2t-out/screensaver.txt HMI/US/landscape/n2t-out/screensaver.txt
--- HMI/n2t-out/screensaver.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/screensaver.txt 2022-05-29 21:20:55.904415457 +0000
@@ -397,9 +397,6 @@
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
dim=dimValue
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
}
if(tInstruction.txt=="time")
{ {
@@ -513,8 +489,6 @@
tMRIcon.bco=tTime.bco
tMR.bco=tTime.bco
tMRIcon.bco=tTime.bco
- tIcon1.bco=tTime.bco
- tIcon2.bco=tTime.bco
tForecast1.bco=tTime.bco
tForecast1Val.bco=tTime.bco
tF1Icon.bco=tTime.bco

View File

@@ -1013,24 +1013,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 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

View File

@@ -2036,24 +2036,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 click bNext,1
}
Hotspot mSwipeUp Hotspot mSwipeUp
Attributes Attributes
@@ -2073,24 +2056,7 @@ Hotspot mSwipeUp
Events Events
Touch Press Event 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 click bPrev,1
}
Hotspot mSwipePrev Hotspot mSwipePrev
Attributes Attributes
@@ -2110,24 +2076,7 @@ Hotspot mSwipePrev
Events Events
Touch Press Event 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 click bPrev,1
}
Timer tmSerial Timer tmSerial
Attributes Attributes
@@ -2191,25 +2140,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=""
} }
// get Type // get Type

View File

@@ -976,24 +976,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 click bPrev,1
}
Timer tmSerial Timer tmSerial
Attributes Attributes
@@ -1131,25 +1080,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=""
} }
// get Type // get Type

View File

@@ -895,24 +895,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 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

View File

@@ -43,7 +43,7 @@ Variable (string) strCommand
ID : 6 ID : 6
Scope : local Scope : local
Text : Text :
Max. Text Size: 270 Max. Text Size: 275
Variable (string) entn Variable (string) entn
Attributes Attributes
@@ -597,24 +597,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 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

View File

@@ -458,10 +458,10 @@ Text tStatus
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 26 x coordinate : 22
y coordinate : 200 y coordinate : 186
Width : 97 Width : 115
Height : 30 Height : 60
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
Effect Time : 300 Effect Time : 300
@@ -475,8 +475,8 @@ Text tStatus
Vertical Alignment : center Vertical Alignment : center
Input Type : character Input Type : character
Text : Text :
Max. Text Size : 10 Max. Text Size : 40
Word wrap : disabled Word wrap : enabled
Horizontal Spacing : 0 Horizontal Spacing : 0
Vertical Spacing : 0 Vertical Spacing : 0
@@ -518,9 +518,9 @@ Text tCurTempLbl
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 28 x coordinate : 24
y coordinate : 85 y coordinate : 84
Width : 95 Width : 115
Height : 30 Height : 30
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
@@ -548,9 +548,9 @@ Text tStateLbl
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 27 x coordinate : 23
y coordinate : 162 y coordinate : 152
Width : 95 Width : 115
Height : 30 Height : 30
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
@@ -608,9 +608,9 @@ Text tALbl
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 22 x coordinate : 9
y coordinate : 260 y coordinate : 260
Width : 67 Width : 80
Height : 30 Height : 30
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
@@ -668,9 +668,9 @@ Text tCurTemp
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 28 x coordinate : 24
y coordinate : 121 y coordinate : 118
Width : 95 Width : 115
Height : 30 Height : 30
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
@@ -1566,24 +1566,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 click bPrev,1
}
Timer tmSerial Timer tmSerial
Attributes Attributes
@@ -1721,25 +1670,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

View File

@@ -18,45 +18,45 @@ pageStartup
19 Component(s) 19 Component(s)
154 Line(s) of event code 154 Line(s) of event code
115 Unique line(s) of event code 115 Unique line(s) of event code
cardAlarm cardThermo
38 Component(s) 56 Component(s)
364 Line(s) of event code 542 Line(s) of event code
224 Unique line(s) of event code 292 Unique line(s) of event code
cardGrid
42 Component(s)
439 Line(s) of event code
254 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
138 Unique line(s) of event code 138 Unique line(s) of event code
popupLight
27 Component(s)
345 Line(s) of event code
187 Unique line(s) of event code
cardThermo
56 Component(s)
546 Line(s) of event code
290 Unique line(s) of event code
cardMedia
33 Component(s)
350 Line(s) of event code
179 Unique line(s) of event code
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
27 Component(s)
348 Line(s) of event code
188 Unique line(s) of event code
cardGrid
42 Component(s)
435 Line(s) of event code
256 Unique line(s) of event code
cardAlarm
38 Component(s)
360 Line(s) of event code
226 Unique line(s) of event code
cardMedia
33 Component(s)
346 Line(s) of event code
181 Unique line(s) of event code
screensaver screensaver
35 Component(s) 37 Component(s)
297 Line(s) of event code 305 Line(s) of event code
238 Unique line(s) of event code 244 Unique line(s) of event code
cardEntities cardEntities
65 Component(s) 65 Component(s)
1133 Line(s) of event code 1129 Line(s) of event code
491 Unique line(s) of event code 493 Unique line(s) of event code
Total Total
13 Page(s) 13 Page(s)
402 Component(s) 404 Component(s)
4459 Line(s) of event code 4446 Line(s) of event code
1168 Unique line(s) of event code 1177 Unique line(s) of event code

View File

@@ -461,6 +461,9 @@ Picture pColorWheel
sys0=sys0-pColorWheel.y sys0=sys0-pColorWheel.y
covx sys0,tTmp.txt,0,0 covx sys0,tTmp.txt,0,0
tSend.txt+=tTmp.txt tSend.txt+=tTmp.txt
tSend.txt+="|"
covx pColorWheel.h,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC

View File

@@ -50,27 +50,34 @@ Variable (string) strCommand
Variable (string) tId Variable (string) tId
Attributes Attributes
ID : 17 ID : 16
Scope : local Scope : local
Text : Text :
Max. Text Size: 25 Max. Text Size: 25
Variable (int32) vaTap Variable (int32) vaTap
Attributes Attributes
ID : 25 ID : 24
Scope: local Scope: local
Value: 0 Value: 0
Variable (string) tInstruction Variable (string) tInstruction
Attributes Attributes
ID : 31 ID : 30
Scope : local Scope : local
Text : Text :
Max. Text Size: 50 Max. Text Size: 50
Variable (string) tTmp Variable (string) tTmp
Attributes Attributes
ID : 32 ID : 31
Scope : local
Text :
Max. Text Size: 50
Variable (string) tSend
Attributes
ID : 34
Scope : local Scope : local
Text : Text :
Max. Text Size: 50 Max. Text Size: 50
@@ -83,10 +90,10 @@ Text tTime
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 15 x coordinate : 52
y coordinate : 0 y coordinate : 0
Width : 451 Width : 376
Height : 150 Height : 154
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
Effect Time : 300 Effect Time : 300
@@ -114,8 +121,8 @@ Text tDate
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 15 x coordinate : 15
y coordinate : 150 y coordinate : 154
Width : 451 Width : 450
Height : 38 Height : 38
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
@@ -135,7 +142,7 @@ Text tDate
Horizontal Spacing : 0 Horizontal Spacing : 0
Vertical Spacing : 0 Vertical Spacing : 0
Text tSend Text tMainIcon
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
@@ -143,38 +150,8 @@ Text tSend
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 420
y coordinate : 2
Width : 29
Height : 30
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Associated Keyboard : none
Font ID : 0
Back. Color : 65535
Font Color : 0
Horizontal Alignment : center
Vertical Alignment : center
Input Type : character
Text :
Max. Text Size : 50
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Text tMainIcon
Attributes
ID : 8
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 41 x coordinate : 41
y coordinate : 202 y coordinate : 206
Width : 70 Width : 70
Height : 66 Height : 66
Effect : load Effect : load
@@ -197,14 +174,14 @@ Text tMainIcon
Text tMainText Text tMainText
Attributes Attributes
ID : 9 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 22 x coordinate : 22
y coordinate : 267 y coordinate : 271
Width : 110 Width : 110
Height : 43 Height : 43
Effect : load Effect : load
@@ -227,14 +204,14 @@ Text tMainText
Text tForecast1 Text tForecast1
Attributes Attributes
ID : 10 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 143 x coordinate : 143
y coordinate : 210 y coordinate : 214
Width : 72 Width : 72
Height : 26 Height : 26
Effect : load Effect : load
@@ -257,14 +234,14 @@ Text tForecast1
Text tForecast1Val Text tForecast1Val
Attributes Attributes
ID : 11 ID : 10
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 140 x coordinate : 140
y coordinate : 276 y coordinate : 280
Width : 71 Width : 71
Height : 25 Height : 25
Effect : load Effect : load
@@ -287,14 +264,14 @@ Text tForecast1Val
Text tF1Icon Text tF1Icon
Attributes Attributes
ID : 12 ID : 11
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 161 x coordinate : 161
y coordinate : 239 y coordinate : 243
Width : 40 Width : 40
Height : 35 Height : 35
Effect : load Effect : load
@@ -317,14 +294,14 @@ Text tF1Icon
Text tForecast2 Text tForecast2
Attributes Attributes
ID : 13 ID : 12
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 227 x coordinate : 227
y coordinate : 210 y coordinate : 214
Width : 72 Width : 72
Height : 25 Height : 25
Effect : load Effect : load
@@ -347,14 +324,14 @@ Text tForecast2
Text tF2Icon Text tF2Icon
Attributes Attributes
ID : 14 ID : 13
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 243 x coordinate : 243
y coordinate : 239 y coordinate : 243
Width : 40 Width : 40
Height : 35 Height : 35
Effect : load Effect : load
@@ -377,14 +354,14 @@ Text tF2Icon
Text tForecast2Val Text tForecast2Val
Attributes Attributes
ID : 15 ID : 14
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 227 x coordinate : 227
y coordinate : 277 y coordinate : 281
Width : 72 Width : 72
Height : 25 Height : 25
Effect : load Effect : load
@@ -407,14 +384,14 @@ Text tForecast2Val
Text t10 Text t10
Attributes Attributes
ID : 16 ID : 15
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 61 x coordinate : 61
y coordinate : 195 y coordinate : 199
Width : 360 Width : 360
Height : 2 Height : 2
Effect : load Effect : load
@@ -437,14 +414,14 @@ Text t10
Text tAMPM Text tAMPM
Attributes Attributes
ID : 18 ID : 17
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 358 x coordinate : 358
y coordinate : 48 y coordinate : 49
Width : 104 Width : 104
Height : 57 Height : 57
Effect : load Effect : load
@@ -467,14 +444,14 @@ Text tAMPM
Text tForecast3Val Text tForecast3Val
Attributes Attributes
ID : 19 ID : 18
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 307 x coordinate : 307
y coordinate : 277 y coordinate : 281
Width : 71 Width : 71
Height : 25 Height : 25
Effect : load Effect : load
@@ -497,14 +474,14 @@ Text tForecast3Val
Text tF3Icon Text tF3Icon
Attributes Attributes
ID : 20 ID : 19
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 324 x coordinate : 324
y coordinate : 239 y coordinate : 243
Width : 40 Width : 40
Height : 35 Height : 35
Effect : load Effect : load
@@ -527,14 +504,14 @@ Text tF3Icon
Text tForecast3 Text tForecast3
Attributes Attributes
ID : 21 ID : 20
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 308 x coordinate : 308
y coordinate : 210 y coordinate : 214
Width : 72 Width : 72
Height : 25 Height : 25
Effect : load Effect : load
@@ -557,14 +534,14 @@ Text tForecast3
Text tForecast4 Text tForecast4
Attributes Attributes
ID : 22 ID : 21
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 389 x coordinate : 389
y coordinate : 210 y coordinate : 214
Width : 72 Width : 72
Height : 25 Height : 25
Effect : load Effect : load
@@ -587,14 +564,14 @@ Text tForecast4
Text tF4Icon Text tF4Icon
Attributes Attributes
ID : 23 ID : 22
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 405 x coordinate : 405
y coordinate : 239 y coordinate : 243
Width : 40 Width : 40
Height : 35 Height : 35
Effect : load Effect : load
@@ -617,14 +594,14 @@ Text tF4Icon
Text tForecast4Val Text tForecast4Val
Attributes Attributes
ID : 24 ID : 23
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 389 x coordinate : 389
y coordinate : 277 y coordinate : 281
Width : 72 Width : 72
Height : 25 Height : 25
Effect : load Effect : load
@@ -647,14 +624,14 @@ Text tForecast4Val
Text tMainTextAlt Text tMainTextAlt
Attributes Attributes
ID : 27 ID : 26
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 119 x coordinate : 119
y coordinate : 210 y coordinate : 214
Width : 106 Width : 106
Height : 42 Height : 42
Effect : load Effect : load
@@ -677,14 +654,14 @@ Text tMainTextAlt
Text tMainIconAlt Text tMainIconAlt
Attributes Attributes
ID : 28 ID : 27
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 15 x coordinate : 15
y coordinate : 221 y coordinate : 225
Width : 100 Width : 100
Height : 66 Height : 66
Effect : load Effect : load
@@ -707,14 +684,14 @@ Text tMainIconAlt
Text tMRIcon Text tMRIcon
Attributes Attributes
ID : 29 ID : 28
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 116 x coordinate : 116
y coordinate : 266 y coordinate : 270
Width : 40 Width : 40
Height : 35 Height : 35
Effect : load Effect : load
@@ -737,14 +714,14 @@ Text tMRIcon
Text tMR Text tMR
Attributes Attributes
ID : 30 ID : 29
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 159 x coordinate : 159
y coordinate : 270 y coordinate : 274
Width : 62 Width : 62
Height : 21 Height : 21
Effect : load Effect : load
@@ -767,14 +744,14 @@ Text tMR
Text tNotifyHead Text tNotifyHead
Attributes Attributes
ID : 33 ID : 32
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 15 x coordinate : 15
y coordinate : 201 y coordinate : 205
Width : 450 Width : 450
Height : 58 Height : 58
Effect : load Effect : load
@@ -797,14 +774,14 @@ Text tNotifyHead
Text tNotifyText Text tNotifyText
Attributes Attributes
ID : 34 ID : 33
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 15 x coordinate : 15
y coordinate : 258 y coordinate : 262
Width : 450 Width : 450
Height : 47 Height : 47
Effect : load Effect : load
@@ -825,6 +802,66 @@ Text tNotifyText
Horizontal Spacing : 0 Horizontal Spacing : 0
Vertical Spacing : 0 Vertical Spacing : 0
Text tIcon1
Attributes
ID : 35
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 8
y coordinate : 0
Width : 38
Height : 38
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Associated Keyboard : none
Font ID : 1
Back. Color : 0
Font Color : 17299
Horizontal Alignment : center
Vertical Alignment : center
Input Type : character
Text :
Max. Text Size : 5
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Text tIcon2
Attributes
ID : 36
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 434
y coordinate : 0
Width : 38
Height : 38
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Associated Keyboard : none
Font ID : 1
Back. Color : 0
Font Color : 17299
Horizontal Alignment : center
Vertical Alignment : center
Input Type : character
Text :
Max. Text Size : 5
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Picture p0 Picture p0
Attributes Attributes
ID : 1 ID : 1
@@ -998,6 +1035,14 @@ Timer tmSerial
} }
//tMR //tMR
spstr strCommand.txt,tMR.txt,"~",16 spstr strCommand.txt,tMR.txt,"~",16
//statusIcon1
spstr strCommand.txt,tIcon1.txt,"~",17
spstr strCommand.txt,tTmp.txt,"~",18
covx tTmp.txt,tIcon1.pco,0,0
//statusIcon2
spstr strCommand.txt,tIcon2.txt,"~",19
spstr strCommand.txt,tTmp.txt,"~",20
covx tTmp.txt,tIcon2.pco,0,0
} }
if(tInstruction.txt=="color") if(tInstruction.txt=="color")
{ {
@@ -1013,6 +1058,8 @@ Timer tmSerial
tMRIcon.bco=tTime.bco tMRIcon.bco=tTime.bco
tMR.bco=tTime.bco tMR.bco=tTime.bco
tMRIcon.bco=tTime.bco tMRIcon.bco=tTime.bco
tIcon1.bco=tTime.bco
tIcon2.bco=tTime.bco
tForecast1.bco=tTime.bco tForecast1.bco=tTime.bco
tForecast1Val.bco=tTime.bco tForecast1Val.bco=tTime.bco
tF1Icon.bco=tTime.bco tF1Icon.bco=tTime.bco
@@ -1151,7 +1198,7 @@ Timer tmSerial
Timer tmSleep Timer tmSleep
Attributes Attributes
ID : 26 ID : 25
Scope : local Scope : local
Period (ms): 1000 Period (ms): 1000
Enabled : yes Enabled : yes

View File

@@ -475,24 +475,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 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

View File

@@ -1083,24 +1083,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 click bNext,1
}
Hotspot mSwipeUp Hotspot mSwipeUp
Attributes Attributes
@@ -1111,24 +1094,7 @@ Hotspot mSwipeUp
Events Events
Touch Press Event 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 click bPrev,1
}
Hotspot mSwipePrev Hotspot mSwipePrev
Attributes Attributes
@@ -1139,24 +1105,7 @@ Hotspot mSwipePrev
Events Events
Touch Press Event 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 click bPrev,1
}
Timer tmSerial Timer tmSerial
Attributes Attributes
@@ -1219,25 +1168,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=""
} }
// get Type // get Type

View File

@@ -531,24 +531,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 click bPrev,1
}
Timer tmSerial Timer tmSerial
Attributes Attributes
@@ -667,25 +616,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=""
} }
// get Type // get Type

View File

@@ -465,24 +465,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 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

View File

@@ -34,7 +34,7 @@ Variable (string) strCommand
Attributes Attributes
Scope : local Scope : local
Text : Text :
Max. Text Size: 270 Max. Text Size: 275
Variable (string) entn Variable (string) entn
Attributes Attributes
@@ -326,24 +326,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 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

View File

@@ -227,7 +227,7 @@ Text tStatus
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard : none Associated Keyboard : none
Text : Text :
Max. Text Size : 10 Max. Text Size : 40
Text tCF1 Text tCF1
Attributes Attributes
@@ -804,24 +804,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 click bPrev,1
}
Timer tmSerial Timer tmSerial
Attributes Attributes
@@ -940,25 +889,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

View File

@@ -209,6 +209,9 @@ Picture pColorWheel
sys0=sys0-pColorWheel.y sys0=sys0-pColorWheel.y
covx sys0,tTmp.txt,0,0 covx sys0,tTmp.txt,0,0
tSend.txt+=tTmp.txt tSend.txt+=tTmp.txt
tSend.txt+="|"
covx pColorWheel.h,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC

View File

@@ -62,6 +62,12 @@ Variable (string) tTmp
Text : Text :
Max. Text Size: 50 Max. Text Size: 50
Variable (string) tSend
Attributes
Scope : local
Text :
Max. Text Size: 50
Text tTime Text tTime
Attributes Attributes
Scope : local Scope : local
@@ -82,16 +88,6 @@ Text tDate
Text : Tuesday, 08. March 2022 Text : Tuesday, 08. March 2022
Max. Text Size : 35 Max. Text Size : 35
Text tSend
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Text :
Max. Text Size : 50
Text tMainIcon Text tMainIcon
Attributes Attributes
Scope : local Scope : local
@@ -312,6 +308,26 @@ Text tNotifyText
Text : Text :
Max. Text Size : 35 Max. Text Size : 35
Text tIcon1
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Text :
Max. Text Size : 5
Text tIcon2
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Text :
Max. Text Size : 5
Picture p0 Picture p0
Attributes Attributes
Scope : local Scope : local
@@ -474,6 +490,14 @@ Timer tmSerial
} }
//tMR //tMR
spstr strCommand.txt,tMR.txt,"~",16 spstr strCommand.txt,tMR.txt,"~",16
//statusIcon1
spstr strCommand.txt,tIcon1.txt,"~",17
spstr strCommand.txt,tTmp.txt,"~",18
covx tTmp.txt,tIcon1.pco,0,0
//statusIcon2
spstr strCommand.txt,tIcon2.txt,"~",19
spstr strCommand.txt,tTmp.txt,"~",20
covx tTmp.txt,tIcon2.pco,0,0
} }
if(tInstruction.txt=="color") if(tInstruction.txt=="color")
{ {
@@ -489,6 +513,8 @@ Timer tmSerial
tMRIcon.bco=tTime.bco tMRIcon.bco=tTime.bco
tMR.bco=tTime.bco tMR.bco=tTime.bco
tMRIcon.bco=tTime.bco tMRIcon.bco=tTime.bco
tIcon1.bco=tTime.bco
tIcon2.bco=tTime.bco
tForecast1.bco=tTime.bco tForecast1.bco=tTime.bco
tForecast1Val.bco=tTime.bco tForecast1Val.bco=tTime.bco
tF1Icon.bco=tTime.bco tF1Icon.bco=tTime.bco

Binary file not shown.

Binary file not shown.

View File

@@ -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-28 08:26:23.480334206 +0000 --- HMI/n2t-out/Program.s.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-28 08:26:23.988334344 +0000 +++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-29 21:20:55.500412348 +0000
@@ -11,6 +11,6 @@ @@ -11,6 +11,6 @@
// dim value // dim value
int dimValue=40 int dimValue=40
@@ -10,9 +10,24 @@ diff -bur HMI/n2t-out/Program.s.txt HMI/US/portrait/n2t-out/Program.s.txt
+ // fix touch offset (Removed for US version) + // fix touch offset (Removed for US version)
+ //lcd_dev fffb 0002 0000 0020 + //lcd_dev fffb 0002 0000 0020
page pageStartup page pageStartup
diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/portrait/n2t-out/cardAlarm.txt
--- HMI/n2t-out/cardAlarm.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/cardAlarm.txt 2022-05-29 21:20:55.500412348 +0000
@@ -683,10 +683,7 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
+ dim=dimValue
}
if(tInstruction.txt=="timeout")
{
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-28 08:26:23.480334206 +0000 --- HMI/n2t-out/cardEntities.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-28 08:26:23.988334344 +0000 +++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-29 21:20:55.500412348 +0000
@@ -62,6 +62,16 @@ @@ -62,6 +62,16 @@
vis bText4,0 vis bText4,0
vis hSlider4,0 vis hSlider4,0
@@ -297,7 +312,7 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
Hotspot mSwipeNext Hotspot mSwipeNext
Attributes Attributes
Scope : local Scope : local
@@ -1892,6 +2120,169 @@ @@ -1849,6 +2077,169 @@
covx tTmp.txt,sys0,0,0 covx tTmp.txt,sys0,0,0
hSlider4.maxval=sys0 hSlider4.maxval=sys0
} }
@@ -467,9 +482,49 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
} }
if(tInstruction.txt=="pageType") if(tInstruction.txt=="pageType")
{ {
@@ -1924,10 +2315,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/cardGrid.txt HMI/US/portrait/n2t-out/cardGrid.txt
--- HMI/n2t-out/cardGrid.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/cardGrid.txt 2022-05-29 21:20:55.500412348 +0000
@@ -846,10 +846,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/cardMedia.txt HMI/US/portrait/n2t-out/cardMedia.txt
--- HMI/n2t-out/cardMedia.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-05-29 21:20:55.500412348 +0000
@@ -635,10 +635,7 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
+ dim=dimValue
}
if(tInstruction.txt=="timeout")
{
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-28 08:26:23.480334206 +0000 --- HMI/n2t-out/cardQR.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/cardQR.txt 2022-05-28 08:26:23.988334344 +0000 +++ HMI/US/portrait/n2t-out/cardQR.txt 2022-05-29 21:20:55.500412348 +0000
@@ -34,7 +34,7 @@ @@ -34,7 +34,7 @@
Attributes Attributes
Scope : local Scope : local
@@ -479,9 +534,35 @@ diff -bur HMI/n2t-out/cardQR.txt HMI/US/portrait/n2t-out/cardQR.txt
Variable (string) entn Variable (string) entn
Attributes Attributes
@@ -581,10 +581,7 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
+ dim=dimValue
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/cardThermo.txt HMI/US/portrait/n2t-out/cardThermo.txt
--- HMI/n2t-out/cardThermo.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/cardThermo.txt 2022-05-29 21:20:55.500412348 +0000
@@ -1169,10 +1169,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{
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-28 08:26:23.480334206 +0000 --- HMI/n2t-out/pageStartup.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-28 08:26:23.988334344 +0000 +++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-29 21:20:55.500412348 +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
@@ -500,23 +581,73 @@ diff -bur HMI/n2t-out/pageStartup.txt HMI/US/portrait/n2t-out/pageStartup.txt
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -273,10 +273,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/popupLight.txt HMI/US/portrait/n2t-out/popupLight.txt diff -bur HMI/n2t-out/popupLight.txt HMI/US/portrait/n2t-out/popupLight.txt
--- HMI/n2t-out/popupLight.txt 2022-05-28 08:26:23.480334206 +0000 --- HMI/n2t-out/popupLight.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/popupLight.txt 2022-05-28 08:26:23.988334344 +0000 +++ HMI/US/portrait/n2t-out/popupLight.txt 2022-05-29 21:20:55.500412348 +0000
@@ -209,9 +209,6 @@ @@ -560,10 +560,6 @@
sys0=sys0-pColorWheel.y // get value
covx sys0,tTmp.txt,0,0 spstr strCommand.txt,tTmp.txt,"~",1
tSend.txt+=tTmp.txt covx tTmp.txt,dimValue,0,0
- tSend.txt+="|" - // get value normal
- covx pColorWheel.h,tTmp.txt,0,0 - spstr strCommand.txt,tTmp.txt,"~",2
- tSend.txt+=tTmp.txt - covx tTmp.txt,dimValueNormal,0,0
//send calc crc - dim=dimValueNormal
btlen tSend.txt,sys0 }
crcrest 1,0xffff // reset CRC if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/popupNotify.txt HMI/US/portrait/n2t-out/popupNotify.txt
--- HMI/n2t-out/popupNotify.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/popupNotify.txt 2022-05-29 21:20:55.500412348 +0000
@@ -310,10 +310,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/popupShutter.txt HMI/US/portrait/n2t-out/popupShutter.txt
--- HMI/n2t-out/popupShutter.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/popupShutter.txt 2022-05-29 21:20:55.500412348 +0000
@@ -405,10 +405,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="time")
{
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-28 08:26:23.480334206 +0000 --- HMI/n2t-out/screensaver.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/screensaver.txt 2022-05-28 08:26:23.988334344 +0000 +++ HMI/US/portrait/n2t-out/screensaver.txt 2022-05-29 21:20:55.500412348 +0000
@@ -471,22 +471,6 @@ @@ -397,9 +397,6 @@
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
dim=dimValue
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
}
if(tInstruction.txt=="time")
{
@@ -474,22 +471,6 @@
vis tMainIconAlt,1 vis tMainIconAlt,1
vis tMRIcon,1 vis tMRIcon,1
vis tMR,1 vis tMR,1

View File

@@ -1,25 +1,157 @@
+++ HMI/US/portrait/diff-eu-version.txt 2022-05-28 08:26:24.036334357 +0000 +++ HMI/US/portrait/diff-eu-version.txt 2022-05-29 21:20:55.512412440 +0000
+--- HMI/n2t-out/Program.s.txt 2022-05-28 08:26:23.480334206 +0000 +--- HMI/n2t-out/Program.s.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-28 08:26:23.988334344 +0000 ++++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-29 21:20:55.500412348 +0000
+--- HMI/n2t-out/cardEntities.txt 2022-05-28 08:26:23.480334206 +0000 +diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/portrait/n2t-out/cardAlarm.txt
++++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-28 08:26:23.988334344 +0000 +--- HMI/n2t-out/cardAlarm.txt 2022-05-29 21:20:55.128409486 +0000
+--- HMI/n2t-out/cardQR.txt 2022-05-28 08:26:23.480334206 +0000 ++++ HMI/US/portrait/n2t-out/cardAlarm.txt 2022-05-29 21:20:55.500412348 +0000
++++ HMI/US/portrait/n2t-out/cardQR.txt 2022-05-28 08:26:23.988334344 +0000 +@@ -683,10 +683,7 @@
+--- HMI/n2t-out/pageStartup.txt 2022-05-28 08:26:23.480334206 +0000 + // get value
++++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-28 08:26:23.988334344 +0000 + spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,dimValue,0,0
+- // get value normal
+- spstr strCommand.txt,tTmp.txt,"~",2
+- covx tTmp.txt,dimValueNormal,0,0
+- dim=dimValueNormal
++ dim=dimValue
+ }
+ if(tInstruction.txt=="timeout")
+ {
+--- HMI/n2t-out/cardEntities.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-29 21:20:55.500412348 +0000
+@@ -1849,6 +2077,169 @@
+@@ -1924,10 +2315,6 @@
+ // get value
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,dimValue,0,0
+- // get value normal
+- spstr strCommand.txt,tTmp.txt,"~",2
+- covx tTmp.txt,dimValueNormal,0,0
+- dim=dimValueNormal
+ }
+ if(tInstruction.txt=="timeout")
+ {
+diff -bur HMI/n2t-out/cardGrid.txt HMI/US/portrait/n2t-out/cardGrid.txt
+--- HMI/n2t-out/cardGrid.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/cardGrid.txt 2022-05-29 21:20:55.500412348 +0000
+@@ -846,10 +846,6 @@
+ // get value
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,dimValue,0,0
+- // get value normal
+- spstr strCommand.txt,tTmp.txt,"~",2
+- covx tTmp.txt,dimValueNormal,0,0
+- dim=dimValueNormal
+ }
+ if(tInstruction.txt=="timeout")
+ {
+diff -bur HMI/n2t-out/cardMedia.txt HMI/US/portrait/n2t-out/cardMedia.txt
+--- HMI/n2t-out/cardMedia.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-05-29 21:20:55.500412348 +0000
+@@ -635,10 +635,7 @@
+ // get value
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,dimValue,0,0
+- // get value normal
+- spstr strCommand.txt,tTmp.txt,"~",2
+- covx tTmp.txt,dimValueNormal,0,0
+- dim=dimValueNormal
++ dim=dimValue
+ }
+ if(tInstruction.txt=="timeout")
+ {
+--- HMI/n2t-out/cardQR.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/cardQR.txt 2022-05-29 21:20:55.500412348 +0000
+@@ -581,10 +581,7 @@
+ // get value
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,dimValue,0,0
+- // get value normal
+- spstr strCommand.txt,tTmp.txt,"~",2
+- covx tTmp.txt,dimValueNormal,0,0
+- dim=dimValueNormal
++ dim=dimValue
+ }
+ if(tInstruction.txt=="timeout")
+ {
+diff -bur HMI/n2t-out/cardThermo.txt HMI/US/portrait/n2t-out/cardThermo.txt
+--- HMI/n2t-out/cardThermo.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/cardThermo.txt 2022-05-29 21:20:55.500412348 +0000
+@@ -1169,10 +1169,6 @@
+ // get value
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,dimValue,0,0
+- // get value normal
+- spstr strCommand.txt,tTmp.txt,"~",2
+- covx tTmp.txt,dimValueNormal,0,0
+- dim=dimValueNormal
+ }
+ if(tInstruction.txt=="timeout")
+ {
+--- HMI/n2t-out/pageStartup.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-29 21:20:55.500412348 +0000
+@@ -273,10 +273,6 @@
+ // get value
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,dimValue,0,0
+- // get value normal
+- spstr strCommand.txt,tTmp.txt,"~",2
+- covx tTmp.txt,dimValueNormal,0,0
+- dim=dimValueNormal
+ }
+ if(tInstruction.txt=="timeout")
+ {
+diff -bur HMI/n2t-out/popupLight.txt HMI/US/portrait/n2t-out/popupLight.txt +diff -bur HMI/n2t-out/popupLight.txt HMI/US/portrait/n2t-out/popupLight.txt
+--- HMI/n2t-out/popupLight.txt 2022-05-28 08:26:23.480334206 +0000 +--- HMI/n2t-out/popupLight.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/popupLight.txt 2022-05-28 08:26:23.988334344 +0000 ++++ HMI/US/portrait/n2t-out/popupLight.txt 2022-05-29 21:20:55.500412348 +0000
+@@ -209,9 +209,6 @@ +@@ -560,10 +560,6 @@
+ sys0=sys0-pColorWheel.y + // get value
+ covx sys0,tTmp.txt,0,0 + spstr strCommand.txt,tTmp.txt,"~",1
+ tSend.txt+=tTmp.txt + covx tTmp.txt,dimValue,0,0
+- tSend.txt+="|" +- // get value normal
+- covx pColorWheel.h,tTmp.txt,0,0 +- spstr strCommand.txt,tTmp.txt,"~",2
+- tSend.txt+=tTmp.txt +- covx tTmp.txt,dimValueNormal,0,0
+ //send calc crc +- dim=dimValueNormal
+ btlen tSend.txt,sys0 + }
+ crcrest 1,0xffff // reset CRC + if(tInstruction.txt=="timeout")
+--- HMI/n2t-out/screensaver.txt 2022-05-28 08:26:23.480334206 +0000 + {
++++ HMI/US/portrait/n2t-out/screensaver.txt 2022-05-28 08:26:23.988334344 +0000 +diff -bur HMI/n2t-out/popupNotify.txt HMI/US/portrait/n2t-out/popupNotify.txt
+@@ -471,22 +471,6 @@ +--- HMI/n2t-out/popupNotify.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/popupNotify.txt 2022-05-29 21:20:55.500412348 +0000
+@@ -310,10 +310,6 @@
+ // get value
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,dimValue,0,0
+- // get value normal
+- spstr strCommand.txt,tTmp.txt,"~",2
+- covx tTmp.txt,dimValueNormal,0,0
+- dim=dimValueNormal
+ }
+ if(tInstruction.txt=="timeout")
+ {
+diff -bur HMI/n2t-out/popupShutter.txt HMI/US/portrait/n2t-out/popupShutter.txt
+--- HMI/n2t-out/popupShutter.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/popupShutter.txt 2022-05-29 21:20:55.500412348 +0000
+@@ -405,10 +405,6 @@
+ // get value
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,dimValue,0,0
+- // get value normal
+- spstr strCommand.txt,tTmp.txt,"~",2
+- covx tTmp.txt,dimValueNormal,0,0
+- dim=dimValueNormal
+ }
+ if(tInstruction.txt=="time")
+ {
+--- HMI/n2t-out/screensaver.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/screensaver.txt 2022-05-29 21:20:55.500412348 +0000
+@@ -397,9 +397,6 @@
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,dimValue,0,0
+ dim=dimValue
+- // get value normal
+- spstr strCommand.txt,tTmp.txt,"~",2
+- covx tTmp.txt,dimValueNormal,0,0
+ }
+ if(tInstruction.txt=="time")
+ {
+@@ -474,22 +471,6 @@

View File

@@ -1013,24 +1013,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 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

View File

@@ -2457,24 +2457,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 click bNext,1
}
Hotspot mSwipeUp Hotspot mSwipeUp
Attributes Attributes
@@ -2494,24 +2477,7 @@ Hotspot mSwipeUp
Events Events
Touch Press Event 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 click bPrev,1
}
Hotspot mSwipePrev Hotspot mSwipePrev
Attributes Attributes
@@ -2531,24 +2497,7 @@ Hotspot mSwipePrev
Events Events
Touch Press Event 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 click bPrev,1
}
Timer tmSerial Timer tmSerial
Attributes Attributes
@@ -2612,25 +2561,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=""
} }
// get Type // get Type

View File

@@ -976,24 +976,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 click bPrev,1
}
Timer tmSerial Timer tmSerial
Attributes Attributes
@@ -1131,25 +1080,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=""
} }
// get Type // get Type

View File

@@ -895,24 +895,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 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

View File

@@ -597,24 +597,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 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

View File

@@ -159,7 +159,7 @@ XFloat xTempDest1
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 174 x coordinate : 174
y coordinate : 219 y coordinate : 227
Width : 120 Width : 120
Height : 60 Height : 60
Effect : load Effect : load
@@ -189,7 +189,7 @@ XFloat xTempMin1
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 262 x coordinate : 262
y coordinate : 172 y coordinate : 180
Width : 50 Width : 50
Height : 22 Height : 22
Effect : load Effect : load
@@ -219,7 +219,7 @@ XFloat xTempMax1
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 262 x coordinate : 262
y coordinate : 194 y coordinate : 202
Width : 45 Width : 45
Height : 20 Height : 20
Effect : load Effect : load
@@ -249,7 +249,7 @@ XFloat xTempStep1
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 263 x coordinate : 263
y coordinate : 282 y coordinate : 290
Width : 45 Width : 45
Height : 20 Height : 20
Effect : load Effect : load
@@ -279,7 +279,7 @@ XFloat xTempDest2
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 21 x coordinate : 21
y coordinate : 219 y coordinate : 227
Width : 120 Width : 120
Height : 60 Height : 60
Effect : load Effect : load
@@ -309,7 +309,7 @@ XFloat xTempMin2
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 110 x coordinate : 110
y coordinate : 170 y coordinate : 178
Width : 50 Width : 50
Height : 21 Height : 21
Effect : load Effect : load
@@ -339,7 +339,7 @@ XFloat xTempMax2
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 110 x coordinate : 110
y coordinate : 192 y coordinate : 200
Width : 45 Width : 45
Height : 20 Height : 20
Effect : load Effect : load
@@ -369,7 +369,7 @@ XFloat xTempStep2
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 111 x coordinate : 111
y coordinate : 280 y coordinate : 288
Width : 45 Width : 45
Height : 20 Height : 20
Effect : load Effect : load
@@ -399,7 +399,7 @@ XFloat xTempDest
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 100 x coordinate : 100
y coordinate : 220 y coordinate : 228
Width : 120 Width : 120
Height : 60 Height : 60
Effect : load Effect : load
@@ -458,10 +458,10 @@ Text tStatus
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 191 x coordinate : 174
y coordinate : 119 y coordinate : 110
Width : 97 Width : 115
Height : 30 Height : 56
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
Effect Time : 300 Effect Time : 300
@@ -475,8 +475,8 @@ Text tStatus
Vertical Alignment : center Vertical Alignment : center
Input Type : character Input Type : character
Text : Text :
Max. Text Size : 10 Max. Text Size : 40
Word wrap : disabled Word wrap : enabled
Horizontal Spacing : 0 Horizontal Spacing : 0
Vertical Spacing : 0 Vertical Spacing : 0
@@ -489,7 +489,7 @@ Text tCF1
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 295 x coordinate : 295
y coordinate : 217 y coordinate : 225
Width : 25 Width : 25
Height : 30 Height : 30
Effect : load Effect : load
@@ -518,9 +518,9 @@ Text tCurTempLbl
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 35 x coordinate : 30
y coordinate : 82 y coordinate : 76
Width : 95 Width : 115
Height : 30 Height : 30
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
@@ -548,9 +548,9 @@ Text tStateLbl
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 192 x coordinate : 174
y coordinate : 81 y coordinate : 75
Width : 95 Width : 115
Height : 30 Height : 30
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
@@ -579,7 +579,7 @@ Text tCF2
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 142 x coordinate : 142
y coordinate : 217 y coordinate : 225
Width : 25 Width : 25
Height : 30 Height : 30
Effect : load Effect : load
@@ -608,9 +608,9 @@ Text tALbl
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 33 x coordinate : 15
y coordinate : 403 y coordinate : 402
Width : 67 Width : 83
Height : 30 Height : 30
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
@@ -639,7 +639,7 @@ Text tCF
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 221 x coordinate : 221
y coordinate : 217 y coordinate : 225
Width : 25 Width : 25
Height : 30 Height : 30
Effect : load Effect : load
@@ -668,9 +668,9 @@ Text tCurTemp
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 35 x coordinate : 30
y coordinate : 118 y coordinate : 112
Width : 95 Width : 115
Height : 30 Height : 30
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
@@ -1209,7 +1209,7 @@ Dual-state Button btUp1
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 210 x coordinate : 210
y coordinate : 168 y coordinate : 176
Width : 50 Width : 50
Height : 50 Height : 50
Effect : load Effect : load
@@ -1267,7 +1267,7 @@ Dual-state Button btDown1
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 210 x coordinate : 210
y coordinate : 280 y coordinate : 288
Width : 50 Width : 50
Height : 50 Height : 50
Effect : load Effect : load
@@ -1325,7 +1325,7 @@ Dual-state Button bUp2
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 57 x coordinate : 57
y coordinate : 168 y coordinate : 176
Width : 50 Width : 50
Height : 50 Height : 50
Effect : load Effect : load
@@ -1383,7 +1383,7 @@ Dual-state Button bDown2
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 57 x coordinate : 57
y coordinate : 280 y coordinate : 288
Width : 50 Width : 50
Height : 50 Height : 50
Effect : load Effect : load
@@ -1441,7 +1441,7 @@ Dual-state Button btUp
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 136 x coordinate : 136
y coordinate : 169 y coordinate : 177
Width : 50 Width : 50
Height : 50 Height : 50
Effect : load Effect : load
@@ -1499,7 +1499,7 @@ Dual-state Button btDown
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 136 x coordinate : 136
y coordinate : 281 y coordinate : 289
Width : 50 Width : 50
Height : 50 Height : 50
Effect : load Effect : load
@@ -1566,24 +1566,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 click bPrev,1
}
Timer tmSerial Timer tmSerial
Attributes Attributes
@@ -1721,25 +1670,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

View File

@@ -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
@@ -16,28 +20,24 @@ popupNotify
125 Unique line(s) of event code 125 Unique line(s) of event code
cardGrid cardGrid
42 Component(s) 42 Component(s)
439 Line(s) of event code 435 Line(s) of event code
254 Unique line(s) of event code 256 Unique line(s) of event code
popupLight popupLight
27 Component(s) 27 Component(s)
345 Line(s) of event code 348 Line(s) of event code
187 Unique line(s) of event code 188 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
cardThermo
56 Component(s)
546 Line(s) of event code
290 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
cardThermo
56 Component(s)
542 Line(s) of event code
292 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
@@ -52,11 +52,11 @@ screensaver
229 Unique line(s) of event code 229 Unique line(s) of event code
cardEntities cardEntities
77 Component(s) 77 Component(s)
1363 Line(s) of event code 1359 Line(s) of event code
576 Unique line(s) of event code 578 Unique line(s) of event code
Total Total
13 Page(s) 13 Page(s)
416 Component(s) 416 Component(s)
4682 Line(s) of event code 4661 Line(s) of event code
1231 Unique line(s) of event code 1234 Unique line(s) of event code

View File

@@ -153,7 +153,7 @@ Text t1
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 10 x coordinate : 10
y coordinate : 319 y coordinate : 341
Width : 240 Width : 240
Height : 30 Height : 30
Effect : load Effect : load
@@ -183,7 +183,7 @@ Text t2
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 10 x coordinate : 10
y coordinate : 360 y coordinate : 382
Width : 45 Width : 45
Height : 30 Height : 30
Effect : load Effect : load
@@ -439,10 +439,10 @@ Picture pColorWheel
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 160 x coordinate : 67
y coordinate : 69 y coordinate : 89
Width : 160 Width : 245
Height : 160 Height : 245
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
Effect Time : 300 Effect Time : 300
@@ -461,6 +461,9 @@ Picture pColorWheel
sys0=sys0-pColorWheel.y sys0=sys0-pColorWheel.y
covx sys0,tTmp.txt,0,0 covx sys0,tTmp.txt,0,0
tSend.txt+=tTmp.txt tSend.txt+=tTmp.txt
tSend.txt+="|"
covx pColorWheel.h,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -482,7 +485,7 @@ Slider hBrightness
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 61 x coordinate : 61
y coordinate : 354 y coordinate : 376
Width : 250 Width : 250
Height : 43 Height : 43
Effect : load Effect : load

View File

@@ -475,24 +475,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 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

View File

@@ -1311,24 +1311,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 click bNext,1
}
Hotspot mSwipeUp Hotspot mSwipeUp
Attributes Attributes
@@ -1339,24 +1322,7 @@ Hotspot mSwipeUp
Events Events
Touch Press Event 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 click bPrev,1
}
Hotspot mSwipePrev Hotspot mSwipePrev
Attributes Attributes
@@ -1367,24 +1333,7 @@ Hotspot mSwipePrev
Events Events
Touch Press Event 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 click bPrev,1
}
Timer tmSerial Timer tmSerial
Attributes Attributes
@@ -1447,25 +1396,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=""
} }
// get Type // get Type

View File

@@ -531,24 +531,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 click bPrev,1
}
Timer tmSerial Timer tmSerial
Attributes Attributes
@@ -667,25 +616,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=""
} }
// get Type // get Type

View File

@@ -465,24 +465,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 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

View File

@@ -326,24 +326,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 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

View File

@@ -227,7 +227,7 @@ Text tStatus
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard : none Associated Keyboard : none
Text : Text :
Max. Text Size : 10 Max. Text Size : 40
Text tCF1 Text tCF1
Attributes Attributes
@@ -804,24 +804,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 click bPrev,1
}
Timer tmSerial Timer tmSerial
Attributes Attributes
@@ -940,25 +889,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

View File

@@ -209,6 +209,9 @@ Picture pColorWheel
sys0=sys0-pColorWheel.y sys0=sys0-pColorWheel.y
covx sys0,tTmp.txt,0,0 covx sys0,tTmp.txt,0,0
tSend.txt+=tTmp.txt tSend.txt+=tTmp.txt
tSend.txt+="|"
covx pColorWheel.h,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC

Binary file not shown.

Binary file not shown.

View File

@@ -7,7 +7,7 @@ head = sharedhead + """
""" + navigation """ + navigation
print(head) print(head)
start = 3 start = 3
for i in range(1,6): for i in range(1,5):
idxstart = start + (i-1)*6 idxstart = start + (i-1)*6
item = f""" item = f"""
// get Type // get Type

View File

@@ -0,0 +1,159 @@
unicode_ranges="0000-007F," #Basic Latin
unicode_ranges+="0080-00FF," #C1 Controls and Latin-1 Supplement
unicode_ranges+="0100-017F," #Latin Extended-A
unicode_ranges+="0180-024F," #Latin Extended-B
#unicode_ranges+="0250-02AF," #IPA Extensions
#unicode_ranges+="02B0-02FF," #Spacing Modifier Letters
#unicode_ranges+="0300-036F," #Combining Diacritical Marks
unicode_ranges+="0370-03FF," #Greek/Coptic
unicode_ranges+="0400-04FF," #Cyrillic
#unicode_ranges+="0500-052F," #Cyrillic Supplement
#unicode_ranges+="0530-058F," #Armenian
unicode_ranges+="0590-05FF," #Hebrew
unicode_ranges+="0600-06FF," #Arabic
#unicode_ranges+="0700-074F," #Syriac
#unicode_ranges+="0750-077F," #Undefined
#unicode_ranges+="0780-07BF," #Thaana
#unicode_ranges+="07C0-08FF," #Undefined
#unicode_ranges+="0900-097F," #Devanagari
#unicode_ranges+="0980-09FF," #Bengali/Assamese
#unicode_ranges+="0A00-0A7F," #Gurmukhi
#unicode_ranges+="0A80-0AFF," #Gujarati
#unicode_ranges+="0B00-0B7F," #Oriya
#unicode_ranges+="0B80-0BFF," #Tamil
#unicode_ranges+="0C00-0C7F," #Telugu
#unicode_ranges+="0C80-0CFF," #Kannada
#unicode_ranges+="0D00-0DFF," #Malayalam
#unicode_ranges+="0D80-0DFF," #Sinhala
#unicode_ranges+="0E00-0E7F," #Thai
#unicode_ranges+="0E80-0EFF," #Lao
#unicode_ranges+="0F00-0FFF," #Tibetan
#unicode_ranges+="1000-109F," #Myanmar
unicode_ranges+="10A0-10FF," #Georgian
#unicode_ranges+="1100-11FF," #Hangul Jamo
#unicode_ranges+="1200-137F," #Ethiopic
#unicode_ranges+="1380-139F," #Undefined
#unicode_ranges+="13A0-13FF," #Cherokee
#unicode_ranges+="1400-167F," #Unified Canadian Aboriginal Syllabics
#unicode_ranges+="1680-169F," #Ogham
#unicode_ranges+="16A0-16FF," #Runic
#unicode_ranges+="1700-171F," #Tagalog
#unicode_ranges+="1720-173F," #Hanunoo
#unicode_ranges+="1740-175F," #Buhid
#unicode_ranges+="1760-177F," #Tagbanwa
#unicode_ranges+="1780-17FF," #Khmer
#unicode_ranges+="1800-18AF," #Mongolian
#unicode_ranges+="18B0-18FF," #Undefined
#unicode_ranges+="1900-194F," #Limbu
#unicode_ranges+="1950-197F," #Tai Le
#unicode_ranges+="1980-19DF," #Undefined
#unicode_ranges+="19E0-19FF," #Khmer Symbols
#unicode_ranges+="1A00-1CFF," #Undefined
#unicode_ranges+="1D00-1D7F," #Phonetic Extensions
#unicode_ranges+="1D80-1DFF," #Undefined
#unicode_ranges+="1E00-1EFF," #Latin Extended Additional
#unicode_ranges+="1F00-1FFF," #Greek Extended
#unicode_ranges+="2000-206F," #General Punctuation
#unicode_ranges+="2070-209F," #Superscripts and Subscripts
#unicode_ranges+="20A0-20CF," #Currency Symbols
#unicode_ranges+="20D0-20FF," #Combining Diacritical Marks for Symbols
#unicode_ranges+="2100-214F," #Letterlike Symbols
#unicode_ranges+="2150-218F," #Number Forms
#unicode_ranges+="2190-21FF," #Arrows
#unicode_ranges+="2200-22FF," #Mathematical Operators
#unicode_ranges+="2300-23FF," #Miscellaneous Technical
#unicode_ranges+="2400-243F," #Control Pictures
#unicode_ranges+="2440-245F," #Optical Character Recognition
#unicode_ranges+="2460-24FF," #Enclosed Alphanumerics
#unicode_ranges+="2500-257F," #Box Drawing
#unicode_ranges+="2580-259F," #Block Elements
#unicode_ranges+="25A0-25FF," #Geometric Shapes
#unicode_ranges+="2600-26FF," #Miscellaneous Symbols
#unicode_ranges+="2700-27BF," #Dingbats
#unicode_ranges+="27C0-27EF," #Miscellaneous Mathematical Symbols-A
#unicode_ranges+="27F0-27FF," #Supplemental Arrows-A
#unicode_ranges+="2800-28FF," #Braille Patterns
#unicode_ranges+="2900-297F," #Supplemental Arrows-B
#unicode_ranges+="2980-29FF," #Miscellaneous Mathematical Symbols-B
#unicode_ranges+="2A00-2AFF," #Supplemental Mathematical Operators
#unicode_ranges+="2B00-2BFF," #Miscellaneous Symbols and Arrows
#unicode_ranges+="2C00-2E7F," #Undefined
#unicode_ranges+="2E80-2EFF," #CJK Radicals Supplement
#unicode_ranges+="2F00-2FDF," #Kangxi Radicals
#unicode_ranges+="2FE0-2EEF," #Undefined
#unicode_ranges+="2FF0-2FFF," #Ideographic Description Characters
#unicode_ranges+="3000-303F," #CJK Symbols and Punctuation
#unicode_ranges+="3040-309F," #Hiragana
#unicode_ranges+="30A0-30FF," #Katakana
#unicode_ranges+="3100-312F," #Bopomofo
#unicode_ranges+="3130-318F," #Hangul Compatibility Jamo
#unicode_ranges+="3190-319F," #Kanbun (Kunten)
#unicode_ranges+="31A0-31BF," #Bopomofo Extended
#unicode_ranges+="31C0-31EF," #Undefined
#unicode_ranges+="31F0-31FF," #Katakana Phonetic Extensions
#unicode_ranges+="3200-32FF," #Enclosed CJK Letters and Months
#unicode_ranges+="3300-33FF," #CJK Compatibility
#unicode_ranges+="3400-4DBF," #CJK Unified Ideographs Extension A
#unicode_ranges+="4DC0-4DFF," #Yijing Hexagram Symbols
#unicode_ranges+="4E00-9FAF," #CJK Unified Ideographs
#unicode_ranges+="9FB0-9FFF," #Undefined
#unicode_ranges+="A000-A48F," #Yi Syllables
#unicode_ranges+="A490-A4CF," #Yi Radicals
#unicode_ranges+="A4D0-ABFF," #Undefined
#unicode_ranges+="AC00-D7AF," #Hangul Syllables
#unicode_ranges+="D7B0-D7FF," #Undefined
#unicode_ranges+="D800-DBFF," #High Surrogate Area
#unicode_ranges+="DC00-DFFF," #Low Surrogate Area
#unicode_ranges+="E000-F8FF," #Private Use Area
#unicode_ranges+="F900-FAFF," #CJK Compatibility Ideographs
#unicode_ranges+="FB00-FB4F," #Alphabetic Presentation Forms
#unicode_ranges+="FB50-FDFF," #Arabic Presentation Forms-A
#unicode_ranges+="FE00-FE0F," #Variation Selectors
#unicode_ranges+="FE10-FE1F," #Undefined
#unicode_ranges+="FE20-FE2F," #Combining Half Marks
#unicode_ranges+="FE30-FE4F," #CJK Compatibility Forms
#unicode_ranges+="FE50-FE6F," #Small Form Variants
#unicode_ranges+="FE70-FEFF," #Arabic Presentation Forms-B
#unicode_ranges+="FF00-FFEF," #Halfwidth and Fullwidth Forms
#unicode_ranges+="FFF0-FFFF," #Specials
#unicode_ranges+="10000-1007F," #Linear B Syllabary
#unicode_ranges+="10080-100FF," #Linear B Ideograms
#unicode_ranges+="10100-1013F," #Aegean Numbers
#unicode_ranges+="10140-102FF," #Undefined
#unicode_ranges+="10300-1032F," #Old Italic
#unicode_ranges+="10330-1034F," #Gothic
#unicode_ranges+="10380-1039F," #Ugaritic
#unicode_ranges+="10400-1044F," #Deseret
#unicode_ranges+="10450-1047F," #Shavian
#unicode_ranges+="10480-104AF," #Osmanya
#unicode_ranges+="104B0-107FF," #Undefined
#unicode_ranges+="10800-1083F," #Cypriot Syllabary
#unicode_ranges+="10840-1CFFF," #Undefined
#unicode_ranges+="1D000-1D0FF," #Byzantine Musical Symbols
#unicode_ranges+="1D100-1D1FF," #Musical Symbols
#unicode_ranges+="1D200-1D2FF," #Undefined
#unicode_ranges+="1D300-1D35F," #Tai Xuan Jing Symbols
#unicode_ranges+="1D360-1D3FF," #Undefined
#unicode_ranges+="1D400-1D7FF," #Mathematical Alphanumeric Symbols
#unicode_ranges+="1D800-1FFFF," #Undefined
#unicode_ranges+="20000-2A6DF," #CJK Unified Ideographs Extension B
#unicode_ranges+="2A6E0-2F7FF," #Undefined
#unicode_ranges+="2F800-2FA1F," #CJK Compatibility Ideographs Supplement
#unicode_ranges+="2FAB0-DFFFF," #Unused
#unicode_ranges+="E0000-E007F," #Tags
#unicode_ranges+="E0080-E00FF," #Unused
#unicode_ranges+="E0100-E01EF," #Variation Selectors Supplement
#unicode_ranges+="E01F0-EFFFF," #Unused
#unicode_ranges+="F0000-FFFFD," #Supplementary Private Use Area-A
#unicode_ranges+="FFFFE-FFFFF," #Unused
#unicode_ranges+="100000-10FFFD," #Supplementary Private Use Area-B
char_res_string = ""
for r in unicode_ranges[:-1].split(","):
start = int('0x'+r.split('-')[0], 16)
end = int('0x'+r.split('-')[1], 16)+1
print(start, end)
char_res_string += ''.join(chr(i) for i in range(start, end))
print(char_res_string)

View File

@@ -119,6 +119,10 @@ sharedfoot = """
// get value // get value
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
} }
if(tInstruction.txt=="timeout") if(tInstruction.txt=="timeout")
{ {
@@ -146,25 +150,33 @@ navigation = """
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=""
} }
""" """

View File

@@ -1013,24 +1013,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 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
@@ -1283,7 +1240,10 @@ Timer tmSerial
// get value // get value
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
dim=dimValue // get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
} }
if(tInstruction.txt=="timeout") if(tInstruction.txt=="timeout")
{ {

View File

@@ -2036,24 +2036,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 click bNext,1
}
Hotspot mSwipeUp Hotspot mSwipeUp
Attributes Attributes
@@ -2073,24 +2056,7 @@ Hotspot mSwipeUp
Events Events
Touch Press Event 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 click bPrev,1
}
Hotspot mSwipePrev Hotspot mSwipePrev
Attributes Attributes
@@ -2110,24 +2076,7 @@ Hotspot mSwipePrev
Events Events
Touch Press Event 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 click bPrev,1
}
Timer tmSerial Timer tmSerial
Attributes Attributes
@@ -2191,25 +2140,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=""
} }
// get Type // get Type
@@ -2939,6 +2896,10 @@ Timer tmSerial
// get value // get value
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
} }
if(tInstruction.txt=="timeout") if(tInstruction.txt=="timeout")
{ {

View File

@@ -976,24 +976,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 click bPrev,1
}
Timer tmSerial Timer tmSerial
Attributes Attributes
@@ -1131,25 +1080,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=""
} }
// get Type // get Type
@@ -1353,6 +1310,10 @@ Timer tmSerial
// get value // get value
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
} }
if(tInstruction.txt=="timeout") if(tInstruction.txt=="timeout")
{ {

View File

@@ -895,24 +895,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 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
@@ -1127,7 +1084,10 @@ Timer tmSerial
// get value // get value
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
dim=dimValue // get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
} }
if(tInstruction.txt=="timeout") if(tInstruction.txt=="timeout")
{ {

View File

@@ -597,24 +597,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 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
@@ -914,7 +871,10 @@ Timer tmSerial
// get value // get value
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
dim=dimValue // get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
} }
if(tInstruction.txt=="timeout") if(tInstruction.txt=="timeout")
{ {

View File

@@ -460,7 +460,7 @@ Text tStatus
Opacity : 127 Opacity : 127
x coordinate : 11 x coordinate : 11
y coordinate : 190 y coordinate : 190
Width : 97 Width : 115
Height : 54 Height : 54
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
@@ -475,7 +475,7 @@ Text tStatus
Vertical Alignment : top Vertical Alignment : top
Input Type : character Input Type : character
Text : Text :
Max. Text Size : 10 Max. Text Size : 40
Word wrap : enabled Word wrap : enabled
Horizontal Spacing : 0 Horizontal Spacing : 0
Vertical Spacing : 0 Vertical Spacing : 0
@@ -520,7 +520,7 @@ Text tCurTempLbl
Opacity : 127 Opacity : 127
x coordinate : 13 x coordinate : 13
y coordinate : 85 y coordinate : 85
Width : 95 Width : 115
Height : 30 Height : 30
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
@@ -550,7 +550,7 @@ Text tStateLbl
Opacity : 127 Opacity : 127
x coordinate : 12 x coordinate : 12
y coordinate : 156 y coordinate : 156
Width : 95 Width : 115
Height : 30 Height : 30
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
@@ -610,7 +610,7 @@ Text tALbl
Opacity : 127 Opacity : 127
x coordinate : 7 x coordinate : 7
y coordinate : 260 y coordinate : 260
Width : 67 Width : 74
Height : 30 Height : 30
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
@@ -670,7 +670,7 @@ Text tCurTemp
Opacity : 127 Opacity : 127
x coordinate : 13 x coordinate : 13
y coordinate : 119 y coordinate : 119
Width : 95 Width : 115
Height : 30 Height : 30
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
@@ -1566,24 +1566,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 click bPrev,1
}
Timer tmSerial Timer tmSerial
Attributes Attributes
@@ -1721,25 +1670,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
@@ -1993,6 +1950,10 @@ Timer tmSerial
// get value // get value
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
} }
if(tInstruction.txt=="timeout") if(tInstruction.txt=="timeout")
{ {

View File

@@ -10,53 +10,53 @@ pageTest
14 Component(s) 14 Component(s)
14 Line(s) of event code 14 Line(s) of event code
14 Unique line(s) of event code 14 Unique line(s) of event code
pageStartup
19 Component(s)
154 Line(s) of event code
115 Unique line(s) of event code
cardMedia
33 Component(s)
350 Line(s) of event code
179 Unique line(s) of event code
popupNotify popupNotify
17 Component(s) 17 Component(s)
200 Line(s) of event code 203 Line(s) of event code
125 Unique line(s) of event code 127 Unique line(s) of event code
popupLight
27 Component(s)
348 Line(s) of event code
188 Unique line(s) of event code
cardThermo
56 Component(s)
546 Line(s) of event code
290 Unique line(s) of event code
cardQR
30 Component(s)
363 Line(s) of event code
207 Unique line(s) of event code
popupShutter
20 Component(s)
244 Line(s) of event code
138 Unique line(s) of event code
screensaver
37 Component(s)
305 Line(s) of event code
244 Unique line(s) of event code
cardGrid
42 Component(s)
439 Line(s) of event code
254 Unique line(s) of event code
cardAlarm cardAlarm
38 Component(s) 38 Component(s)
364 Line(s) of event code 362 Line(s) of event code
224 Unique line(s) of event code 227 Unique line(s) of event code
popupShutter
20 Component(s)
247 Line(s) of event code
140 Unique line(s) of event code
cardGrid
42 Component(s)
438 Line(s) of event code
258 Unique line(s) of event code
popupLight
27 Component(s)
351 Line(s) of event code
190 Unique line(s) of event code
cardMedia
33 Component(s)
348 Line(s) of event code
182 Unique line(s) of event code
screensaver
37 Component(s)
307 Line(s) of event code
245 Unique line(s) of event code
pageStartup
19 Component(s)
157 Line(s) of event code
117 Unique line(s) of event code
cardThermo
56 Component(s)
545 Line(s) of event code
294 Unique line(s) of event code
cardEntities cardEntities
65 Component(s) 65 Component(s)
1133 Line(s) of event code 1132 Line(s) of event code
491 Unique line(s) of event code 495 Unique line(s) of event code
cardQR
30 Component(s)
361 Line(s) of event code
210 Unique line(s) of event code
Total Total
13 Page(s) 13 Page(s)
404 Component(s) 404 Component(s)
4471 Line(s) of event code 4476 Line(s) of event code
1176 Unique line(s) of event code 1180 Unique line(s) of event code

View File

@@ -568,6 +568,10 @@ Timer tmSerial
// get value // get value
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
} }
if(tInstruction.txt=="timeout") if(tInstruction.txt=="timeout")
{ {

View File

@@ -906,6 +906,10 @@ Timer tmSerial
// get value // get value
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
} }
if(tInstruction.txt=="timeout") if(tInstruction.txt=="timeout")
{ {

View File

@@ -519,6 +519,10 @@ Timer tmSerial
// get value // get value
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
} }
if(tInstruction.txt=="timeout") if(tInstruction.txt=="timeout")
{ {

View File

@@ -690,6 +690,10 @@ Timer tmSerial
// get value // get value
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
} }
if(tInstruction.txt=="time") if(tInstruction.txt=="time")
{ {

View File

@@ -942,6 +942,9 @@ Timer tmSerial
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
dim=dimValue dim=dimValue
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
} }
if(tInstruction.txt=="time") if(tInstruction.txt=="time")
{ {

View File

@@ -475,24 +475,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 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
@@ -726,7 +683,10 @@ Timer tmSerial
// get value // get value
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
dim=dimValue // get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
} }
if(tInstruction.txt=="timeout") if(tInstruction.txt=="timeout")
{ {

View File

@@ -1083,24 +1083,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 click bNext,1
}
Hotspot mSwipeUp Hotspot mSwipeUp
Attributes Attributes
@@ -1111,24 +1094,7 @@ Hotspot mSwipeUp
Events Events
Touch Press Event 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 click bPrev,1
}
Hotspot mSwipePrev Hotspot mSwipePrev
Attributes Attributes
@@ -1139,24 +1105,7 @@ Hotspot mSwipePrev
Events Events
Touch Press Event 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 click bPrev,1
}
Timer tmSerial Timer tmSerial
Attributes Attributes
@@ -1219,25 +1168,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=""
} }
// get Type // get Type
@@ -1967,6 +1924,10 @@ Timer tmSerial
// get value // get value
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
} }
if(tInstruction.txt=="timeout") if(tInstruction.txt=="timeout")
{ {

View File

@@ -531,24 +531,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 click bPrev,1
}
Timer tmSerial Timer tmSerial
Attributes Attributes
@@ -667,25 +616,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=""
} }
// get Type // get Type
@@ -889,6 +846,10 @@ Timer tmSerial
// get value // get value
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
} }
if(tInstruction.txt=="timeout") if(tInstruction.txt=="timeout")
{ {

View File

@@ -465,24 +465,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 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
@@ -678,7 +635,10 @@ Timer tmSerial
// get value // get value
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
dim=dimValue // get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
} }
if(tInstruction.txt=="timeout") if(tInstruction.txt=="timeout")
{ {

View File

@@ -326,24 +326,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 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
@@ -624,7 +581,10 @@ Timer tmSerial
// get value // get value
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
dim=dimValue // get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
} }
if(tInstruction.txt=="timeout") if(tInstruction.txt=="timeout")
{ {

View File

@@ -227,7 +227,7 @@ Text tStatus
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard : none Associated Keyboard : none
Text : Text :
Max. Text Size : 10 Max. Text Size : 40
Text tCF1 Text tCF1
Attributes Attributes
@@ -804,24 +804,7 @@ Hotspot mSwipeNext
Events Events
Touch Press Event 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 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
//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 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
//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 click bPrev,1
}
Timer tmSerial Timer tmSerial
Attributes Attributes
@@ -940,25 +889,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
@@ -1212,6 +1169,10 @@ Timer tmSerial
// get value // get value
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
} }
if(tInstruction.txt=="timeout") if(tInstruction.txt=="timeout")
{ {

View File

@@ -273,6 +273,10 @@ Timer tmSerial
// get value // get value
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
} }
if(tInstruction.txt=="timeout") if(tInstruction.txt=="timeout")
{ {

View File

@@ -560,6 +560,10 @@ Timer tmSerial
// get value // get value
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
} }
if(tInstruction.txt=="timeout") if(tInstruction.txt=="timeout")
{ {

View File

@@ -310,6 +310,10 @@ Timer tmSerial
// get value // get value
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
} }
if(tInstruction.txt=="timeout") if(tInstruction.txt=="timeout")
{ {

View File

@@ -405,6 +405,10 @@ Timer tmSerial
// get value // get value
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
} }
if(tInstruction.txt=="time") if(tInstruction.txt=="time")
{ {

View File

@@ -397,6 +397,9 @@ Timer tmSerial
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0 covx tTmp.txt,dimValue,0,0
dim=dimValue dim=dimValue
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
} }
if(tInstruction.txt=="time") if(tInstruction.txt=="time")
{ {

Binary file not shown.

Binary file not shown.

1842
Nextion2Text.py Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -21,7 +21,6 @@ nspanel-1:
name: name name: name
icon: lightbulb icon: lightbulb
alternativeLayout: True alternativeLayout: True
# theme: !include /config/appdaemon/apps/screensaver-theme.yaml
cards: cards:
- type: cardEntities - type: cardEntities
entities: entities:

View File

@@ -269,7 +269,7 @@ class LuiController(object):
if button_type == "colorWheel": if button_type == "colorWheel":
self._ha_api.log(value) self._ha_api.log(value)
value = value.split('|') value = value.split('|')
color = pos_to_color(int(value[0]), int(value[1])) color = pos_to_color(int(value[0]), int(value[1]), int(value[2]))
self._ha_api.log(color) self._ha_api.log(color)
self._ha_api.get_entity(entity_id).call_service("turn_on", rgb_color=color) self._ha_api.get_entity(entity_id).call_service("turn_on", rgb_color=color)

View File

@@ -11,8 +11,9 @@ def hsv2rgb(h, s, v):
hsv = colorsys.hsv_to_rgb(h,s,v) hsv = colorsys.hsv_to_rgb(h,s,v)
return tuple(round(i * 255) for i in hsv) return tuple(round(i * 255) for i in hsv)
def pos_to_color(x, y): def pos_to_color(x, y, wh):
r = 160/2 #r = 160/2
r = wh/2
x = round((x - r) / r * 100) / 100 x = round((x - r) / r * 100) / 100
y = round((r - y) / r * 100) / 100 y = round((r - y) / r * 100) / 100

View File

@@ -25,6 +25,7 @@ translations = {
'currently': "Tans", 'currently': "Tans",
'operation': "Operasie", 'operation': "Operasie",
'fan_mode': "Waaier modus", 'fan_mode': "Waaier modus",
'heating': "Verhit",
}, },
'ar': { 'ar': {
'ACTIVATE': "تفعيل", 'ACTIVATE': "تفعيل",
@@ -52,7 +53,7 @@ translations = {
'currently': "حاليا", 'currently': "حاليا",
'operation': "الوضع", 'operation': "الوضع",
'fan_mode': "وضع المروحة", 'fan_mode': "وضع المروحة",
'heating': "إعادة تكوين الجهاز", 'heating': "تدفئة",
}, },
'bg': { 'bg': {
'ACTIVATE': "Активирай", 'ACTIVATE': "Активирай",
@@ -81,7 +82,7 @@ translations = {
'currently': "В момента", 'currently': "В момента",
'operation': "Режим", 'operation': "Режим",
'fan_mode': "Режим на вентилатора", 'fan_mode': "Режим на вентилатора",
'heating': "Преконфигуриране на устройство", 'heating': "Отопление",
}, },
'ca': { 'ca': {
'PRESS': "Prem", 'PRESS': "Prem",
@@ -111,7 +112,7 @@ translations = {
'currently': "Actual", 'currently': "Actual",
'operation': "Funcionament", 'operation': "Funcionament",
'fan_mode': "Velocitat ventilador", 'fan_mode': "Velocitat ventilador",
'heating': "S'està reconfigurant el dispositiu", 'heating': "Escalfant",
}, },
'cs': { 'cs': {
'PRESS': "Stisknutí", 'PRESS': "Stisknutí",
@@ -141,7 +142,7 @@ translations = {
'currently': "Aktuálně", 'currently': "Aktuálně",
'operation': "Provoz", 'operation': "Provoz",
'fan_mode': "Režim ventilátoru", 'fan_mode': "Režim ventilátoru",
'heating': "Znovunastavení zařízení", 'heating': "Topení",
}, },
'da': { 'da': {
'PRESS': "Tryk", 'PRESS': "Tryk",
@@ -171,7 +172,7 @@ translations = {
'currently': "Aktuelt", 'currently': "Aktuelt",
'operation': "Drifttype", 'operation': "Drifttype",
'fan_mode': "Blæsertilstand", 'fan_mode': "Blæsertilstand",
'heating': "Omkonfigurering af enhed", 'heating': "Opvarmning",
}, },
'de': { 'de': {
'PRESS': "Drücken", 'PRESS': "Drücken",
@@ -201,7 +202,7 @@ translations = {
'currently': "Aktuell", 'currently': "Aktuell",
'operation': "Aktion", 'operation': "Aktion",
'fan_mode': "Ventilator-Modus", 'fan_mode': "Ventilator-Modus",
'heating': "Gerät neu konfigurieren", 'heating': "Heizung",
}, },
'el': { 'el': {
'PRESS': "Πατήστε", 'PRESS': "Πατήστε",
@@ -231,7 +232,7 @@ translations = {
'currently': "Αυτή τη στιγμή", 'currently': "Αυτή τη στιγμή",
'operation': "Λειτουργία", 'operation': "Λειτουργία",
'fan_mode': "Λειτουργία ανεμιστήρα", 'fan_mode': "Λειτουργία ανεμιστήρα",
'heating': "Επαναδιαμόρφωση της συσκευής", 'heating': "Θέρμανση",
}, },
'en': { 'en': {
'PRESS': "Press", 'PRESS': "Press",
@@ -261,7 +262,7 @@ translations = {
'currently': "Currently", 'currently': "Currently",
'operation': "Operation", 'operation': "Operation",
'fan_mode': "Fan mode", 'fan_mode': "Fan mode",
'heating': "Reconfiguring device", 'heating': "Heating",
}, },
'es': { 'es': {
'PRESS': "Pulsa", 'PRESS': "Pulsa",
@@ -291,7 +292,7 @@ translations = {
'currently': "Actualmente", 'currently': "Actualmente",
'operation': "Modo", 'operation': "Modo",
'fan_mode': "Modo del ventilador", 'fan_mode': "Modo del ventilador",
'heating': "Reconfigurando el dispositivo", 'heating': "Calentando",
}, },
'et': { 'et': {
'PRESS': "Vajuta nuppu", 'PRESS': "Vajuta nuppu",
@@ -321,7 +322,7 @@ translations = {
'currently': "Hetkel", 'currently': "Hetkel",
'operation': "Töörežiim", 'operation': "Töörežiim",
'fan_mode': "Ventilaatori režiim", 'fan_mode': "Ventilaatori režiim",
'heating': "Seadme sätete muutmine", 'heating': "Küte",
}, },
'fa': { 'fa': {
'ACTIVATE': "فعال سازی", 'ACTIVATE': "فعال سازی",
@@ -349,7 +350,7 @@ translations = {
'currently': "در حال حاضر", 'currently': "در حال حاضر",
'operation': "عملیات", 'operation': "عملیات",
'fan_mode': "حالت فن", 'fan_mode': "حالت فن",
'heating': "پیکربندی مجدد دستگاه", 'heating': "گرمایش",
}, },
'fi': { 'fi': {
'PRESS': "Paina", 'PRESS': "Paina",
@@ -379,7 +380,7 @@ translations = {
'currently': "Tällä hetkellä", 'currently': "Tällä hetkellä",
'operation': "Toiminto", 'operation': "Toiminto",
'fan_mode': "Tuuletustila", 'fan_mode': "Tuuletustila",
'heating': "Laitetta konfiguroidaan uudelleen", 'heating': "Lämmitys",
}, },
'fr': { 'fr': {
'PRESS': "Appui", 'PRESS': "Appui",
@@ -409,7 +410,7 @@ translations = {
'currently': "Actuellement", 'currently': "Actuellement",
'operation': "Opération", 'operation': "Opération",
'fan_mode': "Mode de ventilation", 'fan_mode': "Mode de ventilation",
'heating': "Reconfigurer l'appareil", 'heating': "En chauffe",
}, },
'he': { 'he': {
'PRESS': "לחיצה", 'PRESS': "לחיצה",
@@ -439,7 +440,7 @@ translations = {
'currently': "כעת", 'currently': "כעת",
'operation': "פעולה", 'operation': "פעולה",
'fan_mode': "מצב מאורר", 'fan_mode': "מצב מאורר",
'heating': "קביעת תצורה מחדש של התקן", 'heating': "חימום",
}, },
'hr': { 'hr': {
'ACTIVATE': "Aktivirati", 'ACTIVATE': "Aktivirati",
@@ -467,7 +468,7 @@ translations = {
'currently': "Trenutno", 'currently': "Trenutno",
'operation': "operacija", 'operation': "operacija",
'fan_mode': "Način rada s ventilatorom", 'fan_mode': "Način rada s ventilatorom",
'heating': "Ponovno učitavanje konfiguracije", 'heating': "Grijanje",
}, },
'hu': { 'hu': {
'PRESS': "Gombnyomás", 'PRESS': "Gombnyomás",
@@ -497,7 +498,7 @@ translations = {
'currently': "Jelenleg", 'currently': "Jelenleg",
'operation': "Működés", 'operation': "Működés",
'fan_mode': "Ventilátor", 'fan_mode': "Ventilátor",
'heating': "Eszköz újrakonfigurálása", 'heating': "Fűtés",
}, },
'hy': { 'hy': {
'ACTIVATE': "Ակտիվացնել", 'ACTIVATE': "Ակտիվացնել",
@@ -524,7 +525,7 @@ translations = {
'currently': "Ներկայումս", 'currently': "Ներկայումս",
'operation': "Գործողություն", 'operation': "Գործողություն",
'fan_mode': "Երկրպագուների ռեժիմ", 'fan_mode': "Երկրպագուների ռեժիմ",
'heating': "Կարգավորման վերաբեռնում", 'heating': "Տաքացում",
}, },
'id': { 'id': {
'PRESS': "Tekan", 'PRESS': "Tekan",
@@ -554,7 +555,7 @@ translations = {
'currently': "Saat ini", 'currently': "Saat ini",
'operation': "Operasi", 'operation': "Operasi",
'fan_mode': "Mode kipas", 'fan_mode': "Mode kipas",
'heating': "Mengonfigurasi ulang perangkat", 'heating': "Memanaskan",
}, },
'is': { 'is': {
'PRESS': "Ýttu á", 'PRESS': "Ýttu á",
@@ -583,7 +584,7 @@ translations = {
'currently': "Er núna", 'currently': "Er núna",
'operation': "Aðgerð", 'operation': "Aðgerð",
'fan_mode': "Viftuhamur", 'fan_mode': "Viftuhamur",
'heating': "Endurhleðsla stillinga", 'heating': "Kynding",
}, },
'it': { 'it': {
'PRESS': "Premi", 'PRESS': "Premi",
@@ -613,7 +614,7 @@ translations = {
'currently': "Attualmente", 'currently': "Attualmente",
'operation': "Operazione", 'operation': "Operazione",
'fan_mode': "Ventilazione", 'fan_mode': "Ventilazione",
'heating': "Riconfigurazione del dispositivo", 'heating': "Riscaldamento",
}, },
'lb': { 'lb': {
'ACTIVATE': "Aktivéieren", 'ACTIVATE': "Aktivéieren",
@@ -641,7 +642,7 @@ translations = {
'currently': "Momentan", 'currently': "Momentan",
'operation': "Aktioun", 'operation': "Aktioun",
'fan_mode': "Ventilatioun Modus", 'fan_mode': "Ventilatioun Modus",
'heating': "Apparat frësch konfiguréieren", 'heating': "Hëtzen",
}, },
'lt': { 'lt': {
'ACTIVATE': "Suaktyvinti", 'ACTIVATE': "Suaktyvinti",
@@ -668,7 +669,7 @@ translations = {
'currently': "Šiuo metu", 'currently': "Šiuo metu",
'operation': "Operacija", 'operation': "Operacija",
'fan_mode': "Ventiliatoriaus režimas", 'fan_mode': "Ventiliatoriaus režimas",
'heating': "Serverio valdymas", 'heating': "Šildymas",
}, },
'lv': { 'lv': {
'ACTIVATE': "Aktivizēt", 'ACTIVATE': "Aktivizēt",
@@ -695,7 +696,7 @@ translations = {
'currently': "Pašlaik", 'currently': "Pašlaik",
'operation': "Darbība", 'operation': "Darbība",
'fan_mode': "Ventilatora režīms", 'fan_mode': "Ventilatora režīms",
'heating': "YAML konfigurācijas pārlādēšana", 'heating': "Sildīšana",
}, },
'nb': { 'nb': {
'PRESS': "trykk", 'PRESS': "trykk",
@@ -725,7 +726,7 @@ translations = {
'currently': "Er nå", 'currently': "Er nå",
'operation': "Operasjon", 'operation': "Operasjon",
'fan_mode': "Viftemodus", 'fan_mode': "Viftemodus",
'heating': "Konfigurerer enheten på nytt", 'heating': "Oppvarming",
}, },
'nl': { 'nl': {
'PRESS': "Klik", 'PRESS': "Klik",
@@ -755,7 +756,7 @@ translations = {
'currently': "Momenteel", 'currently': "Momenteel",
'operation': "Werking", 'operation': "Werking",
'fan_mode': "Ventilatormodus", 'fan_mode': "Ventilatormodus",
'heating': "Apparaat opnieuw configureren", 'heating': "Verwarmen",
}, },
'nn': { 'nn': {
'ACTIVATE': "Aktiver", 'ACTIVATE': "Aktiver",
@@ -784,7 +785,7 @@ translations = {
'currently': "Akkurat no", 'currently': "Akkurat no",
'operation': "Operasjon", 'operation': "Operasjon",
'fan_mode': "Viftemodus", 'fan_mode': "Viftemodus",
'heating': "Konfigurasjonsomlasting", 'heating': "Oppvarming",
}, },
'pl': { 'pl': {
'PRESS': "Naciśnij", 'PRESS': "Naciśnij",
@@ -814,7 +815,7 @@ translations = {
'currently': "Obecnie", 'currently': "Obecnie",
'operation': "Tryb pracy", 'operation': "Tryb pracy",
'fan_mode': "Tryb nawiewu", 'fan_mode': "Tryb nawiewu",
'heating': "Ponowne konfigurowanie urządzenia", 'heating': "grzanie",
}, },
'pt': { 'pt': {
'PRESS': "Pressione", 'PRESS': "Pressione",
@@ -843,7 +844,7 @@ translations = {
'currently': "Atualmente", 'currently': "Atualmente",
'operation': "Operação", 'operation': "Operação",
'fan_mode': "Modo ventilar", 'fan_mode': "Modo ventilar",
'heating': "Reconfigurar dispositivo", 'heating': "Aquecimento",
}, },
'ro': { 'ro': {
'ACTIVATE': "Activați", 'ACTIVATE': "Activați",
@@ -872,7 +873,7 @@ translations = {
'currently': "În prezent", 'currently': "În prezent",
'operation': "Operație", 'operation': "Operație",
'fan_mode': "Mod ventilator", 'fan_mode': "Mod ventilator",
'heating': "Reîncărcarea configurației YAML", 'heating': "Încălzește",
}, },
'ru': { 'ru': {
'PRESS': "Нажать", 'PRESS': "Нажать",
@@ -902,7 +903,7 @@ translations = {
'currently': "Сейчас", 'currently': "Сейчас",
'operation': "Режим работы", 'operation': "Режим работы",
'fan_mode': "Режим вентиляции", 'fan_mode': "Режим вентиляции",
'heating': "Перенастройка устройства", 'heating': "Обогрев",
}, },
'sk': { 'sk': {
'ACTIVATE': "Aktivovať", 'ACTIVATE': "Aktivovať",
@@ -931,7 +932,7 @@ translations = {
'currently': "Aktuálne", 'currently': "Aktuálne",
'operation': "Prevádzka", 'operation': "Prevádzka",
'fan_mode': "Režim ventilátora", 'fan_mode': "Režim ventilátora",
'heating': "Načítavanie novej konfigurácie", 'heating': "Kúrenie",
}, },
'sl': { 'sl': {
'PRESS': "Pritisnite", 'PRESS': "Pritisnite",
@@ -960,7 +961,7 @@ translations = {
'currently': "Trenutno", 'currently': "Trenutno",
'operation': "Delovanje", 'operation': "Delovanje",
'fan_mode': "Način ventilatorja", 'fan_mode': "Način ventilatorja",
'heating': "Ponovno konfiguriranje naprave", 'heating': "Ogrevanje",
}, },
'sv': { 'sv': {
'PRESS': "Tryck", 'PRESS': "Tryck",
@@ -990,7 +991,7 @@ translations = {
'currently': "Nuvarande", 'currently': "Nuvarande",
'operation': "Driftläge", 'operation': "Driftläge",
'fan_mode': "Fläktläge", 'fan_mode': "Fläktläge",
'heating': "Konfigurerar om enheten", 'heating': "Värmer",
}, },
'th': { 'th': {
'PRESS': "กด", 'PRESS': "กด",
@@ -1018,7 +1019,7 @@ translations = {
'currently': "ในขณะนี้", 'currently': "ในขณะนี้",
'operation': "การทำงาน", 'operation': "การทำงาน",
'fan_mode': "โหมดของพัดลม", 'fan_mode': "โหมดของพัดลม",
'heating': "โหลดการกำหนดค่า YAML อีกครั้ง", 'heating': "โหมดอบอุ่น",
}, },
'tr': { 'tr': {
'PRESS': "Basınız", 'PRESS': "Basınız",
@@ -1048,7 +1049,7 @@ translations = {
'currently': "Şu an", 'currently': "Şu an",
'operation': "İşlem", 'operation': "İşlem",
'fan_mode': "Fan modu", 'fan_mode': "Fan modu",
'heating': "Cihazı yeniden yapılandırma", 'heating': "Isıtma",
}, },
'uk': { 'uk': {
'PRESS': "Натисніть", 'PRESS': "Натисніть",
@@ -1077,7 +1078,7 @@ translations = {
'currently': "В даний час", 'currently': "В даний час",
'operation': "Режим", 'operation': "Режим",
'fan_mode': "Режим вентиляції", 'fan_mode': "Режим вентиляції",
'heating': "Переналаштування пристрою", 'heating': "Нагрівання",
}, },
'vi': { 'vi': {
'ACTIVATE': "Kích hoạt", 'ACTIVATE': "Kích hoạt",
@@ -1105,15 +1106,22 @@ translations = {
'currently': "Hiện tại", 'currently': "Hiện tại",
'operation': "Chế độ hoạt động", 'operation': "Chế độ hoạt động",
'fan_mode': "Chế độ quạt", 'fan_mode': "Chế độ quạt",
'heating': "Đang tải lại cấu hình YAML", 'heating': "Làm ấm",
}, },
} }
def get_translation(locale, input): def lookup(locale, inputstr):
locale = locale.split("_")[0] locale = locale.split("_")[0]
en_fallback_res = translations.get("en").get(input, input) en_fallback_res = translations.get("en").get(inputstr, inputstr)
if locale in translations: if locale in translations:
return translations.get(locale).get(input, en_fallback_res) return translations.get(locale).get(inputstr, en_fallback_res)
else: else:
return en_fallback_res return en_fallback_res
def get_translation(locale, inputstr):
inputstr = inputstr.replace("heat", "heating").replace("dry", "drying").replace("cool", "cooling").replace("fan_only", "fan")
if inputstr == "heating_cooling":
return f'{lookup(locale, "heating")}/{lookup(locale, "cooling")}'
return lookup(locale, inputstr)

View File

@@ -281,7 +281,12 @@ class LuiPagesGen(object):
current_temp = get_attr_safe(entity, "current_temperature", "") current_temp = get_attr_safe(entity, "current_temperature", "")
dest_temp = int(get_attr_safe(entity, "temperature", 0)*10) dest_temp = int(get_attr_safe(entity, "temperature", 0)*10)
status = get_attr_safe(entity, "hvac_action", "") status = get_attr_safe(entity, "hvac_action", "")
state_value = f"{get_translation(self._locale,status)} \n ({get_translation(self._locale,entity.state)})" state_value = ""
if status != "":
state_value += f"{get_translation(self._locale, status)}\r\n("
state_value += f"{get_translation(self._locale, entity.state)}"
if status != "":
state_value += ")"
min_temp = int(get_attr_safe(entity, "min_temp", 0)*10) min_temp = int(get_attr_safe(entity, "min_temp", 0)*10)
max_temp = int(get_attr_safe(entity, "max_temp", 0)*10) max_temp = int(get_attr_safe(entity, "max_temp", 0)*10)
step_temp = int(get_attr_safe(entity, "target_temp_step", 0.5)*10) step_temp = int(get_attr_safe(entity, "target_temp_step", 0.5)*10)
@@ -354,7 +359,7 @@ class LuiPagesGen(object):
if entity.state == "off": if entity.state == "off":
onoffbutton = 1374 onoffbutton = 1374
else: else:
onoffbutton = rgb_dec565([255,255,255]) onoffbutton = rgb_dec565([255,152,0])
command = f"entityUpd~{heading}~{navigation}~{item}~{icon}~{title}~{author}~{volume}~{iconplaypause}~{source}~{speakerlist[:200]}~{onoffbutton}" command = f"entityUpd~{heading}~{navigation}~{item}~{icon}~{title}~{author}~{volume}~{iconplaypause}~{source}~{speakerlist[:200]}~{onoffbutton}"
self._send_mqtt_msg(command) self._send_mqtt_msg(command)

7
ignore-id.py Normal file
View File

@@ -0,0 +1,7 @@
attributes = {
"id": {
"ignore": True,
"name": "ID",
"struct": "i",
}
}

320
out.txt Normal file
View File

@@ -0,0 +1,320 @@
// data available
if(usize>1)
{
bufferPos=0
while(bufferPos<usize)
{
// check for 0x55 0xBB - Command Init Secuence
if(u[bufferPos]==187&&u[bufferPos-1]==85)
{
//remove garbage at the start of the buffer if there's any to free buffer for command
if(u[bufferPos]!=1)
{
udelete bufferPos-1
}
//instruction is now aligned with buffer, because we deleted garbage before instrcution
//get length after init sequence (check if there are more than to bytes in buffer)
if(3<usize)
{
// check if serial buffer has reached the announced length
ucopy payloadLength,2,2,0
// we are only checking payload length so we have to skip first 3 bytes (init+payload length) (-1 because of < instead of <=)
payloadLength+=3
// payload length does also not contain crc, so we are adding another 2 bytes for crc
payloadLength+=2
if(payloadLength<usize)
{
// calculate crc
crcrest 1,0xFFFF
// u[2] contains payload legth at 3rd pos in buffer, we are calculating crc from 3rd pos with number of bytes from payload length
//crcputu 3,u[2]
// u[2] cotnains payload length, we are calculating a crc over the whole message, so we have to add 3 to the length from u[2]
crcputu 0,payloadLength-1
// get recived crc to be able to compare it
ucopy recvCrc,payloadLength-1,2,0
// compare crc with recived value
if(crcval==recvCrc)
{
// crc is okay
// here is the location where acual code should be
// write command to variable strCommand
ucopy strCommand.txt,4,payloadLength-5,0
// write instruction to tInstuction (debug output, but used as variable here, ui elements will be disabled by default)
spstr strCommand.txt,tInstruction.txt,"~",0
if(tInstruction.txt=="entityUpd")
{
// command format: entityUpd,heading,navigation,[,type,internalName,iconId,iconColor,displayName,optionalValue]x6
spstr strCommand.txt,tHeading.txt,"~",1
// navigation icons
spstr strCommand.txt,tId.txt,"~",2
spstr tId.txt,tTmp.txt,"|",0
if(tTmp.txt=="0")
{
vis bPrev,0
tsw mSwipePrev,0
tsw mSwipeUp,0
}
if(tTmp.txt=="1")
{
vis bPrev,1
tsw mSwipePrev,1
tsw mSwipeUp,0
bPrev.txt=""
}
if(tTmp.txt=="2")
{
vis bPrev,1
tsw mSwipePrev,0
tsw mSwipeUp,1
bPrev.txt=""
}
spstr tId.txt,tTmp.txt,"|",1
if(tTmp.txt=="0")
{
vis bNext,0
tsw mSwipeNext,0
}
if(tTmp.txt=="1")
{
vis bNext,1
tsw mSwipeNext,1
bNext.txt=""
}
// get Type
spstr strCommand.txt,type1.txt,"~",3
// get internal name
spstr strCommand.txt,entn1.txt,"~",4
if(type1.txt=="delete"||type1.txt=="")
{
vis tEntity1,0
vis bEntity1,0
}else
{
// change icon
spstr strCommand.txt,bEntity1.txt,"~",5
vis bEntity1,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",6
covx tTmp.txt,sys0,0,0
bEntity1.pco=sys0
// set name
spstr strCommand.txt,tEntity1.txt,"~",7
vis tEntity1,1
}
// get Type
spstr strCommand.txt,type2.txt,"~",9
// get internal name
spstr strCommand.txt,entn2.txt,"~",10
if(type2.txt=="delete"||type2.txt=="")
{
vis tEntity2,0
vis bEntity2,0
}else
{
// change icon
spstr strCommand.txt,bEntity2.txt,"~",11
vis bEntity2,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",12
covx tTmp.txt,sys0,0,0
bEntity2.pco=sys0
// set name
spstr strCommand.txt,tEntity2.txt,"~",13
vis tEntity2,1
}
// get Type
spstr strCommand.txt,type3.txt,"~",15
// get internal name
spstr strCommand.txt,entn3.txt,"~",16
if(type3.txt=="delete"||type3.txt=="")
{
vis tEntity3,0
vis bEntity3,0
}else
{
// change icon
spstr strCommand.txt,bEntity3.txt,"~",17
vis bEntity3,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",18
covx tTmp.txt,sys0,0,0
bEntity3.pco=sys0
// set name
spstr strCommand.txt,tEntity3.txt,"~",19
vis tEntity3,1
}
// get Type
spstr strCommand.txt,type4.txt,"~",21
// get internal name
spstr strCommand.txt,entn4.txt,"~",22
if(type4.txt=="delete"||type4.txt=="")
{
vis tEntity4,0
vis bEntity4,0
}else
{
// change icon
spstr strCommand.txt,bEntity4.txt,"~",23
vis bEntity4,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",24
covx tTmp.txt,sys0,0,0
bEntity4.pco=sys0
// set name
spstr strCommand.txt,tEntity4.txt,"~",25
vis tEntity4,1
}
// get Type
spstr strCommand.txt,type5.txt,"~",27
// get internal name
spstr strCommand.txt,entn5.txt,"~",28
if(type5.txt=="delete"||type5.txt=="")
{
vis tEntity5,0
vis bEntity5,0
}else
{
// change icon
spstr strCommand.txt,bEntity5.txt,"~",29
vis bEntity5,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",30
covx tTmp.txt,sys0,0,0
bEntity5.pco=sys0
// set name
spstr strCommand.txt,tEntity5.txt,"~",31
vis tEntity5,1
}
// get Type
spstr strCommand.txt,type6.txt,"~",33
// get internal name
spstr strCommand.txt,entn6.txt,"~",34
if(type6.txt=="delete"||type6.txt=="")
{
vis tEntity6,0
vis bEntity6,0
}else
{
// change icon
spstr strCommand.txt,bEntity6.txt,"~",35
vis bEntity6,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",36
covx tTmp.txt,sys0,0,0
bEntity6.pco=sys0
// set name
spstr strCommand.txt,tEntity6.txt,"~",37
vis tEntity6,1
}
}
if(tInstruction.txt=="pageType")
{
//command format pageType,specialPageName
//write name of speical page to tId
spstr strCommand.txt,tId.txt,"~",1
//save second arg if there's one
spstr strCommand.txt,tTmp.txt,"~",2
//save third arg if there's one
spstr strCommand.txt,pageIcons.tTmp2.txt,"~",3
//we are going to exit this page with this command, so we have to clear the buffer, so we are not getting into a stupid loop ...
udelete payloadLength-1
bufferPos=0
if(tId.txt=="pageStartup")
{
page pageStartup
}
if(tId.txt=="screensaver")
{
page screensaver
}
if(tId.txt=="cardEntities")
{
page cardEntities
}
if(tId.txt=="cardGrid")
{
page cardGrid
}
if(tId.txt=="popupLight")
{
pageIcons.tTmp1.txt=tTmp.txt
page popupLight
}
if(tId.txt=="popupShutter")
{
pageIcons.tTmp1.txt=tTmp.txt
page popupShutter
}
if(tId.txt=="popupNotify")
{
page popupNotify
}
if(tId.txt=="cardThermo")
{
page cardThermo
}
if(tId.txt=="cardMedia")
{
page cardMedia
}
if(tId.txt=="cardAlarm")
{
page cardAlarm
}
if(tId.txt=="cardQR")
{
page cardQR
}
}
if(tInstruction.txt=="time")
{
// get set time to global variable
spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
}
if(tInstruction.txt=="date")
{
// get set date to global variable
spstr strCommand.txt,pageIcons.vaDate.txt,"~",1
}
if(tInstruction.txt=="dimmode")
{
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
}
if(tInstruction.txt=="timeout")
{
//set timeout to global var
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,sleepTimeout,0,0
}
// end of user code
udelete payloadLength-1
bufferPos=0
}
}
}
}
// next character
bufferPos++
}
}