fixed popup pages (add nextion2text)

This commit is contained in:
joBr99
2022-04-01 17:26:00 +00:00
committed by GitHub Actions
parent 13d353d65f
commit 809acb3962
23 changed files with 415 additions and 249 deletions

View File

@@ -1,6 +1,6 @@
diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/landscape/n2t-out/cardAlarm.txt
--- HMI/n2t-out/cardAlarm.txt 2022-04-01 15:25:01.342399464 +0000
+++ HMI/US/landscape/n2t-out/cardAlarm.txt 2022-04-01 15:25:02.174410141 +0000
--- HMI/n2t-out/cardAlarm.txt 2022-04-01 17:25:58.645575442 +0000
+++ HMI/US/landscape/n2t-out/cardAlarm.txt 2022-04-01 17:25:59.457580623 +0000
@@ -17,6 +17,7 @@
vis tInstruction,0
vis tTmp,0
@@ -94,7 +94,7 @@ diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/landscape/n2t-out/cardAlarm.txt
if(tTmp.txt=="enable")
{
tmFlash.en=1
@@ -628,7 +629,7 @@
@@ -628,35 +629,35 @@
if(tInstruction.txt=="time")
{
// get set time to global variable
@@ -103,7 +103,10 @@ diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/landscape/n2t-out/cardAlarm.txt
}
if(tInstruction.txt=="date")
{
@@ -638,25 +639,25 @@
// get set date to global variable
- spstr strCommand.txt,pageIcons.vaDate.txt,"~",1
+ spstr strCommand.txt,pageIcons.vaDate.txt,"?",1
}
if(tInstruction.txt=="dimmode")
{
// get value
@@ -135,8 +138,8 @@ diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/landscape/n2t-out/cardAlarm.txt
udelete payloadLength-1
bufferPos=0
diff -bur HMI/n2t-out/cardEntities.txt HMI/US/landscape/n2t-out/cardEntities.txt
--- HMI/n2t-out/cardEntities.txt 2022-04-01 15:25:01.342399464 +0000
+++ HMI/US/landscape/n2t-out/cardEntities.txt 2022-04-01 15:25:02.178410192 +0000
--- HMI/n2t-out/cardEntities.txt 2022-04-01 17:25:58.649575467 +0000
+++ HMI/US/landscape/n2t-out/cardEntities.txt 2022-04-01 17:25:59.457580623 +0000
@@ -211,7 +211,7 @@
Send Component ID : disabled
Associated Keyboard : none
@@ -531,7 +534,7 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/landscape/n2t-out/cardEntities.txt
//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
@@ -1707,7 +1680,7 @@
@@ -1707,23 +1680,23 @@
if(tInstruction.txt=="time")
{
// get set time to global variable
@@ -540,7 +543,10 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/landscape/n2t-out/cardEntities.txt
}
if(tInstruction.txt=="date")
{
@@ -1717,13 +1690,13 @@
// get set date to global variable
- spstr strCommand.txt,pageIcons.vaDate.txt,"~",1
+ spstr strCommand.txt,pageIcons.vaDate.txt,"?",1
}
if(tInstruction.txt=="dimmode")
{
// get value
@@ -557,8 +563,8 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/landscape/n2t-out/cardEntities.txt
}
// end of user code
diff -bur HMI/n2t-out/cardGrid.txt HMI/US/landscape/n2t-out/cardGrid.txt
--- HMI/n2t-out/cardGrid.txt 2022-04-01 15:25:01.338399413 +0000
+++ HMI/US/landscape/n2t-out/cardGrid.txt 2022-04-01 15:25:02.178410192 +0000
--- HMI/n2t-out/cardGrid.txt 2022-04-01 17:25:58.649575467 +0000
+++ HMI/US/landscape/n2t-out/cardGrid.txt 2022-04-01 17:25:59.457580623 +0000
@@ -12,28 +12,307 @@
Events
@@ -1105,7 +1111,7 @@ diff -bur HMI/n2t-out/cardGrid.txt HMI/US/landscape/n2t-out/cardGrid.txt
//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
@@ -797,7 +1049,7 @@
@@ -797,23 +1049,23 @@
if(tInstruction.txt=="time")
{
// get set time to global variable
@@ -1114,7 +1120,10 @@ diff -bur HMI/n2t-out/cardGrid.txt HMI/US/landscape/n2t-out/cardGrid.txt
}
if(tInstruction.txt=="date")
{
@@ -807,13 +1059,13 @@
// get set date to global variable
- spstr strCommand.txt,pageIcons.vaDate.txt,"~",1
+ spstr strCommand.txt,pageIcons.vaDate.txt,"?",1
}
if(tInstruction.txt=="dimmode")
{
// get value
@@ -1131,8 +1140,8 @@ diff -bur HMI/n2t-out/cardGrid.txt HMI/US/landscape/n2t-out/cardGrid.txt
}
// end of user code
diff -bur HMI/n2t-out/cardMedia.txt HMI/US/landscape/n2t-out/cardMedia.txt
--- HMI/n2t-out/cardMedia.txt 2022-04-01 15:25:01.338399413 +0000
+++ HMI/US/landscape/n2t-out/cardMedia.txt 2022-04-01 15:25:02.174410141 +0000
--- HMI/n2t-out/cardMedia.txt 2022-04-01 17:25:58.649575467 +0000
+++ HMI/US/landscape/n2t-out/cardMedia.txt 2022-04-01 17:25:59.457580623 +0000
@@ -503,13 +503,13 @@
// write command to variable strCommand
ucopy strCommand.txt,4,payloadLength-5,0
@@ -1149,7 +1158,7 @@ diff -bur HMI/n2t-out/cardMedia.txt HMI/US/landscape/n2t-out/cardMedia.txt
spstr tId.txt,tTmp.txt,"|",0
if(tTmp.txt=="0")
{
@@ -583,7 +583,7 @@
@@ -583,35 +583,35 @@
if(tInstruction.txt=="time")
{
// get set time to global variable
@@ -1158,7 +1167,10 @@ diff -bur HMI/n2t-out/cardMedia.txt HMI/US/landscape/n2t-out/cardMedia.txt
}
if(tInstruction.txt=="date")
{
@@ -593,25 +593,25 @@
// get set date to global variable
- spstr strCommand.txt,pageIcons.vaDate.txt,"~",1
+ spstr strCommand.txt,pageIcons.vaDate.txt,"?",1
}
if(tInstruction.txt=="dimmode")
{
// get value
@@ -1190,8 +1202,8 @@ diff -bur HMI/n2t-out/cardMedia.txt HMI/US/landscape/n2t-out/cardMedia.txt
udelete payloadLength-1
bufferPos=0
diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
--- HMI/n2t-out/cardThermo.txt 2022-04-01 15:25:01.342399464 +0000
+++ HMI/US/landscape/n2t-out/cardThermo.txt 2022-04-01 15:25:02.174410141 +0000
--- HMI/n2t-out/cardThermo.txt 2022-04-01 17:25:58.649575467 +0000
+++ HMI/US/landscape/n2t-out/cardThermo.txt 2022-04-01 17:25:59.457580623 +0000
@@ -640,13 +640,13 @@
// write command to variable strCommand
ucopy strCommand.txt,4,payloadLength-5,0
@@ -1448,7 +1460,7 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
//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
@@ -914,7 +914,7 @@
@@ -914,23 +914,23 @@
if(tInstruction.txt=="time")
{
// get set time to global variable
@@ -1457,7 +1469,10 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
}
if(tInstruction.txt=="date")
{
@@ -924,13 +924,13 @@
// get set date to global variable
- spstr strCommand.txt,pageIcons.vaDate.txt,"~",1
+ spstr strCommand.txt,pageIcons.vaDate.txt,"?",1
}
if(tInstruction.txt=="dimmode")
{
// get value
@@ -1474,8 +1489,8 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
}
// end of user code
diff -bur HMI/n2t-out/pageIcons.txt HMI/US/landscape/n2t-out/pageIcons.txt
--- HMI/n2t-out/pageIcons.txt 2022-04-01 15:25:01.338399413 +0000
+++ HMI/US/landscape/n2t-out/pageIcons.txt 2022-04-01 15:25:02.174410141 +0000
--- HMI/n2t-out/pageIcons.txt 2022-04-01 17:25:58.645575442 +0000
+++ HMI/US/landscape/n2t-out/pageIcons.txt 2022-04-01 17:25:59.457580623 +0000
@@ -20,7 +20,7 @@
Attributes
Scope : global
@@ -1486,9 +1501,9 @@ diff -bur HMI/n2t-out/pageIcons.txt HMI/US/landscape/n2t-out/pageIcons.txt
Text tIcons
Attributes
diff -bur HMI/n2t-out/pageStartup.txt HMI/US/landscape/n2t-out/pageStartup.txt
--- HMI/n2t-out/pageStartup.txt 2022-04-01 15:25:01.338399413 +0000
+++ HMI/US/landscape/n2t-out/pageStartup.txt 2022-04-01 15:25:02.174410141 +0000
@@ -257,11 +257,11 @@
--- HMI/n2t-out/pageStartup.txt 2022-04-01 17:25:58.645575442 +0000
+++ HMI/US/landscape/n2t-out/pageStartup.txt 2022-04-01 17:25:59.457580623 +0000
@@ -257,27 +257,27 @@
// 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)
@@ -1502,7 +1517,10 @@ diff -bur HMI/n2t-out/pageStartup.txt HMI/US/landscape/n2t-out/pageStartup.txt
}
if(tInstruction.txt=="date")
{
@@ -271,13 +271,13 @@
// get set date to global variable
- spstr strCommand.txt,pageIcons.vaDate.txt,"~",1
+ spstr strCommand.txt,pageIcons.vaDate.txt,"?",1
}
if(tInstruction.txt=="dimmode")
{
// get value
@@ -1534,8 +1552,8 @@ diff -bur HMI/n2t-out/pageStartup.txt HMI/US/landscape/n2t-out/pageStartup.txt
udelete payloadLength-1
bufferPos=0
diff -bur HMI/n2t-out/popupLight.txt HMI/US/landscape/n2t-out/popupLight.txt
--- HMI/n2t-out/popupLight.txt 2022-04-01 15:25:01.338399413 +0000
+++ HMI/US/landscape/n2t-out/popupLight.txt 2022-04-01 15:25:02.174410141 +0000
--- HMI/n2t-out/popupLight.txt 2022-04-01 17:25:58.645575442 +0000
+++ HMI/US/landscape/n2t-out/popupLight.txt 2022-04-01 17:25:59.457580623 +0000
@@ -438,24 +438,24 @@
// write command to variable strCommand
ucopy strCommand.txt,4,payloadLength-5,0
@@ -1545,23 +1563,23 @@ diff -bur HMI/n2t-out/popupLight.txt HMI/US/landscape/n2t-out/popupLight.txt
if(tInstruction.txt=="entityUpdateDetail")
{
// change icon
- spstr strCommand.txt,tTmp.txt,"}",1
- spstr strCommand.txt,tTmp.txt,"~",1
+ spstr strCommand.txt,tTmp.txt,",",1
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,tIcon1.txt,sys0,1
vis tIcon1,1
// change icon color
- spstr strCommand.txt,tTmp.txt,"}",2
- spstr strCommand.txt,tTmp.txt,"~",2
+ spstr strCommand.txt,tTmp.txt,",",2
covx tTmp.txt,sys0,0,0
tIcon1.pco=sys0
// get Button State
- spstr strCommand.txt,tTmp.txt,"}",3
- spstr strCommand.txt,tTmp.txt,"~",3
+ spstr strCommand.txt,tTmp.txt,",",3
covx tTmp.txt,sys0,0,0
btOnOff1.val=sys0
// get Brightness value
- spstr strCommand.txt,tTmp.txt,"}",4
- spstr strCommand.txt,tTmp.txt,"~",4
+ spstr strCommand.txt,tTmp.txt,",",4
if(tTmp.txt=="disable")
{
@@ -1570,7 +1588,7 @@ diff -bur HMI/n2t-out/popupLight.txt HMI/US/landscape/n2t-out/popupLight.txt
}
}
// get ColorTemp value
- spstr strCommand.txt,tTmp.txt,"}",5
- spstr strCommand.txt,tTmp.txt,"~",5
+ spstr strCommand.txt,tTmp.txt,",",5
if(tTmp.txt=="disable")
{
@@ -1579,32 +1597,35 @@ diff -bur HMI/n2t-out/popupLight.txt HMI/US/landscape/n2t-out/popupLight.txt
}
}
// get Color value
- spstr strCommand.txt,tTmp.txt,"}",6
- spstr strCommand.txt,tTmp.txt,"~",6
+ spstr strCommand.txt,tTmp.txt,",",6
// disable -> isn't supported
if(tTmp.txt=="disable")
{
@@ -541,7 +541,7 @@
@@ -541,34 +541,34 @@
if(tInstruction.txt=="time")
{
// get set time to global variable
- spstr strCommand.txt,pageIcons.vaTime.txt,"}",1
- spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
+ spstr strCommand.txt,pageIcons.vaTime.txt,",",1
}
if(tInstruction.txt=="date")
{
@@ -551,24 +551,24 @@
// get set date to global variable
- spstr strCommand.txt,pageIcons.vaDate.txt,"~",1
+ spstr strCommand.txt,pageIcons.vaDate.txt,"?",1
}
if(tInstruction.txt=="dimmode")
{
// get value
- spstr strCommand.txt,tTmp.txt,"}",1
- spstr strCommand.txt,tTmp.txt,"~",1
+ 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
- spstr strCommand.txt,tTmp.txt,"~",1
+ spstr strCommand.txt,tTmp.txt,",",1
covx tTmp.txt,sleepTimeout,0,0
}
@@ -1612,50 +1633,102 @@ diff -bur HMI/n2t-out/popupLight.txt HMI/US/landscape/n2t-out/popupLight.txt
{
//command format pageType,specialPageName
//write name of speical page to tId
- spstr strCommand.txt,tId.txt,"}",1
- spstr strCommand.txt,tId.txt,"~",1
+ spstr strCommand.txt,tId.txt,",",1
//save second arg if there's one
- spstr strCommand.txt,tTmp.txt,"}",2
- spstr strCommand.txt,tTmp.txt,"~",2
+ spstr strCommand.txt,tTmp.txt,",",2
//save third arg if there's one
- spstr strCommand.txt,pageIcons.tTmp2.txt,"}",3
- spstr strCommand.txt,pageIcons.tTmp2.txt,"~",3
+ 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
diff -bur HMI/n2t-out/popupNotify.txt HMI/US/landscape/n2t-out/popupNotify.txt
--- HMI/n2t-out/popupNotify.txt 2022-04-01 15:25:01.338399413 +0000
+++ HMI/US/landscape/n2t-out/popupNotify.txt 2022-04-01 15:25:02.174410141 +0000
@@ -251,7 +251,7 @@
--- HMI/n2t-out/popupNotify.txt 2022-04-01 17:25:58.645575442 +0000
+++ HMI/US/landscape/n2t-out/popupNotify.txt 2022-04-01 17:25:59.457580623 +0000
@@ -251,70 +251,70 @@
// 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
- spstr strCommand.txt,tInstruction.txt,"~",0
+ spstr strCommand.txt,tInstruction.txt,",",0
if(tInstruction.txt=="entityUpdateDetail")
{
// get entn
@@ -298,7 +298,7 @@
- spstr strCommand.txt,entn.txt,"~",1
+ spstr strCommand.txt,entn.txt,"|",1
// get Heading
- spstr strCommand.txt,tHeading.txt,"~",2
+ spstr strCommand.txt,tHeading.txt,"|",2
// heading color
- spstr strCommand.txt,tTmp.txt,"~",3
+ spstr strCommand.txt,tTmp.txt,"|",3
covx tTmp.txt,sys0,0,0
tHeading.pco=sys0
// get b1
- spstr strCommand.txt,b1.txt,"~",4
+ spstr strCommand.txt,b1.txt,"|",4
if(b1.txt!="")
{
vis b1,1
}
// b1 color
- spstr strCommand.txt,tTmp.txt,"~",5
+ spstr strCommand.txt,tTmp.txt,"|",5
covx tTmp.txt,sys0,0,0
b1.pco=sys0
// get b2
- spstr strCommand.txt,b2.txt,"~",6
+ spstr strCommand.txt,b2.txt,"|",6
if(b2.txt!="")
{
vis b2,1
}
// b2 color
- spstr strCommand.txt,tTmp.txt,"~",7
+ spstr strCommand.txt,tTmp.txt,"|",7
covx tTmp.txt,sys0,0,0
b2.pco=sys0
// get tText
- spstr strCommand.txt,tText.txt,"~",8
+ spstr strCommand.txt,tText.txt,"|",8
// tText color
- spstr strCommand.txt,tTmp.txt,"~",9
+ spstr strCommand.txt,tTmp.txt,"|",9
covx tTmp.txt,sys0,0,0
tText.pco=sys0
//preserve old sleepTimeout
vaOldSleepT.val=sleepTimeout
// sleep timeout
- spstr strCommand.txt,tTmp.txt,"~",10
+ spstr strCommand.txt,tTmp.txt,"|",10
covx tTmp.txt,sys0,0,0
sleepTimeout=sys0
}
if(tInstruction.txt=="time")
{
// get set time to global variable
- spstr strCommand.txt,pageIcons.vaTime.txt,"}",1
- spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
+ spstr strCommand.txt,pageIcons.vaTime.txt,",",1
}
if(tInstruction.txt=="date")
{
@@ -308,13 +308,13 @@
// get set date to global variable
- spstr strCommand.txt,pageIcons.vaDate.txt,"~",1
+ spstr strCommand.txt,pageIcons.vaDate.txt,"?",1
}
if(tInstruction.txt=="dimmode")
{
// get value
- spstr strCommand.txt,tTmp.txt,"}",1
- spstr strCommand.txt,tTmp.txt,"~",1
+ 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
- spstr strCommand.txt,tTmp.txt,"~",1
+ spstr strCommand.txt,tTmp.txt,",",1
covx tTmp.txt,sleepTimeout,0,0
}
@@ -1664,30 +1737,30 @@ diff -bur HMI/n2t-out/popupNotify.txt HMI/US/landscape/n2t-out/popupNotify.txt
sleepTimeout=vaOldSleepT.val
//command format pageType,specialPageName
//write name of speical page to tId
- spstr strCommand.txt,tId.txt,"}",1
- spstr strCommand.txt,tId.txt,"~",1
+ spstr strCommand.txt,tId.txt,",",1
//save second arg if there's one
- spstr strCommand.txt,tTmp.txt,"}",2
- spstr strCommand.txt,tTmp.txt,"~",2
+ spstr strCommand.txt,tTmp.txt,",",2
//save third arg if there's one
- spstr strCommand.txt,pageIcons.tTmp2.txt,"}",3
- spstr strCommand.txt,pageIcons.tTmp2.txt,"~",3
+ 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
diff -bur HMI/n2t-out/popupShutter.txt HMI/US/landscape/n2t-out/popupShutter.txt
--- HMI/n2t-out/popupShutter.txt 2022-04-01 15:25:01.338399413 +0000
+++ HMI/US/landscape/n2t-out/popupShutter.txt 2022-04-01 15:25:02.174410141 +0000
@@ -324,24 +324,24 @@
--- HMI/n2t-out/popupShutter.txt 2022-04-01 17:25:58.645575442 +0000
+++ HMI/US/landscape/n2t-out/popupShutter.txt 2022-04-01 17:25:59.457580623 +0000
@@ -324,45 +324,45 @@
// 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
- spstr strCommand.txt,tInstruction.txt,"~",0
+ spstr strCommand.txt,tInstruction.txt,",",0
if(tInstruction.txt=="entityUpdateDetail")
{
// get Position value
- spstr strCommand.txt,tTmp.txt,"}",1
- spstr strCommand.txt,tTmp.txt,"~",1
+ spstr strCommand.txt,tTmp.txt,",",1
covx tTmp.txt,sys0,0,0
hPosition.val=sys0
@@ -1695,23 +1768,26 @@ diff -bur HMI/n2t-out/popupShutter.txt HMI/US/landscape/n2t-out/popupShutter.txt
if(tInstruction.txt=="dimmode")
{
// get value
- spstr strCommand.txt,tTmp.txt,"}",1
- spstr strCommand.txt,tTmp.txt,"~",1
+ spstr strCommand.txt,tTmp.txt,",",1
covx tTmp.txt,dimValue,0,0
}
if(tInstruction.txt=="time")
{
// get set time to global variable
- spstr strCommand.txt,pageIcons.vaTime.txt,"}",1
- spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
+ spstr strCommand.txt,pageIcons.vaTime.txt,",",1
}
if(tInstruction.txt=="date")
{
@@ -351,18 +351,18 @@
// get set date to global variable
- spstr strCommand.txt,pageIcons.vaDate.txt,"~",1
+ spstr strCommand.txt,pageIcons.vaDate.txt,"?",1
}
if(tInstruction.txt=="timeout")
{
//set timeout to global var
- spstr strCommand.txt,tTmp.txt,"}",1
- spstr strCommand.txt,tTmp.txt,"~",1
+ spstr strCommand.txt,tTmp.txt,",",1
covx tTmp.txt,sleepTimeout,0,0
}
@@ -1719,20 +1795,20 @@ diff -bur HMI/n2t-out/popupShutter.txt HMI/US/landscape/n2t-out/popupShutter.txt
{
//command format pageType,specialPageName
//write name of speical page to tId
- spstr strCommand.txt,tId.txt,"}",1
- spstr strCommand.txt,tId.txt,"~",1
+ spstr strCommand.txt,tId.txt,",",1
//save second arg if there's one
- spstr strCommand.txt,tTmp.txt,"}",2
- spstr strCommand.txt,tTmp.txt,"~",2
+ spstr strCommand.txt,tTmp.txt,",",2
//save third arg if there's one
- spstr strCommand.txt,pageIcons.tTmp2.txt,"}",3
- spstr strCommand.txt,pageIcons.tTmp2.txt,"~",3
+ 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
diff -bur HMI/n2t-out/screensaver.txt HMI/US/landscape/n2t-out/screensaver.txt
--- HMI/n2t-out/screensaver.txt 2022-04-01 15:25:01.342399464 +0000
+++ HMI/US/landscape/n2t-out/screensaver.txt 2022-04-01 15:25:02.174410141 +0000
--- HMI/n2t-out/screensaver.txt 2022-04-01 17:25:58.649575467 +0000
+++ HMI/US/landscape/n2t-out/screensaver.txt 2022-04-01 17:25:59.457580623 +0000
@@ -30,6 +30,26 @@
vis tSend,0
//page open event
@@ -1918,7 +1994,14 @@ diff -bur HMI/n2t-out/screensaver.txt HMI/US/landscape/n2t-out/screensaver.txt
spstr pageIcons.vaTime.txt,tTime.txt,"?",0
spstr pageIcons.vaTime.txt,tAMPM.txt,"?",1
if(tAMPM.txt=="")
@@ -388,98 +368,60 @@
@@ -382,104 +362,66 @@
if(tInstruction.txt=="date")
{
//get set date to global variable
- spstr strCommand.txt,pageIcons.vaDate.txt,"~",1
+ spstr strCommand.txt,pageIcons.vaDate.txt,"?",1
tDate.txt=pageIcons.vaDate.txt
}
if(tInstruction.txt=="timeout")
{
//set timeout to global var