mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-01-03 05:14:21 +01:00
697 lines
32 KiB
Plaintext
697 lines
32 KiB
Plaintext
--- HMI/n2t-out
|
|
+++ HMI/US/landscape/n2t-out
|
|
├── file list
|
|
│ @@ -1,13 +1,12 @@
|
|
│ Program.s.txt
|
|
│ cardAlarm.txt
|
|
│ cardChart.txt
|
|
│ cardEntities.txt
|
|
│ cardGrid.txt
|
|
│ -cardLChart.txt
|
|
│ cardMedia.txt
|
|
│ cardPower.txt
|
|
│ cardQR.txt
|
|
│ cardThermo.txt
|
|
│ pageIcons.txt
|
|
│ pageStartup.txt
|
|
│ pageTest.txt
|
|
│ --- HMI/n2t-out/Program.s.txt
|
|
├── +++ HMI/US/landscape/n2t-out/Program.s.txt
|
|
│ @@ -10,10 +10,8 @@
|
|
│ 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
|
|
│ --- HMI/n2t-out/cardAlarm.txt
|
|
├── +++ HMI/US/landscape/n2t-out/cardAlarm.txt
|
|
│ @@ -123,24 +123,14 @@
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ Associated Keyboard : none
|
|
│ Text :
|
|
│ Max. Text Size : 10
|
|
│
|
|
│ -Text tHeading
|
|
│ - Attributes
|
|
│ - Scope : local
|
|
│ - Dragging : 0
|
|
│ - Disable release event after dragging: 0
|
|
│ - Send Component ID : disabled
|
|
│ - Associated Keyboard : none
|
|
│ - Text :
|
|
│ - Max. Text Size : 40
|
|
│ -
|
|
│ Text tIcon
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ Associated Keyboard : none
|
|
│ @@ -313,176 +303,154 @@
|
|
│ State : unpressed
|
|
│ Text : 1
|
|
│ Max. Text Size : 10
|
|
│
|
|
│ Events
|
|
│ Touch Press Event
|
|
│ tCode.txt=tCode.txt+"1"
|
|
│ - vis tCode,1
|
|
│ - vis tHeading,0
|
|
│
|
|
│ Button b1
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ State : unpressed
|
|
│ Text : 2
|
|
│ Max. Text Size : 10
|
|
│
|
|
│ Events
|
|
│ Touch Press Event
|
|
│ tCode.txt=tCode.txt+"2"
|
|
│ - vis tCode,1
|
|
│ - vis tHeading,0
|
|
│
|
|
│ Button b10
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ State : unpressed
|
|
│ Text : 0
|
|
│ Max. Text Size : 10
|
|
│
|
|
│ Events
|
|
│ Touch Press Event
|
|
│ tCode.txt=tCode.txt+"0"
|
|
│ - vis tCode,1
|
|
│ - vis tHeading,0
|
|
│
|
|
│ Button b11
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ State : unpressed
|
|
│ Text : CLR
|
|
│ Max. Text Size : 10
|
|
│
|
|
│ Events
|
|
│ Touch Press Event
|
|
│ tCode.txt=""
|
|
│ - vis tCode,1
|
|
│ - vis tHeading,0
|
|
│
|
|
│ Button b2
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ State : unpressed
|
|
│ Text : 3
|
|
│ Max. Text Size : 10
|
|
│
|
|
│ Events
|
|
│ Touch Press Event
|
|
│ tCode.txt=tCode.txt+"3"
|
|
│ - vis tCode,1
|
|
│ - vis tHeading,0
|
|
│
|
|
│ Button b3
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ State : unpressed
|
|
│ Text : 4
|
|
│ Max. Text Size : 10
|
|
│
|
|
│ Events
|
|
│ Touch Press Event
|
|
│ tCode.txt=tCode.txt+"4"
|
|
│ - vis tCode,1
|
|
│ - vis tHeading,0
|
|
│
|
|
│ Button b4
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ State : unpressed
|
|
│ Text : 5
|
|
│ Max. Text Size : 10
|
|
│
|
|
│ Events
|
|
│ Touch Press Event
|
|
│ tCode.txt=tCode.txt+"5"
|
|
│ - vis tCode,1
|
|
│ - vis tHeading,0
|
|
│
|
|
│ Button b5
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ State : unpressed
|
|
│ Text : 6
|
|
│ Max. Text Size : 10
|
|
│
|
|
│ Events
|
|
│ Touch Press Event
|
|
│ tCode.txt=tCode.txt+"6"
|
|
│ - vis tCode,1
|
|
│ - vis tHeading,0
|
|
│
|
|
│ Button b6
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ State : unpressed
|
|
│ Text : 7
|
|
│ Max. Text Size : 10
|
|
│
|
|
│ Events
|
|
│ Touch Press Event
|
|
│ tCode.txt=tCode.txt+"7"
|
|
│ - vis tCode,1
|
|
│ - vis tHeading,0
|
|
│
|
|
│ Button b7
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ State : unpressed
|
|
│ Text : 8
|
|
│ Max. Text Size : 10
|
|
│
|
|
│ Events
|
|
│ Touch Press Event
|
|
│ tCode.txt=tCode.txt+"8"
|
|
│ - vis tCode,1
|
|
│ - vis tHeading,0
|
|
│
|
|
│ Button b8
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ State : unpressed
|
|
│ Text : 9
|
|
│ Max. Text Size : 10
|
|
│
|
|
│ Events
|
|
│ Touch Press Event
|
|
│ tCode.txt=tCode.txt+"9"
|
|
│ - vis tCode,1
|
|
│ - vis tHeading,0
|
|
│
|
|
│ Button b9
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ @@ -665,24 +633,15 @@
|
|
│ // write command to variable strCommand
|
|
│ ucopy strCommand.txt,4,payloadLength-5,0
|
|
│ // write instruction to tInstuction (debug output, but used as variable here, ui elements will be disabled by default)
|
|
│ spstr strCommand.txt,tInstruction.txt,"~",0
|
|
│ if(tInstruction.txt=="entityUpd")
|
|
│ {
|
|
│ //entn
|
|
│ - spstr strCommand.txt,tHeading.txt,"~",1
|
|
│ - if(tHeading.txt!="")
|
|
│ - {
|
|
│ - vis tCode,0
|
|
│ - vis tHeading,1
|
|
│ - }else
|
|
│ - {
|
|
│ - vis tCode,1
|
|
│ - vis tHeading,0
|
|
│ - }
|
|
│ + spstr strCommand.txt,entn.txt,"~",1
|
|
│ // navigation icon left
|
|
│ spstr strCommand.txt,tTmp.txt,"~",2 //type
|
|
│ if(tTmp.txt=="delete"||tTmp.txt=="")
|
|
│ {
|
|
│ vis bPrev,0
|
|
│ }else
|
|
│ {
|
|
│ @@ -709,56 +668,54 @@
|
|
│ spstr strCommand.txt,bNext.txt,"~",10
|
|
│ // change icon color
|
|
│ spstr strCommand.txt,tTmp.txt,"~",11
|
|
│ covx tTmp.txt,sys0,0,0
|
|
│ bNext.pco=sys0
|
|
│ vis bNext,1
|
|
│ }
|
|
│ - //entn
|
|
│ - spstr strCommand.txt,entn.txt,"~",14
|
|
│ //text arm1
|
|
│ - spstr strCommand.txt,arm1.txt,"~",15
|
|
│ + spstr strCommand.txt,arm1.txt,"~",14
|
|
│ if(arm1.txt!="")
|
|
│ {
|
|
│ vis arm1,1
|
|
│ }
|
|
│ //id arm1
|
|
│ - spstr strCommand.txt,va1.txt,"~",16
|
|
│ + spstr strCommand.txt,va1.txt,"~",15
|
|
│ //text arm2
|
|
│ - spstr strCommand.txt,arm2.txt,"~",17
|
|
│ + spstr strCommand.txt,arm2.txt,"~",16
|
|
│ if(arm2.txt!="")
|
|
│ {
|
|
│ vis arm2,1
|
|
│ }
|
|
│ //id arm2
|
|
│ - spstr strCommand.txt,va2.txt,"~",18
|
|
│ + spstr strCommand.txt,va2.txt,"~",17
|
|
│ //text arm3
|
|
│ - spstr strCommand.txt,arm3.txt,"~",19
|
|
│ + spstr strCommand.txt,arm3.txt,"~",18
|
|
│ if(arm3.txt!="")
|
|
│ {
|
|
│ vis arm3,1
|
|
│ }
|
|
│ //id arm3
|
|
│ - spstr strCommand.txt,va3.txt,"~",20
|
|
│ + spstr strCommand.txt,va3.txt,"~",19
|
|
│ //text arm4
|
|
│ - spstr strCommand.txt,arm4.txt,"~",21
|
|
│ + spstr strCommand.txt,arm4.txt,"~",20
|
|
│ if(arm4.txt!="")
|
|
│ {
|
|
│ vis arm4,1
|
|
│ }
|
|
│ //id arm4
|
|
│ - spstr strCommand.txt,va4.txt,"~",22
|
|
│ + spstr strCommand.txt,va4.txt,"~",21
|
|
│ //icon
|
|
│ - spstr strCommand.txt,tIcon.txt,"~",23
|
|
│ + spstr strCommand.txt,tIcon.txt,"~",22
|
|
│ //icon color
|
|
│ - spstr strCommand.txt,tTmp.txt,"~",24
|
|
│ + spstr strCommand.txt,tTmp.txt,"~",23
|
|
│ covx tTmp.txt,sys0,0,0
|
|
│ tIcon.pco=sys0
|
|
│ //numpad status
|
|
│ - spstr strCommand.txt,tTmp.txt,"~",25
|
|
│ + spstr strCommand.txt,tTmp.txt,"~",24
|
|
│ if(tTmp.txt!="disable")
|
|
│ {
|
|
│ vis b0,1
|
|
│ vis b1,1
|
|
│ vis b2,1
|
|
│ vis b3,1
|
|
│ vis b4,1
|
|
│ @@ -783,30 +740,30 @@
|
|
│ vis b8,0
|
|
│ vis b9,0
|
|
│ vis b10,0
|
|
│ vis b11,0
|
|
│ vis tCode,0
|
|
│ }
|
|
│ //flashing status
|
|
│ - spstr strCommand.txt,tTmp.txt,"~",26
|
|
│ + spstr strCommand.txt,tTmp.txt,"~",25
|
|
│ if(tTmp.txt=="enable")
|
|
│ {
|
|
│ tmFlash.en=1
|
|
│ }else
|
|
│ {
|
|
│ tmFlash.en=0
|
|
│ }
|
|
│ // extra button
|
|
│ - spstr strCommand.txt,b9.txt,"~",27
|
|
│ + spstr strCommand.txt,b9.txt,"~",26
|
|
│ if(b9.txt!="")
|
|
│ {
|
|
│ vis b9,1
|
|
│ - spstr strCommand.txt,tTmp.txt,"~",28
|
|
│ + spstr strCommand.txt,tTmp.txt,"~",27
|
|
│ covx tTmp.txt,b9.pco,0,0
|
|
│ - spstr strCommand.txt,vaAddBtn.txt,"~",29
|
|
│ + spstr strCommand.txt,vaAddBtn.txt,"~",28
|
|
│ }
|
|
│ }
|
|
│ if(tInstruction.txt=="time")
|
|
│ {
|
|
│ // get set time to global variable
|
|
│ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
|
|
│ }
|
|
│ @@ -907,18 +864,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/cardChart.txt
|
|
├── +++ HMI/US/landscape/n2t-out/cardChart.txt
|
|
│ @@ -681,18 +681,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/cardEntities.txt
|
|
├── +++ HMI/US/landscape/n2t-out/cardEntities.txt
|
|
│ @@ -1931,18 +1931,14 @@
|
|
│ {
|
|
│ page cardPower
|
|
│ }
|
|
│ if(tId.txt=="cardChart")
|
|
│ {
|
|
│ page cardChart
|
|
│ }
|
|
│ - if(tId.txt=="cardLChart")
|
|
│ - {
|
|
│ - page cardLChart
|
|
│ - }
|
|
│ }
|
|
│ if(tInstruction.txt=="time")
|
|
│ {
|
|
│ // get set time to global variable
|
|
│ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
|
|
│ }
|
|
│ if(tInstruction.txt=="date")
|
|
│ --- HMI/n2t-out/cardGrid.txt
|
|
├── +++ HMI/US/landscape/n2t-out/cardGrid.txt
|
|
│ @@ -916,18 +916,14 @@
|
|
│ {
|
|
│ page cardPower
|
|
│ }
|
|
│ if(tId.txt=="cardChart")
|
|
│ {
|
|
│ page cardChart
|
|
│ }
|
|
│ - if(tId.txt=="cardLChart")
|
|
│ - {
|
|
│ - page cardLChart
|
|
│ - }
|
|
│ }
|
|
│ if(tInstruction.txt=="time")
|
|
│ {
|
|
│ // get set time to global variable
|
|
│ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
|
|
│ }
|
|
│ if(tInstruction.txt=="date")
|
|
│ --- HMI/n2t-out/cardMedia.txt
|
|
├── +++ HMI/US/landscape/n2t-out/cardMedia.txt
|
|
│ @@ -1200,18 +1200,14 @@
|
|
│ {
|
|
│ page cardPower
|
|
│ }
|
|
│ if(tId.txt=="cardChart")
|
|
│ {
|
|
│ page cardChart
|
|
│ }
|
|
│ - if(tId.txt=="cardLChart")
|
|
│ - {
|
|
│ - page cardLChart
|
|
│ - }
|
|
│ }
|
|
│ if(tInstruction.txt=="time")
|
|
│ {
|
|
│ // get set time to global variable
|
|
│ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
|
|
│ }
|
|
│ if(tInstruction.txt=="date")
|
|
│ --- HMI/n2t-out/cardPower.txt
|
|
├── +++ HMI/US/landscape/n2t-out/cardPower.txt
|
|
│ @@ -785,18 +785,14 @@
|
|
│ {
|
|
│ page cardPower
|
|
│ }
|
|
│ if(tId.txt=="cardChart")
|
|
│ {
|
|
│ page cardChart
|
|
│ }
|
|
│ - if(tId.txt=="cardLChart")
|
|
│ - {
|
|
│ - page cardLChart
|
|
│ - }
|
|
│ }
|
|
│ if(tInstruction.txt=="time")
|
|
│ {
|
|
│ // get set time to global variable
|
|
│ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
|
|
│ }
|
|
│ if(tInstruction.txt=="date")
|
|
│ --- HMI/n2t-out/cardQR.txt
|
|
├── +++ HMI/US/landscape/n2t-out/cardQR.txt
|
|
│ @@ -715,18 +715,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/cardThermo.txt
|
|
├── +++ HMI/US/landscape/n2t-out/cardThermo.txt
|
|
│ @@ -1117,18 +1117,14 @@
|
|
│ {
|
|
│ page cardPower
|
|
│ }
|
|
│ if(tId.txt=="cardChart")
|
|
│ {
|
|
│ page cardChart
|
|
│ }
|
|
│ - if(tId.txt=="cardLChart")
|
|
│ - {
|
|
│ - page cardLChart
|
|
│ - }
|
|
│ }
|
|
│ if(tInstruction.txt=="time")
|
|
│ {
|
|
│ // get set time to global variable
|
|
│ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
|
|
│ }
|
|
│ if(tInstruction.txt=="date")
|
|
│ --- HMI/n2t-out/pageStartup.txt
|
|
├── +++ HMI/US/landscape/n2t-out/pageStartup.txt
|
|
│ @@ -35,20 +35,14 @@
|
|
│
|
|
│ Variable (string) strCommand
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Text :
|
|
│ Max. Text Size: 50
|
|
│
|
|
│ -Variable (string) strTmp
|
|
│ - Attributes
|
|
│ - Scope : local
|
|
│ - Text :
|
|
│ - Max. Text Size: 2
|
|
│ -
|
|
│ Number frame_ptr
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ Associated Keyboard : none
|
|
│ @@ -145,15 +139,15 @@
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ Associated Keyboard : none
|
|
│ Text :
|
|
│ - Max. Text Size : 30
|
|
│ + Max. Text Size : 10
|
|
│
|
|
│ Text tVersion
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ @@ -179,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
|
|
│ @@ -366,18 +360,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
|
|
│ @@ -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: 200
|
|
│
|
|
│ 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
|
|
│ @@ -624,15 +600,14 @@
|
|
│ tIcon1.font=3
|
|
│ }
|
|
│ spstr strCommand.txt,tTmp.txt,"~",22
|
|
│ if(tTmp.txt!="")
|
|
│ {
|
|
│ tIcon2.font=3
|
|
│ }
|
|
│ - click m0,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)
|
|
│ {
|
|
│ @@ -809,18 +784,14 @@
|
|
│ {
|
|
│ page cardPower
|
|
│ }
|
|
│ if(tId.txt=="cardChart")
|
|
│ {
|
|
│ page cardChart
|
|
│ }
|
|
│ - if(tId.txt=="cardLChart")
|
|
│ - {
|
|
│ - page cardLChart
|
|
│ - }
|
|
│ }
|
|
│ // end of user code
|
|
│ udelete payloadLength-1
|
|
│ bufferPos=0
|
|
│ }
|
|
│ }
|
|
│ }
|