--- HMI/n2t-out +++ HMI/US/landscape/n2t-out ├── Program.s.txt │ @@ -10,10 +10,7 @@ │ int sleepValue=0 │ // dim value │ int dimValue=40 │ int dimValueNormal=100 │ //color vars │ int defaultFontColor=65535 │ int defaultBcoColor=6371 │ - // fix touch offset │ - lcd_dev fffb 0002 0000 0020 │ - page pageStartup ├── cardChart.txt │ @@ -175,16 +175,16 @@ │ Send Component ID : disabled │ State : unpressed │ Text :  │ Max. Text Size : 10 │ │ Events │ Touch Press Event │ - tSend.txt="event,buttonPress2,cardChart," │ - if(bPrev.txt=="") │ + tSend.txt="event,buttonPress2,cardPower," │ + if(bNext.txt=="") │ { │ tSend.txt+="bHome" │ }else │ { │ tSend.txt+="bNext" │ } │ //send calc crc │ @@ -207,15 +207,15 @@ │ Send Component ID : disabled │ State : unpressed │ Text :  │ Max. Text Size : 10 │ │ Events │ Touch Press Event │ - tSend.txt="event,buttonPress2,cardChart," │ + tSend.txt="event,buttonPress2,cardAlarm," │ if(bPrev.txt=="") │ { │ tSend.txt+="bUp" │ }else │ { │ tSend.txt+="bPrev" │ } ├── cardMedia.txt │ @@ -15,15 +15,14 @@ │ dim=dimValueNormal │ vis p0,0 │ vis tSend,0 │ vis tInstruction,0 │ vis tTmp,0 │ vis tId,0 │ vis t5,0 │ - vis tShuffle,0 │ vis bPrev,0 │ vis bNext,0 │ cardMedia.bco=defaultBcoColor │ for(sys0=0;sys0<34;sys0++) │ { │ if(b[sys0].type==98||b[sys0].type==116) │ { │ @@ -46,32 +45,20 @@ │ │ Variable (string) strCommand │ Attributes │ Scope : local │ Text : │ Max. Text Size: 750 │ │ -Variable (string) tId │ - Attributes │ - Scope : local │ - Text : │ - Max. Text Size: 20 │ - │ Variable (string) tSend │ Attributes │ Scope : local │ Text : │ Max. Text Size: 200 │ │ -Variable (string) tTmp │ - Attributes │ - Scope : local │ - Text : │ - Max. Text Size: 10 │ - │ Variable (string) vaMenu │ Attributes │ Scope : local │ Text : │ Max. Text Size: 50 │ │ Variable (string) vaSpeakerList │ @@ -308,14 +295,24 @@ │ //send cmd │ printh 55 bb │ prints sys0,2 │ prints tSend.txt,0 │ prints crcval,2 │ } │ │ +Text tId │ + Attributes │ + Scope : local │ + Dragging : 0 │ + Disable release event after dragging: 0 │ + Send Component ID : disabled │ + Associated Keyboard : none │ + Text : │ + Max. Text Size : 20 │ + │ Text tInstruction │ Attributes │ Scope : local │ Dragging : 0 │ Disable release event after dragging: 0 │ Send Component ID : disabled │ Associated Keyboard : none │ @@ -347,81 +344,62 @@ │ crcputs tSend.txt,0 │ //send cmd │ printh 55 bb │ prints sys0,2 │ prints tSend.txt,0 │ prints crcval,2 │ │ -Text tShuffle │ +Text tSpeaker │ Attributes │ Scope : local │ Dragging : 0 │ Disable release event after dragging: 0 │ Send Component ID : disabled │ Associated Keyboard : none │ - Text : x │ - Max. Text Size : 10 │ + Text : │ + Max. Text Size : 50 │ │ Events │ Touch Press Event │ // event,buttonPress2,entn,media-next │ //craft command │ tSend.txt="event,buttonPress2," │ tSend.txt+=entn.txt+"," │ - tSend.txt+="media-shuffle" │ + tSend.txt+="speaker-sel,"+tSpeaker.txt │ //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 tSpeaker │ +Text tTitle │ Attributes │ Scope : local │ Dragging : 0 │ Disable release event after dragging: 0 │ Send Component ID : disabled │ Associated Keyboard : none │ Text : │ Max. Text Size : 50 │ │ - Events │ - Touch Press Event │ - // event,buttonPress2,entn,media-next │ - //craft command │ - tSend.txt="event,buttonPress2," │ - tSend.txt+=entn.txt+"," │ - tSend.txt+="speaker-sel,"+tSpeaker.txt │ - //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 tTitle │ +Text tTmp │ Attributes │ Scope : local │ Dragging : 0 │ Disable release event after dragging: 0 │ Send Component ID : disabled │ Associated Keyboard : none │ Text : │ - Max. Text Size : 50 │ + Max. Text Size : 10 │ │ Picture p0 │ Attributes │ Scope : local │ Dragging : 0 │ Disable release event after dragging: 0 │ Send Component ID : disabled │ @@ -715,24 +693,14 @@ │ }else │ { │ vis t5,1 │ covx tTmp.txt,t5.pco,0,0 │ } │ //tIconBtnEntityName │ spstr strCommand.txt,vaMenu.txt,"~",15 │ - // shuffel btn │ - spstr strCommand.txt,tTmp.txt,"~",16 │ - if(tTmp.txt=="disable") │ - { │ - vis tShuffle,0 │ - }else │ - { │ - vis tShuffle,1 │ - tShuffle.txt=tTmp.txt │ - } │ } │ if(tInstruction.txt=="time") │ { │ // get set time to global variable │ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1 │ } │ if(tInstruction.txt=="date") ├── pageStartup.txt │ @@ -173,15 +173,15 @@ │ Max. Text Size : 10 │ │ Events │ Touch Press Event │ recmod=1 │ bauds=115200 │ // startup event │ - tSend.txt="event,startup,"+tVersion.txt+",eu" │ + tSend.txt="event,startup,"+tVersion.txt+",us-l" │ //send calc crc │ btlen tSend.txt,sys0 │ crcrest 1,0xffff // reset CRC │ crcputh 55 bb │ crcputs sys0,2 │ crcputs tSend.txt,0 │ //send cmd ├── popupFan.txt │ @@ -619,14 +619,18 @@ │ { │ page cardQR │ } │ if(tId.txt=="cardPower") │ { │ page cardPower │ } │ + if(tId.txt=="cardChart") │ + { │ + page cardChart │ + } │ } │ // end of user code │ udelete payloadLength-1 │ bufferPos=0 │ } │ } │ } ├── popupInSel.txt │ @@ -893,14 +893,18 @@ │ { │ page cardQR │ } │ if(tId.txt=="cardPower") │ { │ page cardPower │ } │ + if(tId.txt=="cardChart") │ + { │ + page cardChart │ + } │ } │ // end of user code │ udelete payloadLength-1 │ bufferPos=0 │ } │ } │ } ├── popupLight.txt │ @@ -682,14 +682,18 @@ │ { │ page cardQR │ } │ if(tId.txt=="cardPower") │ { │ page cardPower │ } │ + if(tId.txt=="cardChart") │ + { │ + page cardChart │ + } │ } │ // end of user code │ udelete payloadLength-1 │ bufferPos=0 │ } │ } │ } ├── popupNotify.txt │ @@ -437,14 +437,18 @@ │ { │ page cardQR │ } │ if(tId.txt=="cardPower") │ { │ page cardPower │ } │ + if(tId.txt=="cardChart") │ + { │ + page cardChart │ + } │ } │ // end of user code │ udelete payloadLength-1 │ bufferPos=0 │ } │ } │ } ├── popupShutter.txt │ @@ -671,14 +671,18 @@ │ { │ page cardQR │ } │ if(tId.txt=="cardPower") │ { │ page cardPower │ } │ + if(tId.txt=="cardChart") │ + { │ + page cardChart │ + } │ } │ // end of user code │ udelete payloadLength-1 │ bufferPos=0 │ } │ } │ } ├── popupThermo.txt │ @@ -942,14 +942,18 @@ │ { │ page cardQR │ } │ if(tId.txt=="cardPower") │ { │ page cardPower │ } │ + if(tId.txt=="cardChart") │ + { │ + page cardChart │ + } │ } │ // end of user code │ udelete payloadLength-1 │ bufferPos=0 │ } │ } │ } ├── screensaver.txt │ @@ -351,15 +351,15 @@ │ Text tTime │ Attributes │ Scope : local │ Dragging : 0 │ Disable release event after dragging: 0 │ Send Component ID : disabled │ Associated Keyboard : none │ - Text : 21:32 │ + Text : 21:32 │ Max. Text Size : 15 │ │ Text tTimeAdd │ Attributes │ Scope : local │ Dragging : 0 │ Disable release event after dragging: 0