...
BIN
image/bn_back_to_school.png
Normal file
|
After Width: | Height: | Size: 120 KiB |
BIN
image/bn_back_to_school_en.png
Normal file
|
After Width: | Height: | Size: 115 KiB |
BIN
image/bn_oreo_buy2_save_move.png
Normal file
|
After Width: | Height: | Size: 93 KiB |
BIN
image/bn_oreo_buy2_save_move_en.png
Normal file
|
After Width: | Height: | Size: 88 KiB |
BIN
image/event/bn_back_to_school.png
Normal file
|
After Width: | Height: | Size: 119 KiB |
BIN
image/event/bn_back_to_school_en.png
Normal file
|
After Width: | Height: | Size: 115 KiB |
BIN
image/event/bn_oreo_buy2_save_move.png
Normal file
|
After Width: | Height: | Size: 93 KiB |
BIN
image/event/bn_oreo_buy2_save_move_en.png
Normal file
|
After Width: | Height: | Size: 88 KiB |
BIN
image/page_drink_picture2_n/bn_oreo_vo_weekend_special.png
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
image/page_drink_picture2_n/bn_save_buy2_oreo_volcano.png
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
sound_thai/boy/Please_scan_to_pay_via_e-wallet.wav
Normal file
BIN
sound_thai/boy/Please_scan_to_pay_via_mobile.wav
Normal file
BIN
sound_thai/boy/drinkfinish.wav
Normal file
BIN
sound_thai/boy/drinkfinish_no_straw.wav
Normal file
BIN
sound_thai/boy/next_drink.wav
Normal file
BIN
sound_thai/boy/payment.wav
Normal file
BIN
sound_thai/boy/select_level.wav
Normal file
BIN
sound_thai/boy/taobin_sawade.wav
Normal file
BIN
sound_thai/boy/thankyou.wav
Normal file
BIN
sound_thai/girl/Please_scan_to_pay_via_e-wallet.wav
Normal file
BIN
sound_thai/girl/Please_scan_to_pay_via_mobile.wav
Normal file
BIN
sound_thai/girl/drinkfinish.wav
Normal file
BIN
sound_thai/girl/drinkfinish_no_straw.wav
Normal file
BIN
sound_thai/girl/next_drink.wav
Normal file
BIN
sound_thai/girl/payment.wav
Normal file
BIN
sound_thai/girl/select_level.wav
Normal file
BIN
sound_thai/girl/taobin_sawade.wav
Normal file
BIN
sound_thai/girl/thankyou.wav
Normal file
|
|
@ -493,7 +493,7 @@
|
||||||
<MarginTop> 22 </MarginTop>
|
<MarginTop> 22 </MarginTop>
|
||||||
<Width> 225 </Width>
|
<Width> 225 </Width>
|
||||||
<Height> 296 </Height>
|
<Height> 296 </Height>
|
||||||
<State> Flag( 12-03-03-0032.Button,Disable=Invisible,$Sum1203030032) </State>
|
<State> Flag( 12-03-03-0032.Button, ,$Sum1203030032) </State>
|
||||||
<Button>
|
<Button>
|
||||||
<State> $Sum1203030032 </State>
|
<State> $Sum1203030032 </State>
|
||||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano.png" </Filename>
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano.png" </Filename>
|
||||||
|
|
|
||||||
105
xml/event/big_logo_back_to_school.inc
Normal file
|
|
@ -0,0 +1,105 @@
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 42 </X>
|
||||||
|
<Y> 520 </Y>
|
||||||
|
<State> Flag( 12-03-03-0032.Button, ,$Sum1203030032) </State>
|
||||||
|
<Filename>
|
||||||
|
eval(
|
||||||
|
If show_eng = "true" Then
|
||||||
|
|
||||||
|
Var return = "ROOT/taobin_project/image/event/bn_back_to_school_en.png"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var return = "ROOT/taobin_project/image/event/bn_back_to_school.png"
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</Filename>
|
||||||
|
<FilenamePress>
|
||||||
|
eval(
|
||||||
|
If show_eng = "true" Then
|
||||||
|
|
||||||
|
Var return = "ROOT/taobin_project/image/event/bp_back_to_school_en.png"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var return = "ROOT/taobin_project/image/event/bp_back_to_school.png"
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</FilenamePress>
|
||||||
|
<FilenameDisable>
|
||||||
|
eval(
|
||||||
|
If show_eng = "true" Then
|
||||||
|
|
||||||
|
Var return = "ROOT/taobin_project/image/event/bn_back_to_school_en.png"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var return = "ROOT/taobin_project/image/event/bn_back_to_school.png"
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</FilenameDisable>
|
||||||
|
<EventOnClick>
|
||||||
|
Var NameDrink = "OREO SMOOTHIE VOLCANO"
|
||||||
|
Var NameDrinkTH = "โอริโอ้ปั่นภูเขาไฟ"
|
||||||
|
Var DrinkDescriptionTH = "นม น้ำตาล โอริโอ้ "
|
||||||
|
Var DrinkDescription = "Milk, Sugar, Oreo"
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_smoothie_oreo.png"
|
||||||
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
Var PriceD1 = $-.Price
|
||||||
|
Var PriceD2 = $-.Price
|
||||||
|
Var PriceD3 = $12-03-03-0009.Price
|
||||||
|
Var PD_CODE1 = "##-##-##-####"
|
||||||
|
Var PD_CODE2 = "##-##-##-####"
|
||||||
|
Var PD_CODE3 = "12-03-03-0009"
|
||||||
|
Var PD_STAGE_1 = "Disable2"
|
||||||
|
Var PD_STAGE_2 = "Disable2"
|
||||||
|
Var PD_STAGE_3 = $12-03-03-0009.Button
|
||||||
|
Var SelectCountDrinkType = 0
|
||||||
|
Var DefaultDrinkType = 0
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 1
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 2
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_3 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 3
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Topping "Load" "12-03-03-0009"
|
||||||
|
|
||||||
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_blender = $12-03-03-0009.NameE
|
||||||
|
Var menu_desc_eng_blender = $12-03-03-0009.descriptionE
|
||||||
|
Var menu_name_thai_blender = $12-03-03-0009.Name
|
||||||
|
Var menu_desc_thai_blender = $12-03-03-0009.description
|
||||||
|
|
||||||
|
DEBUGVAR PD_STAGE_1
|
||||||
|
DEBUGVAR PD_STAGE_2
|
||||||
|
DEBUGVAR PD_STAGE_3
|
||||||
|
Var SelectDrinkType = 0
|
||||||
|
|
||||||
|
Var BackToSchoolForFreeEnable = 1
|
||||||
|
Open "ROOT/taobin_project/xml/page_topping_select6.xml"
|
||||||
|
|
||||||
|
</EventOnClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<EventUnitTest1>
|
||||||
|
Var BigButtonEnable = "Enable"
|
||||||
|
Refresh
|
||||||
|
</EventUnitTest1>
|
||||||
|
<EventUnitTest2>
|
||||||
|
Var BigButtonEnable = "Invisible"
|
||||||
|
Refresh
|
||||||
|
</EventUnitTest2>
|
||||||
106
xml/event/big_logo_oreo_buy2_save_movel.inc
Normal file
|
|
@ -0,0 +1,106 @@
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 42 </X>
|
||||||
|
<Y> 520 </Y>
|
||||||
|
<State> Flag( 12-03-03-0032.Button, ,$Sum1203030032) </State>
|
||||||
|
<Filename>
|
||||||
|
eval(
|
||||||
|
If show_eng = "true" Then
|
||||||
|
|
||||||
|
Var return = "ROOT/taobin_project/image/event/bn_oreo_buy2_save_move_en.png"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var return = "ROOT/taobin_project/image/event/bn_oreo_buy2_save_move.png"
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</Filename>
|
||||||
|
<FilenamePress>
|
||||||
|
eval(
|
||||||
|
If show_eng = "true" Then
|
||||||
|
|
||||||
|
Var return = "ROOT/taobin_project/image/event/bp_oreo_buy2_save_move_en.png"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var return = "ROOT/taobin_project/image/event/bp_oreo_buy2_save_move.png"
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</FilenamePress>
|
||||||
|
<FilenameDisable>
|
||||||
|
eval(
|
||||||
|
If show_eng = "true" Then
|
||||||
|
|
||||||
|
Var return = "ROOT/taobin_project/image/event/bn_oreo_buy2_save_move_en.png"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var return = "ROOT/taobin_project/image/event/bn_oreo_buy2_save_move.png"
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</FilenameDisable>
|
||||||
|
<EventOnClick>
|
||||||
|
Var NameDrink = "OREO SMOOTHIE VOLCANO"
|
||||||
|
Var NameDrinkTH = "โอริโอ้ปั่นภูเขาไฟ"
|
||||||
|
Var DrinkDescriptionTH = "นม น้ำตาล โอริโอ้ "
|
||||||
|
Var DrinkDescription = "Milk, Sugar, Oreo"
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_save_buy2_oreo_volcano.png"
|
||||||
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
Var PriceD1 = 0
|
||||||
|
Var PriceD2 = 0
|
||||||
|
Var PriceD3 = 70
|
||||||
|
Var PD_CODE1 = "##-##-##-####"
|
||||||
|
Var PD_CODE2 = "##-##-##-####"
|
||||||
|
Var PD_CODE3 = "12-03-03-0009"
|
||||||
|
Var PD_STAGE_1 = "Disable2"
|
||||||
|
Var PD_STAGE_2 = "Disable2"
|
||||||
|
Var PD_STAGE_3 = $12-03-03-0009.Button
|
||||||
|
Var SelectCountDrinkType = 0
|
||||||
|
Var DefaultDrinkType = 0
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 1
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 2
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_3 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 3
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Topping "Load" "12-03-03-0009"
|
||||||
|
|
||||||
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_blender = $12-03-03-0009.NameE
|
||||||
|
Var menu_desc_eng_blender = $12-03-03-0009.descriptionE
|
||||||
|
Var menu_name_thai_blender = $12-03-03-0009.Name
|
||||||
|
Var menu_desc_thai_blender = $12-03-03-0009.description
|
||||||
|
|
||||||
|
DEBUGVAR PD_STAGE_1
|
||||||
|
DEBUGVAR PD_STAGE_2
|
||||||
|
DEBUGVAR PD_STAGE_3
|
||||||
|
Var SelectDrinkType = 0
|
||||||
|
|
||||||
|
Var PromotionIDOreoBuyTwoSaveMore = 1
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/xml/page_topping_select6.xml"
|
||||||
|
|
||||||
|
</EventOnClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<EventUnitTest1>
|
||||||
|
Var BigButtonEnable = "Enable"
|
||||||
|
Refresh
|
||||||
|
</EventUnitTest1>
|
||||||
|
<EventUnitTest2>
|
||||||
|
Var BigButtonEnable = "Invisible"
|
||||||
|
Refresh
|
||||||
|
</EventUnitTest2>
|
||||||
66
xml/event/dummy_layout_promotion.py
Normal file
|
|
@ -0,0 +1,66 @@
|
||||||
|
print( "dir= " + directory_to_process + "/page_catalog_group_recommend.xml");
|
||||||
|
file_xml = open(directory_to_process + "/page_catalog_group_recommend.xml", 'r')
|
||||||
|
file_content_main = file_xml.read()
|
||||||
|
#print(file_xml.read())
|
||||||
|
# ; include-file=dummy_layout.inc
|
||||||
|
file_inc = open(directory_to_process + "/dummy_layout.inc", 'r')
|
||||||
|
file_inc_content = file_inc.read()
|
||||||
|
file_inc2 = open(directory_to_process + "/big_logo.inc", 'r')
|
||||||
|
file_inc2_content = file_inc2.read()
|
||||||
|
#print( file_inc_content)
|
||||||
|
content_data_was_repack = file_content_main.replace(";dummy_layout.inc", file_inc_content)
|
||||||
|
content_data = content_data_was_repack.replace(";BigLogoLayout", file_inc2_content)
|
||||||
|
|
||||||
|
begin_text = content_data.index(";TAGESP")
|
||||||
|
end_text = content_data.index(";TAGESP", begin_text + 7)
|
||||||
|
print("sub text = " + str(begin_text) + " end = " + str(end_text))
|
||||||
|
tmp1 = content_data[: begin_text - 7]
|
||||||
|
|
||||||
|
tmp2 = content_data[ end_text:-1]
|
||||||
|
print("tmp1=" + tmp1)
|
||||||
|
print("tmp2=" + tmp2)
|
||||||
|
|
||||||
|
content_data = tmp1 + tmp2
|
||||||
|
|
||||||
|
file_xml.close()
|
||||||
|
|
||||||
|
|
||||||
|
file_inc2 = open(directory_to_process + "/event/big_logo_back_to_school.inc", 'r')
|
||||||
|
file_inc2_content = file_inc2.read()
|
||||||
|
content_data = content_data_was_repack.replace(";BigLogoLayout", file_inc2_content)
|
||||||
|
|
||||||
|
begin_text = content_data.index(";TAGESP")
|
||||||
|
end_text = content_data.index(";TAGESP", begin_text + 7)
|
||||||
|
print("sub text = " + str(begin_text) + " end = " + str(end_text))
|
||||||
|
tmp1 = content_data[: begin_text - 7]
|
||||||
|
|
||||||
|
tmp2 = content_data[ end_text:-1]
|
||||||
|
print("tmp1=" + tmp1)
|
||||||
|
print("tmp2=" + tmp2)
|
||||||
|
|
||||||
|
content_data = tmp1 + tmp2
|
||||||
|
|
||||||
|
file_xml3 = open(directory_to_process + "/event/page_recommend_backToSchool.xml", 'w')
|
||||||
|
file_xml3.write( content_data)
|
||||||
|
file_xml3.close()
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
file_inc2 = open(directory_to_process + "/event/big_logo_oreo_buy2_save_movel.inc", 'r')
|
||||||
|
file_inc2_content = file_inc2.read()
|
||||||
|
content_data = content_data_was_repack.replace(";BigLogoLayout", file_inc2_content)
|
||||||
|
|
||||||
|
begin_text = content_data.index(";TAGESP")
|
||||||
|
end_text = content_data.index(";TAGESP", begin_text + 7)
|
||||||
|
print("sub text = " + str(begin_text) + " end = " + str(end_text))
|
||||||
|
tmp1 = content_data[: begin_text - 7]
|
||||||
|
|
||||||
|
tmp2 = content_data[ end_text:-1]
|
||||||
|
print("tmp1=" + tmp1)
|
||||||
|
print("tmp2=" + tmp2)
|
||||||
|
|
||||||
|
content_data = tmp1 + tmp2
|
||||||
|
|
||||||
|
file_xml3 = open(directory_to_process + "/event/page_recommend_oreo_buy2_save_more.xml", 'w')
|
||||||
|
file_xml3.write( content_data)
|
||||||
|
file_xml3.close()
|
||||||
|
|
||||||
9023
xml/event/page_recommend_backToSchool.xml
Normal file
9024
xml/event/page_recommend_oreo_buy2_save_more.xml
Normal file
40
xml/event/script_common_for_open_promotion_xml.ev
Normal file
|
|
@ -0,0 +1,40 @@
|
||||||
|
|
||||||
|
; zone promote
|
||||||
|
If OpenFromPageBoard = 1 Then
|
||||||
|
|
||||||
|
If SongkranEnable = 1 Then
|
||||||
|
OpenInst 2 "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
||||||
|
Var OpenFromPageBoard = 0
|
||||||
|
Else
|
||||||
|
If OreoForFreeEnable = 1 Then
|
||||||
|
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/event/page_recommend_backToSchool.xml"
|
||||||
|
Var OpenFromPageBoard = 0
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If OreoDueEnable = 1 Then
|
||||||
|
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/event/page_recommend_oreo_buy2_save_more.xml"
|
||||||
|
Var OpenFromPageBoard = 0
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If OpenFromPageBoard = 1 Then
|
||||||
|
OpenInst 2 "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
|
||||||
|
If SongkranEnable = 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
||||||
|
Else
|
||||||
|
If OreoForFreeEnable = 1 Then
|
||||||
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/event/page_recommend_backToSchool.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If OreoDueEnable = 1 Then
|
||||||
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/event/page_recommend_oreo_buy2_save_more.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Var OpenFromPageBoard = 0
|
||||||
83
xml/event/tricker.ev
Normal file
|
|
@ -0,0 +1,83 @@
|
||||||
|
|
||||||
|
|
||||||
|
Var PromotionIDOreoBuyTwoSaveMore = 0
|
||||||
|
Var BackToSchoolForFreeEnable = 0
|
||||||
|
|
||||||
|
;DEBUGVAR SystemDateMonthInt
|
||||||
|
;DEBUGVAR SystemDateDayInt
|
||||||
|
|
||||||
|
Var OreoForFreeEnable = 0
|
||||||
|
Var OreoDueEnable = 0
|
||||||
|
|
||||||
|
If SystemDateMonthInt = 5 Then
|
||||||
|
If SystemDateDayInt = 6 Then
|
||||||
|
Var OreoDueEnable = 1
|
||||||
|
EndIf
|
||||||
|
If SystemDateDayInt = 7 Then
|
||||||
|
Var OreoDueEnable = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If SystemDateDayInt = 13 Then
|
||||||
|
Var OreoDueEnable = 1
|
||||||
|
EndIf
|
||||||
|
If SystemDateDayInt = 14 Then
|
||||||
|
Var OreoDueEnable = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If SystemDateDayInt = 20 Then
|
||||||
|
Var OreoDueEnable = 1
|
||||||
|
EndIf
|
||||||
|
If SystemDateDayInt = 21 Then
|
||||||
|
Var OreoDueEnable = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If SystemDateDayInt = 27 Then
|
||||||
|
Var OreoDueEnable = 1
|
||||||
|
EndIf
|
||||||
|
If SystemDateDayInt = 28 Then
|
||||||
|
Var OreoDueEnable = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If SystemDateMonthInt = 5 Then
|
||||||
|
If SystemDateDayInt > 7 Then
|
||||||
|
If SystemDateDayInt < 13 Then
|
||||||
|
Var OreoForFreeEnable = 1
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If OreoDueEnable = 0 Then
|
||||||
|
Var $12-03-03-0009-alter.Button = "Invisible"
|
||||||
|
Else
|
||||||
|
Var $12-03-03-0009-alter.Button = "Enable"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If BoxID = 172644 Then
|
||||||
|
Var OreoDueEnable = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If BoxID = 172527 Then
|
||||||
|
Var OreoDueEnable = 1
|
||||||
|
EndIf
|
||||||
|
If BoxID = 173149 Then
|
||||||
|
Var OreoForFreeEnable = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var SoundBackToSchoolEnable = 1
|
||||||
|
|
||||||
|
|
||||||
|
DEBUGVAR OreoDueEnable
|
||||||
|
DEBUGVAR OreoForFreeEnable
|
||||||
|
|
||||||
|
;Var $12-03-03-0009-alter.Price = 70
|
||||||
|
;Var $12-03-03-0009-alter.NameE = $12-03-03-0009.NameE
|
||||||
|
;Var $12-03-03-0009-alter.descriptionE = $12-03-03-0009.descriptionE
|
||||||
|
;Var $12-03-03-0009-alter.Name = $12-03-03-0009.Name
|
||||||
|
;Var $12-03-03-0009-alter.description = $12-03-03-0009.description
|
||||||
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
|
|
||||||
|
|
@ -79,26 +79,28 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If CupOnArm = "true" Then
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "done" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If buttonRemoveCup = "Enable" Then
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
;<Image>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
|
||||||
;</Image>
|
|
||||||
|
|
||||||
;<Video>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Width> 1080</Width>
|
|
||||||
;<Height> 380 </Height>
|
|
||||||
;<Loop> "true" </Loop>
|
|
||||||
;<Filename> video_menu_1 </Filename>
|
|
||||||
;</Video>
|
|
||||||
|
|
||||||
; under line
|
; under line
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
|
|
@ -180,12 +182,8 @@
|
||||||
SAVELOG "Click rec"
|
SAVELOG "Click rec"
|
||||||
Var NextPage = "-"
|
Var NextPage = "-"
|
||||||
|
|
||||||
; zone promote
|
|
||||||
If SongkranEnable = 1 Then
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -211,14 +211,14 @@
|
||||||
|
|
||||||
out_xml( '\t\tIf PD_STAGE_2 = "Enable" Then\r\n')
|
out_xml( '\t\tIf PD_STAGE_2 = "Enable" Then\r\n')
|
||||||
#out_xml( '\t\t\tVar PD_STAGE_2 = "Enable"\r\n')
|
#out_xml( '\t\t\tVar PD_STAGE_2 = "Enable"\r\n')
|
||||||
out_xml( '\t\t\tTopping "Load" "'+ spl[5] +'"\r\n')
|
out_xml( '\t\t\tTopping "Load" "'+ spl[5].replace("-alter", "") +'"\r\n')
|
||||||
out_xml( '\t\tElse\r\n')
|
out_xml( '\t\tElse\r\n')
|
||||||
out_xml( '\t\t\tIf PD_STAGE_1 = "Enable" Then\r\n')
|
out_xml( '\t\t\tIf PD_STAGE_1 = "Enable" Then\r\n')
|
||||||
#out_xml( '\t\t\t\tVar PD_STAGE_1 = "Enable"\r\n')
|
#out_xml( '\t\t\t\tVar PD_STAGE_1 = "Enable"\r\n')
|
||||||
out_xml( '\t\t\tTopping "Load" "'+ spl[4] +'"\r\n')
|
out_xml( '\t\t\tTopping "Load" "'+ spl[4].replace("-alter", "") +'"\r\n')
|
||||||
out_xml( '\t\t\tElse\r\n')
|
out_xml( '\t\t\tElse\r\n')
|
||||||
#out_xml( '\t\t\t\tVar PD_STAGE_3 = "Enable"\r\n')
|
#out_xml( '\t\t\t\tVar PD_STAGE_3 = "Enable"\r\n')
|
||||||
out_xml( '\t\t\tTopping "Load" "'+ spl[6] +'"\r\n')
|
out_xml( '\t\t\tTopping "Load" "'+ spl[6].replace("-alter", "") +'"\r\n')
|
||||||
out_xml( '\t\t\tEndIf\r\n')
|
out_xml( '\t\t\tEndIf\r\n')
|
||||||
out_xml( '\t\tEndIf\r\n')
|
out_xml( '\t\tEndIf\r\n')
|
||||||
|
|
||||||
|
|
@ -251,10 +251,7 @@
|
||||||
|
|
||||||
out_xml( '\t\t\r\n')
|
out_xml( '\t\t\r\n')
|
||||||
out_xml( '\t\t\r\n')
|
out_xml( '\t\t\r\n')
|
||||||
if "inter" in param:
|
out_xml( '\t\tOpen "ROOT/taobin_project/xml/page_topping_select5.xml"\r\n')
|
||||||
out_xml( '\t\tOpen "ROOT/taobin_project/xml/page_topping_select5.xml"\r\n')
|
|
||||||
else:
|
|
||||||
out_xml( '\t\tOpen "ROOT/taobin_project/xml/page_topping_select4.xml"\r\n')
|
|
||||||
out_xml( '\t\t\r\n')
|
out_xml( '\t\t\r\n')
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -679,6 +679,15 @@
|
||||||
Var SongkranEnable = 1
|
Var SongkranEnable = 1
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If SystemDateMonthInt = 5 Then
|
||||||
|
If SystemDateDayInt = 1 Then
|
||||||
|
Var SongkranEnable = 1
|
||||||
|
EndIf
|
||||||
|
If SystemDateDayInt = 2 Then
|
||||||
|
Var SongkranEnable = 1
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
If SongkranEnable = 1 Then
|
If SongkranEnable = 1 Then
|
||||||
|
|
||||||
|
|
@ -700,10 +709,18 @@
|
||||||
If BoxID = 200434 Then
|
If BoxID = 200434 Then
|
||||||
Var SongkranEnable = 0
|
Var SongkranEnable = 0
|
||||||
EndIf
|
EndIf
|
||||||
|
If BoxID = 172644 Then
|
||||||
|
Var SongkranEnable = 0
|
||||||
|
EndIf
|
||||||
If BoxID = 172102 Then
|
If BoxID = 172102 Then
|
||||||
Var SongkranEnable = 0
|
Var SongkranEnable = 0
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/tricker.ev"
|
||||||
|
|
||||||
|
If BoxID = 200001 Then
|
||||||
|
Var OreoDueEnable = 0
|
||||||
|
EndIf
|
||||||
|
|
||||||
DEBUGVAR SoundThaiIndex
|
DEBUGVAR SoundThaiIndex
|
||||||
|
|
||||||
|
|
@ -727,6 +744,19 @@
|
||||||
DEBUGVAR Not#CameraSettingStatus
|
DEBUGVAR Not#CameraSettingStatus
|
||||||
|
|
||||||
RootLayoutVisible 3 "hide"
|
RootLayoutVisible 3 "hide"
|
||||||
|
|
||||||
|
; Init default
|
||||||
|
If SoundBackToSchoolType = "" Then
|
||||||
|
Var SoundBackToSchoolType = 1
|
||||||
|
EndIf
|
||||||
|
If SoundBackToSchoolType = 1 Then
|
||||||
|
Var SoundBackToSchoolType = 2
|
||||||
|
Else
|
||||||
|
Var SoundBackToSchoolType = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
||||||
<EventUnitTest1>
|
<EventUnitTest1>
|
||||||
|
|
@ -844,12 +874,10 @@
|
||||||
|
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
|
|
||||||
If SongkranEnable = 1 Then
|
Var OpenFromPageBoard = 1
|
||||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_group_recommend3.xml"
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||||
Else
|
|
||||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
Machine DoorClose
|
Machine DoorClose
|
||||||
|
|
||||||
|
|
@ -884,9 +912,18 @@
|
||||||
;Var CupOnArm = "true"
|
;Var CupOnArm = "true"
|
||||||
|
|
||||||
If CupOnArm = "true" Then
|
If CupOnArm = "true" Then
|
||||||
Var buttonRemoveCup = "Enable"
|
|
||||||
|
If CheckCupStateDoorCupClose = "" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "done" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
Else
|
Else
|
||||||
Var buttonRemoveCup = "Invisible"
|
If buttonRemoveCup = "Enable" Then
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -924,6 +961,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Refresh
|
Refresh
|
||||||
|
|
||||||
TimerReset
|
TimerReset
|
||||||
|
|
@ -1136,6 +1174,9 @@
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Machine RemoveCup
|
Machine RemoveCup
|
||||||
Machine DoorLidOpen
|
Machine DoorLidOpen
|
||||||
|
|
||||||
|
Var CheckCupStateDoorCupClose = "reset"
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -69,14 +69,16 @@
|
||||||
Else
|
Else
|
||||||
Var PlaySoundLag = "ROOT/taobin_project/sound_thai/thankyou.mp3"
|
Var PlaySoundLag = "ROOT/taobin_project/sound_thai/thankyou.mp3"
|
||||||
|
|
||||||
If SoundThaiIndex = 1 Then
|
; Play Sound #zone
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/north/thankyou.wav"
|
If SoundBackToSchoolEnable = 1 Then
|
||||||
EndIf
|
|
||||||
If SoundThaiIndex = 2 Then
|
If SoundBackToSchoolType = 1 Then
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/northeast/thankyou.wav"
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/boy/"
|
||||||
EndIf
|
EndIf
|
||||||
If SoundThaiIndex = 3 Then
|
If SoundBackToSchoolType = 2 Then
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/south/thankyou.wav"
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/girl/"
|
||||||
|
EndIf
|
||||||
|
Var PlaySoundLag = RootPathSoundBackToSchool + "thankyou.wav"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Play PlaySoundLag
|
Play PlaySoundLag
|
||||||
|
|
@ -562,14 +564,17 @@
|
||||||
Else
|
Else
|
||||||
|
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/next_drink.mp3"
|
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/next_drink.mp3"
|
||||||
If SoundThaiIndex = 1 Then
|
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/north/next_drink.wav"
|
; Play Sound #zone
|
||||||
EndIf
|
If SoundBackToSchoolEnable = 1 Then
|
||||||
If SoundThaiIndex = 2 Then
|
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/northeast/next_drink.wav"
|
If SoundBackToSchoolType = 1 Then
|
||||||
EndIf
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/boy/"
|
||||||
If SoundThaiIndex = 3 Then
|
EndIf
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/south/next_drink.wav"
|
If SoundBackToSchoolType = 2 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/girl/"
|
||||||
|
EndIf
|
||||||
|
Var PlaySoundLag = RootPathSoundBackToSchool + "next_drink.wav"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
PlayLong PlaySoundLag
|
PlayLong PlaySoundLag
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,8 @@
|
||||||
|
|
||||||
|
|
||||||
Var text_price_6 = ""
|
Var text_price_6 = ""
|
||||||
|
|
||||||
|
; zone sound
|
||||||
|
|
||||||
; Clear value
|
; Clear value
|
||||||
Topping "clear" "-"
|
Topping "clear" "-"
|
||||||
|
|
@ -67,14 +68,16 @@
|
||||||
|
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/taobin_sawade.mp3"
|
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/taobin_sawade.mp3"
|
||||||
|
|
||||||
If SoundThaiIndex = 1 Then
|
; Play Sound #zone
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/north/taobin_sawade.wav"
|
If SoundBackToSchoolEnable = 1 Then
|
||||||
EndIf
|
|
||||||
If SoundThaiIndex = 2 Then
|
If SoundBackToSchoolType = 1 Then
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/northeast/taobin_sawade.wav"
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/boy/"
|
||||||
EndIf
|
EndIf
|
||||||
If SoundThaiIndex = 3 Then
|
If SoundBackToSchoolType = 2 Then
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/south/taobin_sawade.wav"
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/girl/"
|
||||||
|
EndIf
|
||||||
|
Var PlaySoundLag = RootPathSoundBackToSchool + "taobin_sawade.wav"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Play PlaySoundLag
|
Play PlaySoundLag
|
||||||
|
|
@ -204,6 +207,8 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/tricker.ev"
|
||||||
|
|
||||||
|
|
||||||
Var Price5Active = 0
|
Var Price5Active = 0
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
@ -237,7 +242,21 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If CupOnArm = "true" Then
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "done" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If buttonRemoveCup = "Enable" Then
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Refresh
|
Refresh
|
||||||
TimerReset
|
TimerReset
|
||||||
|
|
@ -349,12 +368,8 @@
|
||||||
|
|
||||||
|
|
||||||
; zone promote
|
; zone promote
|
||||||
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||||
If SongkranEnable = 1 Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
@ -581,7 +596,11 @@
|
||||||
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
|
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Machine RemoveCup
|
Machine RemoveCup
|
||||||
Machine DoorLidOpen
|
Machine DoorLidOpen
|
||||||
|
|
||||||
|
Var CheckCupStateDoorCupClose = "reset"
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
@ -633,5 +652,12 @@
|
||||||
Var SongkranEnable = 1
|
Var SongkranEnable = 1
|
||||||
</EventUnitTest2>
|
</EventUnitTest2>
|
||||||
|
|
||||||
|
<EventUnitTest3>
|
||||||
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/event/page_recommend_backToSchool.xml"
|
||||||
|
</EventUnitTest3>
|
||||||
|
<EventUnitTest4>
|
||||||
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/event/page_recommend_oreo_buy2_save_more.xml"
|
||||||
|
</EventUnitTest4>
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
|
||||||
|
|
@ -227,26 +227,28 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If CupOnArm = "true" Then
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "done" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If buttonRemoveCup = "Enable" Then
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
;<Image>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
|
||||||
;</Image>
|
|
||||||
|
|
||||||
;<Video>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Width> 1080</Width>
|
|
||||||
;<Height> 380 </Height>
|
|
||||||
;<Loop> "true" </Loop>
|
|
||||||
;<Filename> video_menu_1 </Filename>
|
|
||||||
;</Video>
|
|
||||||
|
|
||||||
; under line
|
; under line
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
|
|
@ -328,12 +330,8 @@
|
||||||
SAVELOG "Click rec"
|
SAVELOG "Click rec"
|
||||||
Var NextPage = "-"
|
Var NextPage = "-"
|
||||||
|
|
||||||
; zone promote
|
|
||||||
If SongkranEnable = 1 Then
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -219,26 +219,28 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If CupOnArm = "true" Then
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "done" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If buttonRemoveCup = "Enable" Then
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
;<Image>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
|
||||||
;</Image>
|
|
||||||
|
|
||||||
;<Video>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Width> 1080</Width>
|
|
||||||
;<Height> 380 </Height>
|
|
||||||
;<Loop> "true" </Loop>
|
|
||||||
;<Filename> video_menu_1 </Filename>
|
|
||||||
;</Video>
|
|
||||||
|
|
||||||
; under line
|
; under line
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
|
|
@ -320,12 +322,8 @@
|
||||||
SAVELOG "Click rec"
|
SAVELOG "Click rec"
|
||||||
Var NextPage = "-"
|
Var NextPage = "-"
|
||||||
|
|
||||||
; zone promote
|
|
||||||
If SongkranEnable = 1 Then
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -219,26 +219,28 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If CupOnArm = "true" Then
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "done" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If buttonRemoveCup = "Enable" Then
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
;<Image>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
|
||||||
;</Image>
|
|
||||||
|
|
||||||
;<Video>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Width> 1080</Width>
|
|
||||||
;<Height> 380 </Height>
|
|
||||||
;<Loop> "true" </Loop>
|
|
||||||
;<Filename> video_menu_1 </Filename>
|
|
||||||
;</Video>
|
|
||||||
|
|
||||||
; under line
|
; under line
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
|
|
@ -320,12 +322,8 @@
|
||||||
SAVELOG "Click rec"
|
SAVELOG "Click rec"
|
||||||
Var NextPage = "-"
|
Var NextPage = "-"
|
||||||
|
|
||||||
; zone promote
|
|
||||||
If SongkranEnable = 1 Then
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -228,26 +228,28 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If CupOnArm = "true" Then
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "done" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If buttonRemoveCup = "Enable" Then
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
;<Image>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
|
||||||
;</Image>
|
|
||||||
|
|
||||||
;<Video>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Width> 1080</Width>
|
|
||||||
;<Height> 380 </Height>
|
|
||||||
;<Loop> "true" </Loop>
|
|
||||||
;<Filename> video_menu_1 </Filename>
|
|
||||||
;</Video>
|
|
||||||
|
|
||||||
; under line
|
; under line
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
|
|
@ -329,12 +331,8 @@
|
||||||
SAVELOG "Click rec"
|
SAVELOG "Click rec"
|
||||||
Var NextPage = "-"
|
Var NextPage = "-"
|
||||||
|
|
||||||
; zone promote
|
|
||||||
If SongkranEnable = 1 Then
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -219,26 +219,28 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If CupOnArm = "true" Then
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "done" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If buttonRemoveCup = "Enable" Then
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
;<Image>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
|
||||||
;</Image>
|
|
||||||
|
|
||||||
;<Video>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Width> 1080</Width>
|
|
||||||
;<Height> 380 </Height>
|
|
||||||
;<Loop> "true" </Loop>
|
|
||||||
;<Filename> video_menu_1 </Filename>
|
|
||||||
;</Video>
|
|
||||||
|
|
||||||
; under line
|
; under line
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
|
|
@ -320,12 +322,8 @@
|
||||||
SAVELOG "Click rec"
|
SAVELOG "Click rec"
|
||||||
Var NextPage = "-"
|
Var NextPage = "-"
|
||||||
|
|
||||||
; zone promote
|
|
||||||
If SongkranEnable = 1 Then
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -43,5 +43,7 @@
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
<?hurr
|
||||||
|
#include=./event/dummy_layout_promotion.py
|
||||||
|
?>
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
|
||||||
|
|
@ -217,26 +217,28 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If CupOnArm = "true" Then
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "done" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If buttonRemoveCup = "Enable" Then
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
;<Image>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
|
||||||
;</Image>
|
|
||||||
|
|
||||||
;<Video>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Width> 1080</Width>
|
|
||||||
;<Height> 380 </Height>
|
|
||||||
;<Loop> "true" </Loop>
|
|
||||||
;<Filename> video_menu_1 </Filename>
|
|
||||||
;</Video>
|
|
||||||
|
|
||||||
; under line
|
; under line
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
|
|
@ -318,12 +320,8 @@
|
||||||
SAVELOG "Click rec"
|
SAVELOG "Click rec"
|
||||||
Var NextPage = "-"
|
Var NextPage = "-"
|
||||||
|
|
||||||
; zone promote
|
|
||||||
If SongkranEnable = 1 Then
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
@ -3287,15 +3285,15 @@ VOLCANO" </Value>
|
||||||
</Block>
|
</Block>
|
||||||
; - - -
|
; - - -
|
||||||
; ==================> Len = 16
|
; ==================> Len = 16
|
||||||
; - - 12-03-03-0009
|
; - - 12-03-03-0032
|
||||||
<Block>
|
<Block>
|
||||||
<MarginLeft> 33 </MarginLeft>
|
<MarginLeft> 33 </MarginLeft>
|
||||||
<MarginTop> 22 </MarginTop>
|
<MarginTop> 22 </MarginTop>
|
||||||
<Width> 225 </Width>
|
<Width> 225 </Width>
|
||||||
<Height> 296 </Height>
|
<Height> 296 </Height>
|
||||||
<State> Flag( 12-03-03-0009.Button,$Sum1203030009) </State>
|
<State> Flag( 12-03-03-0032.Button,$Sum1203030032) </State>
|
||||||
<Button>
|
<Button>
|
||||||
<State> $Sum1203030009 </State>
|
<State> $Sum1203030032 </State>
|
||||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano.png" </Filename>
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano.png" </Filename>
|
||||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_super_oreo_volcano.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_super_oreo_volcano.png" </FilenamePress>
|
||||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_super_oreo_volcano.png" </FilenameDisable>
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_super_oreo_volcano.png" </FilenameDisable>
|
||||||
|
|
@ -3310,13 +3308,13 @@ VOLCANO" </Value>
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
Var PriceD1 = $-.Price
|
Var PriceD1 = $-.Price
|
||||||
Var PriceD2 = $-.Price
|
Var PriceD2 = $-.Price
|
||||||
Var PriceD3 = $12-03-03-0009.Price
|
Var PriceD3 = $12-03-03-0032.Price
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
Var PD_CODE1 = "##-##-##-####"
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
Var PD_CODE2 = "##-##-##-####"
|
||||||
Var PD_CODE3 = "12-03-03-0009"
|
Var PD_CODE3 = "12-03-03-0032"
|
||||||
Var PD_STAGE_1 = "Disable2"
|
Var PD_STAGE_1 = "Disable2"
|
||||||
Var PD_STAGE_2 = "Disable2"
|
Var PD_STAGE_2 = "Disable2"
|
||||||
Var PD_STAGE_3 = $12-03-03-0009.Button
|
Var PD_STAGE_3 = $12-03-03-0032.Button
|
||||||
Var SelectCountDrinkType = 0
|
Var SelectCountDrinkType = 0
|
||||||
Var DefaultDrinkType = 0
|
Var DefaultDrinkType = 0
|
||||||
If PD_STAGE_1 = "Enable" Then
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
|
@ -3337,7 +3335,7 @@ VOLCANO" </Value>
|
||||||
If PD_STAGE_1 = "Enable" Then
|
If PD_STAGE_1 = "Enable" Then
|
||||||
Topping "Load" "-"
|
Topping "Load" "-"
|
||||||
Else
|
Else
|
||||||
Topping "Load" "12-03-03-0009"
|
Topping "Load" "12-03-03-0032"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||||
|
|
@ -3350,10 +3348,10 @@ VOLCANO" </Value>
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-03-03-0009.NameE
|
Var menu_name_eng_blender = $12-03-03-0032.NameE
|
||||||
Var menu_desc_eng_blender = $12-03-03-0009.descriptionE
|
Var menu_desc_eng_blender = $12-03-03-0032.descriptionE
|
||||||
Var menu_name_thai_blender = $12-03-03-0009.Name
|
Var menu_name_thai_blender = $12-03-03-0032.Name
|
||||||
Var menu_desc_thai_blender = $12-03-03-0009.description
|
Var menu_desc_thai_blender = $12-03-03-0032.description
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
DEBUGVAR PD_STAGE_1
|
||||||
DEBUGVAR PD_STAGE_2
|
DEBUGVAR PD_STAGE_2
|
||||||
|
|
@ -3455,7 +3453,7 @@ VOLCANO" </Value>
|
||||||
<Y> 264 </Y>
|
<Y> 264 </Y>
|
||||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||||
<State> $12-03-03-0009.Button </State>
|
<State> $12-03-03-0032.Button </State>
|
||||||
</Image>
|
</Image>
|
||||||
<Text>
|
<Text>
|
||||||
<X> 180 </X>
|
<X> 180 </X>
|
||||||
|
|
@ -3465,8 +3463,8 @@ VOLCANO" </Value>
|
||||||
<Font> KanitRegularTTF </Font>
|
<Font> KanitRegularTTF </Font>
|
||||||
<Color> 0x6F5F51 </Color>
|
<Color> 0x6F5F51 </Color>
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
<State> $12-03-03-0009.Button </State>
|
<State> $12-03-03-0032.Button </State>
|
||||||
<Value> StringFmt( $12-03-03-0009.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
<Value> StringFmt( $12-03-03-0032.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
</Text>
|
</Text>
|
||||||
<Image>
|
<Image>
|
||||||
<X> 81 </X>
|
<X> 81 </X>
|
||||||
|
|
@ -3491,10 +3489,10 @@ VOLCANO" </Value>
|
||||||
<Y> 117 </Y>
|
<Y> 117 </Y>
|
||||||
<State>
|
<State>
|
||||||
eval(
|
eval(
|
||||||
If $Sum1203030009 = "Disable" Then
|
If $Sum1203030032 = "Disable" Then
|
||||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||||
STRCONTAIN "ERR" $12-03-03-0009.TAG tag3_is_disable
|
STRCONTAIN "ERR" $12-03-03-0032.TAG tag3_is_disable
|
||||||
Var return = "Invisible"
|
Var return = "Invisible"
|
||||||
If tag1_is_disable = "true" Then
|
If tag1_is_disable = "true" Then
|
||||||
Var return = "Enable"
|
Var return = "Enable"
|
||||||
|
|
@ -3530,7 +3528,7 @@ VOLCANO" </Value>
|
||||||
<Font> MITRegularTTF </Font>
|
<Font> MITRegularTTF </Font>
|
||||||
<Color> 0x5A5A5A </Color>
|
<Color> 0x5A5A5A </Color>
|
||||||
<Mode> "disable-show" </Mode>
|
<Mode> "disable-show" </Mode>
|
||||||
<State> $Sum1203030009 </State>
|
<State> $Sum1203030032 </State>
|
||||||
<Value> text_unavailable </Value>
|
<Value> text_unavailable </Value>
|
||||||
<Align> center-vertical-horizontal </Align>
|
<Align> center-vertical-horizontal </Align>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
|
||||||
|
|
@ -215,26 +215,28 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If CupOnArm = "true" Then
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "done" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If buttonRemoveCup = "Enable" Then
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
;<Image>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
|
||||||
;</Image>
|
|
||||||
|
|
||||||
;<Video>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Width> 1080</Width>
|
|
||||||
;<Height> 380 </Height>
|
|
||||||
;<Loop> "true" </Loop>
|
|
||||||
;<Filename> video_menu_1 </Filename>
|
|
||||||
;</Video>
|
|
||||||
|
|
||||||
; under line
|
; under line
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
|
|
@ -316,12 +318,8 @@
|
||||||
SAVELOG "Click rec"
|
SAVELOG "Click rec"
|
||||||
Var NextPage = "-"
|
Var NextPage = "-"
|
||||||
|
|
||||||
; zone promote
|
|
||||||
If SongkranEnable = 1 Then
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -218,26 +218,28 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If CupOnArm = "true" Then
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "done" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If buttonRemoveCup = "Enable" Then
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
;<Image>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
|
||||||
;</Image>
|
|
||||||
|
|
||||||
;<Video>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Width> 1080</Width>
|
|
||||||
;<Height> 380 </Height>
|
|
||||||
;<Loop> "true" </Loop>
|
|
||||||
;<Filename> video_menu_1 </Filename>
|
|
||||||
;</Video>
|
|
||||||
|
|
||||||
; under line
|
; under line
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
|
|
@ -319,12 +321,8 @@
|
||||||
SAVELOG "Click rec"
|
SAVELOG "Click rec"
|
||||||
Var NextPage = "-"
|
Var NextPage = "-"
|
||||||
|
|
||||||
; zone promote
|
|
||||||
If SongkranEnable = 1 Then
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -70,6 +70,7 @@
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Machine RemoveCup
|
Machine RemoveCup
|
||||||
Machine DoorLidOpen
|
Machine DoorLidOpen
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -236,26 +236,28 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If CupOnArm = "true" Then
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "done" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If buttonRemoveCup = "Enable" Then
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
;<Image>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
|
||||||
;</Image>
|
|
||||||
|
|
||||||
;<Video>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Width> 1080</Width>
|
|
||||||
;<Height> 380 </Height>
|
|
||||||
;<Loop> "true" </Loop>
|
|
||||||
;<Filename> video_menu_1 </Filename>
|
|
||||||
;</Video>
|
|
||||||
|
|
||||||
; under line
|
; under line
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
|
|
@ -337,12 +339,8 @@
|
||||||
SAVELOG "Click rec"
|
SAVELOG "Click rec"
|
||||||
Var NextPage = "-"
|
Var NextPage = "-"
|
||||||
|
|
||||||
; zone promote
|
|
||||||
If SongkranEnable = 1 Then
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
@ -579,15 +577,15 @@
|
||||||
; menu_new_list 30
|
; menu_new_list 30
|
||||||
;TAGESP
|
;TAGESP
|
||||||
; ==================> Len = 16
|
; ==================> Len = 16
|
||||||
; - - 12-03-03-0009
|
; - - 12-03-03-0032
|
||||||
<Block>
|
<Block>
|
||||||
<MarginLeft> 33 </MarginLeft>
|
<MarginLeft> 33 </MarginLeft>
|
||||||
<MarginTop> 22 </MarginTop>
|
<MarginTop> 22 </MarginTop>
|
||||||
<Width> 225 </Width>
|
<Width> 225 </Width>
|
||||||
<Height> 296 </Height>
|
<Height> 296 </Height>
|
||||||
<State> Flag( 12-03-03-0009.Button,Disable=Invisible,$Sum1203030009) </State>
|
<State> Flag( 12-03-03-0032.Button,Disable=Invisible,$Sum1203030032) </State>
|
||||||
<Button>
|
<Button>
|
||||||
<State> $Sum1203030009 </State>
|
<State> $Sum1203030032 </State>
|
||||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano.png" </Filename>
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano.png" </Filename>
|
||||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_super_oreo_volcano.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_super_oreo_volcano.png" </FilenamePress>
|
||||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_super_oreo_volcano.png" </FilenameDisable>
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_super_oreo_volcano.png" </FilenameDisable>
|
||||||
|
|
@ -602,13 +600,13 @@
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
Var PriceD1 = $-.Price
|
Var PriceD1 = $-.Price
|
||||||
Var PriceD2 = $-.Price
|
Var PriceD2 = $-.Price
|
||||||
Var PriceD3 = $12-03-03-0009.Price
|
Var PriceD3 = $12-03-03-0032.Price
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
Var PD_CODE1 = "##-##-##-####"
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
Var PD_CODE2 = "##-##-##-####"
|
||||||
Var PD_CODE3 = "12-03-03-0009"
|
Var PD_CODE3 = "12-03-03-0032"
|
||||||
Var PD_STAGE_1 = "Disable2"
|
Var PD_STAGE_1 = "Disable2"
|
||||||
Var PD_STAGE_2 = "Disable2"
|
Var PD_STAGE_2 = "Disable2"
|
||||||
Var PD_STAGE_3 = $12-03-03-0009.Button
|
Var PD_STAGE_3 = $12-03-03-0032.Button
|
||||||
Var SelectCountDrinkType = 0
|
Var SelectCountDrinkType = 0
|
||||||
Var DefaultDrinkType = 0
|
Var DefaultDrinkType = 0
|
||||||
If PD_STAGE_1 = "Enable" Then
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
|
@ -629,7 +627,7 @@
|
||||||
If PD_STAGE_1 = "Enable" Then
|
If PD_STAGE_1 = "Enable" Then
|
||||||
Topping "Load" "-"
|
Topping "Load" "-"
|
||||||
Else
|
Else
|
||||||
Topping "Load" "12-03-03-0009"
|
Topping "Load" "12-03-03-0032"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||||
|
|
@ -642,10 +640,10 @@
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-03-03-0009.NameE
|
Var menu_name_eng_blender = $12-03-03-0032.NameE
|
||||||
Var menu_desc_eng_blender = $12-03-03-0009.descriptionE
|
Var menu_desc_eng_blender = $12-03-03-0032.descriptionE
|
||||||
Var menu_name_thai_blender = $12-03-03-0009.Name
|
Var menu_name_thai_blender = $12-03-03-0032.Name
|
||||||
Var menu_desc_thai_blender = $12-03-03-0009.description
|
Var menu_desc_thai_blender = $12-03-03-0032.description
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
DEBUGVAR PD_STAGE_1
|
||||||
DEBUGVAR PD_STAGE_2
|
DEBUGVAR PD_STAGE_2
|
||||||
|
|
@ -747,7 +745,7 @@ VOLCANO" </Value>
|
||||||
<Y> 264 </Y>
|
<Y> 264 </Y>
|
||||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||||
<State> $12-03-03-0009.Button </State>
|
<State> $12-03-03-0032.Button </State>
|
||||||
</Image>
|
</Image>
|
||||||
<Text>
|
<Text>
|
||||||
<X> 180 </X>
|
<X> 180 </X>
|
||||||
|
|
@ -757,8 +755,8 @@ VOLCANO" </Value>
|
||||||
<Font> KanitRegularTTF </Font>
|
<Font> KanitRegularTTF </Font>
|
||||||
<Color> 0x6F5F51 </Color>
|
<Color> 0x6F5F51 </Color>
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
<State> $12-03-03-0009.Button </State>
|
<State> $12-03-03-0032.Button </State>
|
||||||
<Value> StringFmt( $12-03-03-0009.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
<Value> StringFmt( $12-03-03-0032.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
</Text>
|
</Text>
|
||||||
<Image>
|
<Image>
|
||||||
<X> 81 </X>
|
<X> 81 </X>
|
||||||
|
|
@ -783,10 +781,10 @@ VOLCANO" </Value>
|
||||||
<Y> 117 </Y>
|
<Y> 117 </Y>
|
||||||
<State>
|
<State>
|
||||||
eval(
|
eval(
|
||||||
If $Sum1203030009 = "Disable" Then
|
If $Sum1203030032 = "Disable" Then
|
||||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||||
STRCONTAIN "ERR" $12-03-03-0009.TAG tag3_is_disable
|
STRCONTAIN "ERR" $12-03-03-0032.TAG tag3_is_disable
|
||||||
Var return = "Invisible"
|
Var return = "Invisible"
|
||||||
If tag1_is_disable = "true" Then
|
If tag1_is_disable = "true" Then
|
||||||
Var return = "Enable"
|
Var return = "Enable"
|
||||||
|
|
@ -822,7 +820,7 @@ VOLCANO" </Value>
|
||||||
<Font> MITRegularTTF </Font>
|
<Font> MITRegularTTF </Font>
|
||||||
<Color> 0x5A5A5A </Color>
|
<Color> 0x5A5A5A </Color>
|
||||||
<Mode> "disable-show" </Mode>
|
<Mode> "disable-show" </Mode>
|
||||||
<State> $Sum1203030009 </State>
|
<State> $Sum1203030032 </State>
|
||||||
<Value> text_unavailable </Value>
|
<Value> text_unavailable </Value>
|
||||||
<Align> center-vertical-horizontal </Align>
|
<Align> center-vertical-horizontal </Align>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
@ -7928,6 +7926,7 @@ LIMENADE SODA" </Value>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Machine RemoveCup
|
Machine RemoveCup
|
||||||
Machine DoorLidOpen
|
Machine DoorLidOpen
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -236,26 +236,28 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If CupOnArm = "true" Then
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "done" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If buttonRemoveCup = "Enable" Then
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
;<Image>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
|
||||||
;</Image>
|
|
||||||
|
|
||||||
;<Video>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Width> 1080</Width>
|
|
||||||
;<Height> 380 </Height>
|
|
||||||
;<Loop> "true" </Loop>
|
|
||||||
;<Filename> video_menu_1 </Filename>
|
|
||||||
;</Video>
|
|
||||||
|
|
||||||
; under line
|
; under line
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
|
|
@ -337,12 +339,8 @@
|
||||||
SAVELOG "Click rec"
|
SAVELOG "Click rec"
|
||||||
Var NextPage = "-"
|
Var NextPage = "-"
|
||||||
|
|
||||||
; zone promote
|
|
||||||
If SongkranEnable = 1 Then
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
@ -1070,7 +1068,7 @@
|
||||||
<MarginTop> 22 </MarginTop>
|
<MarginTop> 22 </MarginTop>
|
||||||
<Width> 225 </Width>
|
<Width> 225 </Width>
|
||||||
<Height> 296 </Height>
|
<Height> 296 </Height>
|
||||||
<State> Flag( 12-03-03-0032.Button,Disable=Invisible,$Sum1203030032) </State>
|
<State> Flag( 12-03-03-0032.Button, ,$Sum1203030032) </State>
|
||||||
<Button>
|
<Button>
|
||||||
<State> $Sum1203030032 </State>
|
<State> $Sum1203030032 </State>
|
||||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano.png" </Filename>
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano.png" </Filename>
|
||||||
|
|
@ -8908,6 +8906,7 @@ LIMENADE SODA" </Value>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Machine RemoveCup
|
Machine RemoveCup
|
||||||
Machine DoorLidOpen
|
Machine DoorLidOpen
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -215,26 +215,28 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If CupOnArm = "true" Then
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "done" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If buttonRemoveCup = "Enable" Then
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
;<Image>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
|
||||||
;</Image>
|
|
||||||
|
|
||||||
;<Video>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Width> 1080</Width>
|
|
||||||
;<Height> 380 </Height>
|
|
||||||
;<Loop> "true" </Loop>
|
|
||||||
;<Filename> video_menu_1 </Filename>
|
|
||||||
;</Video>
|
|
||||||
|
|
||||||
; under line
|
; under line
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
|
|
@ -316,12 +318,8 @@
|
||||||
SAVELOG "Click rec"
|
SAVELOG "Click rec"
|
||||||
Var NextPage = "-"
|
Var NextPage = "-"
|
||||||
|
|
||||||
; zone promote
|
|
||||||
If SongkranEnable = 1 Then
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -219,26 +219,28 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If CupOnArm = "true" Then
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "done" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If buttonRemoveCup = "Enable" Then
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
;<Image>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
|
||||||
;</Image>
|
|
||||||
|
|
||||||
;<Video>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Width> 1080</Width>
|
|
||||||
;<Height> 380 </Height>
|
|
||||||
;<Loop> "true" </Loop>
|
|
||||||
;<Filename> video_menu_1 </Filename>
|
|
||||||
;</Video>
|
|
||||||
|
|
||||||
; under line
|
; under line
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
|
|
@ -320,12 +322,8 @@
|
||||||
SAVELOG "Click rec"
|
SAVELOG "Click rec"
|
||||||
Var NextPage = "-"
|
Var NextPage = "-"
|
||||||
|
|
||||||
; zone promote
|
|
||||||
If SongkranEnable = 1 Then
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -224,26 +224,28 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If CupOnArm = "true" Then
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If CheckCupStateDoorCupClose = "done" Then
|
||||||
|
Var buttonRemoveCup = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If buttonRemoveCup = "Enable" Then
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
;<Image>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
|
||||||
;</Image>
|
|
||||||
|
|
||||||
;<Video>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Width> 1080</Width>
|
|
||||||
;<Height> 380 </Height>
|
|
||||||
;<Loop> "true" </Loop>
|
|
||||||
;<Filename> video_menu_1 </Filename>
|
|
||||||
;</Video>
|
|
||||||
|
|
||||||
; under line
|
; under line
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
|
|
@ -325,12 +327,8 @@
|
||||||
SAVELOG "Click rec"
|
SAVELOG "Click rec"
|
||||||
Var NextPage = "-"
|
Var NextPage = "-"
|
||||||
|
|
||||||
; zone promote
|
|
||||||
If SongkranEnable = 1 Then
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -476,15 +476,19 @@
|
||||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Straw.mp3"
|
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Straw.mp3"
|
||||||
Else
|
Else
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/drinkfinish.mp3"
|
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/drinkfinish.mp3"
|
||||||
If SoundThaiIndex = 1 Then
|
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/north/drinkfinish.wav"
|
; Play Sound #zone
|
||||||
EndIf
|
If SoundBackToSchoolEnable = 1 Then
|
||||||
If SoundThaiIndex = 2 Then
|
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/northeast/drinkfinish.wav"
|
If SoundBackToSchoolType = 1 Then
|
||||||
EndIf
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/boy/"
|
||||||
If SoundThaiIndex = 3 Then
|
EndIf
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/south/drinkfinish.wav"
|
If SoundBackToSchoolType = 2 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/girl/"
|
||||||
|
EndIf
|
||||||
|
Var PlaySoundLag = RootPathSoundBackToSchool + "drinkfinish.wav"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Play PlaySoundLag
|
Play PlaySoundLag
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
||||||
<EventActionOk>
|
<EventActionOk>
|
||||||
SAVELOG "EventActionOk"
|
SAVELOG "EventActionOk-facecompare"
|
||||||
Var FaceCompareStatus = "OK"
|
Var FaceCompareStatus = "OK"
|
||||||
Var AdultFlag = 0
|
Var AdultFlag = 0
|
||||||
|
|
||||||
|
|
@ -50,7 +50,7 @@
|
||||||
<EventActionError>
|
<EventActionError>
|
||||||
Var Price5Active = 0
|
Var Price5Active = 0
|
||||||
Var FaceCompareStatus = "Fail"
|
Var FaceCompareStatus = "Fail"
|
||||||
SAVELOG "EventActionError"
|
SAVELOG "EventActionError-facecompare"
|
||||||
Var load_gif_stage = "Invisible"
|
Var load_gif_stage = "Invisible"
|
||||||
Var Timeout = 10
|
Var Timeout = 10
|
||||||
Var IDcardTextState = "Enable"
|
Var IDcardTextState = "Enable"
|
||||||
|
|
|
||||||
|
|
@ -98,9 +98,6 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
If IDCardStatus = "OK" Then
|
If IDCardStatus = "OK" Then
|
||||||
If IDCardReady = "OK" Then
|
If IDCardReady = "OK" Then
|
||||||
If IDCardData = "ERROR" Then
|
If IDCardData = "ERROR" Then
|
||||||
|
|
@ -242,7 +239,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
If IDCardState = "PRESENT" Then
|
If IDCardState = "PRESENT" Then
|
||||||
If IDCardStatus = "ERROR" Then
|
If IDCardStatus = "ERROR" Then
|
||||||
Var load_gif_stage = "Invisible"
|
Var load_gif_stage = "Invisible"
|
||||||
|
|
@ -308,6 +305,7 @@
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
SAVELOG "Liveness Result - Cancel"
|
||||||
Open "ROOT/taobin_project/xml/page_catalog2.xml"
|
Open "ROOT/taobin_project/xml/page_catalog2.xml"
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
@ -404,7 +402,10 @@
|
||||||
<EventLivenessResult>
|
<EventLivenessResult>
|
||||||
DEBUGVAR LivenessResult
|
DEBUGVAR LivenessResult
|
||||||
If LivenessResult = "pass" Then
|
If LivenessResult = "pass" Then
|
||||||
SAVELOG "Liveness Result - pass"
|
|
||||||
|
Var strlog_liveness = "Liveness Result - pass " + FailTrickCount
|
||||||
|
|
||||||
|
SAVELOG strlog_liveness
|
||||||
Else
|
Else
|
||||||
Var FailTrickCount = FailTrickCount + 1
|
Var FailTrickCount = FailTrickCount + 1
|
||||||
Var strlog_liveness = "Liveness Result - fail " + FailTrickCount
|
Var strlog_liveness = "Liveness Result - fail " + FailTrickCount
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,8 @@
|
||||||
|
|
||||||
Var IndoQR = 0
|
Var IndoQR = 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Var GetPayInfoFlag = 0
|
Var GetPayInfoFlag = 0
|
||||||
Var SessionID2 = ""
|
Var SessionID2 = ""
|
||||||
Var testservice = "kbank"
|
Var testservice = "kbank"
|
||||||
|
|
@ -133,27 +135,24 @@
|
||||||
Else
|
Else
|
||||||
Var DirImage = "ROOT/taobin_project/image/page_payment"
|
Var DirImage = "ROOT/taobin_project/image/page_payment"
|
||||||
Var PlaySoundLag = "ROOT/taobin_project/sound_thai/payment.mp3"
|
Var PlaySoundLag = "ROOT/taobin_project/sound_thai/payment.mp3"
|
||||||
If SoundThaiIndex = 1 Then
|
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/north/payment.wav"
|
; Play Sound #zone
|
||||||
EndIf
|
If SoundBackToSchoolEnable = 1 Then
|
||||||
If SoundThaiIndex = 2 Then
|
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/northeast/payment.wav"
|
If SoundBackToSchoolType = 1 Then
|
||||||
EndIf
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/boy/"
|
||||||
If SoundThaiIndex = 3 Then
|
EndIf
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/south/payment.wav"
|
If SoundBackToSchoolType = 2 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/girl/"
|
||||||
|
EndIf
|
||||||
|
Var PlaySoundLag = RootPathSoundBackToSchool + "payment.wav"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Var PlaySoundCodeLang = "ROOT/sounds/Code8digit.m4a"
|
Var PlaySoundCodeLang = "ROOT/sounds/Code8digit.m4a"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Var PromotionIDCurrentOrder = 0
|
|
||||||
|
|
||||||
If PromotionOreoVolcanoEnable = 1 Then
|
|
||||||
If PD_CODE3 = "12-03-03-0009" Then
|
|
||||||
Var PromotionIDCurrentOrder = 2
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
DEBUGVAR PromotionIDCurrentOrder
|
|
||||||
|
|
||||||
SAVELOG MachineStage
|
SAVELOG MachineStage
|
||||||
|
|
||||||
|
|
@ -250,9 +249,13 @@
|
||||||
If UserSelectProductCode = "12-05-02-0056" Then
|
If UserSelectProductCode = "12-05-02-0056" Then
|
||||||
Var PromotionIDCurrentOrder = 3
|
Var PromotionIDCurrentOrder = 3
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If SystemDateMonthInt = 5 Then
|
||||||
|
Var PromotionIDCurrentOrder = 0
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
DEBUGVAR PromotionIDCurrentOrder
|
|
||||||
|
|
||||||
Var RemainAmountStr = ""
|
Var RemainAmountStr = ""
|
||||||
|
|
||||||
|
|
@ -292,9 +295,18 @@
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
; Oreo free
|
||||||
|
If PromotionIDOreoBuyTwoSaveMore = 1 Then
|
||||||
|
Var PromotionIDOreoBuyTwoSaveMore = 0
|
||||||
|
Var PromotionIDCurrentOrder = 2
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If PromotionIDCurrentOrder = 2 Then
|
||||||
|
SAVELOG "Promotion: Oreo Get 1 Free 1"
|
||||||
|
EndIf
|
||||||
|
DEBUGVAR PromotionIDCurrentOrder
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
<Timeout> 900 </Timeout>
|
<Timeout> 900 </Timeout>
|
||||||
|
|
|
||||||
|
|
@ -1004,7 +1004,23 @@
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_scan_to_pay_via_mobile.mp3"
|
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_scan_to_pay_via_mobile.mp3"
|
||||||
Else
|
Else
|
||||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Please_scan_to_pay_via_mobile.mp3"
|
|
||||||
|
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Please_scan_to_pay_via_mobile.mp3"
|
||||||
|
|
||||||
|
; Play Sound #zone
|
||||||
|
If SoundBackToSchoolEnable = 1 Then
|
||||||
|
|
||||||
|
If SoundBackToSchoolType = 1 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/boy/"
|
||||||
|
EndIf
|
||||||
|
If SoundBackToSchoolType = 2 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/girl/"
|
||||||
|
EndIf
|
||||||
|
Var PlaySoundLag = RootPathSoundBackToSchool + "Please_scan_to_pay_via_mobile.wav"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Play PlaySoundLag
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -1029,7 +1045,22 @@
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_scan_to_pay_via_e-wallet.mp3"
|
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_scan_to_pay_via_e-wallet.mp3"
|
||||||
Else
|
Else
|
||||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Please_scan_to_pay_via_e-wallet.mp3"
|
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Please_scan_to_pay_via_e-wallet.mp3"
|
||||||
|
|
||||||
|
; Play Sound #zone
|
||||||
|
If SoundBackToSchoolEnable = 1 Then
|
||||||
|
|
||||||
|
If SoundBackToSchoolType = 1 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/boy/"
|
||||||
|
EndIf
|
||||||
|
If SoundBackToSchoolType = 2 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/girl/"
|
||||||
|
EndIf
|
||||||
|
Var PlaySoundLag = RootPathSoundBackToSchool + "Please_scan_to_pay_via_e-wallet.wav"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Play PlaySoundLag
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -1057,7 +1088,21 @@
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_scan_to_pay_via_e-wallet.mp3"
|
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_scan_to_pay_via_e-wallet.mp3"
|
||||||
Else
|
Else
|
||||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Please_scan_to_pay_via_e-wallet.mp3"
|
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Please_scan_to_pay_via_e-wallet.mp3"
|
||||||
|
|
||||||
|
; Play Sound #zone
|
||||||
|
If SoundBackToSchoolEnable = 1 Then
|
||||||
|
|
||||||
|
If SoundBackToSchoolType = 1 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/boy/"
|
||||||
|
EndIf
|
||||||
|
If SoundBackToSchoolType = 2 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/girl/"
|
||||||
|
EndIf
|
||||||
|
Var PlaySoundLag = RootPathSoundBackToSchool + "Please_scan_to_pay_via_e-wallet.wav"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Play PlaySoundLag
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -1083,7 +1128,21 @@
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_scan_to_pay_via_e-wallet.mp3"
|
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_scan_to_pay_via_e-wallet.mp3"
|
||||||
Else
|
Else
|
||||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Please_scan_to_pay_via_e-wallet.mp3"
|
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Please_scan_to_pay_via_e-wallet.mp3"
|
||||||
|
|
||||||
|
; Play Sound #zone
|
||||||
|
If SoundBackToSchoolEnable = 1 Then
|
||||||
|
|
||||||
|
If SoundBackToSchoolType = 1 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/boy/"
|
||||||
|
EndIf
|
||||||
|
If SoundBackToSchoolType = 2 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/girl/"
|
||||||
|
EndIf
|
||||||
|
Var PlaySoundLag = RootPathSoundBackToSchool + "Please_scan_to_pay_via_e-wallet.wav"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Play PlaySoundLag
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -1109,7 +1168,21 @@
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_scan_to_pay_via_e-wallet.mp3"
|
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_scan_to_pay_via_e-wallet.mp3"
|
||||||
Else
|
Else
|
||||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Please_scan_to_pay_via_e-wallet.mp3"
|
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Please_scan_to_pay_via_e-wallet.mp3"
|
||||||
|
|
||||||
|
; Play Sound #zone
|
||||||
|
If SoundBackToSchoolEnable = 1 Then
|
||||||
|
|
||||||
|
If SoundBackToSchoolType = 1 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/boy/"
|
||||||
|
EndIf
|
||||||
|
If SoundBackToSchoolType = 2 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/girl/"
|
||||||
|
EndIf
|
||||||
|
Var PlaySoundLag = RootPathSoundBackToSchool + "Please_scan_to_pay_via_e-wallet.wav"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Play PlaySoundLag
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -1135,7 +1208,21 @@
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_scan_to_pay_via_e-wallet.mp3"
|
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_scan_to_pay_via_e-wallet.mp3"
|
||||||
Else
|
Else
|
||||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Please_scan_to_pay_via_e-wallet.mp3"
|
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Please_scan_to_pay_via_e-wallet.mp3"
|
||||||
|
|
||||||
|
; Play Sound #zone
|
||||||
|
If SoundBackToSchoolEnable = 1 Then
|
||||||
|
|
||||||
|
If SoundBackToSchoolType = 1 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/boy/"
|
||||||
|
EndIf
|
||||||
|
If SoundBackToSchoolType = 2 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/girl/"
|
||||||
|
EndIf
|
||||||
|
Var PlaySoundLag = RootPathSoundBackToSchool + "Please_scan_to_pay_via_e-wallet.wav"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Play PlaySoundLag
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -1166,7 +1253,21 @@
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_scan_to_pay_via_e-wallet.mp3"
|
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_scan_to_pay_via_e-wallet.mp3"
|
||||||
Else
|
Else
|
||||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Please_scan_to_pay_via_e-wallet.mp3"
|
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Please_scan_to_pay_via_e-wallet.mp3"
|
||||||
|
|
||||||
|
; Play Sound #zone
|
||||||
|
If SoundBackToSchoolEnable = 1 Then
|
||||||
|
|
||||||
|
If SoundBackToSchoolType = 1 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/boy/"
|
||||||
|
EndIf
|
||||||
|
If SoundBackToSchoolType = 2 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/girl/"
|
||||||
|
EndIf
|
||||||
|
Var PlaySoundLag = RootPathSoundBackToSchool + "Please_scan_to_pay_via_e-wallet.wav"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Play PlaySoundLag
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -1195,7 +1296,21 @@
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_scan_to_pay_via_e-wallet.mp3"
|
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_scan_to_pay_via_e-wallet.mp3"
|
||||||
Else
|
Else
|
||||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Please_scan_to_pay_via_e-wallet.mp3"
|
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Please_scan_to_pay_via_e-wallet.mp3"
|
||||||
|
|
||||||
|
; Play Sound #zone
|
||||||
|
If SoundBackToSchoolEnable = 1 Then
|
||||||
|
|
||||||
|
If SoundBackToSchoolType = 1 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/boy/"
|
||||||
|
EndIf
|
||||||
|
If SoundBackToSchoolType = 2 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/girl/"
|
||||||
|
EndIf
|
||||||
|
Var PlaySoundLag = RootPathSoundBackToSchool + "Please_scan_to_pay_via_e-wallet.wav"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Play PlaySoundLag
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -1224,7 +1339,21 @@
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_scan_to_pay_via_e-wallet.mp3"
|
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_scan_to_pay_via_e-wallet.mp3"
|
||||||
Else
|
Else
|
||||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Please_scan_to_pay_via_e-wallet.mp3"
|
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Please_scan_to_pay_via_e-wallet.mp3"
|
||||||
|
|
||||||
|
; Play Sound #zone
|
||||||
|
If SoundBackToSchoolEnable = 1 Then
|
||||||
|
|
||||||
|
If SoundBackToSchoolType = 1 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/boy/"
|
||||||
|
EndIf
|
||||||
|
If SoundBackToSchoolType = 2 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/girl/"
|
||||||
|
EndIf
|
||||||
|
Var PlaySoundLag = RootPathSoundBackToSchool + "Please_scan_to_pay_via_e-wallet.wav"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Play PlaySoundLag
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
|
||||||
|
|
@ -303,41 +303,24 @@
|
||||||
|
|
||||||
Var PromotionIDCurrentOrder = 0
|
Var PromotionIDCurrentOrder = 0
|
||||||
|
|
||||||
If PromotionOreoVolcanoEnable = 1 Then
|
|
||||||
If PD_CODE3 = "12-03-03-0009" Then
|
|
||||||
Var PromotionIDCurrentOrder = 2
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
|
|
||||||
If PromotionOreoToppingFreeEnable = 1 Then
|
|
||||||
|
|
||||||
|
|
||||||
Var oreo_topping_wed_free = "Enable"
|
|
||||||
Var oreo_topping_wed_topping = "Invisible"
|
|
||||||
Else
|
|
||||||
|
|
||||||
Var oreo_topping_wed_free = "Invisible"
|
|
||||||
Var oreo_topping_wed_topping = "Enable"
|
|
||||||
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If ShowPromoitonOreo = 1 Then
|
|
||||||
|
|
||||||
Else
|
|
||||||
Var oreo_topping_wed_free = "Invisible"
|
|
||||||
Var oreo_topping_wed_topping = "Invisible"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
DEBUGVAR PromotionIDCurrentOrder
|
DEBUGVAR PromotionIDCurrentOrder
|
||||||
|
|
||||||
Var DiscountWithIdentifyState = "Enable"
|
Var DiscountWithIdentifyState = "Enable"
|
||||||
|
|
||||||
|
|
||||||
|
;Var DiscountWithIdentifyState = "Invisible"
|
||||||
|
|
||||||
|
|
||||||
DEBUGVAR Price5Active
|
DEBUGVAR Price5Active
|
||||||
DEBUGVAR EnableLiveness
|
DEBUGVAR EnableLiveness
|
||||||
DEBUGVAR DiscountWithIdentifyState
|
DEBUGVAR DiscountWithIdentifyState
|
||||||
|
|
||||||
Var ChildrenFree = 0
|
Var ChildrenFree = 0
|
||||||
|
|
||||||
|
If BackToSchoolForFreeEnable = 1 Then
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
If EnableLiveness = "true" Then
|
If EnableLiveness = "true" Then
|
||||||
If CameraCount = 1 Then
|
If CameraCount = 1 Then
|
||||||
; echo -n true > /mnt/sdcard/enable_discount_price5
|
; echo -n true > /mnt/sdcard/enable_discount_price5
|
||||||
|
|
@ -350,10 +333,6 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If Price5Active = 1 Then
|
|
||||||
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
<Timeout> 1000 </Timeout>
|
<Timeout> 1000 </Timeout>
|
||||||
|
|
@ -492,16 +471,18 @@
|
||||||
Else
|
Else
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/select_level.mp3"
|
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/select_level.mp3"
|
||||||
|
|
||||||
If SoundThaiIndex = 1 Then
|
; Play Sound #zone
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/north/select_level.wav"
|
If SoundBackToSchoolEnable = 1 Then
|
||||||
|
|
||||||
|
If SoundBackToSchoolType = 1 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/boy/"
|
||||||
|
EndIf
|
||||||
|
If SoundBackToSchoolType = 2 Then
|
||||||
|
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/girl/"
|
||||||
|
EndIf
|
||||||
|
Var PlaySoundLag = RootPathSoundBackToSchool + "select_level.wav"
|
||||||
EndIf
|
EndIf
|
||||||
If SoundThaiIndex = 2 Then
|
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/northeast/select_level.wav"
|
|
||||||
EndIf
|
|
||||||
If SoundThaiIndex = 3 Then
|
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/south/select_level.wav"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
Play PlaySoundLag
|
Play PlaySoundLag
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -3253,6 +3234,8 @@
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Var SelectDrink = UserSelectProductCode
|
Var SelectDrink = UserSelectProductCode
|
||||||
; Set drink
|
; Set drink
|
||||||
Topping "Select" UserSelectProductCode
|
Topping "Select" UserSelectProductCode
|
||||||
|
|
@ -3431,6 +3414,8 @@
|
||||||
EndIf
|
EndIf
|
||||||
;
|
;
|
||||||
|
|
||||||
|
Var PromotionIDCurrentOrder = 0
|
||||||
|
|
||||||
|
|
||||||
Var SelectDrink = UserSelectProductCode
|
Var SelectDrink = UserSelectProductCode
|
||||||
|
|
||||||
|
|
@ -3665,6 +3650,9 @@
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
|
DEBUGVAR PromotionIDCurrentOrder
|
||||||
|
|
||||||
|
|
||||||
Var SelectDrink = UserSelectProductCode
|
Var SelectDrink = UserSelectProductCode
|
||||||
|
|
||||||
Var Seeker.selected_a_drink = UserSelectProductCode
|
Var Seeker.selected_a_drink = UserSelectProductCode
|
||||||
|
|
@ -3996,7 +3984,7 @@
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
DEBUGVAR showOreoAddEnable
|
DEBUGVAR showOreoAddEnable
|
||||||
DEBUGVAR TOPPING_PRICE
|
DEBUGVAR TOPPING_PRICE
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -108,8 +108,8 @@
|
||||||
Var RandomPromotionMyworld = 0
|
Var RandomPromotionMyworld = 0
|
||||||
Var RandomSalePackage = 0
|
Var RandomSalePackage = 0
|
||||||
|
|
||||||
Var XMLPageVersion = "7.15"
|
Var XMLPageVersion = "7.17"
|
||||||
Var XMLPageVersionInt = 715
|
Var XMLPageVersionInt = 717
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
||||||
<Text>
|
<Text>
|
||||||
|
|
|
||||||