SGP: add season pass mode at recommend page

This commit is contained in:
Pakin 2024-07-15 17:29:43 +07:00
parent 86d9c4683f
commit b57750e134
380 changed files with 17810 additions and 3933 deletions

View file

@ -1,18 +1,19 @@
from pathlib import Path
import json
if False:
print("params=" + param)
print( "dir= " + directory_to_process + "/page_catalog_group_recommend.lxml");
file_xml = open(directory_to_process + "/page_catalog_group_recommend.lxml", 'r')
file_content_main = file_xml.read()
#print(file_xml.read())
# ; include-file=dummy_layout.inc
file_inc = open(directory_to_process + "/dummy_layout.inc", 'r')
file_inc_content = file_inc.read()
print("params=" + param)
print( "dir= " + directory_to_process + "/page_catalog_group_recommend.lxml");
file_xml = open(directory_to_process + "/page_catalog_group_recommend.lxml", 'r')
file_content_main = file_xml.read()
#print(file_xml.read())
# ; include-file=dummy_layout.inc
file_inc = open(directory_to_process + "/dummy_layout.inc", 'r')
file_inc_content = file_inc.read()
file_xml.close()
file_xml.close()
if "template1" in param:
file_inc2 = open(directory_to_process + "/event/promotion_template1.inc", 'r')
file_inc2_content = file_inc2.read()
file_inc_img = open(directory_to_process + "/../image/event/image_template1", 'r')
@ -63,7 +64,7 @@ if False:
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')
@ -113,7 +114,8 @@ if False:
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')
@ -164,3 +166,362 @@ if False:
file_xml3 = open(directory_to_process + file_xml3_out_content, 'w')
file_xml3.write( content_data)
file_xml3.close()
if "template4" in param:
# NOTE: promotion_template4.inc, image_template4, promotion_onclick4.inc, out_put_file4.txt
# promotion 4
file_inc3 = open(directory_to_process + "/event/promotion_template4.inc", 'r')
file_inc3_content = file_inc3.read()
file_inc_img = open(directory_to_process + "/../image/event/image_template4", '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_onclick4.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)
content_data_was_repack = file_content_main.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_file4.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 "template5" in param:
# promotion thai tea
file_inc3 = open(directory_to_process + "/event/promotion_template5.inc", 'r')
file_inc3_content = file_inc3.read()
file_inc_img = open(directory_to_process + "/../image/event/image_template5", '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_onclick5.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)
content_data_was_repack = file_content_main.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_file5.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()
###############################################################
# MULTI PRO
###############################################################
print("dummy.current_file_name=", current_file_name)
if "multi_promotion" in param:
print("Should gen multi")
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_buff = Path(directory_to_process + "/page_catalog_group_recommend_multi_pro.lxml").read_text()
# print("pre-regex multi pro buff = ", recommend_multi_pro_buff)
# print("test split", json.dumps(recommend_multi_pro_buff.splitlines(), indent=2))
temp = []
for buffer in recommend_multi_pro_buff.splitlines():
# print("buffer:"+buffer)
if "\\n" in buffer:
# print("found")
buffer = buffer.replace("\\n", "\\\\n")
temp.append(buffer)
recommend_multi_pro_buff = "\n".join(temp)
# print("after-splitlines multi pro buff = ", recommend_multi_pro_buff)
# 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()
# TODO: get script and replace ###event_on_click
if gen_season_pass and promotion_config["name"].startswith("s") and "product_code_key" in promotion_config.keys():
product_code = promotion_config["product_code_key"]
script = None
print("try find script for ", product_code)
try:
script = season_pass_menu_script[product_code]
if "\\n" in script:
script = script.replace("\\n", "\\\\n")
except:
pass
# print("script=", script)
if script != None:
template = template.replace("###on_click_script", script.strip())
# replace state
product_code_state = "$Sum" + ''.join(product_code.split('.')[1:]).replace("-","").replace("#","")
product_code_list = product_code.split('.')[1:]
pd_dot_btn = [pd +".Button" for pd in product_code_list if "#" not in pd]
print("gen state", product_code_state)
# template = template.replace("BigButtonEnable", f"Flag( {','.join(pd_dot_btn)},Disable=Invisible,{product_code_state})")
if "dev" in param:
template = template.replace("BigButtonEnable", f"\"Enable\"")
else:
template = template.replace("BigButtonEnable", f"{product_code_state}")
template = template.replace("###on_click_script", "")
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)
if gen_season_pass and promotion_config["name"].startswith("s") and "product_code_key" in promotion_config.keys():
promotion_block_str = f"\r\n<Block>\r\n\t<State> Flag( {','.join(pd_dot_btn)},Disable=Invisible,{product_code_state}) </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"
# insert overlay tag
# promotion_block_str += season_pass_menu_big_btn_ui[f"{product_code}.overlay"]
# try:
# template = template.replace(";#Overlay", season_pass_menu_big_btn_ui[f"{product_code}.overlay"])
# except:
# print("Overlay not found for "+product_code)
# pass
if "dev" in param:
promotion_block_str = f"\r\n<Block>\r\n\t<State> \"Enable\" </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"
# Add text for price and name
# season_pass_menu_big_btn_ui
if gen_season_pass and promotion_config["name"].startswith("s") and "product_code_key" in promotion_config.keys():
price_name_ui = season_pass_menu_big_btn_ui[product_code]
if price_name_ui != None:
print("get cloned ui OK")
# print("preview\n", price_name_ui)
template += "\r\n" + price_name_ui.replace("\\n", "\\\\n")
# <Image>
# <X> 10 </X>
# <Y> 10 </Y>
# <Filename> "ROOT/taobin_project/inter/sgp/image/event/menu_overlay_set/gradeB/button_overlay_catalog_3_posi1.png" </Filename>
# </Image>
# print("after replace\n", template)
try:
# get overlay
overlay_original_tag = season_pass_menu_big_btn_ui[f"{product_code}.overlay"]
# print(f"[OverlayClone] {product_code} --- "+overlay_original_tag+".")
overlay_new_path = " ".join(overlay_original_tag.split(' ')[3:-1]).replace("menu_overlay_set", "event/menu_overlay_set").replace(")","")
template += f"\t<Image>\r\n\t<X> 10 </X>\r\n\t<Y> 10 </Y>\r\n\t<Filename> {overlay_new_path} </Filename>\r\n\t</Image>\r\n"
except:
print("\t\t> Overlay not found for "+product_code+"\n")
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)
# print("before idx cond check", recommend_multi_pro_buff)
# Path("./before_idx_cond_check."+str(index)).write_text(recommend_multi_pro_buff, encoding="utf-8")
if gen_season_pass and promotion_config["name"].startswith("s") and "product_code_key" in promotion_config.keys():
current_season = int([ s for s in product_code.split('.')[0]][1])
print("[REPL] season ", current_season)
filter_sm = [ pd for pd in season_pass_menu[current_season] if pd.endswith("sm")]
print("[SM] expect at least 4, ", len(filter_sm))
# try get block
generated_block_buffer = ""
for sm_menu in filter_sm:
if ";season-sm-block" not in recommend_multi_pro_buff:
print("expect already generated")
break
try:
sm_menu = ".".join(sm_menu.split(".")[:-1])
print("sm_menu", sm_menu)
curr_sm_block = store_block_list[sm_menu]
curr_sm_block = curr_sm_block.replace(",$Sum", ",Disable=Invisible,$Sum").replace("\\n", "\\\\n")
generated_block_buffer += curr_sm_block
if "52-05-02-0076" in sm_menu:
print("52-05-02-0076", generated_block_buffer)
except:
print("Cannot find store block for ", sm_menu)
pass
# replace by set of season menus
if generated_block_buffer != "" and ";season-sm-block" in recommend_multi_pro_buff:
print("init replace block")
recommend_multi_pro_buff = re.sub(r'(?is);season-sm-block.*?;end-season-sm-block', generated_block_buffer, recommend_multi_pro_buff)
# print(recommend_multi_pro_buff)
# recommend_multi_pro_buff = recommend_multi_pro_buff.replace("\\n", "\\n")
# Path("./generated_buffer_sm."+str(index)).write_text(recommend_multi_pro_buff, encoding="utf-8")
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)
# print("after idx 2 cond check", recommend_multi_pro_buff)
if index == 3:
# create expand block
# print("inner block2. Is buffer contain ;block?", ";block" in recommend_multi_pro_buff, re.search(r'(?is)(;block{0}.*;endblock{0})'.format(index+1), recommend_multi_pro_buff))
inner_block2 = re.search(r'(?is)(;block{0}.*;endblock{0})'.format(index+1), recommend_multi_pro_buff).group(1)
# print("inner_block2 = ", inner_block2)
# Path("./inner_block2."+str(index)).write_text(inner_block2, encoding="utf-8")
# Path("./inner_block2_buffer."+str(index)).write_text(recommend_multi_pro_buff, encoding="utf-8")
inner_block2 = inner_block2.replace(";block{0}".format(index+1), ";block{0}-expand".format(index+1))
# print("inner_block2_1 = ", inner_block2)
# Path("./inner_block2_1."+str(index)).write_text(inner_block2, encoding="utf-8")
# Path("./inner_block2_1_buffer."+str(index)).write_text(recommend_multi_pro_buff, encoding="utf-8")
inner_block2 = inner_block2.replace(";endblock{0}".format(index+1), ";endblock{0}-expand".format(index+1))
# print("inner_block2_2 = ", inner_block2)
# Path("./inner_block2_2."+str(index)).write_text(inner_block2, encoding="utf-8")
# Path("./inner_block2_2_buffer."+str(index)).write_text(recommend_multi_pro_buff, encoding="utf-8")
# print(f"inner_block2_2.buffer {index} = ", recommend_multi_pro_buff)
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)
# print("inner_block2_3 = ", inner_block2)
if "\\n" in inner_block2:
inner_block2 = inner_block2.replace("\\n", "\\\\n")
recommend_multi_pro_buff = re.sub(r'(?is);block{0}.*;endblock{0}'.format(index+1), inner_block2, recommend_multi_pro_buff)
# print("after idx 3 cond check", recommend_multi_pro_buff)
# print("index = ", index)
# create promotion file
count_name_dict = {
2: "double_",
3: "triple_"
}
# print("write buffer encode: ", str(recommend_multi_pro_buff))
# test
# print("test pathlib", Path(directory_to_process + "/page_catalog_group_recommend_multi_pro.lxml").read_text())
# promo_file = open(directory_to_process + "/event/" + count_name_dict[len(multi_pro_config)]+ "promotion_" + "_and_".join(promotion_name) + ".lxml", "w")
Path(directory_to_process + "/event/" + count_name_dict[len(multi_pro_config)]+ "promotion_" + "_and_".join(promotion_name) + ".lxml").write_text(recommend_multi_pro_buff, encoding="utf-8")
# promo_file.write(recommend_multi_pro_buff)
# # promo_file.writelines(recommend_multi_pro_buff.split("\r\n"))
# promo_file.close()

View file

@ -0,0 +1,44 @@
[
{
"name": "s1topleft",
"template": "/event/promotion_template.inc",
"product_code_key": "s1.52-21-01-0007.52-21-02-0004.52-21-03-0004",
"config": {
"normal_eng": "ROOT/taobin_project/inter/sgp/image/event/season_pass/bn_hot_caramel_latte.png",
"normal_thai": "ROOT/taobin_project/inter/sgp/image/event/season_pass/bn_hot_caramel_latte.png",
"press_eng": "ROOT/taobin_project/inter/sgp/image/event/season_pass/bp_hot_caramel_latte.png",
"press_thai": "ROOT/taobin_project/inter/sgp/image/event/season_pass/bp_hot_caramel_latte.png",
"disable_eng": "ROOT/taobin_project/inter/sgp/image/event/season_pass/bd_hot_caramel_latte.png",
"disable_thai": "ROOT/taobin_project/inter/sgp/image/event/season_pass/bd_hot_caramel_latte.png",
"event_on_click": "ROOT/taobin_project/xml/page_topping_select6.lxml"
}
},
{
"name": "s1topright",
"template": "/event/promotion_template.inc",
"product_code_key": "s1.##-##-##-####.##-##-##-####.52-03-03-0009",
"config": {
"normal_eng": "ROOT/taobin_project/inter/sgp/image/event/season_pass/bn_smoothie_oreo.png",
"normal_thai": "ROOT/taobin_project/inter/sgp/image/event/season_pass/bn_smoothie_oreo.png",
"press_eng": "ROOT/taobin_project/inter/sgp/image/event/season_pass/bp_smoothie_oreo.png",
"press_thai": "ROOT/taobin_project/inter/sgp/image/event/season_pass/bp_smoothie_oreo.png",
"disable_eng": "ROOT/taobin_project/inter/sgp/image/event/season_pass/bd_smoothie_oreo.png",
"disable_thai": "ROOT/taobin_project/inter/sgp/image/event/season_pass/bd_smoothie_oreo.png",
"event_on_click": "ROOT/taobin_project/xml/page_topping_select6.lxml"
}
},
{
"name": "s1botleft",
"template": "/event/promotion_template.inc",
"product_code_key": "s1.52-02-01-0026.52-02-02-0026.52-02-03-0026",
"config": {
"normal_eng": "ROOT/taobin_project/inter/sgp/image/event/season_pass/bn_hot_matcha_milk_tea.png",
"normal_thai": "ROOT/taobin_project/inter/sgp/image/event/season_pass/bn_hot_matcha_milk_tea.png",
"press_eng": "ROOT/taobin_project/inter/sgp/image/event/season_pass/bp_hot_matcha_milk_tea.png",
"press_thai": "ROOT/taobin_project/inter/sgp/image/event/season_pass/bp_hot_matcha_milk_tea.png",
"disable_eng": "ROOT/taobin_project/inter/sgp/image/event/season_pass/bd_hot_matcha_milk_tea.png",
"disable_thai": "ROOT/taobin_project/inter/sgp/image/event/season_pass/bd_hot_matcha_milk_tea.png",
"event_on_click": "ROOT/taobin_project/xml/page_topping_select6.lxml"
}
}
]

View file

@ -0,0 +1,44 @@
[
{
"name": "s2topleft",
"template": "/event/promotion_template.inc",
"product_code_key": "s2.52-21-01-0006.52-21-02-0003.52-21-03-0003",
"config": {
"normal_eng": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
"normal_thai": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
"press_eng": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
"press_thai": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
"disable_eng": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
"disable_thai": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
"event_on_click": "ROOT/taobin_project/xml/page_topping_select6.lxml"
}
},
{
"name": "s2topright",
"template": "/event/promotion_template.inc",
"product_code_key": "s2.##-##-##-####.##-##-##-####.52-03-03-0049",
"config": {
"normal_eng": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"normal_thai": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"press_eng": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"press_thai": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"disable_eng": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"disable_thai": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"event_on_click": "ROOT/taobin_project/xml/page_topping_select6.lxml"
}
},
{
"name": "s2botleft",
"template": "/event/promotion_template.inc",
"product_code_key": "s2.52-02-01-0039.52-02-02-0039.52-02-03-0039",
"config": {
"normal_eng": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"normal_thai": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"press_eng": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"press_thai": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"disable_eng": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"disable_thai": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"event_on_click": "ROOT/taobin_project/xml/page_topping_select6.lxml"
}
}
]

View file

@ -0,0 +1,44 @@
[
{
"name": "s3topleft",
"template": "/event/promotion_template.inc",
"product_code_key": "s3.52-21-01-0005.52-31-02-0002.52-31-03-0002",
"config": {
"normal_eng": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
"normal_thai": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
"press_eng": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
"press_thai": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
"disable_eng": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
"disable_thai": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
"event_on_click": "ROOT/taobin_project/xml/page_topping_select6.lxml"
}
},
{
"name": "s3topright",
"template": "/event/promotion_template.inc",
"product_code_key": "s3.##-##-##-####.52-04-02-0002.##-##-##-####",
"config": {
"normal_eng": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"normal_thai": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"press_eng": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"press_thai": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"disable_eng": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"disable_thai": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"event_on_click": "ROOT/taobin_project/xml/page_topping_select6.lxml"
}
},
{
"name": "s3botleft",
"template": "/event/promotion_template.inc",
"product_code_key": "s3.##-##-##-####.##-##-##-####.52-03-03-0027",
"config": {
"normal_eng": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"normal_thai": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"press_eng": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"press_thai": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"disable_eng": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"disable_thai": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"event_on_click": "ROOT/taobin_project/xml/page_topping_select6.lxml"
}
}
]

View file

@ -0,0 +1,39 @@
<Button>
<State> BigButtonEnable </State>
<Filename>
eval(
If show_eng = "true" Then
Var return = ###normal_eng
Else
Var return = ###normal_thai
EndIf
)
</Filename>
<FilenamePress>
eval(
If show_eng = "true" Then
Var return = ###press_eng
Else
Var return = ###press_thai
EndIf
)
</FilenamePress>
<FilenameDisable>
eval(
If show_eng = "true" Then
Var return = ###disable_eng
Else
Var return = ###disable_thai
EndIf
)
</FilenameDisable>
<EventOnClick>
###on_click_script
Open ###event_on_click
</EventOnClick>
</Button>

View file

@ -1,13 +1,54 @@
; australia
; Singapore
Var CountEnablePromotion = 0
; ensure
Var CountSecureOpenPro = 0
If SeasonPassMode = 1 Then
If Season1 = "false" Then
Var CountSecureOpenPro = CountSecureOpenPro + 1
EndIf
If Season2 = "false" Then
Var CountSecureOpenPro = CountSecureOpenPro + 1
EndIf
If Season3 = "false" Then
Var CountSecureOpenPro = CountSecureOpenPro + 1
EndIf
If CountSecureOpenPro = 3 Then
Var SeasonPassMode = 0
EndIf
EndIf
; zone promote
If OpenFromPageBoard = 1 Then
OpenInst 2 "ROOT/taobin_project/inter/sgp/xml/page_catalog_group_recommend.lxml"
If SeasonPassMode = 1 Then
Var PromotionState1 = "Enable"
Var PromotionState2 = "Enable"
Var PromotionState3 = "Enable"
OpenInst 2 SeasonFile
Else
OpenInst 2 "ROOT/taobin_project/inter/sgp/xml/page_catalog_group_recommend.lxml"
EndIf
Else
Open "ROOT/taobin_project/inter/sgp/xml/page_catalog_group_recommend.lxml"
If SeasonPassMode = 1 Then
Var PromotionState1 = "Enable"
Var PromotionState2 = "Enable"
Var PromotionState3 = "Enable"
Open SeasonFile
Else
Open "ROOT/taobin_project/inter/sgp/xml/page_catalog_group_recommend.lxml"
EndIf
EndIf
Var OpenFromPageBoard = 0

View file

@ -0,0 +1,72 @@
Var Season1 = "false"
Var Season2 = "false"
Var Season3 = "false"
Var BigButtonEnable = "Enable"
Var SeasonTrick = CountryRootPath + "xml/event/season_pass/"
If SystemDateMonthInt = 7 Then
If SystemDateDayInt >= 22 Then
Var Season1 = "true"
EndIf
EndIf
If SystemDateMonthInt = 8 Then
If SystemDateDayInt <= 4 Then
Var Season1 = "true"
Else
Var Season1 = "false"
EndIf
If SystemDateDayInt > 4 Then
If SystemDateDayInt < 19 Then
Var Season2 = "true"
Else
Var Season2 = "false"
Var Season3 = "true"
EndIf
EndIf
EndIf
If SystemDateMonthInt = 9 Then
If SystemDateDayInt = 1 Then
Var Season3 = "true"
EndIf
EndIf
If BoxID = "177746" Then
Var Season1 = "false"
Var Season2 = "false"
Var Season3 = "false"
EndIf
DEBUGVAR Season1
DEBUGVAR Season2
DEBUGVAR Season3
DEBUGVAR SeasonTrick
If Season1 = "true" Then
Var SeasonTrick = SeasonTrick + "set1.ev"
TRY SeasonTrick
Else
If Season2 = "true" Then
Var SeasonTrick = SeasonTrick + "set2.ev"
TRY SeasonTrick
Else
If Season3 = "true" Then
Var SeasonTrick = SeasonTrick + "set3.ev"
TRY SeasonTrick
EndIf
EndIf
EndIf

View file

@ -0,0 +1,24 @@
; Define
Var SeasonPass = 1
Var SeasonFile = CountryRootPath + "xml/event/triple_promotion_s1topleft_and_s1topright_and_s1botleft.lxml"
DEBUGVAR SeasonPass
DEBUGVAR SeasonFile
Var CountEnablePromotion = 0
If $Sum522101000752210200045221030004 = "Enable" Then
Var CountEnablePromotion = CountEnablePromotion + 1
EndIf
If $Sum5203030009 = "Enable" Then
Var CountEnablePromotion = CountEnablePromotion + 1
EndIf
If $Sum520201002652020200265202030026 = "Enable" Then
Var CountEnablePromotion = CountEnablePromotion + 1
EndIf
DEBUGVAR CountEnablePromotion

View file

@ -0,0 +1,10 @@
; Define
Var SeasonPass = 2
Var SeasonFile = CountryRootPath + "xml/event/triple_promotion_s2topleft_and_s2topright_and_s2botleft.lxml"
DEBUGVAR SeasonPass
DEBUGVAR SeasonFile

View file

@ -0,0 +1,10 @@
; Define
Var SeasonPass = 1
Var SeasonFile = CountryRootPath + "xml/event/triple_promotion_s3topleft_and_s3topright_and_s3botleft.lxml"
DEBUGVAR SeasonPass
DEBUGVAR SeasonFile

View file

@ -7,3 +7,33 @@
; Reset flag away.
Var SeasonPassMode = 0
If SystemDateMonthInt = 7 Then
If SystemDateDayInt > 21 Then
Var SeasonPassMode = 1
Else
Var SeasonPassMode = 0
EndIf
EndIf
If SystemDateMonthInt = 8 Then
Var SeasonPassMode = 1
EndIf
If SystemDateMonthInt = 9 Then
Var SeasonPassMode = 1
If SystemDateDayInt > 1 Then
Var SeasonPassMode = 0
EndIf
EndIf
If BoxID = "177746" Then
Var SeasonPassMode = 1
EndIf
If SeasonPassMode = 1 Then
Var SeasonPassFile = CountryRootPath + "xml/event/season_pass/season_pass.ev"
TRY SeasonPassFile
EndIf

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -181,16 +181,17 @@
<EventClick>
SAVELOG "Click rec"
Var NextPage = "-"
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_recommend.lxml"
DEBUGVAR CountryRootPath
DEBUGVAR OpenFileXML
;Open "ROOT/taobin_project/xml/page_catalog_group_recommend.lxml"
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
;inter-xml-open
If CountryName = "Singapore" Then
; zone promote
TRY OpenFileXML
EndIf
If CountryName = "Thailand" Then
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.lxml"
Else
Open OpenFileXML
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
EndIf
</EventClick>
</Button>

View file

@ -15,7 +15,7 @@ else:
f.close()
else:
print("new layout catalog enable.")
f = open( directory_to_process + "/menu_catalog_new.xml", "r")
f = open( directory_to_process + "/menu_catalog_new.lxml", "r")
#print(f.read())
out_xml(f.read())
f.close()

View file

@ -6,23 +6,35 @@
else:
touch_less_gen = False
if current_file_name == "page_catalog_group_recommend_multi_pro.skt":
multi_pro_gen = True
else:
multi_pro_gen = False
print("Found multi pro skt: ", multi_pro_gen )
print ("######################################################################################################")
idx_of_eng = 2
out_xml('<FrameScroll> \r\n')
if touch_less_gen == True:
out_xml('<Max> 16 </Max>\r\n')
elif multi_pro_gen:
out_xml('<Max> 4 </Max>\r\n')
out_xml('<X> 10 </X>\r\n')
out_xml('<Y> 497 </Y>\r\n')
out_xml('<Width> 1080 </Width>\r\n')
out_xml('<ScrollHeight> "auto" </ScrollHeight>\r\n')
out_xml('<Scroll> "Vertical" </Scroll>\r\n')
out_xml('<Column> 4 </Column>\r\n')
if multi_pro_gen:
out_xml('<Column> 2 </Column>\r\n')
else:
out_xml('<Column> 4 </Column>\r\n')
out_xml('<Script>\r\n')
print("current_file_name " + current_file_name)
if touch_less_gen == False:
if touch_less_gen == False or multi_pro_gen:
out_xml('\t Var block_index_override = 0\r\n')
out_xml('\t Var block_index_move = 0\r\n')
@ -1011,7 +1023,36 @@
#if count_test > 8 :
# break
if multi_pro_gen:
for i in range(1, 5):
# if spl has set define
out_xml(';block'+str(i)+'\r\n')
out_xml('\t<Block>\r\n')
out_xml('\t\t<State> \"Enable\" </State> \r\n')
# out_xml('\t\t<MarginTop> 22 </MarginTop>\r\n')
# out_xml('\t\t<MarginLeft> 33 </MarginLeft>\r\n')
out_xml('\t\t<Width> 516 </Width>\r\n')
out_xml('\t\t<Height> 636 </Height>\r\n')
out_xml('\t\t<FrameScroll>\r\n')
out_xml('\t\t\t<Max> 4 </Max>\r\n')
out_xml('\t\t\t<X> 0 </X>\r\n')
out_xml('\t\t\t<Y> 0 </Y>\r\n')
out_xml('\t\t\t<Width> 516 </Width>\r\n')
out_xml('\t\t\t<Height> 636 </Height>\r\n')
out_xml('\t\t\t<ScrollHeight> "auto" </ScrollHeight>\r\n')
out_xml('\t\t\t<Scroll> "Vertical" </Scroll>\r\n')
out_xml('\t\t\t<Column> 2 </Column>\r\n')
out_xml('\t\t\t<Script>\r\n')
out_xml('\t\t\t\tVar block_index_override = 0\r\n')
out_xml('\t\t\t\tVar block_index_move = 0\r\n')
out_xml('\t\t\t</Script>\r\n')
GenListMenu()
out_xml('\t\t</FrameScroll>\r\n')
out_xml('\t\t</Block>\r\n')
out_xml(';endblock'+str(i)+'\r\n')
else:
out_xml('; menu_new_list '+ str(len(menu_new_list))+'\r\n')
GenListMenu()
out_xml('</FrameScroll>\r\n')

File diff suppressed because it is too large Load diff

View file

@ -340,16 +340,17 @@
<EventClick>
SAVELOG "Click rec"
Var NextPage = "-"
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_recommend.lxml"
DEBUGVAR CountryRootPath
DEBUGVAR OpenFileXML
;Open "ROOT/taobin_project/xml/page_catalog_group_recommend.lxml"
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
;inter-xml-open
If CountryName = "Singapore" Then
; zone promote
TRY OpenFileXML
EndIf
If CountryName = "Thailand" Then
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.lxml"
Else
Open OpenFileXML
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
EndIf
</EventClick>
</Button>
@ -644,6 +645,7 @@
Var block_index_move = 0
</Script>
;dummy_layout.inc
; menu_new_list 5
; ==================> Len = 3
; - 52-04-02-1018 -
<Block>
@ -764,7 +766,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -781,7 +783,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -809,7 +811,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -827,7 +829,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -845,7 +847,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -909,8 +911,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204021018 </State>
<Language>
@ -1039,7 +1041,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -1056,7 +1058,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -1084,7 +1086,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1102,7 +1104,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1120,7 +1122,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1184,8 +1186,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204021019 </State>
<Language>
@ -1314,7 +1316,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -1331,7 +1333,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -1359,7 +1361,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1377,7 +1379,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1395,7 +1397,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1459,8 +1461,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204021020 </State>
<Language>
@ -1589,7 +1591,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -1606,7 +1608,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -1634,7 +1636,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1652,7 +1654,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1670,7 +1672,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1734,8 +1736,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204021021 </State>
<Language>
@ -1864,7 +1866,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -1881,7 +1883,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -1909,7 +1911,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1927,7 +1929,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1945,7 +1947,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2009,8 +2011,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204021022 </State>
<Language>

File diff suppressed because it is too large Load diff

View file

@ -341,16 +341,17 @@
<EventClick>
SAVELOG "Click rec"
Var NextPage = "-"
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_recommend.lxml"
DEBUGVAR CountryRootPath
DEBUGVAR OpenFileXML
;Open "ROOT/taobin_project/xml/page_catalog_group_recommend.lxml"
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
;inter-xml-open
If CountryName = "Singapore" Then
; zone promote
TRY OpenFileXML
EndIf
If CountryName = "Thailand" Then
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.lxml"
Else
Open OpenFileXML
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
EndIf
</EventClick>
</Button>
@ -645,6 +646,7 @@
Var block_index_move = 0
</Script>
;dummy_layout.inc
; menu_new_list 14
; ==================> Len = 3
; 52-03-01-0005 52-03-02-0005 52-03-03-0005
<Block>
@ -793,7 +795,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -810,7 +812,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -838,7 +840,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -856,7 +858,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -874,7 +876,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -942,8 +944,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum520301000552030200055203030005 </State>
<Language>
@ -1100,7 +1102,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -1117,7 +1119,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -1145,7 +1147,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1163,7 +1165,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1181,7 +1183,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1249,8 +1251,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum520301000152030200015203030001 </State>
<Language>
@ -1379,7 +1381,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -1396,7 +1398,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -1424,7 +1426,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1442,7 +1444,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1460,7 +1462,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1528,8 +1530,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum520301000352030200035203030003 </State>
<Language>
@ -1658,7 +1660,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -1675,7 +1677,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -1703,7 +1705,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1721,7 +1723,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1739,7 +1741,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1803,8 +1805,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum52030200065203030006 </State>
<Language>
@ -1961,7 +1963,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -1978,7 +1980,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -2006,7 +2008,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2024,7 +2026,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2042,7 +2044,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2110,8 +2112,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum520301000252030200025203030002 </State>
<Language>
@ -2268,7 +2270,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -2285,7 +2287,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -2313,7 +2315,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2331,7 +2333,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2349,7 +2351,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2417,8 +2419,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum520301002252030200225203030022 </State>
<Language>
@ -2557,7 +2559,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -2574,7 +2576,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -2602,7 +2604,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2620,7 +2622,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2638,7 +2640,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2702,8 +2704,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5203030010 </State>
<Language>
@ -2832,7 +2834,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -2849,7 +2851,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -2877,7 +2879,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2895,7 +2897,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2913,7 +2915,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2977,8 +2979,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5203030020 </State>
<Language>
@ -3107,7 +3109,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -3124,7 +3126,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -3152,7 +3154,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -3170,7 +3172,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -3188,7 +3190,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -3252,8 +3254,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5203030021 </State>
<Language>
@ -3401,7 +3403,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -3418,7 +3420,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -3446,7 +3448,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -3464,7 +3466,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -3482,7 +3484,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -3546,8 +3548,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum52050200415205030041 </State>
<Language>
@ -3676,7 +3678,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -3693,7 +3695,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -3721,7 +3723,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -3739,7 +3741,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -3757,7 +3759,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -3821,8 +3823,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum52050200085205030008 </State>
<Language>
@ -3961,7 +3963,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -3978,7 +3980,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -4006,7 +4008,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -4024,7 +4026,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -4042,7 +4044,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -4106,8 +4108,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5205020044 </State>
<Language>
@ -4246,7 +4248,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -4263,7 +4265,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -4291,7 +4293,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -4309,7 +4311,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -4327,7 +4329,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -4391,8 +4393,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5205020045 </State>
<Language>
@ -4531,7 +4533,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -4548,7 +4550,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -4576,7 +4578,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -4594,7 +4596,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -4612,7 +4614,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -4676,8 +4678,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5203030009 </State>
<Language>

File diff suppressed because it is too large Load diff

View file

@ -43,5 +43,8 @@
#include=menu_new_layout_gen.py
?>
<?hurr
#include=./event/dummy_layout_promotion.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -43,10 +43,6 @@
?>
<?hurr
#include=./event/dummy_layout_promotion.py
?>
<EventUnitTest4>
RefreshAll
</EventUnitTest4>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -11,7 +11,7 @@
<EventOpen>
; On open
<?hurr
#include=menu_catalog_default_init.xml
#include=menu_catalog_default_init.py
?>
Var Menu1Selected = "PressForever"
@ -41,7 +41,7 @@
EndIf
<?hurr
#include=menu_catalog_new_menu.xml
#include=menu_catalog_new_menu.py
?>
</EventOpen>
@ -65,8 +65,8 @@
<State> buttonRemoveCup </State>
;<Color> "0x00BDFF" </Color>
<Interval> 500 </Interval>
<Filename> "ROOT/taobin_project/image/main_page/bn_remove_cup.png" </Filename>
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
<Filename> Var(RootPath + "image/main_page/bn_remove_cup.png") </Filename>
<Filename> Var(RootPath + "image/main_page/bp_remove_cup.png") </Filename>
<EventClick>
Machine RemoveCup
Machine DoorLidOpen

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,80 @@
<?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 Menu1Selected = "PressForever"
Var OreoBigButtonEnable = "Enable"
If $52-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.py
?>
</EventOpen>
;include="ROOT/taobin_project/inter/sgp/xml/menu_catalog_new.lxml"
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>
;BigLogoLayout
<Button>
<X> 780 </X>
<Y> 500 </Y>
<State> buttonRemoveCup </State>
;<Color> "0x00BDFF" </Color>
<Interval> 500 </Interval>
<Filename> Var(RootPath + "image/main_page/bn_remove_cup.png") </Filename>
<Filename> Var(RootPath + "image/main_page/bp_remove_cup.png") </Filename>
<EventClick>
Machine RemoveCup
Machine DoorLidOpen
Var buttonRemoveCup = "Invisible"
</EventClick>
</Button>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -337,16 +337,17 @@
<EventClick>
SAVELOG "Click rec"
Var NextPage = "-"
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_recommend.lxml"
DEBUGVAR CountryRootPath
DEBUGVAR OpenFileXML
;Open "ROOT/taobin_project/xml/page_catalog_group_recommend.lxml"
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
;inter-xml-open
If CountryName = "Singapore" Then
; zone promote
TRY OpenFileXML
EndIf
If CountryName = "Thailand" Then
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.lxml"
Else
Open OpenFileXML
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
EndIf
</EventClick>
</Button>
@ -640,6 +641,7 @@
Var block_index_move = 0
</Script>
;dummy_layout.inc
; menu_new_list 17
; ==================> Len = 3
; - 52-04-02-0001 -
<Block>
@ -760,7 +762,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -777,7 +779,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -805,7 +807,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -823,7 +825,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -841,7 +843,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -905,8 +907,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204020001 </State>
<Language>
@ -1035,7 +1037,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -1052,7 +1054,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -1080,7 +1082,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1098,7 +1100,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1116,7 +1118,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1180,8 +1182,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204020016 </State>
<Language>
@ -1203,6 +1205,7 @@
<Filename> "ROOT/taobin_project/inter/sgp/image/page_drink_n//bn_protein_Chocolate.png" </Filename>
<FilenamePress> "ROOT/taobin_project/inter/sgp/image/page_drink_press_n//bn_protein_Chocolate.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/inter/sgp/image/page_drink_disable_n2//bn_protein_Chocolate.png" </FilenameDisable>
<OverlayImage> xmlpro( 52-04-02-0002, "ROOT/taobin_project/inter/sgp/image/menu_overlay_set/gradeC/button_overlay_catalog_3_posi2.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
@ -1299,7 +1302,16 @@
Var OverlayMenuFilter1 = ""
Var OverlayMenuFilter2 = ""
Var OverlayMenuFilter3 = ""
Var OverlayMenuFilter = ""
If PD_STAGE_2 = "Enable" Then
Var OverlayMenuFilter2 = "52-04-02-0002"
Var OverlayMenuFilter2_Value !assigned xmlpro( 52-04-02-0002, "ROOT/taobin_project/inter/sgp/image/menu_overlay_set/gradeC/button_overlay_3_posi2.png")
DEBUGVAR OverlayMenuFilter2
DEBUGVAR OverlayMenuFilter2_Value
Else
Var OverlayMenuFilter = ""
EndIf
Var OverlayMenuFilter = "xmlpro( 52-04-02-0002, "ROOT/taobin_project/inter/sgp/image/menu_overlay_set/gradeC/button_overlay_3_posi2.png")"
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
@ -1310,7 +1322,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -1327,7 +1339,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -1355,7 +1367,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1373,7 +1385,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1391,7 +1403,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1455,8 +1467,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204020002 </State>
<Language>
@ -1585,7 +1597,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -1602,7 +1614,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -1630,7 +1642,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1648,7 +1660,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1666,7 +1678,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1730,8 +1742,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204020003 </State>
<Language>
@ -1860,7 +1872,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -1877,7 +1889,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -1905,7 +1917,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1923,7 +1935,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -1941,7 +1953,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2005,8 +2017,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204020013 </State>
<Language>
@ -2135,7 +2147,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -2152,7 +2164,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -2180,7 +2192,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2198,7 +2210,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2216,7 +2228,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2280,8 +2292,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204020018 </State>
<Language>
@ -2410,7 +2422,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -2427,7 +2439,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -2455,7 +2467,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2473,7 +2485,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2491,7 +2503,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2555,8 +2567,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204020021 </State>
<Language>
@ -2685,7 +2697,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -2702,7 +2714,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -2730,7 +2742,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2748,7 +2760,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2766,7 +2778,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -2830,8 +2842,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204020055 </State>
<Language>
@ -2960,7 +2972,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -2977,7 +2989,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -3005,7 +3017,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -3023,7 +3035,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -3041,7 +3053,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -3105,8 +3117,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204020005 </State>
<Language>
@ -3235,7 +3247,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -3252,7 +3264,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -3280,7 +3292,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -3298,7 +3310,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -3316,7 +3328,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -3380,8 +3392,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204020015 </State>
<Language>
@ -3510,7 +3522,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -3527,7 +3539,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -3555,7 +3567,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -3573,7 +3585,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -3591,7 +3603,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -3655,8 +3667,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204020006 </State>
<Language>
@ -3785,7 +3797,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -3802,7 +3814,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -3830,7 +3842,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -3848,7 +3860,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -3866,7 +3878,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -3930,8 +3942,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204020008 </State>
<Language>
@ -4060,7 +4072,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -4077,7 +4089,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -4105,7 +4117,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -4123,7 +4135,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -4141,7 +4153,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -4205,8 +4217,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204020017 </State>
<Language>
@ -4335,7 +4347,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -4352,7 +4364,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -4380,7 +4392,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -4398,7 +4410,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -4416,7 +4428,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -4480,8 +4492,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204020009 </State>
<Language>
@ -4610,7 +4622,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -4627,7 +4639,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -4655,7 +4667,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -4673,7 +4685,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -4691,7 +4703,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -4755,8 +4767,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204020010 </State>
<Language>
@ -4885,7 +4897,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -4902,7 +4914,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -4930,7 +4942,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -4948,7 +4960,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -4966,7 +4978,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -5030,8 +5042,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204020011 </State>
<Language>
@ -5160,7 +5172,7 @@
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
@ -5177,7 +5189,7 @@
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>222</Width>
<Width> 222 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<LanguageGroup>
@ -5205,7 +5217,7 @@
<X> TextPriceMenuHotX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -5223,7 +5235,7 @@
<X> 113 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -5241,7 +5253,7 @@
<X> TextPriceMenuBlendX </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Width> 220 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
@ -5305,8 +5317,8 @@
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Width> 128 </Width>
<Height> 64 </Height>
<Mode> "disable-show" </Mode>
<State> $Sum5204020056 </State>
<Language>

View file

@ -116,8 +116,22 @@
<Value> RemainingInThisPage </Value>
</Text>
<Text>
<X> 50 </X>
<Y> 865 </Y>
<Size> 56 </Size>
<Align> Center </Align>
<Width> 1080 </Width>
<Font> KanitRegularTTF </Font>
<State> DisplayQR </State>
<Color> 0xDE794E </Color>
<Value> "Please scan QR to register" </Value>
</Text>
<Image>
<X> 449 </X>
<X> 400 </X>
<Y> 1065 </Y>
<State> DisplayQR </State>
<Filename> QRImg </Filename>