merge
BIN
image/collectiing_en/img_popup11-HKG.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
image/collectiing_en/img_popup15-HKG.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
image/collectiing_en/text_27-SGP.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
image/display_point_en/text5-HKG.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
|
Before Width: | Height: | Size: 546 KiB |
BIN
image/event/mom_cocoa/mom_cocoa_banner_13-31.png
Normal file
|
After Width: | Height: | Size: 547 KiB |
BIN
image/page_drink_disable_n2/CocoaNoMilk_mom_cocoa_soda.png
Normal file
|
After Width: | Height: | Size: 108 KiB |
BIN
image/page_drink_disable_n2/IcedCocoax10_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 97 KiB |
BIN
image/page_drink_n/CocoaNoMilk_mom_cocoa_soda.png
Normal file
|
After Width: | Height: | Size: 111 KiB |
BIN
image/page_drink_n/IcedCocoax10_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 102 KiB |
BIN
image/page_drink_picture2_n/CocoaNoMilk_mom_cocoa_soda.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
image/page_drink_picture2_n/IcedCocoax10_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
image/page_drink_press_n/CocoaNoMilk_mom_cocoa_soda.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
image/page_drink_press_n/IcedCocoax10_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
image/page_member_topupAmount/img_popup11-HKG.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
image/page_member_topupAmount/img_popup15-HKG.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
image/page_member_topupAmount/text_27-HKG.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
image/page_member_topupCash/img_popup11-HKG.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
image/page_member_topupCash/img_popup15-HKG.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
image/page_member_topupSuccess/text_4-HKG.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
image/page_payment_credit3-TopupCash/img_popup15-HKG.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
image/page_payment_credit3-TopupSuccess/text_4-HKG.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
image/page_payment_credit3/img_popup11-HKG.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
image/page_payment_storeCredit3/img_popup15-HKG.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
image/page_thankyou_en/imgGetChange-HKG.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
image/page_thankyou_en/remainCredit-HKG.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 26 KiB |
|
|
@ -97,7 +97,7 @@ TextID Note English Thai
|
||||||
Font=Kanit,Type=Regular,Size=36,Color=0x746253
|
Font=Kanit,Type=Regular,Size=36,Color=0x746253
|
||||||
000073 Pay now ซื้อเลย
|
000073 Pay now ซื้อเลย
|
||||||
Text
|
Text
|
||||||
Font=Kanit,Type=Regular,Size=36,Color=0x0025FF
|
Font=Kanit,Type=Regular,Size=36,Color=0x0025FF,PressColor=0xFFFFFF
|
||||||
Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF
|
Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF
|
||||||
000074 Cancel ยกเลิก
|
000074 Cancel ยกเลิก
|
||||||
Text
|
Text
|
||||||
|
|
@ -105,14 +105,14 @@ TextID Note English Thai
|
||||||
000075 Please choose drink type โปรดเลือกประเภทเครื่องดื่ม
|
000075 Please choose drink type โปรดเลือกประเภทเครื่องดื่ม
|
||||||
|
|
||||||
Text
|
Text
|
||||||
Font=Kanit,Type=Regular,Size=28,Color=0x0025FF
|
Font=Kanit,Type=Regular,Size=28,Color=0x0025FF,PressColor=0xFFFFFF
|
||||||
Font=Kanit,Type=Medium,Size=28,Color=0xFFFFFF
|
Font=Kanit,Type=Medium,Size=28,Color=0xFFFFFF
|
||||||
Font=Kanit,Type=Regular,Size=28,Color=0xA6B2FF
|
Font=Kanit,Type=Regular,Size=28,Color=0xA6B2FF
|
||||||
Font=Kanit,Type=Regular,Size=28,Color=0x8092FF
|
Font=Kanit,Type=Regular,Size=28,Color=0x8092FF
|
||||||
000081 Hot ร้อน
|
000081 Hot ร้อน
|
||||||
000082 Iced เย็น
|
000082 Iced เย็น
|
||||||
000083 Blend ปั่น
|
000083 Blend ปั่น
|
||||||
Font=Kanit,Type=Regular,Size=24,Color=0x025FF
|
Font=Kanit,Type=Regular,Size=24,Color=0x0025FF,PressColor=0xFFFFFF
|
||||||
000084 Normal ปกติ
|
000084 Normal ปกติ
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
Can't render this file because it has a wrong number of fields in line 8.
|
|
|
@ -499,6 +499,8 @@
|
||||||
|
|
||||||
Var ShowCountDownBrewing = CountDownBrewing
|
Var ShowCountDownBrewing = CountDownBrewing
|
||||||
|
|
||||||
|
DEBUGVAR DebugBypassCollectPt2
|
||||||
|
|
||||||
; percent
|
; percent
|
||||||
If ShowCountDownAsPercent = 1 Then
|
If ShowCountDownAsPercent = 1 Then
|
||||||
Var XPercent = InitCNT - ShowCountDownBrewing
|
Var XPercent = InitCNT - ShowCountDownBrewing
|
||||||
|
|
@ -1188,7 +1190,12 @@
|
||||||
EndIf
|
EndIf
|
||||||
</EventMachine>
|
</EventMachine>
|
||||||
|
|
||||||
|
<EventUnitTest1>
|
||||||
|
|
||||||
|
Var DebugBypassCollectPt2 = 1
|
||||||
|
DEBUGVAR DebugBypassCollectPt2
|
||||||
|
|
||||||
|
</EventUnitTest1>
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
@ -36,6 +36,18 @@
|
||||||
|
|
||||||
DEBUGVAR PayOfflineMode
|
DEBUGVAR PayOfflineMode
|
||||||
|
|
||||||
|
If DebugBypassCollectPt2 = 1 Then
|
||||||
|
Var Seeker.TaobinErrorNetwork = 1
|
||||||
|
Var Seeker.PointTaobinStr = ParamCP
|
||||||
|
Var TelephoneNumber = TelephoneNumberX
|
||||||
|
Var Seeker.TNumberTaobinMember= TelephoneNumber
|
||||||
|
|
||||||
|
; reset
|
||||||
|
Var DebugBypassCollectPt2 = 0
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/inter/sgp/xml/page_collect_point_3.lxml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
If PayOfflineMode = 1 Then
|
If PayOfflineMode = 1 Then
|
||||||
Var Seeker.TaobinErrorNetwork = 1
|
Var Seeker.TaobinErrorNetwork = 1
|
||||||
Var Seeker.PointTaobinStr = ParamCP
|
Var Seeker.PointTaobinStr = ParamCP
|
||||||
|
|
@ -55,6 +67,13 @@
|
||||||
Var ShowCountdown = "Invisible"
|
Var ShowCountdown = "Invisible"
|
||||||
|
|
||||||
Var IMG_CNT = "ROOT/taobin_project/inter/sgp/image/page_doing/img2_percent_eng.png"
|
Var IMG_CNT = "ROOT/taobin_project/inter/sgp/image/page_doing/img2_percent_eng.png"
|
||||||
|
|
||||||
|
If UsePepsiTheme = 1 Then
|
||||||
|
;Var DirImage = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
|
||||||
|
;Var DirImage = DirImage + "/image/collectiing_en"
|
||||||
|
|
||||||
|
Var IMG_CNT = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_doing/img2_eng.png"
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
@ -391,7 +410,7 @@
|
||||||
<Width> 153 </Width>
|
<Width> 153 </Width>
|
||||||
<Size> 88 </Size>
|
<Size> 88 </Size>
|
||||||
<Font> RobotoBold </Font>
|
<Font> RobotoBold </Font>
|
||||||
<Color> 0x513C2F </Color>
|
<Color> HeadlineColor </Color>
|
||||||
<Value> XPercent </Value>
|
<Value> XPercent </Value>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<Cache> "Enable" </Cache>
|
<Cache> "Enable" </Cache>
|
||||||
<Width> 1080 </Width>
|
<Width> 1080 </Width>
|
||||||
<Height> 1920 </Height>
|
<Height> 1920 </Height>
|
||||||
<Background> "0xeae6e1" </Background>
|
<Background> BackgroundColor </Background>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
|
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
|
|
@ -52,7 +52,11 @@
|
||||||
Var pImage = pImage / 55
|
Var pImage = pImage / 55
|
||||||
Var pImageStr = "/taobinPoint55.png"
|
Var pImageStr = "/taobinPoint55.png"
|
||||||
|
|
||||||
Var pImageStr = "ROOT/taobin_project/inter/sgp/image/page_member" + pImageStr
|
If UsePepsiTheme = 1 Then
|
||||||
|
Var pImageStr = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_member" + pImageStr
|
||||||
|
Else
|
||||||
|
Var pImageStr = "ROOT/taobin_project/inter/sgp/image/page_member" + pImageStr
|
||||||
|
EndIf
|
||||||
|
|
||||||
Var pointStr = ""
|
Var pointStr = ""
|
||||||
Var pointStr = pointStr + CoffeePointTmp
|
Var pointStr = pointStr + CoffeePointTmp
|
||||||
|
|
@ -919,6 +923,8 @@
|
||||||
Var Seeker.FromConsent = 0
|
Var Seeker.FromConsent = 0
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
Var AlphaBg = "ROOT/taobin_project/image/display_point/alpha.png"
|
||||||
|
|
||||||
Var InitCNT = BREW_CNT
|
Var InitCNT = BREW_CNT
|
||||||
|
|
||||||
Var ShowPercent = "Invisible"
|
Var ShowPercent = "Invisible"
|
||||||
|
|
@ -931,6 +937,31 @@
|
||||||
Var IMG_CNT = "ROOT/taobin_project/inter/sgp/image/page_doing/img2_percent_eng.png"
|
Var IMG_CNT = "ROOT/taobin_project/inter/sgp/image/page_doing/img2_percent_eng.png"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
Var MemberPtCard = Var MemberPtCard = "ROOT/taobin_project/inter/sgp/image/page_member/member_point_card.png"
|
||||||
|
Var MemberProfileFilename = "ROOT/taobin_project/inter/sgp/image/page_member/member_profile.png"
|
||||||
|
|
||||||
|
Var CloseFilename = "ROOT/taobin_project/inter/sgp/image/page_member/bn_close.png"
|
||||||
|
Var ClosePressFilename = "ROOT/taobin_project/inter/sgp/image/page_member/bp_close.png"
|
||||||
|
|
||||||
|
Var PointAlert = "ROOT/taobin_project/inter/sgp/image/page_member/points_alert.png"
|
||||||
|
Var Free1 = "ROOT/taobin_project/inter/sgp/image/page_member/free1.png"
|
||||||
|
|
||||||
|
If UsePepsiTheme = 1 Then
|
||||||
|
Var AlphaBg = "ROOT/taobin_project/inter/whatthecup/sgp/image/collectiing_en/alpha.png"
|
||||||
|
Var IMG_CNT = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_doing/img2_percent_eng.png"
|
||||||
|
|
||||||
|
Var MemberPtCard = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_member/member-point-card.png"
|
||||||
|
Var MemberProfileFilename = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_member/member-profile.png"
|
||||||
|
|
||||||
|
Var DirImage = "ROOT/taobin_project/inter/whatthecup/sgp/image/display_point_en/"
|
||||||
|
|
||||||
|
Var CloseFilename = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_member/bn_close.png"
|
||||||
|
Var ClosePressFilename = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_member/bp_close.png"
|
||||||
|
|
||||||
|
Var PointAlert = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_member/points_alert.png"
|
||||||
|
Var Free1 = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_member/free1.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
<Timeout> 1000 </Timeout>
|
<Timeout> 1000 </Timeout>
|
||||||
|
|
@ -1057,7 +1088,7 @@
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 380 </Y>
|
<Y> 380 </Y>
|
||||||
<Filename> "ROOT/taobin_project/image/display_point/alpha.png" </Filename>
|
<Filename> AlphaBg </Filename>
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1068,13 +1099,13 @@
|
||||||
<Image>
|
<Image>
|
||||||
<X> 108 </X>
|
<X> 108 </X>
|
||||||
<Y> 665 </Y>
|
<Y> 665 </Y>
|
||||||
<Filename> "ROOT/taobin_project/inter/sgp/image/page_member/member_point_card.png" </Filename>
|
<Filename> MemberPtCard </Filename>
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
<Image>
|
<Image>
|
||||||
<X> 108 </X>
|
<X> 108 </X>
|
||||||
<Y> 665 </Y>
|
<Y> 665 </Y>
|
||||||
<Filename> "ROOT/taobin_project/inter/sgp/image/page_member/member_profile.png" </Filename>
|
<Filename> MemberProfileFilename </Filename>
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1113,8 +1144,8 @@
|
||||||
<Button>
|
<Button>
|
||||||
<X> 396 </X>
|
<X> 396 </X>
|
||||||
<Y> 1720 </Y>
|
<Y> 1720 </Y>
|
||||||
<Filename> "ROOT/taobin_project/inter/sgp/image/page_member/bn_close.png" </Filename>
|
<Filename> CloseFilename </Filename>
|
||||||
<FilenamePress> "ROOT/taobin_project/inter/sgp/image/page_member/bp_close.png" </FilenamePress>
|
<FilenamePress> ClosePressFilename </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
@ -1526,7 +1557,7 @@
|
||||||
<Button>
|
<Button>
|
||||||
<X> 747 </X>
|
<X> 747 </X>
|
||||||
<Y> 1528 </Y>
|
<Y> 1528 </Y>
|
||||||
<Filename> "ROOT/taobin_project/inter/sgp/image/page_member/free1.png" </Filename>
|
<Filename> Free1 </Filename>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
|
|
@ -1588,7 +1619,7 @@
|
||||||
<Image>
|
<Image>
|
||||||
<X> 172 </X>
|
<X> 172 </X>
|
||||||
<Y> 1650 </Y>
|
<Y> 1650 </Y>
|
||||||
<Filename> "ROOT/taobin_project/inter/sgp/image/page_member/points_alert.png" </Filename>
|
<Filename> PointAlert </Filename>
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
;<Text>
|
;<Text>
|
||||||
|
|
@ -1647,7 +1678,7 @@
|
||||||
<Width> 153 </Width>
|
<Width> 153 </Width>
|
||||||
<Size> 88 </Size>
|
<Size> 88 </Size>
|
||||||
<Font> RobotoBold </Font>
|
<Font> RobotoBold </Font>
|
||||||
<Color> 0x513C2F </Color>
|
<Color> HeadlineColor </Color>
|
||||||
<Value> XPercent </Value>
|
<Value> XPercent </Value>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
Var DirImage = "ROOT/taobin_project/image/display_get_free_en/"
|
Var DirImage = "ROOT/taobin_project/image/display_get_free_en/"
|
||||||
|
Var DirImageStatic = "ROOT/taobin_project/image/display_get_free_en/"
|
||||||
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
||||||
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
||||||
|
|
||||||
|
|
@ -22,6 +23,16 @@
|
||||||
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
Var AlphaBg = "ROOT/taobin_project/image/collectiing/alpha.png"
|
||||||
|
If UsePepsiTheme = 1 Then
|
||||||
|
Var AlphaBg = "ROOT/taobin_project/inter/whatthecup/sgp/image/collectiing_en/alpha.png"
|
||||||
|
;Var NumImgDir = "ROOT/taobin_project/inter/whatthecup/sgp/image/collectiing_en/"
|
||||||
|
|
||||||
|
Var DirImage = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
|
||||||
|
Var DirImage = DirImage + "/image/display_get_free_en/"
|
||||||
|
EndIf
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
<Timeout> 1000 </Timeout>
|
<Timeout> 1000 </Timeout>
|
||||||
<EventTimeout>
|
<EventTimeout>
|
||||||
|
|
@ -54,7 +65,7 @@
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 380 </Y>
|
<Y> 380 </Y>
|
||||||
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
<Filename> AlphaBg </Filename>
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<Cache> "Enable" </Cache>
|
<Cache> "Enable" </Cache>
|
||||||
<Width> 1080 </Width>
|
<Width> 1080 </Width>
|
||||||
<Height> 1920 </Height>
|
<Height> 1920 </Height>
|
||||||
<Background> "0xEFEDEA" </Background>
|
<Background> BackgroundColor </Background>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<Refresh> "Partial" </Refresh>
|
<Refresh> "Partial" </Refresh>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
|
|
@ -45,6 +45,11 @@
|
||||||
|
|
||||||
Var StepX = 1
|
Var StepX = 1
|
||||||
Var Ext1a = ""
|
Var Ext1a = ""
|
||||||
|
|
||||||
|
If UsePepsiTheme = 1 Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/inter/whatthecup/sgp/image/collectiing/"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
<Timeout> 1000 </Timeout>
|
<Timeout> 1000 </Timeout>
|
||||||
|
|
@ -259,7 +264,7 @@ EndIf
|
||||||
<Align> Center </Align>
|
<Align> Center </Align>
|
||||||
<Width> 1080 </Width>
|
<Width> 1080 </Width>
|
||||||
<Font> RobotoRegular </Font>
|
<Font> RobotoRegular </Font>
|
||||||
<Color> 0xDE794E </Color>
|
<Color> HeadlineColor </Color>
|
||||||
<Value> MachineErrorDetailAll </Value>
|
<Value> MachineErrorDetailAll </Value>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
|
|
||||||
364
inter/sgp/xml/page_show_error.lxml
Normal file
|
|
@ -0,0 +1,364 @@
|
||||||
|
<Page>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 608 </Y>
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1312 </Height>
|
||||||
|
<Background> BackgroundColor </Background>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOpen>
|
||||||
|
Var countClick = 0
|
||||||
|
Var countClick2 = 0
|
||||||
|
|
||||||
|
|
||||||
|
DEBUGVAR MachineStage
|
||||||
|
DEBUGVAR stop_now
|
||||||
|
DEBUGVAR LanguageShow
|
||||||
|
|
||||||
|
;OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_list.xml"
|
||||||
|
|
||||||
|
Var show_error_normal = "Invisible"
|
||||||
|
Var show_error_sp1 = "Enable"
|
||||||
|
|
||||||
|
StopLongPlay
|
||||||
|
|
||||||
|
If LEDSet = "true" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
LED LedDoorCup On 255 0 0 255
|
||||||
|
LED LedDoorLid Off 255 255 255 255
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Function 2
|
||||||
|
|
||||||
|
Var TimeOut = 0
|
||||||
|
Var textStep = 0
|
||||||
|
RootLayoutVisible 3 "show"
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
|
||||||
|
Var EmergencyStop = "-"
|
||||||
|
|
||||||
|
|
||||||
|
If EmergencyStop = "true" Then
|
||||||
|
If DoorCupPosition = "bottom" Then
|
||||||
|
; It normal
|
||||||
|
Var EmergencyStop = "false"
|
||||||
|
Else
|
||||||
|
Var MachineErrorDetailAll = "Emergency stop!"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var MachineErrorDetailAll = MachineErrorDetailEng
|
||||||
|
|
||||||
|
|
||||||
|
If textStep > 3 Then
|
||||||
|
Var textStep = 0
|
||||||
|
Var MachineErrorDetailAll = MachineErrorDetailAll + " [ \ ]"
|
||||||
|
EndIf
|
||||||
|
If textStep = 3 Then
|
||||||
|
Var MachineErrorDetailAll = MachineErrorDetailAll + " [ - ]"
|
||||||
|
EndIf
|
||||||
|
If textStep = 2 Then
|
||||||
|
Var MachineErrorDetailAll = MachineErrorDetailAll + " [ / ]"
|
||||||
|
EndIf
|
||||||
|
If textStep = 1 Then
|
||||||
|
Var MachineErrorDetailAll = MachineErrorDetailAll + " [ | ]"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var textStep = textStep + 1
|
||||||
|
|
||||||
|
;DEBUGVAR MachineErrorDetailAll
|
||||||
|
;DEBUGVAR textStep
|
||||||
|
|
||||||
|
If NETCORE_LOST_CNT > 0 Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
DEBUGVAR NCIC07_EVENT_CNT
|
||||||
|
DEBUGVAR NETCORE_EVENT_CNT_TMP
|
||||||
|
|
||||||
|
If NCIC07_EVENT_CNT = NETCORE_EVENT_CNT_TMP Then
|
||||||
|
|
||||||
|
Var NETCORE_LOST_COUNT_UP = NETCORE_LOST_COUNT_UP + 1
|
||||||
|
DEBUGVAR NETCORE_LOST_COUNT_UP
|
||||||
|
|
||||||
|
If NETCORE_LOST_COUNT_UP > 300 Then
|
||||||
|
If textStep > 3 Then
|
||||||
|
Var MachineErrorDetailAll = MachineErrorDetailAll + " !"
|
||||||
|
EndIf
|
||||||
|
If textStep = 3 Then
|
||||||
|
Var MachineErrorDetailAll = MachineErrorDetailAll + " !!"
|
||||||
|
EndIf
|
||||||
|
If textStep = 2 Then
|
||||||
|
Var MachineErrorDetailAll = MachineErrorDetailAll + " !!!"
|
||||||
|
EndIf
|
||||||
|
If textStep = 1 Then
|
||||||
|
Var MachineErrorDetailAll = MachineErrorDetailAll + " !!!!"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
If stop_now_from_netcore_event = 1 Then
|
||||||
|
Var stop_now = "false"
|
||||||
|
SAVELOG "stop_now_from_netcore_event is set"
|
||||||
|
Var stop_now_from_netcore_event = 0
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If stop_now_from_door_cup = 1 Then
|
||||||
|
Var stop_now = "false"
|
||||||
|
SAVELOG "stop_now_from_door_cup is set"
|
||||||
|
Var stop_now_from_door_cup = 0
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If MachineStage = "" Then
|
||||||
|
|
||||||
|
Var LEDSet = "false"
|
||||||
|
Open "ROOT/taobin_project/xml/page_board.xml"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
If MachineStage = "show-menu" Then
|
||||||
|
|
||||||
|
Var LEDSet = "false"
|
||||||
|
Open "ROOT/taobin_project/xml/page_board.xml"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
If MachineStage = "remove-cup" Then
|
||||||
|
|
||||||
|
Var LEDSet = "false"
|
||||||
|
Open "ROOT/taobin_project/xml/page_remove_cup.xml"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If MachineStage = "drink-failed" Then
|
||||||
|
Var FirstOpen = 1
|
||||||
|
Var LEDSet = "true"
|
||||||
|
;Open "ROOT/taobin_project/inter/sgp/xml/page_show_error.lxml"
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If FirstOpen = 1 Then
|
||||||
|
Var FirstOpen = 0
|
||||||
|
If MachineStage = "close-maintenance" Then
|
||||||
|
|
||||||
|
Var LEDSet = "true"
|
||||||
|
;Open "ROOT/taobin_project/inter/sgp/xml/page_show_error.lxml"
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
DEBUGVAR show_error_normal
|
||||||
|
DEBUGVAR show_error_sp1
|
||||||
|
DEBUGVAR TimeOut
|
||||||
|
Var TimeOut = TimeOut + 1
|
||||||
|
If TimeOut > 30 Then
|
||||||
|
Var TimeOut = 0
|
||||||
|
Open "ROOT/taobin_project/inter/sgp/xml/page_show_error.lxml"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
TimerReset
|
||||||
|
|
||||||
|
Var LEDSet = "true"
|
||||||
|
;Open "ROOT/taobin_project/inter/sgp/xml/page_show_error.lxml"
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventLanguageOnChange>
|
||||||
|
DEBUGVAR LanguageShow
|
||||||
|
|
||||||
|
Var LanguageButtonEnable = "Enable"
|
||||||
|
Var ButtonLanguageCurrentXPosition = 990
|
||||||
|
Var ButtonLanguageCurrentYPosition = 648
|
||||||
|
|
||||||
|
Var ButtonLanguageListXPosition = 970
|
||||||
|
Var ButtonLanguageListYPosition = 640
|
||||||
|
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||||
|
|
||||||
|
Function 2
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
</EventLanguageOnChange>
|
||||||
|
|
||||||
|
<Function2>
|
||||||
|
DEBUGVAR MachineStage
|
||||||
|
DEBUGVAR stop_now
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/vending_error_en/"
|
||||||
|
Else
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/vending_error"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If MachineStage = "mcu-upgrade" Then
|
||||||
|
;Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If NeedUpgrade = "true" Then
|
||||||
|
;Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR MachineStage
|
||||||
|
|
||||||
|
If MachineStage = "close-maintenance" Then
|
||||||
|
DEBUGVAR stop_now
|
||||||
|
If stop_now = "true" Then
|
||||||
|
;Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||||
|
Else
|
||||||
|
Var show_error_normal = "Enable"
|
||||||
|
Var show_error_sp1 = "Invisible"
|
||||||
|
|
||||||
|
;Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If MachineStage = "drink-failed" Then
|
||||||
|
If stop_now = "true" Then
|
||||||
|
;Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||||
|
Else
|
||||||
|
Var show_error_normal = "Enable"
|
||||||
|
Var show_error_sp1 = "Invisible"
|
||||||
|
;Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If NETCORE_LOST_CNT > 0 Then
|
||||||
|
|
||||||
|
;Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If NETCORE_EVENT_CNT_X >= 30 Then
|
||||||
|
Var NETCORE_EVENT_CNT_X = 0
|
||||||
|
|
||||||
|
;Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var MaintenanceCard = 20
|
||||||
|
Random MaintenanceCard
|
||||||
|
Var index = 1 + MaintenanceCard
|
||||||
|
|
||||||
|
If UsePepsiTheme = 1 Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
|
||||||
|
Var DirImage = DirImage + "/image/vending_error_en"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
DEBUGVAR DirImage
|
||||||
|
|
||||||
|
|
||||||
|
Var RandomImage = "ROOT/taobin_project/image/close_en/Frame" + index
|
||||||
|
Var RandomImage = RandomImage + ".png"
|
||||||
|
|
||||||
|
If UsePepsiTheme = 1 Then
|
||||||
|
Var RandomImage = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
|
||||||
|
Var RandomImage = RandomImage + "/image/close_en/Frame"
|
||||||
|
Var RandomImage = RandomImage + index
|
||||||
|
Var RandomImage = RandomImage + ".png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR RandomImage
|
||||||
|
DEBUGVAR Seeker
|
||||||
|
DEBUGVAR DoorCupPosition
|
||||||
|
DEBUGVAR DoorLidPosition
|
||||||
|
DEBUGVAR EmergencyStop
|
||||||
|
</Function2>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<State> show_error_normal </State>
|
||||||
|
<X> 69 </X>
|
||||||
|
<Y> 642 </Y>
|
||||||
|
<Filename> Var(DirImage + "/img1.png") </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<State> show_error_sp1 </State>
|
||||||
|
;<X> 69 </X>
|
||||||
|
;<Y> 642 </Y>
|
||||||
|
;<Filename> Var(DirImage + "/img_error_sgp.png") </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<State> show_error_sp1 </State>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 897 </Y>
|
||||||
|
<Filename> Var(DirImage + "/img1.png") </Filename>
|
||||||
|
</Image>
|
||||||
|
;
|
||||||
|
<Image>
|
||||||
|
<State> show_error_sp1 </State>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 694 </Y>
|
||||||
|
<Filename> Var(DirImage + "/text1.png") </Filename>
|
||||||
|
</Image>
|
||||||
|
;
|
||||||
|
<Image>
|
||||||
|
<State> show_error_sp1 </State>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1685 </Y>
|
||||||
|
<Filename> Var(DirImage + "/text2.png") </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1860 </Y>
|
||||||
|
<Width> 200 </Width>
|
||||||
|
<Height> 50 </Height>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var countClick = countClick + 1
|
||||||
|
If countClick = 3 Then
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If countClick = 10 Then
|
||||||
|
Var countClick = 0
|
||||||
|
MainMenu
|
||||||
|
EndIf
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 870 </X>
|
||||||
|
<Y> 1860 </Y>
|
||||||
|
<Width> 200 </Width>
|
||||||
|
<Height> 50 </Height>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 5 </X>
|
||||||
|
<Y> 1868 </Y>
|
||||||
|
<Size> 24 </Size>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Font> RobotoRegular </Font>
|
||||||
|
<Color> HeadlineColor </Color>
|
||||||
|
<Value> MachineErrorDetailAll </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
</Page>
|
||||||
BIN
inter/whatthecup/sgp/image/collect_point1_en/text_edit.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
inter/whatthecup/sgp/image/collectiing/QR_contract.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 65 KiB |
BIN
inter/whatthecup/sgp/image/display_get_free_en/bn_accept.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
inter/whatthecup/sgp/image/display_get_free_en/bp_accept.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
inter/whatthecup/sgp/image/display_get_free_en/img_popup4.png
Normal file
|
After Width: | Height: | Size: 62 KiB |
BIN
inter/whatthecup/sgp/image/display_point/alpha.png
Normal file
|
After Width: | Height: | Size: 9.7 KiB |
BIN
inter/whatthecup/sgp/image/display_point_en/pointMask.png
Normal file
|
After Width: | Height: | Size: 297 B |
BIN
inter/whatthecup/sgp/image/display_point_en/taobinPN.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
inter/whatthecup/sgp/image/display_point_en/taobinPO.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
inter/whatthecup/sgp/image/display_point_en/text10.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
inter/whatthecup/sgp/image/display_point_en/text11.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
inter/whatthecup/sgp/image/display_point_en/text4.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
inter/whatthecup/sgp/image/display_point_en/text7.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
inter/whatthecup/sgp/image/display_point_en/text9.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
inter/whatthecup/sgp/image/page_member/bn_close.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
inter/whatthecup/sgp/image/page_member/bp_close.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
inter/whatthecup/sgp/image/page_member/free1.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
inter/whatthecup/sgp/image/page_member/member-point-card.png
Normal file
|
After Width: | Height: | Size: 7.7 KiB |
BIN
inter/whatthecup/sgp/image/page_member/member-profile.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
inter/whatthecup/sgp/image/page_member/points_alert.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
inter/whatthecup/sgp/image/page_member/taoLevel1.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
inter/whatthecup/sgp/image/page_member/taoLevel2.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
inter/whatthecup/sgp/image/page_member/taoLevel3.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
inter/whatthecup/sgp/image/page_member/taoLevel4.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
inter/whatthecup/sgp/image/page_member/taobinPoint55.png
Normal file
|
After Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 306 B |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 313 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 313 B |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 313 B |
|
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 306 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 692 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 699 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1,010 B |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 988 B |
|
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 2 KiB |
|
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 988 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1,022 B |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1,022 B |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1,013 B |
BIN
inter/whatthecup/sgp/image/vending_error_en/Frame1.png
Normal file
|
After Width: | Height: | Size: 59 KiB |
BIN
inter/whatthecup/sgp/image/vending_error_en/Frame10.png
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
inter/whatthecup/sgp/image/vending_error_en/Frame11.png
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
inter/whatthecup/sgp/image/vending_error_en/Frame12.png
Normal file
|
After Width: | Height: | Size: 91 KiB |
BIN
inter/whatthecup/sgp/image/vending_error_en/Frame13.png
Normal file
|
After Width: | Height: | Size: 103 KiB |
BIN
inter/whatthecup/sgp/image/vending_error_en/Frame14.png
Normal file
|
After Width: | Height: | Size: 73 KiB |
BIN
inter/whatthecup/sgp/image/vending_error_en/Frame15.png
Normal file
|
After Width: | Height: | Size: 117 KiB |
BIN
inter/whatthecup/sgp/image/vending_error_en/Frame16.png
Normal file
|
After Width: | Height: | Size: 62 KiB |
BIN
inter/whatthecup/sgp/image/vending_error_en/Frame17.png
Normal file
|
After Width: | Height: | Size: 96 KiB |
BIN
inter/whatthecup/sgp/image/vending_error_en/Frame18.png
Normal file
|
After Width: | Height: | Size: 63 KiB |