mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-01-24 15:14:11 +01:00
698 lines
28 KiB
Plaintext
698 lines
28 KiB
Plaintext
--- 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<sys1;sys0++)
|
|
│ - {
|
|
│ - substr tTmp.txt,strTmp.txt,sys0,1
|
|
│ - xstr m0.x-5,sys0*-11+m0.y+sya1,23,20,6,WHITE,RED,2,1,3,strTmp.txt
|
|
│ - }
|
|
│ -
|
|
│ Text t10
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ Associated Keyboard : none
|
|
│ @@ -626,20 +602,14 @@
|
|
│ {
|
|
│ vis tMainIcon,1
|
|
│ vis tMainIconAlt,0
|
|
│ vis tMainText,1
|
|
│ vis tMainTextAlt,0
|
|
│ vis tMainTextAlt2,0
|
|
│ vis tMainIconAlt2,0
|
|
│ - if(p0.w!=320)
|
|
│ - {
|
|
│ - vis tForecast1,1
|
|
│ - vis tF1Icon,1
|
|
│ - vis tForecast1Val,1
|
|
│ - }
|
|
│ }
|
|
│ }
|
|
│ if(tInstruction.txt=="color"&&tNotifyHead.txt==""&&tNotifyText.txt=="")
|
|
│ {
|
|
│ spstr strCommand.txt,tTmp.txt,"~",1
|
|
│ covx tTmp.txt,tTime.bco,0,0
|
|
│ if(tTime.bco!=screensaver.bco)
|
|
│ @@ -754,18 +724,14 @@
|
|
│ {
|
|
│ page pageStartup
|
|
│ }
|
|
│ if(tId.txt=="screensaver")
|
|
│ {
|
|
│ page screensaver
|
|
│ }
|
|
│ - if(tId.txt=="screensaver2")
|
|
│ - {
|
|
│ - page screensaver2
|
|
│ - }
|
|
│ if(tId.txt=="cardEntities")
|
|
│ {
|
|
│ page cardEntities
|
|
│ }
|
|
│ if(tId.txt=="cardGrid")
|
|
│ {
|
|
│ page cardGrid
|
|
│ --- HMI/n2t-out/screensaver2.txt
|
|
├── +++ HMI/US/landscape/n2t-out/screensaver2.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: 1979
|
|
│
|
|
│ Variable (string) strTmp
|
|
│ @@ -393,35 +390,14 @@
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ Associated Keyboard : none
|
|
│ Text :
|
|
│ Max. Text Size : 4
|
|
│
|
|
│ -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<sys1;sys0++)
|
|
│ - {
|
|
│ - substr tTmp.txt,strTmp.txt,sys0,1
|
|
│ - xstr m0.x-5,sys0*-11+m0.y+sya1,23,20,6,WHITE,RED,2,1,3,strTmp.txt
|
|
│ - }
|
|
│ -
|
|
│ Text tAMPM
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ Associated Keyboard : none
|
|
│ @@ -442,25 +418,25 @@
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ Associated Keyboard : none
|
|
│ Text :
|
|
│ - Max. Text Size : 16
|
|
│ + Max. Text Size : 10
|
|
│
|
|
│ Text tIcon2
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ Associated Keyboard : none
|
|
│ Text :
|
|
│ - Max. Text Size : 16
|
|
│ + Max. Text Size : 10
|
|
│
|
|
│ Text tMainIcon
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ @@ -614,15 +590,14 @@
|
|
│ if(tTmp.txt!="")
|
|
│ {
|
|
│ covx tTmp.txt,defaultFontColor,0,0
|
|
│ }
|
|
│ }
|
|
│ if(tInstruction.txt=="time")
|
|
│ {
|
|
│ - click m0,1
|
|
│ //get set time to global variable
|
|
│ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
|
|
│ spstr pageIcons.vaTime.txt,tTime.txt,"?",0
|
|
│ spstr pageIcons.vaTime.txt,tAMPM.txt,"?",1
|
|
│ if(tAMPM.txt=="")
|
|
│ {
|
|
│ vis tAMPM,0
|