diff --git a/HMI/US/landscape/diff-eu-version.txt b/HMI/US/landscape/diff-eu-version.txt index deeba627..0843609c 100644 --- a/HMI/US/landscape/diff-eu-version.txt +++ b/HMI/US/landscape/diff-eu-version.txt @@ -1,17 +1,5 @@ --- HMI/n2t-out +++ HMI/US/landscape/n2t-out -├── file list -│ @@ -1,10 +1,9 @@ -│ Program.s.txt -│ cardAlarm.txt -│ -cardBurnRec.txt -│ cardChart.txt -│ cardEntities.txt -│ cardGrid.txt -│ cardGrid2.txt -│ cardLChart.txt -│ cardMedia.txt -│ cardPower.txt │ --- HMI/n2t-out/Program.s.txt ├── +++ HMI/US/landscape/n2t-out/Program.s.txt │ @@ -13,10 +13,10 @@ @@ -114,6 +102,27 @@ │ crcputs sys0,2 │ crcputs tSend.txt,0 │ //send cmd +│ --- HMI/n2t-out/popupNotify.txt +├── +++ HMI/US/landscape/n2t-out/popupNotify.txt +│ @@ -439,18 +439,14 @@ +│ { +│ page cardPower +│ } +│ if(tId.txt=="cardChart") +│ { +│ page cardChart +│ } +│ - if(tId.txt=="cardLChart") +│ - { +│ - page cardLChart +│ - } +│ } +│ // end of user code +│ udelete payloadLength-1 +│ bufferPos=0 +│ } +│ } +│ } │ --- HMI/n2t-out/screensaver.txt ├── +++ HMI/US/landscape/n2t-out/screensaver.txt │ @@ -19,15 +19,14 @@ @@ -221,7 +230,7 @@ │ vis p0,0 │ vis tNotifyHead,0 │ vis tNotifyText,0 -│ @@ -41,17 +40,14 @@ +│ @@ -41,52 +40,19 @@ │ } │ tDate.txt=pageIcons.vaDate.txt │ dim=dimValue @@ -232,14 +241,81 @@ │ - Postinitialize Event │ - click m0,1 │ - +│ -Variable (string) entn1 +│ - Attributes +│ - Scope : local +│ - Text : +│ - Max. Text Size: 14 +│ - +│ -Variable (string) entn2 +│ - Attributes +│ - Scope : local +│ - Text : +│ - Max. Text Size: 14 +│ - +│ -Variable (string) entn3 +│ - Attributes +│ - Scope : local +│ - Text : +│ - Max. Text Size: 14 +│ - +│ -Variable (string) entn4 +│ - Attributes +│ - Scope : local +│ - Text : +│ - Max. Text Size: 14 +│ - +│ -Variable (string) entn5 +│ - Attributes +│ - Scope : local +│ - Text : +│ - Max. Text Size: 14 +│ - │ Variable (string) strCommand │ Attributes │ Scope : local │ Text : -│ Max. Text Size: 1979 +│ - Max. Text Size: 1955 +│ + Max. Text Size: 1979 │ │ Variable (string) strTmp -│ @@ -376,34 +372,14 @@ +│ Attributes +│ Scope : local +│ Text : +│ Max. Text Size: 2 +│ +│ @@ -96,27 +62,27 @@ +│ Text : +│ Max. Text Size: 25 +│ +│ Variable (string) tInstruction +│ Attributes +│ Scope : local +│ Text : +│ - Max. Text Size: 15 +│ + Max. Text Size: 50 +│ +│ Variable (string) tSend +│ Attributes +│ Scope : local +│ Text : +│ - Max. Text Size: 30 +│ + Max. Text Size: 50 +│ +│ Variable (string) tTmp +│ Attributes +│ Scope : local +│ Text : +│ - Max. Text Size: 30 +│ + Max. Text Size: 50 +│ +│ Variable (int32) vaTap +│ Attributes +│ Scope: local +│ Value: 0 +│ +│ Variable (int32) xc1 +│ @@ -370,159 +336,50 @@ │ Scope : local │ Dragging : 0 │ Send Component ID : disabled @@ -247,6 +323,131 @@ │ Text : │ Max. Text Size : 4 │ +│ - Events +│ - Touch Press Event +│ - tSend.txt="event,buttonPress2,"+entn1.txt+",button" +│ - //send calc crc +│ - btlen tSend.txt,sys0 +│ - crcrest 1,0xffff // reset CRC +│ - crcputh 55 bb +│ - crcputs sys0,2 +│ - crcputs tSend.txt,0 +│ - //send cmd +│ - printh 55 bb +│ - prints sys0,2 +│ - prints tSend.txt,0 +│ - prints crcval,2 +│ - +│ Text f2Icon +│ Attributes +│ Scope : local +│ Dragging : 0 +│ Send Component ID : disabled +│ Associated Keyboard: none +│ Text : +│ Max. Text Size : 4 +│ +│ - Events +│ - Touch Press Event +│ - tSend.txt="event,buttonPress2,"+entn2.txt+",button" +│ - //send calc crc +│ - btlen tSend.txt,sys0 +│ - crcrest 1,0xffff // reset CRC +│ - crcputh 55 bb +│ - crcputs sys0,2 +│ - crcputs tSend.txt,0 +│ - //send cmd +│ - printh 55 bb +│ - prints sys0,2 +│ - prints tSend.txt,0 +│ - prints crcval,2 +│ - +│ - Touch Release Event +│ - tSend.txt="event,buttonPress2,"+entn1.txt+",button" +│ - //send calc crc +│ - btlen tSend.txt,sys0 +│ - crcrest 1,0xffff // reset CRC +│ - crcputh 55 bb +│ - crcputs sys0,2 +│ - crcputs tSend.txt,0 +│ - //send cmd +│ - printh 55 bb +│ - prints sys0,2 +│ - prints tSend.txt,0 +│ - prints crcval,2 +│ - +│ Text f3Icon +│ Attributes +│ Scope : local +│ Dragging : 0 +│ Send Component ID : disabled +│ Associated Keyboard: none +│ Text : +│ Max. Text Size : 4 +│ +│ - Events +│ - Touch Press Event +│ - tSend.txt="event,buttonPress2,"+entn3.txt+",button" +│ - //send calc crc +│ - btlen tSend.txt,sys0 +│ - crcrest 1,0xffff // reset CRC +│ - crcputh 55 bb +│ - crcputs sys0,2 +│ - crcputs tSend.txt,0 +│ - //send cmd +│ - printh 55 bb +│ - prints sys0,2 +│ - prints tSend.txt,0 +│ - prints crcval,2 +│ - +│ Text f4Icon +│ Attributes +│ Scope : local +│ Dragging : 0 +│ Send Component ID : disabled +│ Associated Keyboard: none +│ Text : +│ Max. Text Size : 4 +│ +│ - Events +│ - Touch Press Event +│ - tSend.txt="event,buttonPress2,"+entn4.txt+",button" +│ - //send calc crc +│ - btlen tSend.txt,sys0 +│ - crcrest 1,0xffff // reset CRC +│ - crcputh 55 bb +│ - crcputs sys0,2 +│ - crcputs tSend.txt,0 +│ - //send cmd +│ - printh 55 bb +│ - prints sys0,2 +│ - prints tSend.txt,0 +│ - prints crcval,2 +│ - +│ Text f5Icon +│ Attributes +│ Scope : local +│ Dragging : 0 +│ Send Component ID : disabled +│ Associated Keyboard: none +│ Text : +│ Max. Text Size : 4 +│ +│ - Events +│ - Touch Press Event +│ - tSend.txt="event,buttonPress2,"+entn5.txt+",button" +│ - //send calc crc +│ - btlen tSend.txt,sys0 +│ - crcrest 1,0xffff // reset CRC +│ - crcputh 55 bb +│ - crcputs sys0,2 +│ - crcputs tSend.txt,0 +│ - //send cmd +│ - printh 55 bb +│ - prints sys0,2 +│ - prints tSend.txt,0 +│ - prints crcval,2 +│ - │ -Text m0 │ - Attributes │ - Scope : local @@ -274,7 +475,7 @@ │ Send Component ID : disabled │ Associated Keyboard: none │ Text : PM -│ @@ -585,15 +561,14 @@ +│ @@ -704,15 +561,14 @@ │ if(tTmp.txt!="") │ { │ covx tTmp.txt,defaultFontColor,0,0 @@ -290,3 +491,67 @@ │ if(tAMPM.txt=="") │ { │ vis tAMPM,0 +│ @@ -833,44 +689,34 @@ +│ //e6Val +│ spstr strCommand.txt,e6Val.txt,"~",60 +│ //f1Icon +│ spstr strCommand.txt,f1Icon.txt,"~",63 +│ //f1Icon Color +│ spstr strCommand.txt,tTmp.txt,"~",64 +│ covx tTmp.txt,f1Icon.pco,0,0 +│ - //f1Icon intNameEntity +│ - spstr strCommand.txt,entn1.txt,"~",62 +│ //f2Icon +│ spstr strCommand.txt,f2Icon.txt,"~",69 +│ //f2Icon Color +│ spstr strCommand.txt,tTmp.txt,"~",70 +│ covx tTmp.txt,f2Icon.pco,0,0 +│ - //f2Icon intNameEntity +│ - spstr strCommand.txt,entn2.txt,"~",68 +│ //f3Icon +│ spstr strCommand.txt,f3Icon.txt,"~",75 +│ //f3Icon Color +│ spstr strCommand.txt,tTmp.txt,"~",76 +│ covx tTmp.txt,f3Icon.pco,0,0 +│ - //f3Icon intNameEntity +│ - spstr strCommand.txt,entn3.txt,"~",74 +│ //f4Icon +│ spstr strCommand.txt,f4Icon.txt,"~",81 +│ //f4Icon Color +│ spstr strCommand.txt,tTmp.txt,"~",82 +│ covx tTmp.txt,f4Icon.pco,0,0 +│ - //f4Icon intNameEntity +│ - spstr strCommand.txt,entn4.txt,"~",80 +│ //f5Icon +│ spstr strCommand.txt,f5Icon.txt,"~",87 +│ //f5Icon Color +│ spstr strCommand.txt,tTmp.txt,"~",88 +│ covx tTmp.txt,f5Icon.pco,0,0 +│ - //f5Icon intNameEntity +│ - spstr strCommand.txt,entn5.txt,"~",86 +│ } +│ if(tInstruction.txt=="notify") +│ { +│ spstr strCommand.txt,tNotifyHead.txt,"~",1 +│ spstr strCommand.txt,tNotifyText.txt,"~",2 +│ if(tNotifyHead.txt!=""||tNotifyText.txt!="") +│ { +│ @@ -966,14 +812,18 @@ +│ { +│ page cardPower +│ } +│ if(tId.txt=="cardChart") +│ { +│ page cardChart +│ } +│ + if(tId.txt=="cardLChart") +│ + { +│ + page cardLChart +│ + } +│ } +│ if(tInstruction.txt=="timeout") +│ { +│ //set timeout to global var +│ spstr strCommand.txt,tTmp.txt,"~",1 +│ covx tTmp.txt,sleepTimeout,0,0 +│ } diff --git a/HMI/US/portrait/diff-eu-version.txt b/HMI/US/portrait/diff-eu-version.txt index 2e7d6dcc..e0630634 100644 --- a/HMI/US/portrait/diff-eu-version.txt +++ b/HMI/US/portrait/diff-eu-version.txt @@ -1,17 +1,5 @@ --- HMI/n2t-out +++ HMI/US/portrait/n2t-out -├── file list -│ @@ -1,10 +1,9 @@ -│ Program.s.txt -│ cardAlarm.txt -│ -cardBurnRec.txt -│ cardChart.txt -│ cardEntities.txt -│ cardGrid.txt -│ cardGrid2.txt -│ cardLChart.txt -│ cardMedia.txt -│ cardPower.txt │ --- HMI/n2t-out/Program.s.txt ├── +++ HMI/US/portrait/n2t-out/Program.s.txt │ @@ -12,11 +12,11 @@ @@ -2016,6 +2004,25 @@ │ } │ if(tInstruction.txt=="exitPopup") │ { +│ @@ -439,18 +439,14 @@ +│ { +│ page cardPower +│ } +│ if(tId.txt=="cardChart") +│ { +│ page cardChart +│ } +│ - if(tId.txt=="cardLChart") +│ - { +│ - page cardLChart +│ - } +│ } +│ // end of user code +│ udelete payloadLength-1 +│ bufferPos=0 +│ } +│ } +│ } │ --- HMI/n2t-out/screensaver.txt ├── +++ HMI/US/portrait/n2t-out/screensaver.txt │ @@ -7,27 +7,14 @@ @@ -2168,7 +2175,7 @@ │ vis p0,0 │ vis tNotifyHead,0 │ vis tNotifyText,0 -│ @@ -41,17 +28,14 @@ +│ @@ -41,52 +28,19 @@ │ } │ tDate.txt=pageIcons.vaDate.txt │ dim=dimValue @@ -2179,14 +2186,81 @@ │ - Postinitialize Event │ - click m0,1 │ - +│ -Variable (string) entn1 +│ - Attributes +│ - Scope : local +│ - Text : +│ - Max. Text Size: 14 +│ - +│ -Variable (string) entn2 +│ - Attributes +│ - Scope : local +│ - Text : +│ - Max. Text Size: 14 +│ - +│ -Variable (string) entn3 +│ - Attributes +│ - Scope : local +│ - Text : +│ - Max. Text Size: 14 +│ - +│ -Variable (string) entn4 +│ - Attributes +│ - Scope : local +│ - Text : +│ - Max. Text Size: 14 +│ - +│ -Variable (string) entn5 +│ - Attributes +│ - Scope : local +│ - Text : +│ - Max. Text Size: 14 +│ - │ Variable (string) strCommand │ Attributes │ Scope : local │ Text : -│ Max. Text Size: 1979 +│ - Max. Text Size: 1955 +│ + Max. Text Size: 1979 │ │ Variable (string) strTmp -│ @@ -376,34 +360,14 @@ +│ Attributes +│ Scope : local +│ Text : +│ Max. Text Size: 2 +│ +│ @@ -96,27 +50,27 @@ +│ Text : +│ Max. Text Size: 25 +│ +│ Variable (string) tInstruction +│ Attributes +│ Scope : local +│ Text : +│ - Max. Text Size: 15 +│ + Max. Text Size: 50 +│ +│ Variable (string) tSend +│ Attributes +│ Scope : local +│ Text : +│ - Max. Text Size: 30 +│ + Max. Text Size: 50 +│ +│ Variable (string) tTmp +│ Attributes +│ Scope : local +│ Text : +│ - Max. Text Size: 30 +│ + Max. Text Size: 50 +│ +│ Variable (int32) vaTap +│ Attributes +│ Scope: local +│ Value: 0 +│ +│ Variable (int32) xc1 +│ @@ -370,159 +324,50 @@ │ Scope : local │ Dragging : 0 │ Send Component ID : disabled @@ -2194,6 +2268,131 @@ │ Text : │ Max. Text Size : 4 │ +│ - Events +│ - Touch Press Event +│ - tSend.txt="event,buttonPress2,"+entn1.txt+",button" +│ - //send calc crc +│ - btlen tSend.txt,sys0 +│ - crcrest 1,0xffff // reset CRC +│ - crcputh 55 bb +│ - crcputs sys0,2 +│ - crcputs tSend.txt,0 +│ - //send cmd +│ - printh 55 bb +│ - prints sys0,2 +│ - prints tSend.txt,0 +│ - prints crcval,2 +│ - +│ Text f2Icon +│ Attributes +│ Scope : local +│ Dragging : 0 +│ Send Component ID : disabled +│ Associated Keyboard: none +│ Text : +│ Max. Text Size : 4 +│ +│ - Events +│ - Touch Press Event +│ - tSend.txt="event,buttonPress2,"+entn2.txt+",button" +│ - //send calc crc +│ - btlen tSend.txt,sys0 +│ - crcrest 1,0xffff // reset CRC +│ - crcputh 55 bb +│ - crcputs sys0,2 +│ - crcputs tSend.txt,0 +│ - //send cmd +│ - printh 55 bb +│ - prints sys0,2 +│ - prints tSend.txt,0 +│ - prints crcval,2 +│ - +│ - Touch Release Event +│ - tSend.txt="event,buttonPress2,"+entn1.txt+",button" +│ - //send calc crc +│ - btlen tSend.txt,sys0 +│ - crcrest 1,0xffff // reset CRC +│ - crcputh 55 bb +│ - crcputs sys0,2 +│ - crcputs tSend.txt,0 +│ - //send cmd +│ - printh 55 bb +│ - prints sys0,2 +│ - prints tSend.txt,0 +│ - prints crcval,2 +│ - +│ Text f3Icon +│ Attributes +│ Scope : local +│ Dragging : 0 +│ Send Component ID : disabled +│ Associated Keyboard: none +│ Text : +│ Max. Text Size : 4 +│ +│ - Events +│ - Touch Press Event +│ - tSend.txt="event,buttonPress2,"+entn3.txt+",button" +│ - //send calc crc +│ - btlen tSend.txt,sys0 +│ - crcrest 1,0xffff // reset CRC +│ - crcputh 55 bb +│ - crcputs sys0,2 +│ - crcputs tSend.txt,0 +│ - //send cmd +│ - printh 55 bb +│ - prints sys0,2 +│ - prints tSend.txt,0 +│ - prints crcval,2 +│ - +│ Text f4Icon +│ Attributes +│ Scope : local +│ Dragging : 0 +│ Send Component ID : disabled +│ Associated Keyboard: none +│ Text : +│ Max. Text Size : 4 +│ +│ - Events +│ - Touch Press Event +│ - tSend.txt="event,buttonPress2,"+entn4.txt+",button" +│ - //send calc crc +│ - btlen tSend.txt,sys0 +│ - crcrest 1,0xffff // reset CRC +│ - crcputh 55 bb +│ - crcputs sys0,2 +│ - crcputs tSend.txt,0 +│ - //send cmd +│ - printh 55 bb +│ - prints sys0,2 +│ - prints tSend.txt,0 +│ - prints crcval,2 +│ - +│ Text f5Icon +│ Attributes +│ Scope : local +│ Dragging : 0 +│ Send Component ID : disabled +│ Associated Keyboard: none +│ Text : +│ Max. Text Size : 4 +│ +│ - Events +│ - Touch Press Event +│ - tSend.txt="event,buttonPress2,"+entn5.txt+",button" +│ - //send calc crc +│ - btlen tSend.txt,sys0 +│ - crcrest 1,0xffff // reset CRC +│ - crcputh 55 bb +│ - crcputs sys0,2 +│ - crcputs tSend.txt,0 +│ - //send cmd +│ - printh 55 bb +│ - prints sys0,2 +│ - prints tSend.txt,0 +│ - prints crcval,2 +│ - │ -Text m0 │ - Attributes │ - Scope : local @@ -2221,7 +2420,7 @@ │ Send Component ID : disabled │ Associated Keyboard: none │ Text : PM -│ @@ -585,15 +549,14 @@ +│ @@ -704,15 +549,14 @@ │ if(tTmp.txt!="") │ { │ covx tTmp.txt,defaultFontColor,0,0 @@ -2237,3 +2436,67 @@ │ if(tAMPM.txt=="") │ { │ vis tAMPM,0 +│ @@ -833,44 +677,34 @@ +│ //e6Val +│ spstr strCommand.txt,e6Val.txt,"~",60 +│ //f1Icon +│ spstr strCommand.txt,f1Icon.txt,"~",63 +│ //f1Icon Color +│ spstr strCommand.txt,tTmp.txt,"~",64 +│ covx tTmp.txt,f1Icon.pco,0,0 +│ - //f1Icon intNameEntity +│ - spstr strCommand.txt,entn1.txt,"~",62 +│ //f2Icon +│ spstr strCommand.txt,f2Icon.txt,"~",69 +│ //f2Icon Color +│ spstr strCommand.txt,tTmp.txt,"~",70 +│ covx tTmp.txt,f2Icon.pco,0,0 +│ - //f2Icon intNameEntity +│ - spstr strCommand.txt,entn2.txt,"~",68 +│ //f3Icon +│ spstr strCommand.txt,f3Icon.txt,"~",75 +│ //f3Icon Color +│ spstr strCommand.txt,tTmp.txt,"~",76 +│ covx tTmp.txt,f3Icon.pco,0,0 +│ - //f3Icon intNameEntity +│ - spstr strCommand.txt,entn3.txt,"~",74 +│ //f4Icon +│ spstr strCommand.txt,f4Icon.txt,"~",81 +│ //f4Icon Color +│ spstr strCommand.txt,tTmp.txt,"~",82 +│ covx tTmp.txt,f4Icon.pco,0,0 +│ - //f4Icon intNameEntity +│ - spstr strCommand.txt,entn4.txt,"~",80 +│ //f5Icon +│ spstr strCommand.txt,f5Icon.txt,"~",87 +│ //f5Icon Color +│ spstr strCommand.txt,tTmp.txt,"~",88 +│ covx tTmp.txt,f5Icon.pco,0,0 +│ - //f5Icon intNameEntity +│ - spstr strCommand.txt,entn5.txt,"~",86 +│ } +│ if(tInstruction.txt=="notify") +│ { +│ spstr strCommand.txt,tNotifyHead.txt,"~",1 +│ spstr strCommand.txt,tNotifyText.txt,"~",2 +│ if(tNotifyHead.txt!=""||tNotifyText.txt!="") +│ { +│ @@ -966,14 +800,18 @@ +│ { +│ page cardPower +│ } +│ if(tId.txt=="cardChart") +│ { +│ page cardChart +│ } +│ + if(tId.txt=="cardLChart") +│ + { +│ + page cardLChart +│ + } +│ } +│ if(tInstruction.txt=="timeout") +│ { +│ //set timeout to global var +│ spstr strCommand.txt,tTmp.txt,"~",1 +│ covx tTmp.txt,sleepTimeout,0,0 +│ } diff --git a/HMI/US/portrait/diff-filtered.txt b/HMI/US/portrait/diff-filtered.txt index c8ecae73..0fb6c3ec 100644 --- a/HMI/US/portrait/diff-filtered.txt +++ b/HMI/US/portrait/diff-filtered.txt @@ -1,16 +1,4 @@ -+++ /dev/fd/62 2023-11-27 23:28:52.512823638 +0000 -+le list -+ +1,9 @@ -+.s.txt -+rm.txt -+nRec.txt -+rt.txt -+ities.txt -+d.txt -+d2.txt -+art.txt -+ia.txt -+er.txt ++++ /dev/fd/62 2024-01-19 15:23:13.505105687 +0000 +I/n2t-out/Program.s.txt ++ HMI/US/portrait/n2t-out/Program.s.txt +1 +12,11 @@ @@ -698,13 +686,6 @@ + covx tTmp.txt,sys0,0,0 + 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 +I/n2t-out/cardGrid.txt ++ HMI/US/portrait/n2t-out/cardGrid.txt + +7,14 @@ @@ -958,6 +939,13 @@ + spstr strCommand.txt,tEntity9.txt,"~",66 + vis tEntity9,1 + } ++ } ++ if(tInstruction.txt=="pageType") ++ { ++ sleepValue=0 ++ //command format pageType,specialPageName ++ //write name of speical page to tId ++ spstr strCommand.txt,tId.txt,"~",1 +I/n2t-out/cardLChart.txt ++ HMI/US/portrait/n2t-out/cardLChart.txt + +7,14 @@ @@ -1558,6 +1546,25 @@ + } + if(tInstruction.txt=="exitPopup") + { ++18 +439,14 @@ ++ { ++ page cardPower ++ } ++ if(tId.txt=="cardChart") ++ { ++ page cardChart ++ } ++ if(tId.txt=="cardLChart") ++ { ++ page cardLChart ++ } ++ } ++ // end of user code ++ udelete payloadLength-1 ++ bufferPos=0 ++ } ++ } ++ } +I/n2t-out/screensaver.txt ++ HMI/US/portrait/n2t-out/screensaver.txt + +7,14 @@ @@ -1710,7 +1717,7 @@ + vis p0,0 + vis tNotifyHead,0 + vis tNotifyText,0 -+7 +28,14 @@ ++2 +28,19 @@ + } + tDate.txt=pageIcons.vaDate.txt + dim=dimValue @@ -1721,14 +1728,81 @@ + Postinitialize Event + click m0,1 + ++e (string) entn1 ++ributes ++ Scope : local ++ Text : ++ Max. Text Size: 14 ++ ++e (string) entn2 ++ributes ++ Scope : local ++ Text : ++ Max. Text Size: 14 ++ ++e (string) entn3 ++ributes ++ Scope : local ++ Text : ++ Max. Text Size: 14 ++ ++e (string) entn4 ++ributes ++ Scope : local ++ Text : ++ Max. Text Size: 14 ++ ++e (string) entn5 ++ributes ++ Scope : local ++ Text : ++ Max. Text Size: 14 ++ +e (string) strCommand +ributes + Scope : local + Text : ++ Max. Text Size: 1955 + Max. Text Size: 1979 + +e (string) strTmp -+34 +360,14 @@ ++ributes ++ Scope : local ++ Text : ++ Max. Text Size: 2 ++ ++7 +50,27 @@ ++ Text : ++ Max. Text Size: 25 ++ ++e (string) tInstruction ++ributes ++ Scope : local ++ Text : ++ Max. Text Size: 15 ++ Max. Text Size: 50 ++ ++e (string) tSend ++ributes ++ Scope : local ++ Text : ++ Max. Text Size: 30 ++ Max. Text Size: 50 ++ ++e (string) tTmp ++ributes ++ Scope : local ++ Text : ++ Max. Text Size: 30 ++ Max. Text Size: 50 ++ ++e (int32) vaTap ++ributes ++ Scope: local ++ Value: 0 ++ ++e (int32) xc1 ++159 +324,50 @@ + Scope : local + Dragging : 0 + Send Component ID : disabled @@ -1736,6 +1810,131 @@ + Text : + Max. Text Size : 4 + ++nts ++ Touch Press Event ++ tSend.txt="event,buttonPress2,"+entn1.txt+",button" ++ //send calc crc ++ btlen tSend.txt,sys0 ++ crcrest 1,0xffff // reset CRC ++ crcputh 55 bb ++ crcputs sys0,2 ++ crcputs tSend.txt,0 ++ //send cmd ++ printh 55 bb ++ prints sys0,2 ++ prints tSend.txt,0 ++ prints crcval,2 ++ ++Icon ++ributes ++ Scope : local ++ Dragging : 0 ++ Send Component ID : disabled ++ Associated Keyboard: none ++ Text : ++ Max. Text Size : 4 ++ ++nts ++ Touch Press Event ++ tSend.txt="event,buttonPress2,"+entn2.txt+",button" ++ //send calc crc ++ btlen tSend.txt,sys0 ++ crcrest 1,0xffff // reset CRC ++ crcputh 55 bb ++ crcputs sys0,2 ++ crcputs tSend.txt,0 ++ //send cmd ++ printh 55 bb ++ prints sys0,2 ++ prints tSend.txt,0 ++ prints crcval,2 ++ ++ Touch Release Event ++ tSend.txt="event,buttonPress2,"+entn1.txt+",button" ++ //send calc crc ++ btlen tSend.txt,sys0 ++ crcrest 1,0xffff // reset CRC ++ crcputh 55 bb ++ crcputs sys0,2 ++ crcputs tSend.txt,0 ++ //send cmd ++ printh 55 bb ++ prints sys0,2 ++ prints tSend.txt,0 ++ prints crcval,2 ++ ++Icon ++ributes ++ Scope : local ++ Dragging : 0 ++ Send Component ID : disabled ++ Associated Keyboard: none ++ Text : ++ Max. Text Size : 4 ++ ++nts ++ Touch Press Event ++ tSend.txt="event,buttonPress2,"+entn3.txt+",button" ++ //send calc crc ++ btlen tSend.txt,sys0 ++ crcrest 1,0xffff // reset CRC ++ crcputh 55 bb ++ crcputs sys0,2 ++ crcputs tSend.txt,0 ++ //send cmd ++ printh 55 bb ++ prints sys0,2 ++ prints tSend.txt,0 ++ prints crcval,2 ++ ++Icon ++ributes ++ Scope : local ++ Dragging : 0 ++ Send Component ID : disabled ++ Associated Keyboard: none ++ Text : ++ Max. Text Size : 4 ++ ++nts ++ Touch Press Event ++ tSend.txt="event,buttonPress2,"+entn4.txt+",button" ++ //send calc crc ++ btlen tSend.txt,sys0 ++ crcrest 1,0xffff // reset CRC ++ crcputh 55 bb ++ crcputs sys0,2 ++ crcputs tSend.txt,0 ++ //send cmd ++ printh 55 bb ++ prints sys0,2 ++ prints tSend.txt,0 ++ prints crcval,2 ++ ++Icon ++ributes ++ Scope : local ++ Dragging : 0 ++ Send Component ID : disabled ++ Associated Keyboard: none ++ Text : ++ Max. Text Size : 4 ++ ++nts ++ Touch Press Event ++ tSend.txt="event,buttonPress2,"+entn5.txt+",button" ++ //send calc crc ++ btlen tSend.txt,sys0 ++ crcrest 1,0xffff // reset CRC ++ crcputh 55 bb ++ crcputs sys0,2 ++ crcputs tSend.txt,0 ++ //send cmd ++ printh 55 bb ++ prints sys0,2 ++ prints tSend.txt,0 ++ prints crcval,2 ++ + +ributes + Scope : local @@ -1779,3 +1978,67 @@ + if(tAMPM.txt=="") + { + vis tAMPM,0 ++44 +677,34 @@ ++ //e6Val ++ spstr strCommand.txt,e6Val.txt,"~",60 ++ //f1Icon ++ spstr strCommand.txt,f1Icon.txt,"~",63 ++ //f1Icon Color ++ spstr strCommand.txt,tTmp.txt,"~",64 ++ covx tTmp.txt,f1Icon.pco,0,0 ++ //f1Icon intNameEntity ++ spstr strCommand.txt,entn1.txt,"~",62 ++ //f2Icon ++ spstr strCommand.txt,f2Icon.txt,"~",69 ++ //f2Icon Color ++ spstr strCommand.txt,tTmp.txt,"~",70 ++ covx tTmp.txt,f2Icon.pco,0,0 ++ //f2Icon intNameEntity ++ spstr strCommand.txt,entn2.txt,"~",68 ++ //f3Icon ++ spstr strCommand.txt,f3Icon.txt,"~",75 ++ //f3Icon Color ++ spstr strCommand.txt,tTmp.txt,"~",76 ++ covx tTmp.txt,f3Icon.pco,0,0 ++ //f3Icon intNameEntity ++ spstr strCommand.txt,entn3.txt,"~",74 ++ //f4Icon ++ spstr strCommand.txt,f4Icon.txt,"~",81 ++ //f4Icon Color ++ spstr strCommand.txt,tTmp.txt,"~",82 ++ covx tTmp.txt,f4Icon.pco,0,0 ++ //f4Icon intNameEntity ++ spstr strCommand.txt,entn4.txt,"~",80 ++ //f5Icon ++ spstr strCommand.txt,f5Icon.txt,"~",87 ++ //f5Icon Color ++ spstr strCommand.txt,tTmp.txt,"~",88 ++ covx tTmp.txt,f5Icon.pco,0,0 ++ //f5Icon intNameEntity ++ spstr strCommand.txt,entn5.txt,"~",86 ++ } ++ if(tInstruction.txt=="notify") ++ { ++ spstr strCommand.txt,tNotifyHead.txt,"~",1 ++ spstr strCommand.txt,tNotifyText.txt,"~",2 ++ if(tNotifyHead.txt!=""||tNotifyText.txt!="") ++ { ++14 +800,18 @@ ++ { ++ page cardPower ++ } ++ if(tId.txt=="cardChart") ++ { ++ page cardChart ++ } ++ if(tId.txt=="cardLChart") ++ { ++ page cardLChart ++ } ++ } ++ if(tInstruction.txt=="timeout") ++ { ++ //set timeout to global var ++ spstr strCommand.txt,tTmp.txt,"~",1 ++ covx tTmp.txt,sleepTimeout,0,0 ++ } diff --git a/HMI/n2t-out-visual/cardBurnRec.txt b/HMI/n2t-out-visual/cardBurnRec.txt deleted file mode 100644 index 6f6b0c8d..00000000 --- a/HMI/n2t-out-visual/cardBurnRec.txt +++ /dev/null @@ -1,63 +0,0 @@ -Page cardBurnRec - Attributes - ID : 0 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - Width : 480 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - Fill : solid color - Back. Color : 65535 - -Timer tm0 - Attributes - ID : 1 - Scope : local - Period (ms): 1001 - Enabled : yes - - Events - Timer Event - dim=100 - sys0=0 - sys1=0 - if(sys2==WHITE) - { - sys2=BLACK - }else - { - sys2=WHITE - } - sya1=sys2 - while(sys0<8) - { - sya0=sys0%2 - if(sya1==WHITE) - { - sya1=BLACK - }else - { - sya1=WHITE - } - fill 0,40*sys0,480,40,sya1 - sys0++ - } - -TouchCap tc0 - Attributes - ID : 2 - Scope: local - Value: 0 - - Events - Touch Press Event - page pageStartup - diff --git a/HMI/n2t-out-visual/nspanel_Stats.txt b/HMI/n2t-out-visual/nspanel_Stats.txt index ca0d45cf..9ef1c698 100644 --- a/HMI/n2t-out-visual/nspanel_Stats.txt +++ b/HMI/n2t-out-visual/nspanel_Stats.txt @@ -6,10 +6,14 @@ pageIcons 7 Component(s) 0 Line(s) of event code 0 Unique line(s) of event code -cardBurnRec - 3 Component(s) - 25 Line(s) of event code - 21 Unique line(s) of event code +pageTest + 25 Component(s) + 68 Line(s) of event code + 66 Unique line(s) of event code +popupNotify + 19 Component(s) + 271 Line(s) of event code + 174 Unique line(s) of event code popupFan 27 Component(s) 355 Line(s) of event code @@ -26,14 +30,6 @@ popupLightNew 23 Component(s) 412 Line(s) of event code 209 Unique line(s) of event code -popupNotify - 19 Component(s) - 267 Line(s) of event code - 172 Unique line(s) of event code -pageTest - 26 Component(s) - 69 Line(s) of event code - 67 Unique line(s) of event code cardGrid2 52 Component(s) 703 Line(s) of event code @@ -46,6 +42,10 @@ cardChart 33 Component(s) 447 Line(s) of event code 297 Unique line(s) of event code +cardGrid + 44 Component(s) + 593 Line(s) of event code + 333 Unique line(s) of event code cardQR 34 Component(s) 420 Line(s) of event code @@ -66,10 +66,6 @@ cardThermo 57 Component(s) 550 Line(s) of event code 320 Unique line(s) of event code -cardGrid - 44 Component(s) - 593 Line(s) of event code - 333 Unique line(s) of event code popupInSel 34 Component(s) 621 Line(s) of event code @@ -91,16 +87,16 @@ popupThermo 523 Line(s) of event code 276 Unique line(s) of event code screensaver2 - 59 Component(s) - 373 Line(s) of event code - 256 Unique line(s) of event code + 64 Component(s) + 434 Line(s) of event code + 264 Unique line(s) of event code cardEntities 67 Component(s) 1205 Line(s) of event code 536 Unique line(s) of event code Total - 24 Page(s) - 880 Component(s) - 10740 Line(s) of event code - 2475 Unique line(s) of event code + 23 Page(s) + 881 Component(s) + 10779 Line(s) of event code + 2466 Unique line(s) of event code diff --git a/HMI/n2t-out-visual/pageTest.txt b/HMI/n2t-out-visual/pageTest.txt index d86555b3..5c773bcd 100644 --- a/HMI/n2t-out-visual/pageTest.txt +++ b/HMI/n2t-out-visual/pageTest.txt @@ -335,41 +335,6 @@ Button b13 Touch Press Event showqq -Button b14 - Attributes - ID : 25 - Scope : local - Dragging : 0 - Send Component ID : disabled - Opacity : 127 - x coordinate : 229 - y coordinate : 188 - Width : 106 - Height : 40 - Effect : load - Effect Priority : 0 - Effect Time : 300 - Fill : solid color - Style : 3D auto - Font ID : 1 - Back. Color : 50712 - Back. Picture ID (Pressed): 65535 - Back. Color (Pressed) : 1024 - Font Color (Unpressed) : 0 - Font Color (Pressed) : 65535 - Horizontal Alignment : center - Vertical Alignment : center - State : unpressed - Text : burntest - Max. Text Size : 10 - Word wrap : disabled - Horizontal Spacing : 0 - Vertical Spacing : 0 - - Events - Touch Press Event - page cardBurnRec - Button b15 Attributes ID : 21 diff --git a/HMI/n2t-out-visual/popupNotify.txt b/HMI/n2t-out-visual/popupNotify.txt index 6aee6f5f..dd35547d 100644 --- a/HMI/n2t-out-visual/popupNotify.txt +++ b/HMI/n2t-out-visual/popupNotify.txt @@ -672,6 +672,10 @@ Timer tmSerial { page cardChart } + if(tId.txt=="cardLChart") + { + page cardLChart + } } // end of user code udelete payloadLength-1 diff --git a/HMI/n2t-out-visual/screensaver2.txt b/HMI/n2t-out-visual/screensaver2.txt index b5492841..be7ab85e 100644 --- a/HMI/n2t-out-visual/screensaver2.txt +++ b/HMI/n2t-out-visual/screensaver2.txt @@ -56,12 +56,47 @@ Page screensaver2 Postinitialize Event click m0,1 +Variable (string) entn1 + Attributes + ID : 59 + Scope : local + Text : + Max. Text Size: 14 + +Variable (string) entn2 + Attributes + ID : 60 + Scope : local + Text : + Max. Text Size: 14 + +Variable (string) entn3 + Attributes + ID : 61 + Scope : local + Text : + Max. Text Size: 14 + +Variable (string) entn4 + Attributes + ID : 62 + Scope : local + Text : + Max. Text Size: 14 + +Variable (string) entn5 + Attributes + ID : 63 + Scope : local + Text : + Max. Text Size: 14 + Variable (string) strCommand Attributes ID : 4 Scope : local Text : - Max. Text Size: 1979 + Max. Text Size: 1955 Variable (string) strTmp Attributes @@ -82,21 +117,21 @@ Variable (string) tInstruction ID : 18 Scope : local Text : - Max. Text Size: 50 + Max. Text Size: 15 Variable (string) tSend Attributes ID : 20 Scope : local Text : - Max. Text Size: 50 + Max. Text Size: 30 Variable (string) tTmp Attributes ID : 19 Scope : local Text : - Max. Text Size: 50 + Max. Text Size: 30 Variable (int32) vaTap Attributes @@ -865,6 +900,21 @@ Text f1Icon Horizontal Spacing : 0 Vertical Spacing : 0 + Events + Touch Press Event + tSend.txt="event,buttonPress2,"+entn1.txt+",button" + //send calc crc + btlen tSend.txt,sys0 + crcrest 1,0xffff // reset CRC + crcputh 55 bb + crcputs sys0,2 + crcputs tSend.txt,0 + //send cmd + printh 55 bb + prints sys0,2 + prints tSend.txt,0 + prints crcval,2 + Text f2Icon Attributes ID : 54 @@ -894,6 +944,35 @@ Text f2Icon Horizontal Spacing : 0 Vertical Spacing : 0 + Events + Touch Press Event + tSend.txt="event,buttonPress2,"+entn2.txt+",button" + //send calc crc + btlen tSend.txt,sys0 + crcrest 1,0xffff // reset CRC + crcputh 55 bb + crcputs sys0,2 + crcputs tSend.txt,0 + //send cmd + printh 55 bb + prints sys0,2 + prints tSend.txt,0 + prints crcval,2 + + Touch Release Event + tSend.txt="event,buttonPress2,"+entn1.txt+",button" + //send calc crc + btlen tSend.txt,sys0 + crcrest 1,0xffff // reset CRC + crcputh 55 bb + crcputs sys0,2 + crcputs tSend.txt,0 + //send cmd + printh 55 bb + prints sys0,2 + prints tSend.txt,0 + prints crcval,2 + Text f3Icon Attributes ID : 55 @@ -923,6 +1002,21 @@ Text f3Icon Horizontal Spacing : 0 Vertical Spacing : 0 + Events + Touch Press Event + tSend.txt="event,buttonPress2,"+entn3.txt+",button" + //send calc crc + btlen tSend.txt,sys0 + crcrest 1,0xffff // reset CRC + crcputh 55 bb + crcputs sys0,2 + crcputs tSend.txt,0 + //send cmd + printh 55 bb + prints sys0,2 + prints tSend.txt,0 + prints crcval,2 + Text f4Icon Attributes ID : 53 @@ -952,6 +1046,21 @@ Text f4Icon Horizontal Spacing : 0 Vertical Spacing : 0 + Events + Touch Press Event + tSend.txt="event,buttonPress2,"+entn4.txt+",button" + //send calc crc + btlen tSend.txt,sys0 + crcrest 1,0xffff // reset CRC + crcputh 55 bb + crcputs sys0,2 + crcputs tSend.txt,0 + //send cmd + printh 55 bb + prints sys0,2 + prints tSend.txt,0 + prints crcval,2 + Text f5Icon Attributes ID : 52 @@ -981,6 +1090,21 @@ Text f5Icon Horizontal Spacing : 0 Vertical Spacing : 0 + Events + Touch Press Event + tSend.txt="event,buttonPress2,"+entn5.txt+",button" + //send calc crc + btlen tSend.txt,sys0 + crcrest 1,0xffff // reset CRC + crcputh 55 bb + crcputs sys0,2 + crcputs tSend.txt,0 + //send cmd + printh 55 bb + prints sys0,2 + prints tSend.txt,0 + prints crcval,2 + Text m0 Attributes ID : 32 @@ -1551,26 +1675,36 @@ Timer tmSerial //f1Icon Color spstr strCommand.txt,tTmp.txt,"~",64 covx tTmp.txt,f1Icon.pco,0,0 + //f1Icon intNameEntity + spstr strCommand.txt,entn1.txt,"~",62 //f2Icon spstr strCommand.txt,f2Icon.txt,"~",69 //f2Icon Color spstr strCommand.txt,tTmp.txt,"~",70 covx tTmp.txt,f2Icon.pco,0,0 + //f2Icon intNameEntity + spstr strCommand.txt,entn2.txt,"~",68 //f3Icon spstr strCommand.txt,f3Icon.txt,"~",75 //f3Icon Color spstr strCommand.txt,tTmp.txt,"~",76 covx tTmp.txt,f3Icon.pco,0,0 + //f3Icon intNameEntity + spstr strCommand.txt,entn3.txt,"~",74 //f4Icon spstr strCommand.txt,f4Icon.txt,"~",81 //f4Icon Color spstr strCommand.txt,tTmp.txt,"~",82 covx tTmp.txt,f4Icon.pco,0,0 + //f4Icon intNameEntity + spstr strCommand.txt,entn4.txt,"~",80 //f5Icon spstr strCommand.txt,f5Icon.txt,"~",87 //f5Icon Color spstr strCommand.txt,tTmp.txt,"~",88 covx tTmp.txt,f5Icon.pco,0,0 + //f5Icon intNameEntity + spstr strCommand.txt,entn5.txt,"~",86 } if(tInstruction.txt=="notify") { @@ -1674,10 +1808,6 @@ Timer tmSerial { page cardChart } - if(tId.txt=="cardLChart") - { - page cardLChart - } } if(tInstruction.txt=="timeout") { diff --git a/HMI/n2t-out/cardBurnRec.txt b/HMI/n2t-out/cardBurnRec.txt deleted file mode 100644 index eba2fe7d..00000000 --- a/HMI/n2t-out/cardBurnRec.txt +++ /dev/null @@ -1,53 +0,0 @@ -Page cardBurnRec - Attributes - Scope : local - Dragging : 0 - Send Component ID : disabled - Locked : no - Swide up page ID : disabled - Swide down page ID : disabled - Swide left page ID : disabled - Swide right page ID: disabled - -Timer tm0 - Attributes - Scope : local - Period (ms): 1001 - Enabled : yes - - Events - Timer Event - dim=100 - sys0=0 - sys1=0 - if(sys2==WHITE) - { - sys2=BLACK - }else - { - sys2=WHITE - } - sya1=sys2 - while(sys0<8) - { - sya0=sys0%2 - if(sya1==WHITE) - { - sya1=BLACK - }else - { - sya1=WHITE - } - fill 0,40*sys0,480,40,sya1 - sys0++ - } - -TouchCap tc0 - Attributes - Scope: local - Value: 0 - - Events - Touch Press Event - page pageStartup - diff --git a/HMI/n2t-out/pageTest.txt b/HMI/n2t-out/pageTest.txt index 6101920e..d2a6ce85 100644 --- a/HMI/n2t-out/pageTest.txt +++ b/HMI/n2t-out/pageTest.txt @@ -141,19 +141,6 @@ Button b13 Touch Press Event showqq -Button b14 - Attributes - Scope : local - Dragging : 0 - Send Component ID: disabled - State : unpressed - Text : burntest - Max. Text Size : 10 - - Events - Touch Press Event - page cardBurnRec - Button b15 Attributes Scope : local diff --git a/HMI/n2t-out/popupNotify.txt b/HMI/n2t-out/popupNotify.txt index af54d25b..97485b1a 100644 --- a/HMI/n2t-out/popupNotify.txt +++ b/HMI/n2t-out/popupNotify.txt @@ -443,6 +443,10 @@ Timer tmSerial { page cardChart } + if(tId.txt=="cardLChart") + { + page cardLChart + } } // end of user code udelete payloadLength-1 diff --git a/HMI/n2t-out/screensaver2.txt b/HMI/n2t-out/screensaver2.txt index 1f866d79..81dd9a23 100644 --- a/HMI/n2t-out/screensaver2.txt +++ b/HMI/n2t-out/screensaver2.txt @@ -48,11 +48,41 @@ Page screensaver2 Postinitialize Event click m0,1 +Variable (string) entn1 + Attributes + Scope : local + Text : + Max. Text Size: 14 + +Variable (string) entn2 + Attributes + Scope : local + Text : + Max. Text Size: 14 + +Variable (string) entn3 + Attributes + Scope : local + Text : + Max. Text Size: 14 + +Variable (string) entn4 + Attributes + Scope : local + Text : + Max. Text Size: 14 + +Variable (string) entn5 + Attributes + Scope : local + Text : + Max. Text Size: 14 + Variable (string) strCommand Attributes Scope : local Text : - Max. Text Size: 1979 + Max. Text Size: 1955 Variable (string) strTmp Attributes @@ -70,19 +100,19 @@ Variable (string) tInstruction Attributes Scope : local Text : - Max. Text Size: 50 + Max. Text Size: 15 Variable (string) tSend Attributes Scope : local Text : - Max. Text Size: 50 + Max. Text Size: 30 Variable (string) tTmp Attributes Scope : local Text : - Max. Text Size: 50 + Max. Text Size: 30 Variable (int32) vaTap Attributes @@ -344,6 +374,21 @@ Text f1Icon Text : Max. Text Size : 4 + Events + Touch Press Event + tSend.txt="event,buttonPress2,"+entn1.txt+",button" + //send calc crc + btlen tSend.txt,sys0 + crcrest 1,0xffff // reset CRC + crcputh 55 bb + crcputs sys0,2 + crcputs tSend.txt,0 + //send cmd + printh 55 bb + prints sys0,2 + prints tSend.txt,0 + prints crcval,2 + Text f2Icon Attributes Scope : local @@ -353,6 +398,35 @@ Text f2Icon Text : Max. Text Size : 4 + Events + Touch Press Event + tSend.txt="event,buttonPress2,"+entn2.txt+",button" + //send calc crc + btlen tSend.txt,sys0 + crcrest 1,0xffff // reset CRC + crcputh 55 bb + crcputs sys0,2 + crcputs tSend.txt,0 + //send cmd + printh 55 bb + prints sys0,2 + prints tSend.txt,0 + prints crcval,2 + + Touch Release Event + tSend.txt="event,buttonPress2,"+entn1.txt+",button" + //send calc crc + btlen tSend.txt,sys0 + crcrest 1,0xffff // reset CRC + crcputh 55 bb + crcputs sys0,2 + crcputs tSend.txt,0 + //send cmd + printh 55 bb + prints sys0,2 + prints tSend.txt,0 + prints crcval,2 + Text f3Icon Attributes Scope : local @@ -362,6 +436,21 @@ Text f3Icon Text : Max. Text Size : 4 + Events + Touch Press Event + tSend.txt="event,buttonPress2,"+entn3.txt+",button" + //send calc crc + btlen tSend.txt,sys0 + crcrest 1,0xffff // reset CRC + crcputh 55 bb + crcputs sys0,2 + crcputs tSend.txt,0 + //send cmd + printh 55 bb + prints sys0,2 + prints tSend.txt,0 + prints crcval,2 + Text f4Icon Attributes Scope : local @@ -371,6 +460,21 @@ Text f4Icon Text : Max. Text Size : 4 + Events + Touch Press Event + tSend.txt="event,buttonPress2,"+entn4.txt+",button" + //send calc crc + btlen tSend.txt,sys0 + crcrest 1,0xffff // reset CRC + crcputh 55 bb + crcputs sys0,2 + crcputs tSend.txt,0 + //send cmd + printh 55 bb + prints sys0,2 + prints tSend.txt,0 + prints crcval,2 + Text f5Icon Attributes Scope : local @@ -380,6 +484,21 @@ Text f5Icon Text : Max. Text Size : 4 + Events + Touch Press Event + tSend.txt="event,buttonPress2,"+entn5.txt+",button" + //send calc crc + btlen tSend.txt,sys0 + crcrest 1,0xffff // reset CRC + crcputh 55 bb + crcputs sys0,2 + crcputs tSend.txt,0 + //send cmd + printh 55 bb + prints sys0,2 + prints tSend.txt,0 + prints crcval,2 + Text m0 Attributes Scope : local @@ -718,26 +837,36 @@ Timer tmSerial //f1Icon Color spstr strCommand.txt,tTmp.txt,"~",64 covx tTmp.txt,f1Icon.pco,0,0 + //f1Icon intNameEntity + spstr strCommand.txt,entn1.txt,"~",62 //f2Icon spstr strCommand.txt,f2Icon.txt,"~",69 //f2Icon Color spstr strCommand.txt,tTmp.txt,"~",70 covx tTmp.txt,f2Icon.pco,0,0 + //f2Icon intNameEntity + spstr strCommand.txt,entn2.txt,"~",68 //f3Icon spstr strCommand.txt,f3Icon.txt,"~",75 //f3Icon Color spstr strCommand.txt,tTmp.txt,"~",76 covx tTmp.txt,f3Icon.pco,0,0 + //f3Icon intNameEntity + spstr strCommand.txt,entn3.txt,"~",74 //f4Icon spstr strCommand.txt,f4Icon.txt,"~",81 //f4Icon Color spstr strCommand.txt,tTmp.txt,"~",82 covx tTmp.txt,f4Icon.pco,0,0 + //f4Icon intNameEntity + spstr strCommand.txt,entn4.txt,"~",80 //f5Icon spstr strCommand.txt,f5Icon.txt,"~",87 //f5Icon Color spstr strCommand.txt,tTmp.txt,"~",88 covx tTmp.txt,f5Icon.pco,0,0 + //f5Icon intNameEntity + spstr strCommand.txt,entn5.txt,"~",86 } if(tInstruction.txt=="notify") { @@ -841,10 +970,6 @@ Timer tmSerial { page cardChart } - if(tId.txt=="cardLChart") - { - page cardLChart - } } if(tInstruction.txt=="timeout") {