--- HMI/n2t-out +++ HMI/US/landscape/n2t-out │ --- HMI/n2t-out/Program.s.txt ├── +++ HMI/US/landscape/n2t-out/Program.s.txt │ @@ -11,10 +11,10 @@ │ // 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 │ + //lcd_dev fffb 0002 0000 0020 │ printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port │ page pageStartup │ --- HMI/n2t-out/cardQR.txt ├── +++ HMI/US/landscape/n2t-out/cardQR.txt │ @@ -733,15 +733,15 @@ │ if(sleepTimeout!=0&&dimValue!=dim) │ { │ sleepValue+=1 │ if(sleepTimeout<=sleepValue) │ { │ sleepValue=0 │ dim=dimValue │ - tSend.txt="event,sleepReached,cardQR" │ + tSend.txt="event,sleepReached,cardAlarm" │ //send calc crc │ btlen tSend.txt,sys0 │ crcrest 1,0xffff // reset CRC │ crcputh 55 bb │ crcputs sys0,2 │ crcputs tSend.txt,0 │ //send cmd │ --- HMI/n2t-out/pageIcons.txt ├── +++ HMI/US/landscape/n2t-out/pageIcons.txt │ @@ -1,17 +1,18 @@ │ Page pageIcons │ 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 │ + Scope : local │ + Dragging : 0 │ + Disable release event after 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 │ │ Variable (string) vaDate │ Attributes │ Scope : global │ Text : │ Max. Text Size: 35 │ │ @@ -19,56 +20,42 @@ │ Attributes │ Scope : global │ Text : │ Max. Text Size: 15 │ │ Text tTmp1 │ Attributes │ - Scope : global │ - Dragging : 0 │ - Send Component ID : disabled │ - Associated Keyboard: none │ - Text : │ - Max. Text Size : 80 │ + Scope : global │ + Dragging : 0 │ + Disable release event after dragging: 0 │ + Send Component ID : disabled │ + Associated Keyboard : none │ + Text : │ + Max. Text Size : 80 │ │ Text tTmp2 │ Attributes │ - Scope : global │ - Dragging : 0 │ - Send Component ID : disabled │ - Associated Keyboard: none │ - Text : │ - Max. Text Size : 80 │ + Scope : global │ + Dragging : 0 │ + Disable release event after dragging: 0 │ + Send Component ID : disabled │ + Associated Keyboard : none │ + Text : │ + Max. Text Size : 80 │ │ Text tTmp3 │ Attributes │ - Scope : global │ - Dragging : 0 │ - Send Component ID : disabled │ - Associated Keyboard: none │ - Text : │ - Max. Text Size : 10 │ + Scope : global │ + Dragging : 0 │ + Disable release event after dragging: 0 │ + Send Component ID : disabled │ + Associated Keyboard : none │ + Text : │ + Max. Text Size : 10 │ │ Picture p0 │ Attributes │ - Scope : local │ - Dragging : 0 │ - Send Component ID: disabled │ - │ -Slider h0 │ - Attributes │ - Scope : local │ - Dragging : 0 │ - Send Component ID: disabled │ - Position : 50 │ - Upper range limit: 100 │ - Lower range limit: 0 │ - │ -Slider hBrightness │ - Attributes │ - Scope : local │ - Dragging : 0 │ - Send Component ID: disabled │ - Position : 50 │ - Upper range limit: 100 │ - Lower range limit: 0 │ + Scope : local │ + Dragging : 0 │ + Disable release event after dragging: 0 │ + Send Component ID : disabled │ --- HMI/n2t-out/pageStartup.txt ├── +++ HMI/US/landscape/n2t-out/pageStartup.txt │ @@ -1,17 +1,18 @@ │ Page pageStartup │ 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 │ + Scope : local │ + Dragging : 0 │ + Disable release event after 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 │ │ Events │ Preinitialize Event │ vis p0,0 │ recmod=1 │ bauds=115200 │ vis tSend,0 │ @@ -42,154 +43,169 @@ │ Attributes │ Scope : local │ Text : │ Max. Text Size: 2 │ │ Number frame_ptr │ Attributes │ - Scope : local │ - Dragging : 0 │ - Send Component ID : disabled │ - Associated Keyboard: none │ - Value : 0 │ + Scope : local │ + Dragging : 0 │ + Disable release event after dragging: 0 │ + Send Component ID : disabled │ + Associated Keyboard : none │ + Value : 0 │ │ Number frapic_w │ Attributes │ - Scope : local │ - Dragging : 0 │ - Send Component ID : disabled │ - Associated Keyboard: none │ - Value : 1960 │ + Scope : local │ + Dragging : 0 │ + Disable release event after dragging: 0 │ + Send Component ID : disabled │ + Associated Keyboard : none │ + Value : 1960 │ │ Number spinner_w │ Attributes │ - Scope : local │ - Dragging : 0 │ - Send Component ID : disabled │ - Associated Keyboard: none │ - Value : 140 │ + Scope : local │ + Dragging : 0 │ + Disable release event after dragging: 0 │ + Send Component ID : disabled │ + Associated Keyboard : none │ + Value : 140 │ │ Number usual_cnt │ Attributes │ - Scope : local │ - Dragging : 0 │ - Send Component ID : disabled │ - Associated Keyboard: none │ - Value : 0 │ + Scope : local │ + Dragging : 0 │ + Disable release event after dragging: 0 │ + Send Component ID : disabled │ + Associated Keyboard : none │ + Value : 0 │ │ Text tId │ Attributes │ - Scope : local │ - Dragging : 0 │ - Send Component ID : disabled │ - Associated Keyboard: none │ - Text : │ - Max. Text Size : 20 │ + 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 │ - Send Component ID : disabled │ - Associated Keyboard: none │ - Text : │ - Max. Text Size : 20 │ + Scope : local │ + Dragging : 0 │ + Disable release event after dragging: 0 │ + Send Component ID : disabled │ + Associated Keyboard : none │ + Text : │ + Max. Text Size : 20 │ │ Text tMsg1 │ Attributes │ - Scope : local │ - Dragging : 0 │ - Send Component ID : disabled │ - Associated Keyboard: none │ - Text : Waiting for content ... │ - Max. Text Size : 40 │ + Scope : local │ + Dragging : 0 │ + Disable release event after dragging: 0 │ + Send Component ID : disabled │ + Associated Keyboard : none │ + Text : Waiting for content ... │ + Max. Text Size : 40 │ │ Text tMsg2 │ Attributes │ - Scope : local │ - Dragging : 0 │ - Send Component ID : disabled │ - Associated Keyboard: none │ - Text : This is taking longer than usual, │ - Max. Text Size : 100 │ + Scope : local │ + Dragging : 0 │ + Disable release event after dragging: 0 │ + Send Component ID : disabled │ + Associated Keyboard : none │ + Text : This is taking longer than usual, │ + Max. Text Size : 100 │ │ Text tMsg3 │ Attributes │ - Scope : local │ - Dragging : 0 │ - Send Component ID : disabled │ - Associated Keyboard: none │ - Text : please check your backend configuration │ - Max. Text Size : 100 │ + Scope : local │ + Dragging : 0 │ + Disable release event after dragging: 0 │ + Send Component ID : disabled │ + Associated Keyboard : none │ + Text : please check your backend configuration │ + Max. Text Size : 100 │ │ Text tSend │ Attributes │ - Scope : local │ - Dragging : 0 │ - Send Component ID : disabled │ - Associated Keyboard: none │ - Text : newtxt │ - Max. Text Size : 100 │ + Scope : local │ + Dragging : 0 │ + Disable release event after dragging: 0 │ + Send Component ID : disabled │ + Associated Keyboard : none │ + Text : newtxt │ + Max. Text Size : 100 │ │ Text tTmp │ Attributes │ - Scope : local │ - Dragging : 0 │ - Send Component ID : disabled │ - Associated Keyboard: none │ - Text : │ - Max. Text Size : 30 │ + Scope : local │ + Dragging : 0 │ + Disable release event after dragging: 0 │ + Send Component ID : disabled │ + Associated Keyboard : none │ + Text : │ + Max. Text Size : 30 │ │ Text tVersion │ Attributes │ - Scope : local │ - Dragging : 0 │ - Send Component ID : disabled │ - Associated Keyboard: none │ - Text : 50 │ - Max. Text Size : 10 │ + Scope : local │ + Dragging : 0 │ + Disable release event after dragging: 0 │ + Send Component ID : disabled │ + Associated Keyboard : none │ + Text : 50 │ + Max. Text Size : 10 │ │ Picture p0 │ Attributes │ - Scope : local │ - Dragging : 0 │ - Send Component ID: disabled │ + Scope : local │ + Dragging : 0 │ + Disable release event after dragging: 0 │ + Send Component ID : disabled │ │ Button bSendStartup │ Attributes │ - Scope : local │ - Dragging : 0 │ - Send Component ID: disabled │ - State : unpressed │ - Text : startup │ - Max. Text Size : 10 │ + Scope : local │ + Dragging : 0 │ + Disable release event after dragging: 0 │ + Send Component ID : disabled │ + State : unpressed │ + Text : startup │ + 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 │ printh 55 bb │ prints sys0,2 │ prints tSend.txt,0 │ prints crcval,2 │ │ Hotspot mSpinner │ Attributes │ - Scope : local │ - Dragging : 0 │ - Send Component ID: disabled │ + Scope : local │ + Dragging : 0 │ + Disable release event after dragging: 0 │ + Send Component ID : disabled │ │ Events │ Touch Press Event │ sys2=sys2+1 │ sys2%=10 │ //n0.val=sys2 │ if(sys2==9) │ --- HMI/n2t-out/popupFan.txt ├── +++ HMI/US/landscape/n2t-out/popupFan.txt │ @@ -210,15 +210,15 @@ │ Send Component ID : disabled │ State : unpressed │ Text :  │ Max. Text Size : 10 │ │ Events │ Touch Press Event │ - tSend.txt="event,buttonPress2,popupTimer,bExit" │ + tSend.txt="event,buttonPress2,popupLight,bExit" │ //send calc crc │ btlen tSend.txt,sys0 │ crcrest 1,0xffff // reset CRC │ crcputh 55 bb │ crcputs sys0,2 │ crcputs tSend.txt,0 │ //send cmd │ --- HMI/n2t-out/popupInSel.txt ├── +++ HMI/US/landscape/n2t-out/popupInSel.txt │ @@ -158,15 +158,15 @@ │ Send Component ID : disabled │ State : unpressed │ Text :  │ Max. Text Size : 10 │ │ Events │ Touch Press Event │ - tSend.txt="event,buttonPress2,popupInSel,bExit" │ + tSend.txt="event,buttonPress2,popupLight,bExit" │ //send calc crc │ btlen tSend.txt,sys0 │ crcrest 1,0xffff // reset CRC │ crcputh 55 bb │ crcputs sys0,2 │ crcputs tSend.txt,0 │ //send cmd │ --- HMI/n2t-out/popupThermo.txt ├── +++ HMI/US/landscape/n2t-out/popupThermo.txt │ @@ -236,15 +236,15 @@ │ Send Component ID : disabled │ State : unpressed │ Text :  │ Max. Text Size : 10 │ │ Events │ Touch Press Event │ - tSend.txt="event,buttonPress2,popupThermo,bExit" │ + tSend.txt="event,buttonPress2,popupLight,bExit" │ //send calc crc │ btlen tSend.txt,sys0 │ crcrest 1,0xffff // reset CRC │ crcputh 55 bb │ crcputs sys0,2 │ crcputs tSend.txt,0 │ //send cmd │ --- HMI/n2t-out/popupTimer.txt ├── +++ HMI/US/landscape/n2t-out/popupTimer.txt │ @@ -308,15 +308,15 @@ │ Send Component ID : disabled │ State : unpressed │ Text :  │ Max. Text Size : 10 │ │ Events │ Touch Press Event │ - tSend.txt="event,buttonPress2,popupTimer,bExit" │ + tSend.txt="event,buttonPress2,popupLight,bExit" │ //send calc crc │ btlen tSend.txt,sys0 │ crcrest 1,0xffff // reset CRC │ crcputh 55 bb │ crcputs sys0,2 │ crcputs tSend.txt,0 │ //send cmd │ --- HMI/n2t-out/screensaver.txt ├── +++ HMI/US/landscape/n2t-out/screensaver.txt │ @@ -29,17 +29,14 @@ │ } │ tDate.txt=pageIcons.vaDate.txt │ dim=dimValue │ vis tSend,0 │ //page open event │ // clear weather elements, to keep example content in HMI │ │ - Postinitialize Event │ - click m0,1 │ - │ Variable (string) strCommand │ Attributes │ Scope : local │ Text : │ Max. Text Size: 600 │ │ Variable (string) strTmp │ @@ -103,35 +100,14 @@ │ Value: 0 │ │ Variable (int32) ycR │ Attributes │ Scope: local │ Value: 0 │ │ -Text m0 │ - Attributes │ - Scope : local │ - Dragging : 0 │ - Disable release event after dragging: 0 │ - Send Component ID : disabled │ - Associated Keyboard : none │ - Text : │ - Max. Text Size : 10 │ - │ - Events │ - Touch Press Event │ - tTmp.txt="change model conf to us-l/p " │ - strlen tTmp.txt,sys1 │ - sya1=sys1*11+m0.h-48/2 │ - for(sys0=0;sys0