Delete xml/menu_tab
This commit is contained in:
parent
44831b9c84
commit
c0348c0bde
140 changed files with 372 additions and 297856 deletions
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
SAVELOG "RoadShow.ev 200587 "
|
||||
SAVELOG "RoadShow.ev 201316 173319 200435 "
|
||||
SAVELOG "200587 04 mar"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -271,7 +271,7 @@
|
|||
002040 Strawberry syrup\n[Sweet and tart strawberry syrup! A must-have for berry lovers.###Font=KanitLight,Size=15] เพิ่มสตรอว์เบอรี่ไซรัป\n[เปรี้ยวนิด ๆ หวานหน่อย ๆ ตอบโจทย์สายสตรอว์เบอร์รี่เลิฟเวอร์###Font=KanitLight,Size=15]
|
||||
002041 Yuzu syrup\n[Discover the bright and tangy taste of our yuzu syrup.###Font=KanitLight,Size=15] เพิ่มยูซุไซรัป\n[กลิ่นหอม รสชาติที่สดชื่น เปรี้ยวหวานลงตัวใส่กับเมนูไหนก็เข้ากัน###Font=KanitLight,Size=15]
|
||||
|
||||
|
||||
Topping new
|
||||
Topping top
|
||||
Font=Kanit,Type=Bold,Size=36,Color=0x513C2F,LineHeight=46 Font=Kanit,Type=Bold,Size=36,Color=0x513C2F,LineHeight=46
|
||||
002042 Make it extra special เพิ่มความอร่อยหน่อยไหม
|
||||
|
|
@ -1158,7 +1158,7 @@
|
|||
1300003 Beans module ชุดเมล็ดกาแฟ
|
||||
1300004 Bean tray ถาดใส่เมล็ดกาแฟ
|
||||
1300005 Switch tray : สวิตซ์ถาด :
|
||||
1300006 Check tray shutter ตรวจสอบชัตเตอร์ของถาด
|
||||
1300006 Check tray shutter ตรวจสอบชัตเตอร์ถาด
|
||||
1300007 Pay beans จ่ายถั่ว
|
||||
1300008 1. Select beans 1. เลือกเมล็ดกาแฟ
|
||||
1300009 2. Select direction 2. เลือกทิศทาง
|
||||
|
|
@ -1171,7 +1171,7 @@
|
|||
1300016 Brew time:sec เวลาชง: วินาที
|
||||
1300017 Test grind sizes ทดสอบขนาดบด
|
||||
1300018 Coffee module type : ประเภทชุดกาแฟ :
|
||||
1300019 1. Select grind sizes 1. เลือกขนาดบด
|
||||
1300019 1. Select grind sizes 1. เลือกขนาดการบด
|
||||
1300020 More coarse หยาบขึ้น
|
||||
1300021 More fine ละเอียดขึ้น
|
||||
1300022 2. Test grinding 2. ทดสอบการบด
|
||||
|
|
|
|||
|
Can't render this file because it has a wrong number of fields in line 21.
|
|
|
@ -271,7 +271,7 @@
|
|||
002040 Strawberry syrup\n[Sweet and tart strawberry syrup! A must-have for berry lovers.###Font=KanitLight,Size=15] เพิ่มสตรอว์เบอรี่ไซรัป\n[เปรี้ยวนิด ๆ หวานหน่อย ๆ ตอบโจทย์สายสตรอว์เบอร์รี่เลิฟเวอร์###Font=KanitLight,Size=15]
|
||||
002041 Yuzu syrup\n[Discover the bright and tangy taste of our yuzu syrup.###Font=KanitLight,Size=15] เพิ่มยูซุไซรัป\n[กลิ่นหอม รสชาติที่สดชื่น เปรี้ยวหวานลงตัวใส่กับเมนูไหนก็เข้ากัน###Font=KanitLight,Size=15]
|
||||
|
||||
|
||||
Topping new
|
||||
Topping top
|
||||
Font=Kanit,Type=Bold,Size=36,Color=0x513C2F,LineHeight=46 Font=Kanit,Type=Bold,Size=36,Color=0x513C2F,LineHeight=46
|
||||
002042 Make it extra special เพิ่มความอร่อยหน่อยไหม
|
||||
|
|
@ -1158,7 +1158,7 @@
|
|||
1300003 Beans module ชุดเมล็ดกาแฟ
|
||||
1300004 Bean tray ถาดใส่เมล็ดกาแฟ
|
||||
1300005 Switch tray : สวิตซ์ถาด :
|
||||
1300006 Check tray shutter ตรวจสอบชัตเตอร์ของถาด
|
||||
1300006 Check tray shutter ตรวจสอบชัตเตอร์ถาด
|
||||
1300007 Pay beans จ่ายถั่ว
|
||||
1300008 1. Select beans 1. เลือกเมล็ดกาแฟ
|
||||
1300009 2. Select direction 2. เลือกทิศทาง
|
||||
|
|
|
|||
|
Can't render this file because it has a wrong number of fields in line 21.
|
|
|
@ -1,3 +0,0 @@
|
|||
SAVELOG "Call coffee.ev"
|
||||
TabMenuVisibleInst 2
|
||||
Var RedirectTo = "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,302 +0,0 @@
|
|||
if "v2" in param:
|
||||
print("V2 ignore")
|
||||
else:
|
||||
|
||||
#print("params=" + param)
|
||||
#print( "dir= " + directory_to_process + "/page_catalog_group_recommend.xml");
|
||||
file_recommend = open(directory_to_process + "/page_catalog_group_recommend.xml", 'r')
|
||||
content_recommend = file_recommend.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_inc1_content = ""
|
||||
|
||||
file_recommend.close()
|
||||
if "template1" in param:
|
||||
print("Here", param)
|
||||
file_inc1 = open(directory_to_process + "/event/promotion_template1.inc", 'r')
|
||||
file_inc1_content = file_inc1.read()
|
||||
file_inc_img = open(directory_to_process + "../image/event/image_template1", 'r')
|
||||
file_inc1_img_content = file_inc_img.read()
|
||||
|
||||
# replace key.
|
||||
|
||||
sp_key = file_inc1_img_content.split("\n")
|
||||
#print("sp_key = " + str(len( sp_key)))
|
||||
for sp_line in sp_key:
|
||||
sp_line = sp_line.strip()
|
||||
key_val = sp_line.split("=")
|
||||
if len( key_val) == 2:
|
||||
#print("k = " + key_val[0] + " val=" + key_val[1])
|
||||
file_inc1_content = file_inc1_content.replace( "###" + key_val[0], '"' + key_val[1].strip() + '"')
|
||||
|
||||
|
||||
file_inc_event_click = open(directory_to_process + "/event/promotion_onclick1.inc", 'r')
|
||||
file_inc_event_click_content = file_inc_event_click.read()
|
||||
|
||||
file_inc1_content = file_inc1_content.replace("###EventOnClick", file_inc_event_click_content)
|
||||
|
||||
|
||||
#print(file_inc2_content)
|
||||
|
||||
#print( file_inc_content)
|
||||
file_inc = open(directory_to_process + "/dummy_layout.inc", 'r')
|
||||
file_inc_content = file_inc.read()
|
||||
|
||||
content_data_was_repack = content_recommend.replace(";dummy_layout.inc", file_inc_content)
|
||||
content_data = content_data_was_repack.replace(";BigLogoLayout", file_inc1_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_out = open(directory_to_process + "/event/out_put_file1.txt", 'r')
|
||||
file_xml3_out_content = file_xml3_out.read()
|
||||
file_xml3_out_content = file_xml3_out_content.strip()
|
||||
file_xml3_out_content = file_xml3_out_content.replace("\r", "")
|
||||
file_xml3_out_content = file_xml3_out_content.replace("\n", "")
|
||||
|
||||
file_xml3 = open(directory_to_process + file_xml3_out_content, 'w')
|
||||
file_xml3.write( content_data)
|
||||
file_xml3.close()
|
||||
|
||||
if "template2" in param:
|
||||
|
||||
file_inc2 = open(directory_to_process + "/event/promotion_template2.inc", 'r')
|
||||
file_inc2_content = file_inc2.read()
|
||||
file_inc_img = open(directory_to_process + "../image/event/image_template2", 'r')
|
||||
file_inc2_img_content = file_inc_img.read()
|
||||
|
||||
# replace key.
|
||||
|
||||
sp_key = file_inc2_img_content.split("\n")
|
||||
#print("sp_key = " + str(len( sp_key)))
|
||||
for sp_line in sp_key:
|
||||
sp_line = sp_line.strip()
|
||||
key_val = sp_line.split("=")
|
||||
if len( key_val) == 2:
|
||||
#print("k = " + key_val[0] + " val=" + key_val[1])
|
||||
file_inc2_content = file_inc2_content.replace( "###" + key_val[0], '"' + key_val[1].strip() + '"')
|
||||
|
||||
|
||||
file_inc_event_click = open(directory_to_process + "/event/promotion_onclick2.inc", 'r')
|
||||
file_inc_event_click_content = file_inc_event_click.read()
|
||||
|
||||
file_inc2_content = file_inc2_content.replace("###EventOnClick", file_inc_event_click_content)
|
||||
|
||||
|
||||
#print(file_inc2_content)
|
||||
|
||||
#print( file_inc_content)
|
||||
file_inc = open(directory_to_process + "/dummy_layout.inc", 'r')
|
||||
file_inc_content = file_inc.read()
|
||||
|
||||
content_data_was_repack = content_recommend.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_xml3_out = open(directory_to_process + "/event/out_put_file2.txt", 'r')
|
||||
file_xml3_out_content = file_xml3_out.read()
|
||||
file_xml3_out_content = file_xml3_out_content.strip()
|
||||
file_xml3_out_content = file_xml3_out_content.replace("\r", "")
|
||||
file_xml3_out_content = file_xml3_out_content.replace("\n", "")
|
||||
|
||||
file_xml3 = open(directory_to_process + file_xml3_out_content, 'w')
|
||||
file_xml3.write( content_data)
|
||||
file_xml3.close()
|
||||
|
||||
if "template3" in param:
|
||||
file_inc3 = open(directory_to_process + "/event/promotion_template3.inc", 'r')
|
||||
file_inc3_content = file_inc3.read()
|
||||
file_inc_img = open(directory_to_process + "../image/event/image_template3", 'r')
|
||||
file_inc3_img_content = file_inc_img.read()
|
||||
|
||||
# replace key.
|
||||
|
||||
sp_key = file_inc3_img_content.split("\n")
|
||||
#print("sp_key = " + str(len( sp_key)))
|
||||
for sp_line in sp_key:
|
||||
sp_line = sp_line.strip()
|
||||
key_val = sp_line.split("=")
|
||||
#print("Kenta420:", key_val)
|
||||
if len( key_val) == 2:
|
||||
#print("k = " + key_val[0] + " val=" + key_val[1])
|
||||
file_inc3_content = file_inc3_content.replace( "###" + key_val[0], '"' + key_val[1].strip() + '"')
|
||||
|
||||
|
||||
file_inc_event_click = open(directory_to_process + "/event/promotion_onclick3.inc", 'r')
|
||||
file_inc_event_click_content = file_inc_event_click.read()
|
||||
|
||||
file_inc3_content = file_inc3_content.replace("###EventOnClick", file_inc_event_click_content)
|
||||
|
||||
|
||||
#print(file_inc3_content)
|
||||
|
||||
#print( file_inc_content)
|
||||
file_inc = open(directory_to_process + "/dummy_layout.inc", 'r')
|
||||
file_inc_content = file_inc.read()
|
||||
|
||||
content_data_was_repack = content_recommend.replace(";dummy_layout.inc", file_inc_content)
|
||||
content_data = content_data_was_repack.replace(";BigLogoLayout", file_inc3_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]
|
||||
|
||||
tmp3 = content_data[ end_text:-1]
|
||||
#print("tmp1=" + tmp1)
|
||||
#print("tmp3=" + tmp3)
|
||||
|
||||
content_data = tmp1 + tmp3
|
||||
|
||||
file_xml3_out = open(directory_to_process + "/event/out_put_file3.txt", 'r')
|
||||
file_xml3_out_content = file_xml3_out.read()
|
||||
file_xml3_out_content = file_xml3_out_content.strip()
|
||||
file_xml3_out_content = file_xml3_out_content.replace("\r", "")
|
||||
file_xml3_out_content = file_xml3_out_content.replace("\n", "")
|
||||
|
||||
file_xml3 = open(directory_to_process + file_xml3_out_content, 'w')
|
||||
file_xml3.write( content_data)
|
||||
file_xml3.close()
|
||||
|
||||
if "template4" in param:
|
||||
file_inc4 = open(directory_to_process + "/event/promotion_template4.inc", 'r')
|
||||
file_inc4_content = file_inc4.read()
|
||||
file_inc_img = open(directory_to_process + "../image/event/image_template4", 'r')
|
||||
file_inc4_img_content = file_inc_img.read()
|
||||
|
||||
# replace key.
|
||||
|
||||
sp_key = file_inc4_img_content.split("\n")
|
||||
#print("sp_key = " + str(len( sp_key)))
|
||||
for sp_line in sp_key:
|
||||
sp_line = sp_line.strip()
|
||||
key_val = sp_line.split("=")
|
||||
#print("Kenta420:", key_val)
|
||||
if len( key_val) == 2:
|
||||
#print("k = " + key_val[0] + " val=" + key_val[1])
|
||||
file_inc4_content = file_inc4_content.replace( "###" + key_val[0], '"' + key_val[1].strip() + '"')
|
||||
|
||||
|
||||
file_inc_event_click = open(directory_to_process + "/event/promotion_onclick4.inc", 'r')
|
||||
file_inc_event_click_content = file_inc_event_click.read()
|
||||
|
||||
file_inc4_content = file_inc4_content.replace("###EventOnClick", file_inc_event_click_content)
|
||||
|
||||
|
||||
#print(file_inc4_content)
|
||||
|
||||
#print( file_inc_content)
|
||||
file_inc = open(directory_to_process + "/dummy_layout.inc", 'r')
|
||||
file_inc_content = file_inc.read()
|
||||
|
||||
content_data_was_repack = content_recommend.replace(";dummy_layout.inc", file_inc_content)
|
||||
content_data = content_data_was_repack.replace(";BigLogoLayout", file_inc4_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]
|
||||
|
||||
tmp3 = content_data[ end_text:-1]
|
||||
#print("tmp1=" + tmp1)
|
||||
#print("tmp3=" + tmp3)
|
||||
|
||||
content_data = tmp1 + tmp3
|
||||
|
||||
file_xml4_out = open(directory_to_process + "/event/out_put_file4.txt", 'r')
|
||||
file_xml4_out_content = file_xml4_out.read()
|
||||
file_xml4_out_content = file_xml4_out_content.strip()
|
||||
file_xml4_out_content = file_xml4_out_content.replace("\r", "")
|
||||
file_xml4_out_content = file_xml4_out_content.replace("\n", "")
|
||||
|
||||
file_xml4 = open(directory_to_process + file_xml4_out_content, 'w')
|
||||
file_xml4.write( content_data)
|
||||
file_xml4.close()
|
||||
|
||||
if "multi_promotion" in param:
|
||||
files = os.listdir(directory_to_process + "/event/")
|
||||
files = [f for f in files if f.startswith("multi_promotion_config")]
|
||||
for filename in files:
|
||||
recommend_multi_pro = open(directory_to_process + "/page_catalog_group_recommend_multi_pro.xml", "r")
|
||||
recommend_multi_pro_buff = recommend_multi_pro.read()
|
||||
recommend_multi_pro.close()
|
||||
|
||||
#read config
|
||||
multi_pro_config_file = open(directory_to_process + "/event/"+ filename)
|
||||
multi_pro_config = json.load(multi_pro_config_file)
|
||||
|
||||
index = 0
|
||||
promotion_name = []
|
||||
while index < len(multi_pro_config):
|
||||
promotion_config = multi_pro_config[index]
|
||||
index += 1
|
||||
|
||||
# add promotion name for create filename later
|
||||
promotion_name.append(promotion_config["name"])
|
||||
|
||||
#load template
|
||||
template_file = open(directory_to_process + promotion_config["template"])
|
||||
template = template_file.read()
|
||||
template_file.close()
|
||||
for key, value in promotion_config["config"].items():
|
||||
template = template.replace("###"+key, '"' + value.strip() + '"')
|
||||
|
||||
promotion_block_str = '\r\n<Block>\r\n\t<State> PromotionState{0} </State>\r\n\t<MarginLeft> 33 </MarginLeft>\r\n\t<MarginTop> 22 </MarginTop>\r\n\t<Width> 484 </Width>\r\n\t<Height> 602 </Height>\r\n'.format(index)
|
||||
|
||||
promotion_block_str += template
|
||||
promotion_block_str += '\r\n</Block>\r\n'
|
||||
|
||||
recommend_multi_pro_buff = re.sub(r'(?is)(;block{0}).*(;endblock{0})'.format(index), r'\1{0}\2'.format(promotion_block_str), recommend_multi_pro_buff)
|
||||
|
||||
if index == 2:
|
||||
# expend block3 to full width bottom
|
||||
inner_block = re.search(r'(?is);block{0}(.*);endblock{0}'.format(index+1), recommend_multi_pro_buff).group(1)
|
||||
inner_block = inner_block.replace("<Width> 516 </Width>", "<Width> 1032 </Width>", 2)
|
||||
inner_block = inner_block.replace("<Max> 4 </Max>", "<Max> 8 </Max>", 1)
|
||||
inner_block = inner_block.replace("<Column> 2 </Column>", "<Column> 4 </Column>", 1)
|
||||
recommend_multi_pro_buff = re.sub(r'(?is)(;block{0}).*(;endblock{0})'.format(index+1), r'\1{0}\2'.format(inner_block), recommend_multi_pro_buff)
|
||||
|
||||
# remove block4
|
||||
recommend_multi_pro_buff = re.sub(r'(?is)(;block{0}).*(;endblock{0})'.format(index+2), r'\1\2', recommend_multi_pro_buff)
|
||||
|
||||
if index == 3:
|
||||
# create expand block
|
||||
inner_block2 = re.search(r'(?is)(;block{0}.*;endblock{0})'.format(index+1), recommend_multi_pro_buff).group(1)
|
||||
inner_block2 = inner_block2.replace(";block{0}".format(index+1), ";block{0}-expand".format(index+1))
|
||||
inner_block2 = inner_block2.replace(";endblock{0}".format(index+1), ";endblock{0}-expand".format(index+1))
|
||||
|
||||
inner_block2 = inner_block2.replace("<Width> 516 </Width>", "<Width> 1032 </Width>", 2)
|
||||
# inner_block2 = inner_block2.replace("<State> \"Enable\" </State> ", "<State>\r\n\teval(\r\n\tIf PromotionState{0} = \"Enable\" Then\r\n\t\tVar block_expend_show = \"Invisible\"\r\n\tElse\r\n\t\tVar block_expend_show = \"Enable\"\r\n\tEndIf\r\n\tVar return = block_expend_show\r\n\t)\r\n</State>".format(index), 1)
|
||||
inner_block2 = inner_block2.replace("<Max> 4 </Max>", "<Max>\r\neval(\r\n\tIf CountEnablePromotion > 2 Then\r\n\t\tVar max_count = 4\r\n\tElse\r\n\t\tVar max_count = 8\r\n\tEndIf\r\n\tVar return = max_count\r\n)\r\n</Max>", 1)
|
||||
inner_block2 = inner_block2.replace("<Column> 2 </Column>", "<Column>\r\neval(\r\n\tIf CountEnablePromotion > 2 Then\r\n\t\tVar column_count = 2\r\n\tElse\r\n\t\tVar column_count = 4\r\n\tEndIf\r\n\tVar return = column_count\r\n)\r\n</Column>", 1)
|
||||
recommend_multi_pro_buff = re.sub(r'(?is);block{0}.*;endblock{0}'.format(index+1), inner_block2, recommend_multi_pro_buff)
|
||||
|
||||
|
||||
# create promotion file
|
||||
count_name_dict = {
|
||||
2: "double_",
|
||||
3: "triple_"
|
||||
}
|
||||
promo_file = open(directory_to_process + "/event/" + count_name_dict[len(multi_pro_config)]+ "promotion_" + "_and_".join(promotion_name) + ".xml", "w")
|
||||
promo_file.write(recommend_multi_pro_buff)
|
||||
promo_file.close()
|
||||
|
|
@ -1 +0,0 @@
|
|||
/event/promotion_energy_drink_1_bath.xml
|
||||
|
|
@ -1 +0,0 @@
|
|||
/event/promotion_coffee_drink_1_bath.xml
|
||||
|
|
@ -1 +0,0 @@
|
|||
/event/promotion_tea_time.xml
|
||||
|
|
@ -1 +0,0 @@
|
|||
/event/promotion_wednesday_melon.xml
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,3 +0,0 @@
|
|||
SAVELOG "Call health.ev"
|
||||
TabMenuVisibleInst 6
|
||||
Var RedirectTo = "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
SAVELOG "Call kidandwhey.ev"
|
||||
TabMenuVisibleInst 5
|
||||
Var RedirectTo = "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
|
||||
#print("new menu_catalog_default_init catalog enable.")
|
||||
f = open( directory_to_process + "/menu_catalog_default_init.xml", "r")
|
||||
#print(f.read())
|
||||
out_xml(f.read())
|
||||
f.close()
|
||||
|
|
@ -1,117 +0,0 @@
|
|||
Var NextPage = "-"
|
||||
|
||||
DEBUGVAR ICE_PROCESS_STATUS
|
||||
DEBUGVAR ICE_PROCESS_TXT
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var showthaiText = "Invisible"
|
||||
Var showengText = "Enable"
|
||||
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
||||
Var show_btp = "ROOT/taobin_project/image/page2/bn_thai_lang_press_2.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/page2/bn_thai_lang_2.png"
|
||||
|
||||
Var ice_tab_text = "Ice will be ready at "
|
||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
Var showengText = "Invisible"
|
||||
Var showthaiText = "Enable"
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/page3"
|
||||
Var show_btp = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
|
||||
|
||||
Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา "
|
||||
Var text_unavailable = "หมด###size=32"
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
Var ice_tab_process_show = "Enable"
|
||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
; SpiralOnline
|
||||
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
|
||||
Var Menu1Selected2 = "Invisible"
|
||||
Var Menu2Selected2 = "Invisible"
|
||||
Var Menu3Selected2 = "Invisible"
|
||||
Var Menu4Selected2 = "Invisible"
|
||||
|
||||
Var Menu6Selected2 = "Invisible"
|
||||
Var Menu7Selected2 = "Invisible"
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
Var Menu11Selected2 = "Invisible"
|
||||
|
||||
Var Menu21Selected2 = "Invisible"
|
||||
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
If SpiralOnline = "true" Then
|
||||
If Seeker = "curr" Then
|
||||
Var MenuVSelected2 = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; init default
|
||||
Var Menu1Selected = "Enable"
|
||||
Var Menu2Selected = "Enable"
|
||||
Var Menu3Selected = "Enable"
|
||||
Var Menu4Selected = "Enable"
|
||||
; 5 fruit
|
||||
Var Menu5Selected = "Invisible"
|
||||
;Var Menu6Selected = "Enable"
|
||||
|
||||
Var Menu61Selected = "Enable"
|
||||
Var Menu62Selected = "Enable"
|
||||
|
||||
Var Menu7Selected = "Enable"
|
||||
; 8 cocktail
|
||||
Var Menu8Selected = "Invisible"
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Var Menu7Selected = "Invisible"
|
||||
Var Menu8Selected = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
If AppFastEnable = "true" Then
|
||||
Var Menu11Selected = "Enable"
|
||||
Var Menu21Selected = "Invisible"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Else
|
||||
If MenuKidEnable = "true" Then
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu21Selected = "Enable"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Else
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu21Selected = "Invisible"
|
||||
Var Menu7Selected = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Var Menu7Selected = "Invisible"
|
||||
EndIf
|
||||
|
||||
If RecipeTag1 = "HealthTurnOn" Then
|
||||
Var Menu22Selected = "Enable"
|
||||
Else
|
||||
Var Menu22Selected = "Invisible"
|
||||
EndIf
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
|
||||
#print("new layout catalog enable.")
|
||||
f = open( directory_to_process + "/menu_catalog_new.xml", "r")
|
||||
#print(f.read())
|
||||
out_xml(f.read())
|
||||
f.close()
|
||||
|
||||
|
|
@ -1,373 +0,0 @@
|
|||
|
||||
; notice enable heathy menu
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1540 </Height>
|
||||
<Color> "0xeae6e1" </Color>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<EventUnitTest1>
|
||||
SAVELOG " EventUnitTest1 EventUnitTest1 EventUnitTest1 EventUnitTest1 EventUnitTest1 EventUnitTest1 "
|
||||
RefreshAll
|
||||
</EventUnitTest1>
|
||||
|
||||
|
||||
; under line
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 494 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page3/tab_line_bottom.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
; under line
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 358 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page3/bg1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
; back
|
||||
<Button>
|
||||
<X> 19 </X>
|
||||
<Y> 381 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
SAVELOG " Back multi inst"
|
||||
TabMenuVisibleInst 99
|
||||
OpenInst 2 "ROOT/taobin_project/xml/menutab/page_catalog.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 1000 </X>
|
||||
<Y> 381 </Y>
|
||||
<Filename> show_btn </Filename>
|
||||
<FilenamePress> show_btp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; eng
|
||||
If show_eng = "true" Then
|
||||
Var show_eng = "false"
|
||||
Var text_unavailable = "หมด###size=32"
|
||||
InstanceSetString "ShowThai"
|
||||
Else
|
||||
Var show_eng = "true"
|
||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||
InstanceSetString "ShowEng"
|
||||
EndIf
|
||||
|
||||
Var RequestChangeLang = 1
|
||||
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<EventOnShow>
|
||||
InstanceGetString SaveStringInst
|
||||
DEBUGVAR SaveStringInst
|
||||
DEBUGVAR show_eng
|
||||
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
If SaveStringInst = "ShowThai" Then
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
Else
|
||||
If SaveStringInst = "ShowEng" Then
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventOnShow>
|
||||
|
||||
;
|
||||
<ListView1>
|
||||
<Width> 1080 </Width>
|
||||
<Height> "auto" </Height>
|
||||
<X> 0 </X>
|
||||
<Y> 395 </Y>
|
||||
<Row2>
|
||||
<State>"Enable"</State>
|
||||
<Width> 896 </Width>
|
||||
<Height> 102 </Height>
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu1Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_recommend2.png" )</Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_recommend2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
SAVELOG "Click rec"
|
||||
Var NextPage = "-"
|
||||
Var OpenFromMulti = 1
|
||||
Var OpenFromPageBoard = 1
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu2Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_coffee2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_coffee2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 2
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu3Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_tea2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_tea2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 3
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu4Selected </State>
|
||||
<Mode> "No" </Mode>
|
||||
<Filename> Var( DirImageAlter + "/bn_cho_ca2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_cho_ca2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 4
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu7Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_protein2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_protein2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 5
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu11Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_appfast2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_appfast2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 5
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu21Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_forkid2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_forkid2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 5
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu22Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_health.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_health.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
TabMenuVisibleInst 6
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu8Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_cocktail.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_cocktail.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
TabMenuVisibleInst 6
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu61Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_Pepsi_7up.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_Pepsi_7up.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 8
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu62Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_sodada2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_sodada2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 7
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> MenuVSelected2 </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_vending2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_vending2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
Open "ROOT/taobin_project/spiral/xml/page_catalog_vending_machine.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> MenuBSelected2 </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_bakery.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_bakery.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
|
||||
OpenInst 2 "ROOT/taobin_project/bakery/xml/page_catalog_vending_machine.xml"
|
||||
TabMenuVisibleInst 99
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> MenuTaoTimSelect </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_taotimtap.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_taotimtap.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
|
||||
OpenInst 2 "ROOT/taobin_project/xml/page_catalog_group_soft_serve.xml"
|
||||
TabMenuVisibleInst 99
|
||||
</EventClick>
|
||||
</Button>
|
||||
</Row2>
|
||||
</ListView1>
|
||||
|
||||
<EventWebApp>
|
||||
|
||||
DEBUGVAR web_ready
|
||||
If web_ready = "true" Then
|
||||
If web_ref = QRCODE99x Then
|
||||
|
||||
Var web_readyOK = web_ready
|
||||
Var web_telnumOK = web_telnum
|
||||
|
||||
Var web_app_prepar = "true"
|
||||
|
||||
; Handle penetrator
|
||||
|
||||
If Only18 = "true" Then
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_identity18_verification.xml"
|
||||
Else
|
||||
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
EndIf
|
||||
|
||||
; Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
|
||||
EndIf
|
||||
Else
|
||||
EndIf
|
||||
|
||||
</EventWebApp>
|
||||
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
|
||||
#print("new menu_catalog_new_menu catalog enable.")
|
||||
f = open( directory_to_process + "/menu_catalog_new_menu.xml", "r")
|
||||
#print(f.read())
|
||||
out_xml(f.read())
|
||||
f.close()
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
|
||||
If show_eng = "true" Then
|
||||
Var DirImageDrinkOption = "ROOT/taobin_project/image/drink_option_en/"
|
||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
||||
|
||||
Else
|
||||
Var DirImageDrinkOption = "ROOT/taobin_project/image/drink_option/"
|
||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
||||
EndIf
|
||||
|
||||
SetInstanceIgnoreTouch
|
||||
|
|
@ -1,106 +0,0 @@
|
|||
|
||||
RoadShow = False
|
||||
|
||||
default_dir = 'ROOT/taobin_project/image/page_drink/'
|
||||
default_dir2 = 'ROOT/taobin_project/image/page_drink_select/'
|
||||
default_dir_press = 'ROOT/taobin_project/image/page_drink_press/'
|
||||
default_dir_disable = 'ROOT/taobin_project/image/page_drink_disable/'
|
||||
|
||||
new_default_dir = 'ROOT/taobin_project/image/page_drink_n/'
|
||||
new_default_dir2 = 'ROOT/taobin_project/image/page_drink_picture2_n/'
|
||||
new_default_dir_press = 'ROOT/taobin_project/image/page_drink_press_n/'
|
||||
new_default_dir_disable = 'ROOT/taobin_project/image/page_drink_disable_n2/'
|
||||
|
||||
menu_count = 0
|
||||
|
||||
x1 = 44
|
||||
x2 = 301
|
||||
x3 = 558
|
||||
x4 = 815
|
||||
|
||||
ystep = 899 - 571
|
||||
y1 = 20
|
||||
y2 = y1 + ystep*1
|
||||
y3 = y1 + ystep*2
|
||||
y4 = y1 + ystep*3
|
||||
y5 = y1 + ystep*4
|
||||
y6 = y1 + ystep*5
|
||||
y7 = y1 + ystep*6
|
||||
|
||||
|
||||
|
||||
x_button = [
|
||||
x1,
|
||||
x2,
|
||||
x3,
|
||||
x4,
|
||||
|
||||
x1,
|
||||
x2,
|
||||
x3,
|
||||
x4,
|
||||
|
||||
x1,
|
||||
x2,
|
||||
x3,
|
||||
x4,
|
||||
|
||||
x1,
|
||||
x2,
|
||||
x3,
|
||||
x4,
|
||||
|
||||
x1,
|
||||
x2,
|
||||
x3,
|
||||
x4,
|
||||
|
||||
x1,
|
||||
x2,
|
||||
x3,
|
||||
x4,
|
||||
|
||||
x1,
|
||||
x2,
|
||||
x3,
|
||||
x4
|
||||
|
||||
]
|
||||
y_button = [
|
||||
y1,
|
||||
y1,
|
||||
y1,
|
||||
y1,
|
||||
|
||||
y2,
|
||||
y2,
|
||||
y2,
|
||||
y2,
|
||||
|
||||
y3,
|
||||
y3,
|
||||
y3,
|
||||
y3,
|
||||
|
||||
y4,
|
||||
y4,
|
||||
y4,
|
||||
y4,
|
||||
|
||||
y5,
|
||||
y5,
|
||||
y5,
|
||||
y5,
|
||||
|
||||
y6,
|
||||
y6,
|
||||
y6,
|
||||
y6,
|
||||
|
||||
y7,
|
||||
y7,
|
||||
y7,
|
||||
y7
|
||||
|
||||
]
|
||||
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,3 +0,0 @@
|
|||
SAVELOG "Call milk.ev"
|
||||
TabMenuVisibleInst 4
|
||||
Var RedirectTo = "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
SAVELOG "Call other other"
|
||||
TabMenuVisibleInst 7
|
||||
Var RedirectTo = "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
|
@ -1,742 +0,0 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
Open "ROOT/taobin_project/inter/tha/xml/multi/page_catalog.lxml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
SAVELOG "======================================= catalog multi instance ================================"
|
||||
; On open
|
||||
|
||||
Var IgnoreCollectPointByMe = 0
|
||||
|
||||
Var ChildrenFree = 0
|
||||
Var NightTime = 0
|
||||
|
||||
|
||||
DEBUGVAR ToppingNewShow
|
||||
|
||||
Var NextPage = "-"
|
||||
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
|
||||
WEB "DISABLE"
|
||||
|
||||
Var web_readyOK = "false"
|
||||
Var web_telnumOK = ""
|
||||
|
||||
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/image/page_doing/"
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
EndIf
|
||||
|
||||
If TermTemOnline = "true" Then
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_tt_catalog.xml"
|
||||
EndIf
|
||||
|
||||
If Seeker = "curr" Then
|
||||
Machine DoorLidClose
|
||||
EndIf
|
||||
|
||||
Var GetPayInfoFlag = 0
|
||||
Var countDownRetrun = 30
|
||||
|
||||
CoinVending OFF
|
||||
|
||||
|
||||
Var text_price_6 = ""
|
||||
|
||||
; zone sound
|
||||
|
||||
; Clear value
|
||||
Topping "clear" "-"
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/page2_en/page2"
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_eng/What_would_you_like_to_drink_today.mp3"
|
||||
Play PlaySoundLag
|
||||
|
||||
Var DirImageCart = "ROOT/taobin_project/image/cart_en"
|
||||
|
||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/page2"
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||
|
||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/taobin_sawade.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 + "taobin_sawade.wav"
|
||||
EndIf
|
||||
|
||||
Play PlaySoundLag
|
||||
|
||||
Var DirImageCart = "ROOT/taobin_project/image/cart_th"
|
||||
|
||||
Var text_unavailable = "หมด###size=32"
|
||||
EndIf
|
||||
|
||||
|
||||
Var StrawAutoRelease1 = "false"
|
||||
Var StrawAutoRelease2 = "false"
|
||||
|
||||
|
||||
Var SELLONLINE = 0
|
||||
If SELLSTATUS = "SELLONLINE" Then
|
||||
Var SELLONLINE = 1
|
||||
EndIf
|
||||
If SELLSTATUS = "SELLNOCASH" Then
|
||||
Var SELLONLINE = 1
|
||||
Var ButtontoTopupMenu = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If SELLONLINE = 1 Then
|
||||
Var ShowButtonClick2 = "Enable"
|
||||
Else
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
Var ButtontoTopupMenu = "Invisible"
|
||||
EndIf
|
||||
|
||||
If SELLONLINE = 1 Then
|
||||
Var ShowNetworkProblem = "Invisible"
|
||||
Var ShowNetworkProblemText = ""
|
||||
|
||||
;GenHashWithTimeStamp QRCODE99x
|
||||
WEB "ENABLE"
|
||||
|
||||
Else
|
||||
Var ShowNetworkProblem = "Enable"
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
Var ButtontoTopupMenu = "Invisible"
|
||||
Var ShowNetworkProblemText = "การสื่อสารขัดข้อง ชำระเงินได้เฉพาะเงินสด"
|
||||
|
||||
Var QRCODE99 = ""
|
||||
WEB "DISABLE"
|
||||
|
||||
EndIf
|
||||
|
||||
; 1035 is Coke.
|
||||
STRCONTAIN "1035" MaterialAvailable CokeUI
|
||||
|
||||
Var bnSodaAndOther = DirImage + "/bn_soda_coke.png"
|
||||
Var bpSodaAndOther = DirImage + "/bp_soda_coke.png"
|
||||
|
||||
|
||||
Var countClick = 0
|
||||
|
||||
|
||||
DEBUGVAR CART_COUNT
|
||||
|
||||
|
||||
Var QRCODE99_Y = 1718
|
||||
|
||||
Var showCart = "Invisible"
|
||||
If MultiPayEnable = "true" Then
|
||||
|
||||
If CART_COUNT = 1 Then
|
||||
Var showCart = "Enable"
|
||||
Var cart_image_bn = DirImageCart + "/bn_cart1.png"
|
||||
Var cart_image_bp = DirImageCart + "/bp_cart1.png"
|
||||
|
||||
Var QRCODE99_Y = 1580
|
||||
|
||||
EndIf
|
||||
|
||||
If CART_COUNT = 2 Then
|
||||
Var showCart = "Enable"
|
||||
Var cart_image_bn = DirImageCart + "/bn_cart2.png"
|
||||
Var cart_image_bp = DirImageCart + "/bp_cart2.png"
|
||||
|
||||
Var QRCODE99_Y = 1580
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If CART_COUNT = 3 Then
|
||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If Seeker = "next" Then
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
Var ButtontoTopupMenu = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
If XMLProfile = "taobin_notopup" Then
|
||||
Var ButtontoTopupMenu = "Invisible"
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
Var menu_name_eng_hot = ""
|
||||
Var menu_desc_eng_hot = ""
|
||||
Var menu_name_thai_hot = ""
|
||||
Var menu_desc_thai_hot = ""
|
||||
|
||||
Var menu_name_eng_cold = ""
|
||||
Var menu_desc_eng_cold = ""
|
||||
Var menu_name_thai_cold = ""
|
||||
Var menu_desc_thai_cold = ""
|
||||
|
||||
|
||||
Var menu_name_eng_blender = ""
|
||||
Var menu_desc_eng_blender = ""
|
||||
Var menu_name_thai_blender = ""
|
||||
Var menu_desc_thai_blender = ""
|
||||
|
||||
|
||||
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/tricker.ev"
|
||||
|
||||
TRY "ROOT/taobin_project/xml/sometime/RoadShow.ev"
|
||||
|
||||
; zone cup on arm
|
||||
If Seeker = "curr" Then
|
||||
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
|
||||
Else
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
If CounterEnable = 1 Then
|
||||
If OnTaobinVending = 1 Then
|
||||
Open "ROOT/taobin_project/xml/counter/taobinvd/page_wait_order.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
TopView "show"
|
||||
|
||||
Var Price5Active = 0
|
||||
</EventOpen>
|
||||
<EventLanguageChange>
|
||||
;
|
||||
DEBUGVAR LangEng
|
||||
If LangEng = "true" Then
|
||||
|
||||
EndIf
|
||||
|
||||
DEBUGVAR LangThai
|
||||
If LangThai = "true" Then
|
||||
|
||||
EndIf
|
||||
|
||||
</EventLanguageChange>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
;SAVELOG SoundPlaying
|
||||
|
||||
If countDownRetrun > 0 Then
|
||||
Var countDownRetrun = countDownRetrun - 1
|
||||
EndIf
|
||||
|
||||
If countDownRetrun = 0 Then
|
||||
|
||||
|
||||
If Seeker = "next" Then
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; zone cup on arm
|
||||
If Seeker = "curr" Then
|
||||
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
|
||||
Else
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<EventChangeStatus>
|
||||
;If ChangeStatus = "payout-end" Then
|
||||
; Var ChangeOK = 1
|
||||
;EndIf
|
||||
</EventChangeStatus>
|
||||
|
||||
<EventWebApp>
|
||||
|
||||
DEBUGVAR web_ready
|
||||
If web_ready = "true" Then
|
||||
If web_ref = QRCODE99 Then
|
||||
Cart "DeleteMenuID" "ALL"
|
||||
Var web_readyOK = web_ready
|
||||
Var web_telnumOK = web_telnum
|
||||
|
||||
|
||||
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
EndIf
|
||||
|
||||
</EventWebApp>
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1540 </Height>
|
||||
<Color> "0xeae6e1" </Color>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
; back
|
||||
<Button>
|
||||
<X> 19 </X>
|
||||
<Y> 420 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
If Seeker = "next" Then
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
Else
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 990 </X>
|
||||
<Y> 438 </Y>
|
||||
<Filename> show_btn </Filename>
|
||||
<FilenamePress> show_btp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; eng
|
||||
If show_eng = "true" Then
|
||||
Var show_eng = "false"
|
||||
Else
|
||||
Var show_eng = "true"
|
||||
EndIf
|
||||
Open CurrentXMLFileName2
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 70 </X>
|
||||
<Y> 583 </Y>
|
||||
<Filename> Var(DirImage + "/text1.png") </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
; menu row 1
|
||||
<Button>
|
||||
<X> 220 </X>
|
||||
<Y> 844 </Y>
|
||||
<Filename> Var(DirImage + "/bn_diy.png") </Filename>
|
||||
<FilenamePress> Var(DirImage + "/bp_diy.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
|
||||
; zone promote
|
||||
Var OpenFromMulti = 1
|
||||
Var OpenFromPageBoard = 1
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 564 </X>
|
||||
<Y> 844 </Y>
|
||||
<Filename> Var(DirImage + "/bn_coffee.png") </Filename>
|
||||
<FilenamePress> Var(DirImage + "/bp_coffee.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
TabMenuVisibleInst 2
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
; menu row 2
|
||||
<Button>
|
||||
<X> 47 </X>
|
||||
<Y> 1188 </Y>
|
||||
<Filename> Var(DirImage + "/bn_tea.png") </Filename>
|
||||
<FilenamePress> Var(DirImage + "/bp_tea.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
TabMenuVisibleInst 3
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 391 </X>
|
||||
<Y> 1188 </Y>
|
||||
<Filename> Var(DirImage + "/bn_cho_caramel.png") </Filename>
|
||||
<FilenamePress> Var(DirImage + "/bp_cho_caramel.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
TabMenuVisibleInst 4
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 748 </X>
|
||||
<Y> 1188 </Y>
|
||||
<Filename> bnSodaAndOther </Filename>
|
||||
<FilenamePress> bpSodaAndOther </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
TabMenuVisibleInst 7
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
;=============================================================================
|
||||
|
||||
<Button>
|
||||
<X> 48 </X>
|
||||
<Y> 1532 </Y>
|
||||
<Filename> Var(DirImage + "/bn_Pepsi_7up.png") </Filename>
|
||||
<FilenamePress> Var(DirImage + "/bp_Pepsi_7up.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
TabMenuVisibleInst 8
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 392 </X>
|
||||
<Y> 1532 </Y>
|
||||
<State>WheyButtonState</State>
|
||||
<Filename> Var(DirImage + "/bn_protein.png") </Filename>
|
||||
<FilenamePress> Var(DirImage + "/bp_protein.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
TabMenuVisibleInst 5
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 392 </X>
|
||||
<Y> 1532 </Y>
|
||||
<State>MenuKidButtonState</State>
|
||||
<Filename> Var(DirImage + "/bn_kidmenu.png") </Filename>
|
||||
<FilenamePress> Var(DirImage + "/bn_kidmenu.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
TabMenuVisibleInst 5
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 392 </X>
|
||||
<Y> 1532 </Y>
|
||||
<State>AppFastButtonState</State>
|
||||
<Filename> Var(DirImage + "/bn_appfast.png") </Filename>
|
||||
<FilenamePress> Var(DirImage + "/bp_appfast.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
TabMenuVisibleInst 5
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
;=============================================================================
|
||||
|
||||
<Button>
|
||||
<X> 736 </X>
|
||||
<Y> 1532 </Y>
|
||||
<State> "Enable" </State>
|
||||
<Filename> Var(DirImage + "/bn_HealthyOption.png") </Filename>
|
||||
<FilenamePress> Var(DirImage + "/bp_HealthyOption.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
TabMenuVisibleInst 6
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 225 </X>
|
||||
<Y> 424 </Y>
|
||||
<State> ShowButtonClick2 </State>
|
||||
<Filename> Var(DirImage + "/bn_main_page_member.png") </Filename>
|
||||
<FilenamePress> Var(DirImage + "/bp_main_page_member.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; eng
|
||||
Open "ROOT/taobin_project/xml/page_before_check_member.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 696 </X>
|
||||
<Y> 424 </Y>
|
||||
<State> ButtontoTopupMenu </State>
|
||||
<Filename> Var(DirImage + "/bn_main_page_topup.png") </Filename>
|
||||
<FilenamePress> Var(DirImage + "/bp_main_page_topup.png") </FilenamePress>
|
||||
<FilenameDisable> Var(DirImage + "/bp_main_page_topup.png") </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; eng
|
||||
Var PayDetail=""
|
||||
Open "ROOT/taobin_project/xml/page_back_to_topup.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 0 </X>
|
||||
<Y> 1870 </Y>
|
||||
<State> ShowNetworkProblem </State>
|
||||
<Color> "0xFF0000" </Color>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 60 </Height>
|
||||
</Button>
|
||||
|
||||
<Text>
|
||||
<X> 5 </X>
|
||||
<Y> 1880 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> RobotoRegular </Font>
|
||||
<Color> 0xFFFFFF </Color>
|
||||
<Value> ShowNetworkProblemText </Value>
|
||||
</Text>
|
||||
|
||||
<Button>
|
||||
<X> 0 </X>
|
||||
<Y> 1860 </Y>
|
||||
<Width> 200 </Width>
|
||||
<Height> 50 </Height>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var countClick = countClick + 1
|
||||
If countClick = 3 Then
|
||||
|
||||
;Var TestLoopMakeDrink = 1
|
||||
|
||||
EndIf
|
||||
DEBUGVAR countClick
|
||||
|
||||
If countClick = 5 Then
|
||||
If ToppingNewEnable = "false" Then
|
||||
Var ToppingNewEnable = "true"
|
||||
Else
|
||||
Var ToppingNewEnable = "false"
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink3.xml"
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
;<QRCode>
|
||||
;<X> 895 </X>
|
||||
;<Y> QRCODE99_Y</Y>
|
||||
;<Width> 178 </Width>
|
||||
;<Height> 178 </Height>
|
||||
;<State> "Enable" </State>
|
||||
;<Service> testservice </Service>
|
||||
;</QRCode>
|
||||
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||
|
||||
|
||||
|
||||
|
||||
; Cart
|
||||
<Button>
|
||||
<X> 915 </X>
|
||||
<Y> 1769 </Y>
|
||||
<State> showCart </State>
|
||||
<Filename> cart_image_bn </Filename>
|
||||
<Filename> cart_image_bp </Filename>
|
||||
<FilenamePress> cart_image_bp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Interval> 400</Interval>
|
||||
<EventClick>
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<EventWebApp>
|
||||
|
||||
DEBUGVAR web_ready
|
||||
If web_ready = "true" Then
|
||||
If web_ref = QRCODE99x Then
|
||||
|
||||
Var web_readyOK = web_ready
|
||||
Var web_telnumOK = web_telnum
|
||||
|
||||
Var web_app_prepar = "true"
|
||||
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
|
||||
EndIf
|
||||
Else
|
||||
EndIf
|
||||
|
||||
</EventWebApp>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 1 </X>
|
||||
<Y> 1 </Y>
|
||||
<Font> KanitTTF </Font>
|
||||
<Size> 22 </Size>
|
||||
<Width> 1080 </Width>
|
||||
<Align> end </Align>
|
||||
<Color> 0xFF0000 </Color>
|
||||
<Value> "INST"</Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<EventUnitTest1>
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_group_soft_serve.xml"
|
||||
|
||||
</EventUnitTest1>
|
||||
<EventUnitTest2>
|
||||
;Open "ROOT/taobin_project/inter/tha/xml/page_collect_point_1.lxml"
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
</EventUnitTest2>
|
||||
|
||||
|
||||
<EventUnitTest3>
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_catalog_group_soft_serve.xml"
|
||||
</EventUnitTest3>
|
||||
|
||||
<EventUnitTest4>
|
||||
|
||||
</EventUnitTest4>
|
||||
|
||||
|
||||
</Popup>
|
||||
|
|
@ -1,60 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
echo param
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
|
||||
If AppFastEnable = "true" Then
|
||||
Var Menu11Selected = "PressForever"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Else
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu7Selected = "PressForever"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,50 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
Var Menu8Selected = "PressForever"
|
||||
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,163 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
Var Menu2Selected = "PressForever"
|
||||
|
||||
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
DEBUGVAR SlientRefreshIndex
|
||||
|
||||
If SlientRefreshIndex = 2 Then
|
||||
Var SlientRefreshIndex = 3
|
||||
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
;DEBUGVAR ICE_PROCESS_STATUS
|
||||
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
Var ice_tab_process_show = "Enable"
|
||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
GetVisible inst_show2
|
||||
;DEBUGVAR inst_show2
|
||||
|
||||
|
||||
If inst_show2 = 1 Then
|
||||
InstanceGetString SaveStringInst
|
||||
;DEBUGVAR SaveStringInst
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
|
||||
If show_eng = "true" Then
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; setvarint SlientRefreshEnable 1
|
||||
;DEBUGVAR SlientRefreshEnable
|
||||
|
||||
If SlientRefreshEnable = 1 Then
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
|
||||
If show_eng = "true" Then
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SlientRefreshIndex = 2 Then
|
||||
If inst_show2 = 0 Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile2
|
||||
Open CurrentOpenFile2
|
||||
|
||||
Else
|
||||
Var SlientRefreshIndex = 3
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
<EventOnShow>
|
||||
InstanceGetString SaveStringInst
|
||||
DEBUGVAR SaveStringInst
|
||||
DEBUGVAR show_eng
|
||||
DEBUGVAR EnabledBlockUpdateInst5
|
||||
DEBUGVAR EnabledBlocksDrawInst5
|
||||
|
||||
|
||||
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
Else
|
||||
If EnabledBlocksDrawInst5 = EnabledBlockUpdateInst5 Then
|
||||
Var StatusRefresh = "NoRefresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
Else
|
||||
Var StatusRefresh = "Refresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile2
|
||||
Open CurrentOpenFile2
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
If SaveStringInst = "ShowThai" Then
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
Else
|
||||
If SaveStringInst = "ShowEng" Then
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
</EventOnShow>
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,171 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
touch_less_gen = False
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
; protein
|
||||
If AppFastEnable = "true" Then
|
||||
Var Menu11Selected = "PressForever"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Var Menu21Selected = "Invisible"
|
||||
Else
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Var Menu21Selected = "PressForever"
|
||||
EndIf
|
||||
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
DEBUGVAR SlientRefreshIndex
|
||||
|
||||
If SlientRefreshIndex = 5 Then
|
||||
Var SlientRefreshIndex = 6
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
;DEBUGVAR ICE_PROCESS_STATUS
|
||||
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
Var ice_tab_process_show = "Enable"
|
||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
GetVisible inst_show5
|
||||
;DEBUGVAR inst_show5
|
||||
|
||||
|
||||
If inst_show5 = 1 Then
|
||||
InstanceGetString SaveStringInst
|
||||
;DEBUGVAR SaveStringInst
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
|
||||
If show_eng = "true" Then
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; setvarint SlientRefreshEnable 1
|
||||
;DEBUGVAR SlientRefreshEnable
|
||||
|
||||
If SlientRefreshEnable = 1 Then
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
|
||||
If show_eng = "true" Then
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If SlientRefreshIndex = 5 Then
|
||||
If inst_show5 = 0 Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile5
|
||||
Open CurrentOpenFile5
|
||||
Else
|
||||
Var SlientRefreshIndex = 6
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
<EventOnShow>
|
||||
InstanceGetString SaveStringInst
|
||||
DEBUGVAR SaveStringInst
|
||||
DEBUGVAR show_eng
|
||||
|
||||
DEBUGVAR EnabledBlockUpdateInst8
|
||||
DEBUGVAR EnabledBlocksDrawInst8
|
||||
|
||||
|
||||
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
Else
|
||||
If EnabledBlocksDrawInst8 = EnabledBlockUpdateInst8 Then
|
||||
Var StatusRefresh = "NoRefresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
Else
|
||||
Var StatusRefresh = "Refresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile2
|
||||
Open CurrentOpenFile2
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
If SaveStringInst = "ShowThai" Then
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
Else
|
||||
If SaveStringInst = "ShowEng" Then
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventOnShow>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,161 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
touch_less_gen = False
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
Var Menu22Selected = "PressForever"
|
||||
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
DEBUGVAR SlientRefreshIndex
|
||||
|
||||
If SlientRefreshIndex = 6 Then
|
||||
Var SlientRefreshIndex = 7
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
;DEBUGVAR ICE_PROCESS_STATUS
|
||||
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
Var ice_tab_process_show = "Enable"
|
||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
GetVisible inst_show6
|
||||
;DEBUGVAR inst_show6
|
||||
|
||||
|
||||
|
||||
If inst_show6 = 1 Then
|
||||
InstanceGetString SaveStringInst
|
||||
;DEBUGVAR SaveStringInst
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
|
||||
If show_eng = "true" Then
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; setvarint SlientRefreshEnable 1
|
||||
;DEBUGVAR SlientRefreshEnable
|
||||
|
||||
If SlientRefreshEnable = 1 Then
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
|
||||
If show_eng = "true" Then
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SlientRefreshIndex = 6 Then
|
||||
If inst_show6 = 0 Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile6
|
||||
Open CurrentOpenFile6
|
||||
Else
|
||||
Var SlientRefreshIndex = 7
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
<EventOnShow>
|
||||
InstanceGetString SaveStringInst
|
||||
DEBUGVAR SaveStringInst
|
||||
DEBUGVAR show_eng
|
||||
|
||||
DEBUGVAR EnabledBlockUpdateInst9
|
||||
DEBUGVAR EnabledBlocksDrawInst9
|
||||
|
||||
|
||||
|
||||
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
Else
|
||||
If EnabledBlocksDrawInst9 = EnabledBlockUpdateInst9 Then
|
||||
Var StatusRefresh = "NoRefresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
Else
|
||||
Var StatusRefresh = "Refresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile2
|
||||
Open CurrentOpenFile2
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
If SaveStringInst = "ShowThai" Then
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
Else
|
||||
If SaveStringInst = "ShowEng" Then
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventOnShow>
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,42 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
</Popup>
|
||||
|
|
@ -1,170 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
Var Menu4Selected = "PressForever"
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
DEBUGVAR SlientRefreshIndex
|
||||
|
||||
If SlientRefreshIndex = 4 Then
|
||||
Var SlientRefreshIndex = 5
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
;DEBUGVAR ICE_PROCESS_STATUS
|
||||
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
Var ice_tab_process_show = "Enable"
|
||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
GetVisible inst_show4
|
||||
;DEBUGVAR inst_show4
|
||||
|
||||
|
||||
|
||||
If inst_show4 = 1 Then
|
||||
InstanceGetString SaveStringInst
|
||||
;DEBUGVAR SaveStringInst
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
|
||||
If show_eng = "true" Then
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; setvarint SlientRefreshEnable 1
|
||||
;DEBUGVAR SlientRefreshEnable
|
||||
|
||||
If SlientRefreshEnable = 1 Then
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
|
||||
If show_eng = "true" Then
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SlientRefreshIndex = 4 Then
|
||||
If inst_show4 = 0 Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile4
|
||||
Open CurrentOpenFile4
|
||||
|
||||
Else
|
||||
Var SlientRefreshIndex = 5
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
<EventOnShow>
|
||||
InstanceGetString SaveStringInst
|
||||
DEBUGVAR SaveStringInst
|
||||
DEBUGVAR show_eng
|
||||
|
||||
DEBUGVAR EnabledBlockUpdateInst7
|
||||
DEBUGVAR EnabledBlocksDrawInst7
|
||||
|
||||
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
Else
|
||||
If EnabledBlocksDrawInst7 = EnabledBlockUpdateInst7 Then
|
||||
Var StatusRefresh = "NoRefresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
Else
|
||||
Var StatusRefresh = "Refresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile2
|
||||
Open CurrentOpenFile2
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
If SaveStringInst = "ShowThai" Then
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
Else
|
||||
If SaveStringInst = "ShowEng" Then
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventOnShow>
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=./event/dummy_layout_promotion.py
|
||||
?>
|
||||
|
||||
<EventUnitTest4>
|
||||
RefreshAll
|
||||
</EventUnitTest4>
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,45 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,164 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
echo param
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
; soda and other
|
||||
Var Menu6Selected = "PressForever"
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
DEBUGVAR SlientRefreshIndex
|
||||
|
||||
If SlientRefreshIndex = 7 Then
|
||||
Var SlientRefreshIndex = 8
|
||||
EndIf
|
||||
</EventOpen>
|
||||
|
||||
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
;DEBUGVAR ICE_PROCESS_STATUS
|
||||
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
Var ice_tab_process_show = "Enable"
|
||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
GetVisible inst_show7
|
||||
;DEBUGVAR inst_show7
|
||||
|
||||
|
||||
|
||||
If inst_show7 = 1 Then
|
||||
InstanceGetString SaveStringInst
|
||||
;DEBUGVAR SaveStringInst
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
|
||||
If show_eng = "true" Then
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; setvarint SlientRefreshEnable 1
|
||||
;DEBUGVAR SlientRefreshEnable
|
||||
|
||||
If SlientRefreshEnable = 1 Then
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
|
||||
If show_eng = "true" Then
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If SlientRefreshIndex = 7 Then
|
||||
If inst_show7 = 0 Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile7
|
||||
Open CurrentOpenFile7
|
||||
Else
|
||||
Var SlientRefreshIndex = 8
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
<EventOnShow>
|
||||
InstanceGetString SaveStringInst
|
||||
DEBUGVAR SaveStringInst
|
||||
DEBUGVAR show_eng
|
||||
|
||||
DEBUGVAR EnabledBlockUpdateInst10
|
||||
DEBUGVAR EnabledBlocksDrawInst10
|
||||
|
||||
|
||||
|
||||
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
Else
|
||||
If EnabledBlocksDrawInst10 = EnabledBlockUpdateInst10 Then
|
||||
Var StatusRefresh = "NoRefresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
Else
|
||||
Var StatusRefresh = "Refresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile2
|
||||
Open CurrentOpenFile2
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
If SaveStringInst = "ShowThai" Then
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
Else
|
||||
If SaveStringInst = "ShowEng" Then
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventOnShow>
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,106 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
Var Menu62Selected = "PressForever"
|
||||
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
DEBUGVAR SlientRefreshIndex
|
||||
|
||||
If SlientRefreshIndex = 7 Then
|
||||
Var SlientRefreshIndex = 8
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<EventOnShow>
|
||||
InstanceGetString SaveStringInst
|
||||
DEBUGVAR SaveStringInst
|
||||
DEBUGVAR show_eng
|
||||
|
||||
DEBUGVAR EnabledBlockUpdateInst10
|
||||
DEBUGVAR EnabledBlocksDrawInst10
|
||||
|
||||
|
||||
|
||||
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
Else
|
||||
If EnabledBlocksDrawInst10 = EnabledBlockUpdateInst10 Then
|
||||
Var StatusRefresh = "NoRefresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
Else
|
||||
Var StatusRefresh = "Refresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile2
|
||||
Open CurrentOpenFile2
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
If SaveStringInst = "ShowThai" Then
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
Else
|
||||
If SaveStringInst = "ShowEng" Then
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventOnShow>
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=./event/dummy_layout_promotion.py
|
||||
?>
|
||||
|
||||
<EventUnitTest4>
|
||||
RefreshAll
|
||||
</EventUnitTest4>
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,166 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
; pepsi 7up
|
||||
Var Menu61Selected = "PressForever"
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
;DEBUGVAR ICE_PROCESS_STATUS
|
||||
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
Var ice_tab_process_show = "Enable"
|
||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
GetVisible inst_show8
|
||||
;DEBUGVAR inst_show8
|
||||
|
||||
|
||||
|
||||
If inst_show8 = 1 Then
|
||||
InstanceGetString SaveStringInst
|
||||
;DEBUGVAR SaveStringInst
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
|
||||
If show_eng = "true" Then
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; setvarint SlientRefreshEnable 1
|
||||
;DEBUGVAR SlientRefreshEnable
|
||||
|
||||
If SlientRefreshEnable = 1 Then
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
|
||||
If show_eng = "true" Then
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If SlientRefreshIndex = 8 Then
|
||||
If inst_show8 = 0 Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile7
|
||||
Open CurrentOpenFile7
|
||||
Else
|
||||
Var SlientRefreshIndex = 9
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<EventOnShow>
|
||||
InstanceGetString SaveStringInst
|
||||
DEBUGVAR SaveStringInst
|
||||
DEBUGVAR show_eng
|
||||
|
||||
|
||||
DEBUGVAR EnabledBlockUpdateInst11
|
||||
DEBUGVAR EnabledBlocksDrawInst11
|
||||
|
||||
|
||||
|
||||
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
Else
|
||||
If EnabledBlocksDrawInst11 = EnabledBlockUpdateInst11 Then
|
||||
Var StatusRefresh = "NoRefresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
Else
|
||||
Var StatusRefresh = "Refresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile2
|
||||
Open CurrentOpenFile2
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
If SaveStringInst = "ShowThai" Then
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
Else
|
||||
If SaveStringInst = "ShowEng" Then
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventOnShow>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=./event/dummy_layout_promotion.py
|
||||
?>
|
||||
|
||||
<EventUnitTest4>
|
||||
RefreshAll
|
||||
</EventUnitTest4>
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,45 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,36 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,41 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
Var From12Day12MenuPro = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||
|
||||
</Popup>
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,71 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.xml
|
||||
?>
|
||||
|
||||
Var Menu1Selected = "PressForever"
|
||||
|
||||
Var OreoBigButtonEnable = "Enable"
|
||||
Var From15THBPro = 0
|
||||
|
||||
If $12-01-01-0001.Button = "Invisible" Then
|
||||
Var esp102101001Enable = "Invisible"
|
||||
Var esp122101001Enable = "Enable"
|
||||
|
||||
Else
|
||||
Var esp102101001Enable = "Enable"
|
||||
Var esp122101001Enable = "Invisible"
|
||||
|
||||
EndIf
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
If show_eng = "true" Then
|
||||
|
||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||
Else
|
||||
Var text_unavailable = "หมด###size=32"
|
||||
|
||||
EndIf
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.xml
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||
|
||||
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
</Popup>
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,36 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,46 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
Var FromBadValentinePro = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,35 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
Var Timeout = 0
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,48 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||
|
||||
</Popup>
|
||||
|
||||
|
||||
|
|
@ -1,571 +0,0 @@
|
|||
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
Var NextPage = "-"
|
||||
|
||||
DEBUGVAR ICE_PROCESS_STATUS
|
||||
DEBUGVAR ICE_PROCESS_TXT
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var showthaiText = "Invisible"
|
||||
Var showengText = "Enable"
|
||||
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
||||
Var show_btp = "ROOT/taobin_project/image/page2/bn_thai_lang_press_2.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/page2/bn_thai_lang_2.png"
|
||||
|
||||
Var ice_tab_text = "Ice will be ready at "
|
||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
Var showengText = "Invisible"
|
||||
Var showthaiText = "Enable"
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/page3"
|
||||
Var show_btp = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
|
||||
|
||||
Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา "
|
||||
Var text_unavailable = "หมด###size=32"
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
Var ice_tab_process_show = "Enable"
|
||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
; SpiralOnline
|
||||
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
|
||||
Var Menu1Selected2 = "Invisible"
|
||||
Var Menu2Selected2 = "Invisible"
|
||||
Var Menu3Selected2 = "Invisible"
|
||||
Var Menu4Selected2 = "Invisible"
|
||||
|
||||
Var Menu6Selected2 = "Invisible"
|
||||
Var Menu7Selected2 = "Invisible"
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
Var Menu11Selected2 = "Invisible"
|
||||
|
||||
Var Menu21Selected2 = "Invisible"
|
||||
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
If SpiralOnline = "true" Then
|
||||
If Seeker = "curr" Then
|
||||
Var MenuVSelected2 = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; init default
|
||||
Var Menu1Selected = "Enable"
|
||||
Var Menu2Selected = "Enable"
|
||||
Var Menu3Selected = "Enable"
|
||||
Var Menu4Selected = "Enable"
|
||||
; 5 fruit
|
||||
Var Menu5Selected = "Invisible"
|
||||
;Var Menu6Selected = "Enable"
|
||||
|
||||
Var Menu61Selected = "Enable"
|
||||
Var Menu62Selected = "Enable"
|
||||
|
||||
Var Menu7Selected = "Enable"
|
||||
; 8 cocktail
|
||||
Var Menu8Selected = "Invisible"
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Var Menu7Selected = "Invisible"
|
||||
Var Menu8Selected = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
If AppFastEnable = "true" Then
|
||||
Var Menu11Selected = "Enable"
|
||||
Var Menu21Selected = "Invisible"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Else
|
||||
If MenuKidEnable = "true" Then
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu21Selected = "Enable"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Else
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu21Selected = "Invisible"
|
||||
Var Menu7Selected = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Var Menu7Selected = "Invisible"
|
||||
EndIf
|
||||
|
||||
If RecipeTag1 = "HealthTurnOn" Then
|
||||
Var Menu22Selected = "Enable"
|
||||
Else
|
||||
Var Menu22Selected = "Invisible"
|
||||
EndIf
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImageDrinkOption = "ROOT/taobin_project/image/drink_option_en/"
|
||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
||||
|
||||
Else
|
||||
Var DirImageDrinkOption = "ROOT/taobin_project/image/drink_option/"
|
||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
||||
EndIf
|
||||
|
||||
SetInstanceIgnoreTouch
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
|
||||
; notice enable heathy menu
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1540 </Height>
|
||||
<Color> "0xeae6e1" </Color>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<EventUnitTest1>
|
||||
SAVELOG " EventUnitTest1 EventUnitTest1 EventUnitTest1 EventUnitTest1 EventUnitTest1 EventUnitTest1 "
|
||||
RefreshAll
|
||||
</EventUnitTest1>
|
||||
|
||||
|
||||
; under line
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 494 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page3/tab_line_bottom.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
; under line
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 358 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page3/bg1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
; back
|
||||
<Button>
|
||||
<X> 19 </X>
|
||||
<Y> 381 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
SAVELOG " Back multi inst"
|
||||
TabMenuVisibleInst 99
|
||||
OpenInst 2 "ROOT/taobin_project/xml/menutab/page_catalog.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 1000 </X>
|
||||
<Y> 381 </Y>
|
||||
<Filename> show_btn </Filename>
|
||||
<FilenamePress> show_btp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; eng
|
||||
If show_eng = "true" Then
|
||||
Var show_eng = "false"
|
||||
Var text_unavailable = "หมด###size=32"
|
||||
InstanceSetString "ShowThai"
|
||||
Else
|
||||
Var show_eng = "true"
|
||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||
InstanceSetString "ShowEng"
|
||||
EndIf
|
||||
|
||||
Var RequestChangeLang = 1
|
||||
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<EventOnShow>
|
||||
InstanceGetString SaveStringInst
|
||||
DEBUGVAR SaveStringInst
|
||||
DEBUGVAR show_eng
|
||||
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
If SaveStringInst = "ShowThai" Then
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
Else
|
||||
If SaveStringInst = "ShowEng" Then
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventOnShow>
|
||||
|
||||
;
|
||||
<ListView1>
|
||||
<Width> 1080 </Width>
|
||||
<Height> "auto" </Height>
|
||||
<X> 0 </X>
|
||||
<Y> 395 </Y>
|
||||
<Row2>
|
||||
<State>"Enable"</State>
|
||||
<Width> 896 </Width>
|
||||
<Height> 102 </Height>
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu1Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_recommend2.png" )</Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_recommend2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
SAVELOG "Click rec"
|
||||
Var NextPage = "-"
|
||||
Var OpenFromMulti = 1
|
||||
Var OpenFromPageBoard = 1
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu2Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_coffee2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_coffee2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 2
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu3Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_tea2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_tea2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 3
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu4Selected </State>
|
||||
<Mode> "No" </Mode>
|
||||
<Filename> Var( DirImageAlter + "/bn_cho_ca2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_cho_ca2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 4
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu7Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_protein2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_protein2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 5
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu11Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_appfast2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_appfast2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 5
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu21Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_forkid2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_forkid2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 5
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu22Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_health.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_health.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
TabMenuVisibleInst 6
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu8Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_cocktail.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_cocktail.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
TabMenuVisibleInst 6
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu61Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_Pepsi_7up.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_Pepsi_7up.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 8
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu62Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_sodada2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_sodada2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 7
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> MenuVSelected2 </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_vending2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_vending2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
Open "ROOT/taobin_project/spiral/xml/page_catalog_vending_machine.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> MenuBSelected2 </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_bakery.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_bakery.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
|
||||
OpenInst 2 "ROOT/taobin_project/bakery/xml/page_catalog_vending_machine.xml"
|
||||
TabMenuVisibleInst 99
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> MenuTaoTimSelect </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_taotimtap.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_taotimtap.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
|
||||
OpenInst 2 "ROOT/taobin_project/xml/page_catalog_group_soft_serve.xml"
|
||||
TabMenuVisibleInst 99
|
||||
</EventClick>
|
||||
</Button>
|
||||
</Row2>
|
||||
</ListView1>
|
||||
|
||||
<EventWebApp>
|
||||
|
||||
DEBUGVAR web_ready
|
||||
If web_ready = "true" Then
|
||||
If web_ref = QRCODE99x Then
|
||||
|
||||
Var web_readyOK = web_ready
|
||||
Var web_telnumOK = web_telnum
|
||||
|
||||
Var web_app_prepar = "true"
|
||||
|
||||
; Handle penetrator
|
||||
|
||||
If Only18 = "true" Then
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_identity18_verification.xml"
|
||||
Else
|
||||
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
EndIf
|
||||
|
||||
; Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
|
||||
EndIf
|
||||
Else
|
||||
EndIf
|
||||
|
||||
</EventWebApp>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<FrameScroll>
|
||||
<X> 10 </X>
|
||||
<Y> 497 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
; menu_new_list 0
|
||||
</FrameScroll>
|
||||
; Cart
|
||||
<Button>
|
||||
<X> 915 </X>
|
||||
<Y> 1769 </Y>
|
||||
<State> showCart </State>
|
||||
<Filename> cart_image_bn </Filename>
|
||||
<FilenamePress> cart_image_bp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||
|
||||
</Popup>
|
||||
|
||||
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
Var Timeout = 0
|
||||
|
||||
Var FromWednesdayMelonPro = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var extension = "_en.png"
|
||||
Else
|
||||
Var extension = ".png"
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||
|
||||
</Popup>
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,50 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
Var FromMyMintPro = 0
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||
|
||||
</Popup>
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,41 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
Var FromHalloweenPro = 0
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||
|
||||
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
</Popup>
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,45 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,45 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,46 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
Var FromLipitPro = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,42 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,35 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
Var Timeout = 0
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,46 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
Var FromMondayBananaPro = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,50 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
Var FromMyMintPro = 0
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||
|
||||
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
</Popup>
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,48 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||
|
||||
</Popup>
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,41 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
Var FromOreoDiscount11Pro = 0
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||
|
||||
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
</Popup>
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,36 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,45 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,46 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
Var FromPepsiSecondCup30 = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,74 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_pepween_fixed.xml"
|
||||
|
||||
Var NightTime = 0
|
||||
|
||||
If SystemTimeHourInt >= 19 Then
|
||||
Var NightTime = 1
|
||||
Else
|
||||
If SystemTimeHourInt < 5 Then
|
||||
Var NightTime = 1
|
||||
Else
|
||||
Var NightTime = 0
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
DEBUGVAR SystemTimeHourInt
|
||||
If NightTime = 1 Then
|
||||
Var Haunted7price = 30
|
||||
Var Haunted7PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n//bn_haunted_woods_50.png"
|
||||
Var Haunted7Image = "ROOT/taobin_project/image/page_drink_n//bn_haunted_woods_50.png"
|
||||
Var Haunted7ImagePress = "ROOT/taobin_project/image/page_drink_press_n//bn_haunted_woods_50.png"
|
||||
Var Haunted7ImageDisable = "ROOT/taobin_project/image/page_drink_disable_n2//bn_haunted_woods_50.png"
|
||||
Else
|
||||
Var Haunted7price = $12-99-03-0066.Price
|
||||
Var Haunted7PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n//bn_haunted_woods.png"
|
||||
Var Haunted7Image = "ROOT/taobin_project/image/page_drink_n//bn_haunted_woods.png"
|
||||
Var Haunted7ImagePress = "ROOT/taobin_project/image/page_drink_press_n//bn_haunted_woods.png"
|
||||
Var Haunted7ImageDisable = "ROOT/taobin_project/image/page_drink_disable_n2//bn_haunted_woods.png"
|
||||
EndIf
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
|
|
@ -1,597 +0,0 @@
|
|||
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
Var NextPage = "-"
|
||||
|
||||
DEBUGVAR ICE_PROCESS_STATUS
|
||||
DEBUGVAR ICE_PROCESS_TXT
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var showthaiText = "Invisible"
|
||||
Var showengText = "Enable"
|
||||
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
||||
Var show_btp = "ROOT/taobin_project/image/page2/bn_thai_lang_press_2.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/page2/bn_thai_lang_2.png"
|
||||
|
||||
Var ice_tab_text = "Ice will be ready at "
|
||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
Var showengText = "Invisible"
|
||||
Var showthaiText = "Enable"
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/page3"
|
||||
Var show_btp = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
|
||||
|
||||
Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา "
|
||||
Var text_unavailable = "หมด###size=32"
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
Var ice_tab_process_show = "Enable"
|
||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
; SpiralOnline
|
||||
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
|
||||
Var Menu1Selected2 = "Invisible"
|
||||
Var Menu2Selected2 = "Invisible"
|
||||
Var Menu3Selected2 = "Invisible"
|
||||
Var Menu4Selected2 = "Invisible"
|
||||
|
||||
Var Menu6Selected2 = "Invisible"
|
||||
Var Menu7Selected2 = "Invisible"
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
Var Menu11Selected2 = "Invisible"
|
||||
|
||||
Var Menu21Selected2 = "Invisible"
|
||||
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
If SpiralOnline = "true" Then
|
||||
If Seeker = "curr" Then
|
||||
Var MenuVSelected2 = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; init default
|
||||
Var Menu1Selected = "Enable"
|
||||
Var Menu2Selected = "Enable"
|
||||
Var Menu3Selected = "Enable"
|
||||
Var Menu4Selected = "Enable"
|
||||
; 5 fruit
|
||||
Var Menu5Selected = "Invisible"
|
||||
;Var Menu6Selected = "Enable"
|
||||
|
||||
Var Menu61Selected = "Enable"
|
||||
Var Menu62Selected = "Enable"
|
||||
|
||||
Var Menu7Selected = "Enable"
|
||||
; 8 cocktail
|
||||
Var Menu8Selected = "Invisible"
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Var Menu7Selected = "Invisible"
|
||||
Var Menu8Selected = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
If AppFastEnable = "true" Then
|
||||
Var Menu11Selected = "Enable"
|
||||
Var Menu21Selected = "Invisible"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Else
|
||||
If MenuKidEnable = "true" Then
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu21Selected = "Enable"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Else
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu21Selected = "Invisible"
|
||||
Var Menu7Selected = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Var Menu7Selected = "Invisible"
|
||||
EndIf
|
||||
|
||||
If RecipeTag1 = "HealthTurnOn" Then
|
||||
Var Menu22Selected = "Enable"
|
||||
Else
|
||||
Var Menu22Selected = "Invisible"
|
||||
EndIf
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_pepween_fixed.xml"
|
||||
|
||||
Var NightTime = 0
|
||||
|
||||
If SystemTimeHourInt >= 19 Then
|
||||
Var NightTime = 1
|
||||
Else
|
||||
If SystemTimeHourInt < 5 Then
|
||||
Var NightTime = 1
|
||||
Else
|
||||
Var NightTime = 0
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
DEBUGVAR SystemTimeHourInt
|
||||
If NightTime = 1 Then
|
||||
Var Haunted7price = 30
|
||||
Var Haunted7PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n//bn_haunted_woods_50.png"
|
||||
Var Haunted7Image = "ROOT/taobin_project/image/page_drink_n//bn_haunted_woods_50.png"
|
||||
Var Haunted7ImagePress = "ROOT/taobin_project/image/page_drink_press_n//bn_haunted_woods_50.png"
|
||||
Var Haunted7ImageDisable = "ROOT/taobin_project/image/page_drink_disable_n2//bn_haunted_woods_50.png"
|
||||
Else
|
||||
Var Haunted7price = $12-99-03-0066.Price
|
||||
Var Haunted7PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n//bn_haunted_woods.png"
|
||||
Var Haunted7Image = "ROOT/taobin_project/image/page_drink_n//bn_haunted_woods.png"
|
||||
Var Haunted7ImagePress = "ROOT/taobin_project/image/page_drink_press_n//bn_haunted_woods.png"
|
||||
Var Haunted7ImageDisable = "ROOT/taobin_project/image/page_drink_disable_n2//bn_haunted_woods.png"
|
||||
EndIf
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImageDrinkOption = "ROOT/taobin_project/image/drink_option_en/"
|
||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
||||
|
||||
Else
|
||||
Var DirImageDrinkOption = "ROOT/taobin_project/image/drink_option/"
|
||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
||||
EndIf
|
||||
|
||||
SetInstanceIgnoreTouch
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
|
||||
; notice enable heathy menu
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1540 </Height>
|
||||
<Color> "0xeae6e1" </Color>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<EventUnitTest1>
|
||||
SAVELOG " EventUnitTest1 EventUnitTest1 EventUnitTest1 EventUnitTest1 EventUnitTest1 EventUnitTest1 "
|
||||
RefreshAll
|
||||
</EventUnitTest1>
|
||||
|
||||
|
||||
; under line
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 494 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page3/tab_line_bottom.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
; under line
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 358 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page3/bg1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
; back
|
||||
<Button>
|
||||
<X> 19 </X>
|
||||
<Y> 381 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
SAVELOG " Back multi inst"
|
||||
TabMenuVisibleInst 99
|
||||
OpenInst 2 "ROOT/taobin_project/xml/menutab/page_catalog.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 1000 </X>
|
||||
<Y> 381 </Y>
|
||||
<Filename> show_btn </Filename>
|
||||
<FilenamePress> show_btp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; eng
|
||||
If show_eng = "true" Then
|
||||
Var show_eng = "false"
|
||||
Var text_unavailable = "หมด###size=32"
|
||||
InstanceSetString "ShowThai"
|
||||
Else
|
||||
Var show_eng = "true"
|
||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||
InstanceSetString "ShowEng"
|
||||
EndIf
|
||||
|
||||
Var RequestChangeLang = 1
|
||||
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<EventOnShow>
|
||||
InstanceGetString SaveStringInst
|
||||
DEBUGVAR SaveStringInst
|
||||
DEBUGVAR show_eng
|
||||
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
If SaveStringInst = "ShowThai" Then
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
Else
|
||||
If SaveStringInst = "ShowEng" Then
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventOnShow>
|
||||
|
||||
;
|
||||
<ListView1>
|
||||
<Width> 1080 </Width>
|
||||
<Height> "auto" </Height>
|
||||
<X> 0 </X>
|
||||
<Y> 395 </Y>
|
||||
<Row2>
|
||||
<State>"Enable"</State>
|
||||
<Width> 896 </Width>
|
||||
<Height> 102 </Height>
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu1Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_recommend2.png" )</Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_recommend2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
SAVELOG "Click rec"
|
||||
Var NextPage = "-"
|
||||
Var OpenFromMulti = 1
|
||||
Var OpenFromPageBoard = 1
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu2Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_coffee2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_coffee2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 2
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu3Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_tea2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_tea2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 3
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu4Selected </State>
|
||||
<Mode> "No" </Mode>
|
||||
<Filename> Var( DirImageAlter + "/bn_cho_ca2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_cho_ca2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 4
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu7Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_protein2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_protein2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 5
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu11Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_appfast2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_appfast2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 5
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu21Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_forkid2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_forkid2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 5
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu22Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_health.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_health.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
TabMenuVisibleInst 6
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu8Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_cocktail.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_cocktail.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
TabMenuVisibleInst 6
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu61Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_Pepsi_7up.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_Pepsi_7up.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 8
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> Menu62Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_sodada2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_sodada2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 7
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> MenuVSelected2 </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_vending2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_vending2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
Open "ROOT/taobin_project/spiral/xml/page_catalog_vending_machine.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> MenuBSelected2 </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_bakery.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_bakery.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
|
||||
OpenInst 2 "ROOT/taobin_project/bakery/xml/page_catalog_vending_machine.xml"
|
||||
TabMenuVisibleInst 99
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<Mode> "No" </Mode>
|
||||
<State> MenuTaoTimSelect </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_taotimtap.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_taotimtap.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
|
||||
OpenInst 2 "ROOT/taobin_project/xml/page_catalog_group_soft_serve.xml"
|
||||
TabMenuVisibleInst 99
|
||||
</EventClick>
|
||||
</Button>
|
||||
</Row2>
|
||||
</ListView1>
|
||||
|
||||
<EventWebApp>
|
||||
|
||||
DEBUGVAR web_ready
|
||||
If web_ready = "true" Then
|
||||
If web_ref = QRCODE99x Then
|
||||
|
||||
Var web_readyOK = web_ready
|
||||
Var web_telnumOK = web_telnum
|
||||
|
||||
Var web_app_prepar = "true"
|
||||
|
||||
; Handle penetrator
|
||||
|
||||
If Only18 = "true" Then
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_identity18_verification.xml"
|
||||
Else
|
||||
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
EndIf
|
||||
|
||||
; Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
|
||||
EndIf
|
||||
Else
|
||||
EndIf
|
||||
|
||||
</EventWebApp>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<FrameScroll>
|
||||
<X> 10 </X>
|
||||
<Y> 497 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
; menu_new_list 14
|
||||
</FrameScroll>
|
||||
; Cart
|
||||
<Button>
|
||||
<X> 915 </X>
|
||||
<Y> 1769 </Y>
|
||||
<State> showCart </State>
|
||||
<Filename> cart_image_bn </Filename>
|
||||
<FilenamePress> cart_image_bp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
Var RerunProCode = ""
|
||||
Var FromRerunPro = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,45 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,50 +0,0 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
Var FromTeaTimePro = 0
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||
|
||||
</Popup>
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue