Page cardAlarm Attributes ID : 0 Scope : local Dragging : 0 Disable release event after 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 : 6371 Events Preinitialize Event vis p0,0 vis tSend,0 vis tInstruction,0 vis nPageDisp,0 vis tTmp,0 vis tId,0 //vis nPageDisp,0 Variable (string) strCommand Attributes ID : 8 Scope : local Text : Max. Text Size: 200 Variable (string) entn Attributes ID : 11 Scope : local Text : Max. Text Size: 50 Number nPageDisp Attributes ID : 6 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 426 y coordinate : 0 Width : 42 Height : 24 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : flat Associated Keyboard : none Font ID : 0 Back. Color : 65535 Font Color : 0 Horizontal Alignment : center Vertical Alignment : center Value : 0 Significant digits shown : all Format : decimal Word wrap : enabled Horizontal Spacing : 0 Vertical Spacing : 0 Text tSend Attributes ID : 2 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 0 y coordinate : 0 Width : 230 Height : 23 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : flat Associated Keyboard : none Font ID : 0 Back. Color : 65535 Font Color : 0 Horizontal Alignment : center Vertical Alignment : center Input Type : character Text : newtxt Max. Text Size : 100 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Text tTmp Attributes ID : 3 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 406 y coordinate : 277 Width : 34 Height : 30 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : flat Associated Keyboard : none Font ID : 0 Back. Color : 65535 Font Color : 0 Horizontal Alignment : center Vertical Alignment : center Input Type : character Text : Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Text tInstruction Attributes ID : 9 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 0 y coordinate : 290 Width : 100 Height : 30 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : flat Associated Keyboard : none Font ID : 0 Back. Color : 65535 Font Color : 0 Horizontal Alignment : center Vertical Alignment : center Input Type : character Text : Max. Text Size : 20 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Text tId Attributes ID : 10 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 99 y coordinate : 290 Width : 39 Height : 30 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : flat Associated Keyboard : none Font ID : 0 Back. Color : 65535 Font Color : 0 Horizontal Alignment : center Vertical Alignment : center Input Type : character Text : Max. Text Size : 20 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Text tCode Attributes ID : 25 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 162 y coordinate : 79 Width : 126 Height : 49 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : flat Associated Keyboard : none Font ID : 0 Back. Color : 10565 Font Color : 40179 Horizontal Alignment : center Vertical Alignment : center Input Type : character Text : Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Picture p0 Attributes ID : 1 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 0 y coordinate : 0 Width : 480 Height : 320 Effect : load Effect Priority : 0 Effect Time : 300 Picture ID : 0 Button bNext Attributes ID : 4 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 391 y coordinate : 16 Width : 50 Height : 50 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : flat Font ID : 2 Back. Color : 6371 Back. Picture ID (Pressed) : 65535 Back. Color (Pressed) : 14823 Font Color (Unpressed) : 65535 Font Color (Pressed) : 65535 Horizontal Alignment : center Vertical Alignment : center State : unpressed Text :  Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Events Touch Press Event nPage=nPage+1 nPageDisp.val=nPage //page open event // event,pageOpen,cardEntities,pageNumber // craft command // convert pageNumber and write to tTmp covx nPage,tTmp.txt,0,0 tSend.txt="event,pageOpen,"+tTmp.txt //send calc crc btlen tSend.txt,sys0 crcrest 1,0xffff // reset CRC crcputh 55 bb crcputs sys0,1 crcputs tSend.txt,0 //send cmd printh 55 bb prints sys0,2 prints tSend.txt,0 prints crcval,2 Button bPrev Attributes ID : 5 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 9 y coordinate : 16 Width : 50 Height : 50 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : flat Font ID : 2 Back. Color : 6371 Back. Picture ID (Pressed) : 65535 Back. Color (Pressed) : 14823 Font Color (Unpressed) : 65535 Font Color (Pressed) : 65535 Horizontal Alignment : center Vertical Alignment : center State : unpressed Text :  Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Events Touch Press Event nPage=nPage-1 nPageDisp.val=nPage //page open event // event,pageOpen,cardEntities,pageNumber // craft command // convert pageNumber and write to tTmp covx nPage,tTmp.txt,0,0 tSend.txt="event,pageOpen,"+tTmp.txt //send calc crc btlen tSend.txt,sys0 crcrest 1,0xffff // reset CRC crcputh 55 bb crcputs sys0,1 crcputs tSend.txt,0 //send cmd printh 55 bb prints sys0,2 prints tSend.txt,0 prints crcval,2 Button b0 Attributes ID : 14 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 51 y coordinate : 139 Width : 75 Height : 50 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : border Border Color : 6371 Border Width : 2 Font ID : 0 Back. Color : 6371 Back. Picture ID (Pressed) : 65535 Back. Color (Pressed) : 14823 Font Color (Unpressed) : 1374 Font Color (Pressed) : 65535 Horizontal Alignment : center Vertical Alignment : center State : unpressed Text : 1 Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Events Touch Press Event tCode.txt=tCode.txt+"1" Button b1 Attributes ID : 15 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 143 y coordinate : 139 Width : 75 Height : 50 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : border Border Color : 6371 Border Width : 2 Font ID : 0 Back. Color : 6371 Back. Picture ID (Pressed) : 65535 Back. Color (Pressed) : 14823 Font Color (Unpressed) : 1374 Font Color (Pressed) : 65535 Horizontal Alignment : center Vertical Alignment : center State : unpressed Text : 2 Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Events Touch Press Event tCode.txt=tCode.txt+"2" Button b2 Attributes ID : 16 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 235 y coordinate : 138 Width : 75 Height : 50 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : border Border Color : 6371 Border Width : 2 Font ID : 0 Back. Color : 6371 Back. Picture ID (Pressed) : 65535 Back. Color (Pressed) : 14823 Font Color (Unpressed) : 1374 Font Color (Pressed) : 65535 Horizontal Alignment : center Vertical Alignment : center State : unpressed Text : 3 Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Events Touch Press Event tCode.txt=tCode.txt+"3" Button b3 Attributes ID : 17 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 51 y coordinate : 197 Width : 75 Height : 50 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : border Border Color : 6371 Border Width : 2 Font ID : 0 Back. Color : 6371 Back. Picture ID (Pressed) : 65535 Back. Color (Pressed) : 14823 Font Color (Unpressed) : 1374 Font Color (Pressed) : 65535 Horizontal Alignment : center Vertical Alignment : center State : unpressed Text : 4 Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Events Touch Press Event tCode.txt=tCode.txt+"4" Button b4 Attributes ID : 18 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 143 y coordinate : 197 Width : 75 Height : 50 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : border Border Color : 6371 Border Width : 2 Font ID : 0 Back. Color : 6371 Back. Picture ID (Pressed) : 65535 Back. Color (Pressed) : 14823 Font Color (Unpressed) : 1374 Font Color (Pressed) : 65535 Horizontal Alignment : center Vertical Alignment : center State : unpressed Text : 5 Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Events Touch Press Event tCode.txt=tCode.txt+"5" Button b5 Attributes ID : 19 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 235 y coordinate : 197 Width : 75 Height : 50 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : border Border Color : 6371 Border Width : 2 Font ID : 0 Back. Color : 6371 Back. Picture ID (Pressed) : 65535 Back. Color (Pressed) : 14823 Font Color (Unpressed) : 1374 Font Color (Pressed) : 65535 Horizontal Alignment : center Vertical Alignment : center State : unpressed Text : 6 Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Events Touch Press Event tCode.txt=tCode.txt+"6" Button b6 Attributes ID : 20 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 51 y coordinate : 255 Width : 75 Height : 50 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : border Border Color : 6371 Border Width : 2 Font ID : 0 Back. Color : 6371 Back. Picture ID (Pressed) : 65535 Back. Color (Pressed) : 14823 Font Color (Unpressed) : 1374 Font Color (Pressed) : 65535 Horizontal Alignment : center Vertical Alignment : center State : unpressed Text : 7 Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Events Touch Press Event tCode.txt=tCode.txt+"7" Button b7 Attributes ID : 21 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 143 y coordinate : 255 Width : 75 Height : 50 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : border Border Color : 6371 Border Width : 2 Font ID : 0 Back. Color : 6371 Back. Picture ID (Pressed) : 65535 Back. Color (Pressed) : 14823 Font Color (Unpressed) : 1374 Font Color (Pressed) : 65535 Horizontal Alignment : center Vertical Alignment : center State : unpressed Text : 8 Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Events Touch Press Event tCode.txt=tCode.txt+"8" Button b8 Attributes ID : 22 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 235 y coordinate : 255 Width : 75 Height : 50 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : border Border Color : 6371 Border Width : 2 Font ID : 0 Back. Color : 6371 Back. Picture ID (Pressed) : 65535 Back. Color (Pressed) : 14823 Font Color (Unpressed) : 1374 Font Color (Pressed) : 65535 Horizontal Alignment : center Vertical Alignment : center State : unpressed Text : 9 Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Events Touch Press Event tCode.txt=tCode.txt+"9" Button b9 Attributes ID : 23 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 327 y coordinate : 197 Width : 75 Height : 50 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : border Border Color : 6371 Border Width : 2 Font ID : 0 Back. Color : 6371 Back. Picture ID (Pressed) : 65535 Back. Color (Pressed) : 14823 Font Color (Unpressed) : 1374 Font Color (Pressed) : 65535 Horizontal Alignment : center Vertical Alignment : center State : unpressed Text : 0 Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Events Touch Press Event tCode.txt=tCode.txt+"0" Button b10 Attributes ID : 24 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 327 y coordinate : 255 Width : 75 Height : 50 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : border Border Color : 6371 Border Width : 2 Font ID : 0 Back. Color : 6371 Back. Picture ID (Pressed) : 65535 Back. Color (Pressed) : 14823 Font Color (Unpressed) : 1374 Font Color (Pressed) : 65535 Horizontal Alignment : center Vertical Alignment : center State : unpressed Text : CLEAR Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Events Touch Press Event tCode.txt="" Button b11 Attributes ID : 26 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 96 y coordinate : 32 Width : 113 Height : 33 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : border Border Color : 6371 Border Width : 2 Font ID : 0 Back. Color : 6371 Back. Picture ID (Pressed) : 65535 Back. Color (Pressed) : 14823 Font Color (Unpressed) : 1374 Font Color (Pressed) : 65535 Horizontal Alignment : center Vertical Alignment : center State : unpressed Text : ARM HOME Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Button b12 Attributes ID : 27 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 242 y coordinate : 32 Width : 113 Height : 33 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : border Border Color : 6371 Border Width : 2 Font ID : 0 Back. Color : 6371 Back. Picture ID (Pressed) : 65535 Back. Color (Pressed) : 14823 Font Color (Unpressed) : 1374 Font Color (Pressed) : 65535 Horizontal Alignment : center Vertical Alignment : center State : unpressed Text : ARM AWAY Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Timer tmSerial Attributes ID : 7 Scope : local Period (ms): 50 Enabled : yes Events Timer Event // data available if(usize>1) { bufferPos=0 while(bufferPos