"ALL" HeadScreenWidth HeadScreenHeight SAVELOG "Sold Cup Count inst 1" DEBUGVAR CurrentTotalCup Var totalCup = CurrentTotalCup SPLITDIGIT totalCup 9 SoldCupDigit DEBUGVAR SoldCupDigit[0] DEBUGVAR SoldCupDigit[1] DEBUGVAR SoldCupDigit[2] DEBUGVAR SoldCupDigit[3] DEBUGVAR SoldCupDigit[4] DEBUGVAR SoldCupDigit[5] DEBUGVAR SoldCupDigit[6] DEBUGVAR SoldCupDigit[7] DEBUGVAR SoldCupDigit[8] Var ClickCountMainTe = 0 Var Timeout = 0 ;include="ROOT/taobin_project/inc/video.inc" 1000 Var Timeout = Timeout + 1 SPLIT XMLLiveInfo "/" 2 CurrentTotalCup If totalCup = CurrentTotalCup Then Else SAVELOG "Sold Cup on change." DEBUGVAR totalCup DEBUGVAR CurrentTotalCup Var totalCup = CurrentTotalCup SPLITDIGIT totalCup 9 SoldCupDigit DEBUGVAR SoldCupDigit[0] DEBUGVAR SoldCupDigit[1] DEBUGVAR SoldCupDigit[2] DEBUGVAR SoldCupDigit[3] DEBUGVAR SoldCupDigit[4] DEBUGVAR SoldCupDigit[5] DEBUGVAR SoldCupDigit[6] DEBUGVAR SoldCupDigit[7] DEBUGVAR SoldCupDigit[8] Refresh EndIf TimerReset 39 450 "ROOT/taobin_project/image/sold_cup/rectangle.png" 148 450 "ROOT/taobin_project/image/sold_cup/rectangle.png" 257 450 "ROOT/taobin_project/image/sold_cup/rectangle.png" 383 450 "ROOT/taobin_project/image/sold_cup/rectangle.png" 492 450 "ROOT/taobin_project/image/sold_cup/rectangle.png" 601 450 "ROOT/taobin_project/image/sold_cup/rectangle.png" 730 450 "ROOT/taobin_project/image/sold_cup/rectangle.png" 839 450 "ROOT/taobin_project/image/sold_cup/rectangle.png" 948 450 "ROOT/taobin_project/image/sold_cup/rectangle.png" 39 450 94 126 KanitMediumTTF 128 0x523D30 1300 1500 center-vertical-horizontal SoldCupDigit[0] 148 450 94 126 KanitMediumTTF 128 0x523D30 1150 1500 center-vertical-horizontal SoldCupDigit[1] 257 450 94 126 KanitMediumTTF 128 0x523D30 1000 1500 center-vertical-horizontal SoldCupDigit[2] 383 450 94 126 KanitMediumTTF 128 0x523D30 850 1500 center-vertical-horizontal SoldCupDigit[3] 492 450 94 126 KanitMediumTTF 128 0x523D30 700 1500 center-vertical-horizontal SoldCupDigit[4] 601 450 94 126 KanitMediumTTF 128 0x523D30 550 1500 center-vertical-horizontal SoldCupDigit[5] 730 450 94 126 KanitMediumTTF 128 0x523D30 400 1500 center-vertical-horizontal SoldCupDigit[6] 839 450 94 126 KanitMediumTTF 128 0x523D30 250 1500 center-vertical-horizontal SoldCupDigit[7] 948 450 94 126 KanitMediumTTF 128 0x523D30 100 1500 center-vertical-horizontal SoldCupDigit[8] 421 407 25 400 KanitMediumTTF 0x523D30 "เสิร์ฟแล้ว ( SOLD CUP )" 355 430 130 50 220 KanitMediumTTF 0x523D30 "," 695 430 130 50 220 KanitMediumTTF 0x523D30 "," 670 0 400 400 "/mnt/sdcard/coffeevending/wav/click.wav" SoundVolume OpenInst 0 "//mnt/sdcard/coffeevending/taobin_project/xml/vending_info.xml" Var ClickCountMainTe = ClickCountMainTe + 1 DEBUGVAR ClickCountMainTe If ClickCountMainTe = 2 Then OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/vending_info.xml" EndIf ;OpenInst 0 "//mnt/sdcard/coffeevending/taobin_project/xml/page_remove_cup.xml"