implement additional parameter on timeout for #746 (add nextion2text)

This commit is contained in:
joBr99
2023-02-03 17:56:23 +00:00
committed by github-actions[bot]
parent 1a42bde8cf
commit 108976da1b
22 changed files with 719 additions and 44 deletions

View File

@@ -14,7 +14,28 @@
│ +screensaver.txt │ +screensaver.txt
│ --- HMI/n2t-out/cardAlarm.txt │ --- HMI/n2t-out/cardAlarm.txt
├── +++ HMI/US/landscape/n2t-out/cardAlarm.txt ├── +++ HMI/US/landscape/n2t-out/cardAlarm.txt
│ @@ -902,18 +902,14 @@ │ @@ -879,20 +879,14 @@
│ }
│ }
│ if(tInstruction.txt=="timeout")
│ {
│ //set timeout to global var
│ spstr strCommand.txt,tTmp.txt,"~",1
│ covx tTmp.txt,sleepTimeout,0,0
│ - //temporary disable sleep timer
│ - spstr strCommand.txt,tTmp.txt,"~",2
│ - if(tTmp.txt=="disable")
│ - {
│ - tmSleep.en=0
│ - }
│ }
│ if(tInstruction.txt=="pageType")
│ {
│ sleepValue=0
│ //command format pageType,specialPageName
│ //write name of speical page to tId
│ spstr strCommand.txt,tId.txt,"~",1
│ @@ -908,18 +902,14 @@
│ { │ {
│ page pageStartup │ page pageStartup
│ } │ }
@@ -35,7 +56,28 @@
│ page cardGrid │ page cardGrid
│ --- HMI/n2t-out/cardChart.txt │ --- HMI/n2t-out/cardChart.txt
├── +++ HMI/US/landscape/n2t-out/cardChart.txt ├── +++ HMI/US/landscape/n2t-out/cardChart.txt
│ @@ -635,18 +635,14 @@ │ @@ -612,20 +612,14 @@
│ }
│ }
│ if(tInstruction.txt=="timeout")
│ {
│ //set timeout to global var
│ spstr strCommand.txt,tTmp.txt,"~",1
│ covx tTmp.txt,sleepTimeout,0,0
│ - //temporary disable sleep timer
│ - spstr strCommand.txt,tTmp.txt,"~",2
│ - if(tTmp.txt=="disable")
│ - {
│ - tmSleep.en=0
│ - }
│ }
│ if(tInstruction.txt=="pageType")
│ {
│ sleepValue=0
│ //command format pageType,specialPageName
│ //write name of speical page to tId
│ spstr strCommand.txt,tId.txt,"~",1
│ @@ -641,18 +635,14 @@
│ { │ {
│ page pageStartup │ page pageStartup
│ } │ }
@@ -75,6 +117,27 @@
│ if(tId.txt=="cardGrid") │ if(tId.txt=="cardGrid")
│ { │ {
│ page cardGrid │ page cardGrid
│ @@ -1977,20 +1973,14 @@
│ }
│ }
│ if(tInstruction.txt=="timeout")
│ {
│ //set timeout to global var
│ spstr strCommand.txt,tTmp.txt,"~",1
│ covx tTmp.txt,sleepTimeout,0,0
│ - //temporary disable sleep timer
│ - spstr strCommand.txt,tTmp.txt,"~",2
│ - if(tTmp.txt=="disable")
│ - {
│ - tmSleep.en=0
│ - }
│ }
│ // end of user code
│ udelete payloadLength-1
│ bufferPos=0
│ }
│ }
│ }
│ --- HMI/n2t-out/cardGrid.txt │ --- HMI/n2t-out/cardGrid.txt
├── +++ HMI/US/landscape/n2t-out/cardGrid.txt ├── +++ HMI/US/landscape/n2t-out/cardGrid.txt
│ @@ -870,18 +870,14 @@ │ @@ -870,18 +870,14 @@
@@ -96,9 +159,51 @@
│ if(tId.txt=="cardGrid") │ if(tId.txt=="cardGrid")
│ { │ {
│ page cardGrid │ page cardGrid
│ @@ -962,20 +958,14 @@
│ }
│ }
│ if(tInstruction.txt=="timeout")
│ {
│ //set timeout to global var
│ spstr strCommand.txt,tTmp.txt,"~",1
│ covx tTmp.txt,sleepTimeout,0,0
│ - //temporary disable sleep timer
│ - spstr strCommand.txt,tTmp.txt,"~",2
│ - if(tTmp.txt=="disable")
│ - {
│ - tmSleep.en=0
│ - }
│ }
│ // end of user code
│ udelete payloadLength-1
│ bufferPos=0
│ }
│ }
│ }
│ --- HMI/n2t-out/cardLChart.txt │ --- HMI/n2t-out/cardLChart.txt
├── +++ HMI/US/landscape/n2t-out/cardLChart.txt ├── +++ HMI/US/landscape/n2t-out/cardLChart.txt
│ @@ -616,18 +616,14 @@ │ @@ -593,20 +593,14 @@
│ }
│ }
│ if(tInstruction.txt=="timeout")
│ {
│ //set timeout to global var
│ spstr strCommand.txt,tTmp.txt,"~",1
│ covx tTmp.txt,sleepTimeout,0,0
│ - //temporary disable sleep timer
│ - spstr strCommand.txt,tTmp.txt,"~",2
│ - if(tTmp.txt=="disable")
│ - {
│ - tmSleep.en=0
│ - }
│ }
│ if(tInstruction.txt=="pageType")
│ {
│ sleepValue=0
│ //command format pageType,specialPageName
│ //write name of speical page to tId
│ spstr strCommand.txt,tId.txt,"~",1
│ @@ -622,18 +616,14 @@
│ { │ {
│ page pageStartup │ page pageStartup
│ } │ }
@@ -138,6 +243,27 @@
│ if(tId.txt=="cardGrid") │ if(tId.txt=="cardGrid")
│ { │ {
│ page cardGrid │ page cardGrid
│ @@ -1246,20 +1242,14 @@
│ }
│ }
│ if(tInstruction.txt=="timeout")
│ {
│ //set timeout to global var
│ spstr strCommand.txt,tTmp.txt,"~",1
│ covx tTmp.txt,sleepTimeout,0,0
│ - //temporary disable sleep timer
│ - spstr strCommand.txt,tTmp.txt,"~",2
│ - if(tTmp.txt=="disable")
│ - {
│ - tmSleep.en=0
│ - }
│ }
│ // end of user code
│ udelete payloadLength-1
│ bufferPos=0
│ }
│ }
│ }
│ --- HMI/n2t-out/cardPower.txt │ --- HMI/n2t-out/cardPower.txt
├── +++ HMI/US/landscape/n2t-out/cardPower.txt ├── +++ HMI/US/landscape/n2t-out/cardPower.txt
│ @@ -35,27 +35,27 @@ │ @@ -35,27 +35,27 @@
@@ -712,9 +838,51 @@
│ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1 │ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
│ } │ }
│ if(tInstruction.txt=="date") │ if(tInstruction.txt=="date")
│ @@ -1007,20 +933,14 @@
│ }
│ }
│ if(tInstruction.txt=="timeout")
│ {
│ //set timeout to global var
│ spstr strCommand.txt,tTmp.txt,"~",1
│ covx tTmp.txt,sleepTimeout,0,0
│ - //temporary disable sleep timer
│ - spstr strCommand.txt,tTmp.txt,"~",2
│ - if(tTmp.txt=="disable")
│ - {
│ - tmSleep.en=0
│ - }
│ }
│ // end of user code
│ udelete payloadLength-1
│ bufferPos=0
│ }
│ }
│ }
│ --- HMI/n2t-out/cardQR.txt │ --- HMI/n2t-out/cardQR.txt
├── +++ HMI/US/landscape/n2t-out/cardQR.txt ├── +++ HMI/US/landscape/n2t-out/cardQR.txt
│ @@ -669,18 +669,14 @@ │ @@ -646,20 +646,14 @@
│ }
│ }
│ if(tInstruction.txt=="timeout")
│ {
│ //set timeout to global var
│ spstr strCommand.txt,tTmp.txt,"~",1
│ covx tTmp.txt,sleepTimeout,0,0
│ - //temporary disable sleep timer
│ - spstr strCommand.txt,tTmp.txt,"~",2
│ - if(tTmp.txt=="disable")
│ - {
│ - tmSleep.en=0
│ - }
│ }
│ if(tInstruction.txt=="pageType")
│ {
│ sleepValue=0
│ //command format pageType,specialPageName
│ //write name of speical page to tId
│ spstr strCommand.txt,tId.txt,"~",1
│ @@ -675,18 +669,14 @@
│ { │ {
│ page pageStartup │ page pageStartup
│ } │ }
@@ -754,6 +922,27 @@
│ if(tId.txt=="cardGrid") │ if(tId.txt=="cardGrid")
│ { │ {
│ page cardGrid │ page cardGrid
│ @@ -1163,20 +1159,14 @@
│ }
│ }
│ if(tInstruction.txt=="timeout")
│ {
│ //set timeout to global var
│ spstr strCommand.txt,tTmp.txt,"~",1
│ covx tTmp.txt,sleepTimeout,0,0
│ - //temporary disable sleep timer
│ - spstr strCommand.txt,tTmp.txt,"~",2
│ - if(tTmp.txt=="disable")
│ - {
│ - tmSleep.en=0
│ - }
│ }
│ // end of user code
│ udelete payloadLength-1
│ bufferPos=0
│ }
│ }
│ }
│ --- HMI/n2t-out/pageStartup.txt │ --- HMI/n2t-out/pageStartup.txt
├── +++ HMI/US/landscape/n2t-out/pageStartup.txt ├── +++ HMI/US/landscape/n2t-out/pageStartup.txt
│ @@ -179,15 +179,15 @@ │ @@ -179,15 +179,15 @@

View File

@@ -29,7 +29,28 @@
│ page pageStartup │ page pageStartup
│ --- HMI/n2t-out/cardAlarm.txt │ --- HMI/n2t-out/cardAlarm.txt
├── +++ HMI/US/portrait/n2t-out/cardAlarm.txt ├── +++ HMI/US/portrait/n2t-out/cardAlarm.txt
│ @@ -902,18 +902,14 @@ │ @@ -879,20 +879,14 @@
│ }
│ }
│ if(tInstruction.txt=="timeout")
│ {
│ //set timeout to global var
│ spstr strCommand.txt,tTmp.txt,"~",1
│ covx tTmp.txt,sleepTimeout,0,0
│ - //temporary disable sleep timer
│ - spstr strCommand.txt,tTmp.txt,"~",2
│ - if(tTmp.txt=="disable")
│ - {
│ - tmSleep.en=0
│ - }
│ }
│ if(tInstruction.txt=="pageType")
│ {
│ sleepValue=0
│ //command format pageType,specialPageName
│ //write name of speical page to tId
│ spstr strCommand.txt,tId.txt,"~",1
│ @@ -908,18 +902,14 @@
│ { │ {
│ page pageStartup │ page pageStartup
│ } │ }
@@ -50,7 +71,28 @@
│ page cardGrid │ page cardGrid
│ --- HMI/n2t-out/cardChart.txt │ --- HMI/n2t-out/cardChart.txt
├── +++ HMI/US/portrait/n2t-out/cardChart.txt ├── +++ HMI/US/portrait/n2t-out/cardChart.txt
│ @@ -635,18 +635,14 @@ │ @@ -612,20 +612,14 @@
│ }
│ }
│ if(tInstruction.txt=="timeout")
│ {
│ //set timeout to global var
│ spstr strCommand.txt,tTmp.txt,"~",1
│ covx tTmp.txt,sleepTimeout,0,0
│ - //temporary disable sleep timer
│ - spstr strCommand.txt,tTmp.txt,"~",2
│ - if(tTmp.txt=="disable")
│ - {
│ - tmSleep.en=0
│ - }
│ }
│ if(tInstruction.txt=="pageType")
│ {
│ sleepValue=0
│ //command format pageType,specialPageName
│ //write name of speical page to tId
│ spstr strCommand.txt,tId.txt,"~",1
│ @@ -641,18 +635,14 @@
│ { │ {
│ page pageStartup │ page pageStartup
│ } │ }
@@ -1120,6 +1162,27 @@
│ if(tId.txt=="cardGrid") │ if(tId.txt=="cardGrid")
│ { │ {
│ page cardGrid │ page cardGrid
│ @@ -1977,20 +2753,14 @@
│ }
│ }
│ if(tInstruction.txt=="timeout")
│ {
│ //set timeout to global var
│ spstr strCommand.txt,tTmp.txt,"~",1
│ covx tTmp.txt,sleepTimeout,0,0
│ - //temporary disable sleep timer
│ - spstr strCommand.txt,tTmp.txt,"~",2
│ - if(tTmp.txt=="disable")
│ - {
│ - tmSleep.en=0
│ - }
│ }
│ // end of user code
│ udelete payloadLength-1
│ bufferPos=0
│ }
│ }
│ }
│ --- HMI/n2t-out/cardGrid.txt │ --- HMI/n2t-out/cardGrid.txt
├── +++ HMI/US/portrait/n2t-out/cardGrid.txt ├── +++ HMI/US/portrait/n2t-out/cardGrid.txt
│ @@ -870,18 +870,14 @@ │ @@ -870,18 +870,14 @@
@@ -1141,9 +1204,51 @@
│ if(tId.txt=="cardGrid") │ if(tId.txt=="cardGrid")
│ { │ {
│ page cardGrid │ page cardGrid
│ @@ -962,20 +958,14 @@
│ }
│ }
│ if(tInstruction.txt=="timeout")
│ {
│ //set timeout to global var
│ spstr strCommand.txt,tTmp.txt,"~",1
│ covx tTmp.txt,sleepTimeout,0,0
│ - //temporary disable sleep timer
│ - spstr strCommand.txt,tTmp.txt,"~",2
│ - if(tTmp.txt=="disable")
│ - {
│ - tmSleep.en=0
│ - }
│ }
│ // end of user code
│ udelete payloadLength-1
│ bufferPos=0
│ }
│ }
│ }
│ --- HMI/n2t-out/cardLChart.txt │ --- HMI/n2t-out/cardLChart.txt
├── +++ HMI/US/portrait/n2t-out/cardLChart.txt ├── +++ HMI/US/portrait/n2t-out/cardLChart.txt
│ @@ -616,18 +616,14 @@ │ @@ -593,20 +593,14 @@
│ }
│ }
│ if(tInstruction.txt=="timeout")
│ {
│ //set timeout to global var
│ spstr strCommand.txt,tTmp.txt,"~",1
│ covx tTmp.txt,sleepTimeout,0,0
│ - //temporary disable sleep timer
│ - spstr strCommand.txt,tTmp.txt,"~",2
│ - if(tTmp.txt=="disable")
│ - {
│ - tmSleep.en=0
│ - }
│ }
│ if(tInstruction.txt=="pageType")
│ {
│ sleepValue=0
│ //command format pageType,specialPageName
│ //write name of speical page to tId
│ spstr strCommand.txt,tId.txt,"~",1
│ @@ -622,18 +616,14 @@
│ { │ {
│ page pageStartup │ page pageStartup
│ } │ }
@@ -1183,6 +1288,27 @@
│ if(tId.txt=="cardGrid") │ if(tId.txt=="cardGrid")
│ { │ {
│ page cardGrid │ page cardGrid
│ @@ -1246,20 +1242,14 @@
│ }
│ }
│ if(tInstruction.txt=="timeout")
│ {
│ //set timeout to global var
│ spstr strCommand.txt,tTmp.txt,"~",1
│ covx tTmp.txt,sleepTimeout,0,0
│ - //temporary disable sleep timer
│ - spstr strCommand.txt,tTmp.txt,"~",2
│ - if(tTmp.txt=="disable")
│ - {
│ - tmSleep.en=0
│ - }
│ }
│ // end of user code
│ udelete payloadLength-1
│ bufferPos=0
│ }
│ }
│ }
│ --- HMI/n2t-out/cardPower.txt │ --- HMI/n2t-out/cardPower.txt
├── +++ HMI/US/portrait/n2t-out/cardPower.txt ├── +++ HMI/US/portrait/n2t-out/cardPower.txt
│ @@ -35,27 +35,27 @@ │ @@ -35,27 +35,27 @@
@@ -1555,9 +1681,51 @@
│ if(tId.txt=="cardGrid") │ if(tId.txt=="cardGrid")
│ { │ {
│ page cardGrid │ page cardGrid
│ @@ -1007,20 +973,14 @@
│ }
│ }
│ if(tInstruction.txt=="timeout")
│ {
│ //set timeout to global var
│ spstr strCommand.txt,tTmp.txt,"~",1
│ covx tTmp.txt,sleepTimeout,0,0
│ - //temporary disable sleep timer
│ - spstr strCommand.txt,tTmp.txt,"~",2
│ - if(tTmp.txt=="disable")
│ - {
│ - tmSleep.en=0
│ - }
│ }
│ // end of user code
│ udelete payloadLength-1
│ bufferPos=0
│ }
│ }
│ }
│ --- HMI/n2t-out/cardQR.txt │ --- HMI/n2t-out/cardQR.txt
├── +++ HMI/US/portrait/n2t-out/cardQR.txt ├── +++ HMI/US/portrait/n2t-out/cardQR.txt
│ @@ -669,18 +669,14 @@ │ @@ -646,20 +646,14 @@
│ }
│ }
│ if(tInstruction.txt=="timeout")
│ {
│ //set timeout to global var
│ spstr strCommand.txt,tTmp.txt,"~",1
│ covx tTmp.txt,sleepTimeout,0,0
│ - //temporary disable sleep timer
│ - spstr strCommand.txt,tTmp.txt,"~",2
│ - if(tTmp.txt=="disable")
│ - {
│ - tmSleep.en=0
│ - }
│ }
│ if(tInstruction.txt=="pageType")
│ {
│ sleepValue=0
│ //command format pageType,specialPageName
│ //write name of speical page to tId
│ spstr strCommand.txt,tId.txt,"~",1
│ @@ -675,18 +669,14 @@
│ { │ {
│ page pageStartup │ page pageStartup
│ } │ }
@@ -1597,6 +1765,27 @@
│ if(tId.txt=="cardGrid") │ if(tId.txt=="cardGrid")
│ { │ {
│ page cardGrid │ page cardGrid
│ @@ -1163,20 +1159,14 @@
│ }
│ }
│ if(tInstruction.txt=="timeout")
│ {
│ //set timeout to global var
│ spstr strCommand.txt,tTmp.txt,"~",1
│ covx tTmp.txt,sleepTimeout,0,0
│ - //temporary disable sleep timer
│ - spstr strCommand.txt,tTmp.txt,"~",2
│ - if(tTmp.txt=="disable")
│ - {
│ - tmSleep.en=0
│ - }
│ }
│ // end of user code
│ udelete payloadLength-1
│ bufferPos=0
│ }
│ }
│ }
│ --- HMI/n2t-out/pageStartup.txt │ --- HMI/n2t-out/pageStartup.txt
├── +++ HMI/US/portrait/n2t-out/pageStartup.txt ├── +++ HMI/US/portrait/n2t-out/pageStartup.txt
│ @@ -35,20 +35,14 @@ │ @@ -35,20 +35,14 @@

View File

@@ -1,4 +1,4 @@
+++ /dev/fd/62 2023-02-03 17:20:12.414684320 +0000 +++ /dev/fd/62 2023-02-03 17:56:15.794899421 +0000
+le list +le list
+ +14,8 @@ + +14,8 @@
+n.txt +n.txt
@@ -15,6 +15,27 @@
++ HMI/US/portrait/n2t-out/Program.s.txt ++ HMI/US/portrait/n2t-out/Program.s.txt
+I/n2t-out/cardAlarm.txt +I/n2t-out/cardAlarm.txt
++ HMI/US/portrait/n2t-out/cardAlarm.txt ++ HMI/US/portrait/n2t-out/cardAlarm.txt
+20 +879,14 @@
+ }
+ }
+ if(tInstruction.txt=="timeout")
+ {
+ //set timeout to global var
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,sleepTimeout,0,0
+ //temporary disable sleep timer
+ spstr strCommand.txt,tTmp.txt,"~",2
+ if(tTmp.txt=="disable")
+ {
+ tmSleep.en=0
+ }
+ }
+ if(tInstruction.txt=="pageType")
+ {
+ sleepValue=0
+ //command format pageType,specialPageName
+ //write name of speical page to tId
+ spstr strCommand.txt,tId.txt,"~",1
+18 +902,14 @@ +18 +902,14 @@
+ { + {
+ page pageStartup + page pageStartup
@@ -36,6 +57,27 @@
+ page cardGrid + page cardGrid
+I/n2t-out/cardChart.txt +I/n2t-out/cardChart.txt
++ HMI/US/portrait/n2t-out/cardChart.txt ++ HMI/US/portrait/n2t-out/cardChart.txt
+20 +612,14 @@
+ }
+ }
+ if(tInstruction.txt=="timeout")
+ {
+ //set timeout to global var
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,sleepTimeout,0,0
+ //temporary disable sleep timer
+ spstr strCommand.txt,tTmp.txt,"~",2
+ if(tTmp.txt=="disable")
+ {
+ tmSleep.en=0
+ }
+ }
+ if(tInstruction.txt=="pageType")
+ {
+ sleepValue=0
+ //command format pageType,specialPageName
+ //write name of speical page to tId
+ spstr strCommand.txt,tId.txt,"~",1
+18 +635,14 @@ +18 +635,14 @@
+ { + {
+ page pageStartup + page pageStartup
@@ -108,13 +150,13 @@
+ributes +ributes
+ Scope : local + Scope : local
+ Text : + Text :
+ Max. Text Size: 80
+ Max. Text Size: 40 + Max. Text Size: 40
+ +
+e (string) nent2 +e (string) nent2
+ributes +ributes
+ Scope : local + Scope : local
+ Text : + Text :
+ Max. Text Size: 80
+ Max. Text Size: 40 + Max. Text Size: 40
+14 +186,26 @@ +14 +186,26 @@
+e (string) type6 +e (string) type6
@@ -520,6 +562,13 @@
+ covx tTmp.txt,sys0,0,0 + covx tTmp.txt,sys0,0,0
+ hSlider6.maxval=sys0 + hSlider6.maxval=sys0
+ } + }
+ }
+ if(tInstruction.txt=="pageType")
+ {
+ sleepValue=0
+ //command format pageType,specialPageName
+ //write name of speical page to tId
+ spstr strCommand.txt,tId.txt,"~",1
+,18 +2665,14 @@ +,18 +2665,14 @@
+ { + {
+ page pageStartup + page pageStartup
@@ -539,6 +588,27 @@
+ if(tId.txt=="cardGrid") + if(tId.txt=="cardGrid")
+ { + {
+ page cardGrid + page cardGrid
+,20 +2753,14 @@
+ }
+ }
+ if(tInstruction.txt=="timeout")
+ {
+ //set timeout to global var
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,sleepTimeout,0,0
+ //temporary disable sleep timer
+ spstr strCommand.txt,tTmp.txt,"~",2
+ if(tTmp.txt=="disable")
+ {
+ tmSleep.en=0
+ }
+ }
+ // end of user code
+ udelete payloadLength-1
+ bufferPos=0
+ }
+ }
+ }
+I/n2t-out/cardGrid.txt +I/n2t-out/cardGrid.txt
++ HMI/US/portrait/n2t-out/cardGrid.txt ++ HMI/US/portrait/n2t-out/cardGrid.txt
+18 +870,14 @@ +18 +870,14 @@
@@ -560,8 +630,50 @@
+ if(tId.txt=="cardGrid") + if(tId.txt=="cardGrid")
+ { + {
+ page cardGrid + page cardGrid
+20 +958,14 @@
+ }
+ }
+ if(tInstruction.txt=="timeout")
+ {
+ //set timeout to global var
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,sleepTimeout,0,0
+ //temporary disable sleep timer
+ spstr strCommand.txt,tTmp.txt,"~",2
+ if(tTmp.txt=="disable")
+ {
+ tmSleep.en=0
+ }
+ }
+ // end of user code
+ udelete payloadLength-1
+ bufferPos=0
+ }
+ }
+ }
+I/n2t-out/cardLChart.txt +I/n2t-out/cardLChart.txt
++ HMI/US/portrait/n2t-out/cardLChart.txt ++ HMI/US/portrait/n2t-out/cardLChart.txt
+20 +593,14 @@
+ }
+ }
+ if(tInstruction.txt=="timeout")
+ {
+ //set timeout to global var
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,sleepTimeout,0,0
+ //temporary disable sleep timer
+ spstr strCommand.txt,tTmp.txt,"~",2
+ if(tTmp.txt=="disable")
+ {
+ tmSleep.en=0
+ }
+ }
+ if(tInstruction.txt=="pageType")
+ {
+ sleepValue=0
+ //command format pageType,specialPageName
+ //write name of speical page to tId
+ spstr strCommand.txt,tId.txt,"~",1
+18 +616,14 @@ +18 +616,14 @@
+ { + {
+ page pageStartup + page pageStartup
@@ -602,6 +714,27 @@
+ if(tId.txt=="cardGrid") + if(tId.txt=="cardGrid")
+ { + {
+ page cardGrid + page cardGrid
+,20 +1242,14 @@
+ }
+ }
+ if(tInstruction.txt=="timeout")
+ {
+ //set timeout to global var
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,sleepTimeout,0,0
+ //temporary disable sleep timer
+ spstr strCommand.txt,tTmp.txt,"~",2
+ if(tTmp.txt=="disable")
+ {
+ tmSleep.en=0
+ }
+ }
+ // end of user code
+ udelete payloadLength-1
+ bufferPos=0
+ }
+ }
+ }
+I/n2t-out/cardPower.txt +I/n2t-out/cardPower.txt
++ HMI/US/portrait/n2t-out/cardPower.txt ++ HMI/US/portrait/n2t-out/cardPower.txt
+7 +35,27 @@ +7 +35,27 @@
@@ -974,8 +1107,43 @@
+ if(tId.txt=="cardGrid") + if(tId.txt=="cardGrid")
+ { + {
+ page cardGrid + page cardGrid
+,20 +973,14 @@
+ }
+ }
+ if(tInstruction.txt=="timeout")
+ {
+ //set timeout to global var
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,sleepTimeout,0,0
+ //temporary disable sleep timer
+ spstr strCommand.txt,tTmp.txt,"~",2
+ if(tTmp.txt=="disable")
+ {
+ tmSleep.en=0
+ }
+ }
+ // end of user code
+ udelete payloadLength-1
+ bufferPos=0
+ }
+ }
+ }
+I/n2t-out/cardQR.txt +I/n2t-out/cardQR.txt
++ HMI/US/portrait/n2t-out/cardQR.txt ++ HMI/US/portrait/n2t-out/cardQR.txt
+20 +646,14 @@
+ }
+ }
+ if(tInstruction.txt=="timeout")
+ {
+ //set timeout to global var
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,sleepTimeout,0,0
+ //temporary disable sleep timer
+ spstr strCommand.txt,tTmp.txt,"~",2
+ if(tTmp.txt=="disable")
+ {
+ tmSleep.en=0
+ }
+18 +669,14 @@ +18 +669,14 @@
+ { + {
+ page pageStartup + page pageStartup
@@ -1016,6 +1184,27 @@
+ if(tId.txt=="cardGrid") + if(tId.txt=="cardGrid")
+ { + {
+ page cardGrid + page cardGrid
+,20 +1159,14 @@
+ }
+ }
+ if(tInstruction.txt=="timeout")
+ {
+ //set timeout to global var
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,sleepTimeout,0,0
+ //temporary disable sleep timer
+ spstr strCommand.txt,tTmp.txt,"~",2
+ if(tTmp.txt=="disable")
+ {
+ tmSleep.en=0
+ }
+ }
+ // end of user code
+ udelete payloadLength-1
+ bufferPos=0
+ }
+ }
+ }
+I/n2t-out/pageStartup.txt +I/n2t-out/pageStartup.txt
++ HMI/US/portrait/n2t-out/pageStartup.txt ++ HMI/US/portrait/n2t-out/pageStartup.txt
+0 +35,14 @@ +0 +35,14 @@

View File

@@ -1488,6 +1488,12 @@ Timer tmSerial
//set timeout to global var //set timeout to global var
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,sleepTimeout,0,0 covx tTmp.txt,sleepTimeout,0,0
//temporary disable sleep timer
spstr strCommand.txt,tTmp.txt,"~",2
if(tTmp.txt=="disable")
{
tmSleep.en=0
}
} }
if(tInstruction.txt=="pageType") if(tInstruction.txt=="pageType")
{ {

View File

@@ -778,6 +778,12 @@ Timer tmSerial
//set timeout to global var //set timeout to global var
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,sleepTimeout,0,0 covx tTmp.txt,sleepTimeout,0,0
//temporary disable sleep timer
spstr strCommand.txt,tTmp.txt,"~",2
if(tTmp.txt=="disable")
{
tmSleep.en=0
}
} }
if(tInstruction.txt=="pageType") if(tInstruction.txt=="pageType")
{ {

View File

@@ -2936,6 +2936,12 @@ Timer tmSerial
//set timeout to global var //set timeout to global var
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,sleepTimeout,0,0 covx tTmp.txt,sleepTimeout,0,0
//temporary disable sleep timer
spstr strCommand.txt,tTmp.txt,"~",2
if(tTmp.txt=="disable")
{
tmSleep.en=0
}
} }
// end of user code // end of user code
udelete payloadLength-1 udelete payloadLength-1

View File

@@ -1414,6 +1414,12 @@ Timer tmSerial
//set timeout to global var //set timeout to global var
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,sleepTimeout,0,0 covx tTmp.txt,sleepTimeout,0,0
//temporary disable sleep timer
spstr strCommand.txt,tTmp.txt,"~",2
if(tTmp.txt=="disable")
{
tmSleep.en=0
}
} }
// end of user code // end of user code
udelete payloadLength-1 udelete payloadLength-1

View File

@@ -737,6 +737,12 @@ Timer tmSerial
//set timeout to global var //set timeout to global var
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,sleepTimeout,0,0 covx tTmp.txt,sleepTimeout,0,0
//temporary disable sleep timer
spstr strCommand.txt,tTmp.txt,"~",2
if(tTmp.txt=="disable")
{
tmSleep.en=0
}
} }
if(tInstruction.txt=="pageType") if(tInstruction.txt=="pageType")
{ {

View File

@@ -1738,6 +1738,12 @@ Timer tmSerial
//set timeout to global var //set timeout to global var
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,sleepTimeout,0,0 covx tTmp.txt,sleepTimeout,0,0
//temporary disable sleep timer
spstr strCommand.txt,tTmp.txt,"~",2
if(tTmp.txt=="disable")
{
tmSleep.en=0
}
} }
// end of user code // end of user code
udelete payloadLength-1 udelete payloadLength-1

View File

@@ -1699,6 +1699,12 @@ Timer tmSerial
//set timeout to global var //set timeout to global var
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,sleepTimeout,0,0 covx tTmp.txt,sleepTimeout,0,0
//temporary disable sleep timer
spstr strCommand.txt,tTmp.txt,"~",2
if(tTmp.txt=="disable")
{
tmSleep.en=0
}
} }
// end of user code // end of user code
udelete payloadLength-1 udelete payloadLength-1

View File

@@ -951,6 +951,12 @@ Timer tmSerial
//set timeout to global var //set timeout to global var
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,sleepTimeout,0,0 covx tTmp.txt,sleepTimeout,0,0
//temporary disable sleep timer
spstr strCommand.txt,tTmp.txt,"~",2
if(tTmp.txt=="disable")
{
tmSleep.en=0
}
} }
if(tInstruction.txt=="pageType") if(tInstruction.txt=="pageType")
{ {

View File

@@ -1891,6 +1891,12 @@ Timer tmSerial
//set timeout to global var //set timeout to global var
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,sleepTimeout,0,0 covx tTmp.txt,sleepTimeout,0,0
//temporary disable sleep timer
spstr strCommand.txt,tTmp.txt,"~",2
if(tTmp.txt=="disable")
{
tmSleep.en=0
}
} }
// end of user code // end of user code
udelete payloadLength-1 udelete payloadLength-1

View File

@@ -16,12 +16,8 @@ popupNotify
166 Unique line(s) of event code 166 Unique line(s) of event code
cardLChart cardLChart
33 Component(s) 33 Component(s)
398 Line(s) of event code 403 Line(s) of event code
264 Unique line(s) of event code 266 Unique line(s) of event code
cardChart
33 Component(s)
433 Line(s) of event code
294 Unique line(s) of event code
pageStartup pageStartup
20 Component(s) 20 Component(s)
189 Line(s) of event code 189 Line(s) of event code
@@ -30,30 +26,26 @@ pageTest
26 Component(s) 26 Component(s)
68 Line(s) of event code 68 Line(s) of event code
66 Unique line(s) of event code 66 Unique line(s) of event code
cardMedia cardThermo
59 Component(s) 57 Component(s)
645 Line(s) of event code 541 Line(s) of event code
320 Unique line(s) of event code 319 Unique line(s) of event code
popupFan popupFan
27 Component(s) 27 Component(s)
351 Line(s) of event code 351 Line(s) of event code
204 Unique line(s) of event code 204 Unique line(s) of event code
cardChart
33 Component(s)
438 Line(s) of event code
296 Unique line(s) of event code
cardMedia
59 Component(s)
650 Line(s) of event code
321 Unique line(s) of event code
cardQR cardQR
34 Component(s) 34 Component(s)
406 Line(s) of event code 411 Line(s) of event code
236 Unique line(s) of event code 238 Unique line(s) of event code
cardPower
54 Component(s)
499 Line(s) of event code
338 Unique line(s) of event code
cardGrid
44 Component(s)
519 Line(s) of event code
293 Unique line(s) of event code
cardAlarm
43 Component(s)
496 Line(s) of event code
271 Unique line(s) of event code
popupInSel popupInSel
34 Component(s) 34 Component(s)
617 Line(s) of event code 617 Line(s) of event code
@@ -66,14 +58,22 @@ popupShutter
25 Component(s) 25 Component(s)
398 Line(s) of event code 398 Line(s) of event code
218 Unique line(s) of event code 218 Unique line(s) of event code
cardThermo cardAlarm
57 Component(s) 43 Component(s)
536 Line(s) of event code 501 Line(s) of event code
317 Unique line(s) of event code 273 Unique line(s) of event code
cardGrid
44 Component(s)
524 Line(s) of event code
295 Unique line(s) of event code
screensaver2 screensaver2
59 Component(s) 59 Component(s)
354 Line(s) of event code 354 Line(s) of event code
251 Unique line(s) of event code 251 Unique line(s) of event code
cardEntities
67 Component(s)
1171 Line(s) of event code
532 Unique line(s) of event code
popupTimer popupTimer
42 Component(s) 42 Component(s)
512 Line(s) of event code 512 Line(s) of event code
@@ -82,13 +82,13 @@ screensaver
47 Component(s) 47 Component(s)
432 Line(s) of event code 432 Line(s) of event code
308 Unique line(s) of event code 308 Unique line(s) of event code
cardEntities cardPower
67 Component(s) 54 Component(s)
1166 Line(s) of event code 504 Line(s) of event code
530 Unique line(s) of event code 340 Unique line(s) of event code
Total Total
21 Page(s) 21 Page(s)
802 Component(s) 802 Component(s)
9216 Line(s) of event code 9261 Line(s) of event code
2331 Unique line(s) of event code 2332 Unique line(s) of event code

View File

@@ -883,6 +883,12 @@ Timer tmSerial
//set timeout to global var //set timeout to global var
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,sleepTimeout,0,0 covx tTmp.txt,sleepTimeout,0,0
//temporary disable sleep timer
spstr strCommand.txt,tTmp.txt,"~",2
if(tTmp.txt=="disable")
{
tmSleep.en=0
}
} }
if(tInstruction.txt=="pageType") if(tInstruction.txt=="pageType")
{ {

View File

@@ -616,6 +616,12 @@ Timer tmSerial
//set timeout to global var //set timeout to global var
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,sleepTimeout,0,0 covx tTmp.txt,sleepTimeout,0,0
//temporary disable sleep timer
spstr strCommand.txt,tTmp.txt,"~",2
if(tTmp.txt=="disable")
{
tmSleep.en=0
}
} }
if(tInstruction.txt=="pageType") if(tInstruction.txt=="pageType")
{ {

View File

@@ -1981,6 +1981,12 @@ Timer tmSerial
//set timeout to global var //set timeout to global var
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,sleepTimeout,0,0 covx tTmp.txt,sleepTimeout,0,0
//temporary disable sleep timer
spstr strCommand.txt,tTmp.txt,"~",2
if(tTmp.txt=="disable")
{
tmSleep.en=0
}
} }
// end of user code // end of user code
udelete payloadLength-1 udelete payloadLength-1

View File

@@ -966,6 +966,12 @@ Timer tmSerial
//set timeout to global var //set timeout to global var
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,sleepTimeout,0,0 covx tTmp.txt,sleepTimeout,0,0
//temporary disable sleep timer
spstr strCommand.txt,tTmp.txt,"~",2
if(tTmp.txt=="disable")
{
tmSleep.en=0
}
} }
// end of user code // end of user code
udelete payloadLength-1 udelete payloadLength-1

View File

@@ -597,6 +597,12 @@ Timer tmSerial
//set timeout to global var //set timeout to global var
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,sleepTimeout,0,0 covx tTmp.txt,sleepTimeout,0,0
//temporary disable sleep timer
spstr strCommand.txt,tTmp.txt,"~",2
if(tTmp.txt=="disable")
{
tmSleep.en=0
}
} }
if(tInstruction.txt=="pageType") if(tInstruction.txt=="pageType")
{ {

View File

@@ -1250,6 +1250,12 @@ Timer tmSerial
//set timeout to global var //set timeout to global var
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,sleepTimeout,0,0 covx tTmp.txt,sleepTimeout,0,0
//temporary disable sleep timer
spstr strCommand.txt,tTmp.txt,"~",2
if(tTmp.txt=="disable")
{
tmSleep.en=0
}
} }
// end of user code // end of user code
udelete payloadLength-1 udelete payloadLength-1

View File

@@ -1011,6 +1011,12 @@ Timer tmSerial
//set timeout to global var //set timeout to global var
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,sleepTimeout,0,0 covx tTmp.txt,sleepTimeout,0,0
//temporary disable sleep timer
spstr strCommand.txt,tTmp.txt,"~",2
if(tTmp.txt=="disable")
{
tmSleep.en=0
}
} }
// end of user code // end of user code
udelete payloadLength-1 udelete payloadLength-1

View File

@@ -650,6 +650,12 @@ Timer tmSerial
//set timeout to global var //set timeout to global var
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,sleepTimeout,0,0 covx tTmp.txt,sleepTimeout,0,0
//temporary disable sleep timer
spstr strCommand.txt,tTmp.txt,"~",2
if(tTmp.txt=="disable")
{
tmSleep.en=0
}
} }
if(tInstruction.txt=="pageType") if(tInstruction.txt=="pageType")
{ {

View File

@@ -1167,6 +1167,12 @@ Timer tmSerial
//set timeout to global var //set timeout to global var
spstr strCommand.txt,tTmp.txt,"~",1 spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,sleepTimeout,0,0 covx tTmp.txt,sleepTimeout,0,0
//temporary disable sleep timer
spstr strCommand.txt,tTmp.txt,"~",2
if(tTmp.txt=="disable")
{
tmSleep.en=0
}
} }
// end of user code // end of user code
udelete payloadLength-1 udelete payloadLength-1