Page entitypage01
    Attributes
        ID                 : 0
        Scope              : local
        Dragging           : 0
        Send Component ID  : disabled
        Opacity            : 127
        Width              : 320
        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               : picture
        Back. Picture ID   : 105
    
    Events
        Preinitialize Event
            printh 92
            prints "nspanelevent",0
            printh 00
            prints "{\"page\": \"entitypage01\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0
            printh 00
            printh FF FF FF
        
        Touch Press Event
            printh 92
            prints "touchevent",0
            printh 00
            prints "{\"page\": \"entitypage01\", \"component\": \"touchevent\", \"value\": \"press\"}",0
            printh 00
            printh FF FF FF
        
        Touch Release Event
            printh 92
            prints "touchevent",0
            printh 00
            prints "{\"page\": \"entitypage01\", \"component\": \"touchevent\", \"value\": \"release\"}",0
            printh 00
            printh FF FF FF
        
Text value01_label
    Attributes
        ID                      : 3
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 40
        y coordinate            : 60
        Width                   : 150
        Height                  : 50
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 3
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : left
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 20
        Word wrap               : enabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value05_label
    Attributes
        ID                      : 4
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 40
        y coordinate            : 260
        Width                   : 150
        Height                  : 50
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 3
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : left
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 20
        Word wrap               : enabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value04_label
    Attributes
        ID                      : 5
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 40
        y coordinate            : 210
        Width                   : 150
        Height                  : 50
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 3
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : left
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 20
        Word wrap               : enabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value02_label
    Attributes
        ID                      : 6
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 40
        y coordinate            : 110
        Width                   : 150
        Height                  : 50
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 3
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : left
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 20
        Word wrap               : enabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value03_label
    Attributes
        ID                      : 7
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 40
        y coordinate            : 160
        Width                   : 150
        Height                  : 50
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 3
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : left
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 20
        Word wrap               : enabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text entity01_label
    Attributes
        ID                  : 9
        Scope               : local
        Dragging            : 0
        Send Component ID   : disabled
        Opacity             : 127
        x coordinate        : 10
        y coordinate        : 0
        Width               : 244
        Height              : 30
        Effect              : load
        Effect Priority     : 0
        Effect Time         : 300
        Fill                : solid color
        Style               : flat
        Associated Keyboard : none
        Font ID             : 3
        Back. Color         : 0
        Font Color          : 50712
        Horizontal Alignment: left
        Vertical Alignment  : bottom
        Input Type          : character
        Text                : 
        Max. Text Size      : 30
        Word wrap           : disabled
        Horizontal Spacing  : 0
        Vertical Spacing    : 0
    
Text value06_label
    Attributes
        ID                      : 10
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 40
        y coordinate            : 310
        Width                   : 150
        Height                  : 50
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 3
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : left
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 20
        Word wrap               : enabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value07_label
    Attributes
        ID                      : 11
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 40
        y coordinate            : 360
        Width                   : 150
        Height                  : 50
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 3
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : left
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 20
        Word wrap               : enabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value08_label
    Attributes
        ID                      : 12
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 40
        y coordinate            : 410
        Width                   : 150
        Height                  : 50
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 3
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : left
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 20
        Word wrap               : enabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value01_pic
    Attributes
        ID                      : 13
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 5
        y coordinate            : 60
        Width                   : 28
        Height                  : 28
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 7
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : center
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 5
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value02_pic
    Attributes
        ID                      : 14
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 5
        y coordinate            : 110
        Width                   : 28
        Height                  : 28
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 7
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : center
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 5
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value03_pic
    Attributes
        ID                      : 15
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 5
        y coordinate            : 160
        Width                   : 28
        Height                  : 28
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 7
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : center
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 5
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value04_pic
    Attributes
        ID                      : 16
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 5
        y coordinate            : 210
        Width                   : 28
        Height                  : 28
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 7
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : center
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 5
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value05_pic
    Attributes
        ID                      : 17
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 5
        y coordinate            : 260
        Width                   : 28
        Height                  : 28
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 7
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : center
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 5
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value06_pic
    Attributes
        ID                      : 18
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 5
        y coordinate            : 310
        Width                   : 28
        Height                  : 28
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 7
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : center
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 5
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value07_pic
    Attributes
        ID                      : 19
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 5
        y coordinate            : 360
        Width                   : 28
        Height                  : 28
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 7
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : center
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 5
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value08_pic
    Attributes
        ID                      : 20
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 5
        y coordinate            : 410
        Width                   : 28
        Height                  : 28
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 7
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : center
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 5
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value01
    Attributes
        ID                      : 21
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 199
        y coordinate            : 60
        Width                   : 120
        Height                  : 28
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 3
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : left
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value02
    Attributes
        ID                      : 22
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 199
        y coordinate            : 110
        Width                   : 120
        Height                  : 28
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 3
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : left
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value03
    Attributes
        ID                      : 23
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 199
        y coordinate            : 160
        Width                   : 120
        Height                  : 28
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 3
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : left
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value04
    Attributes
        ID                      : 24
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 199
        y coordinate            : 210
        Width                   : 120
        Height                  : 28
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 3
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : left
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value05
    Attributes
        ID                      : 25
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 199
        y coordinate            : 260
        Width                   : 120
        Height                  : 28
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 3
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : left
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value06
    Attributes
        ID                      : 26
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 199
        y coordinate            : 310
        Width                   : 120
        Height                  : 28
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 3
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : left
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value07
    Attributes
        ID                      : 27
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 199
        y coordinate            : 360
        Width                   : 120
        Height                  : 28
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 3
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : left
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value08
    Attributes
        ID                      : 28
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 199
        y coordinate            : 410
        Width                   : 120
        Height                  : 28
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 3
        Cropped Back. Picture ID: 105
        Horizontal Alignment    : left
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Hotspot entity01_back
    Attributes
        ID               : 8
        Scope            : local
        Dragging         : 0
        Send Component ID: disabled
        Opacity          : 127
        x coordinate     : 257
        y coordinate     : 2
        Width            : 60
        Height           : 35
        Effect           : load
        Effect Priority  : 0
        Effect Time      : 300
    
    Events
        Touch Press Event
            page home
        
Timer swipestore
    Attributes
        ID         : 2
        Scope      : local
        Period (ms): 50
        Enabled    : no
    
    Events
        Timer Event
            swipex=tch0
            swipey=tch1
        
TouchCap swipe
    Attributes
        ID   : 1
        Scope: local
        Value: 0
    
    Events
        Touch Press Event
            swipestore.en=1 // Start swipestore timer
        
        Touch Release Event
            swipestore.en=0
            // Touch has ended, x
            if(tch0==0)
            {
                swipec=swipex-tch2
                // From Left to Right
                if(swipec>swipedx)
                {
                    page entitypage04
                }
                // Right to Left
                swipec2=0-swipedx
                if(swipec<swipec2)
                {
                    page entitypage02
                }
            }
            // Touch has ended, y
            if(tch1==0)
            {
                swipec=swipey-tch3
                // From Up to Down
                if(swipec>100)
                {
                    page entitypage03
                }
                // Down to Up
                swipec2=0-swipedy
                if(swipec<-100)
                {
                    page entitypage04
                }
            }
        
