before merge
This commit is contained in:
parent
6676dbb984
commit
de26fa563f
129 changed files with 1141 additions and 325008 deletions
|
|
@ -39,10 +39,7 @@ EndIf
|
|||
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_pepsi_7up.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/pepsi7up.ev"
|
||||
Var InstanceTabOpenFile8 = "ROOT/taobin_project/inter/tha/xml/multi/page_catalog_group_pepsi_7up.lxml"
|
||||
|
||||
OpenRedirect "/taobin_project/xml/topview2.xml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/topview.ev"
|
||||
Var InstanceTabOpenFile9 = "ROOT/taobin_project/xml/topview2.xml"
|
||||
|
||||
;Var InstanceTabOpenFile9 = "ROOT/taobin_project/inter/tha/xml/multi/start_up_inst_dummy.lxml"
|
||||
Var InstanceTabOpenFile9 = "ROOT/taobin_project/inter/tha/xml/multi/start_up_inst_dummy.lxml"
|
||||
Var InstanceTabOpenFile10 = "ROOT/taobin_project/inter/tha/xml/multi/start_up_inst_dummy.lxml"
|
||||
Var InstanceTabOpenFile11 = "ROOT/taobin_project/inter/tha/xml/multi/start_up_inst_dummy.lxml"
|
||||
Var InstanceTabOpenFile12 = "ROOT/taobin_project/inter/tha/xml/multi/start_up_inst_dummy.lxml"
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
if "v2" in param:
|
||||
print("new menu_catalog_default_init catalog ============================> inter.")
|
||||
f = open( directory_to_process + "/menu_catalog_default_init.lxml", "r")
|
||||
#print(f.read())
|
||||
out_xml(f.read())
|
||||
f.close()
|
||||
else:
|
||||
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,106 +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"
|
||||
|
||||
|
||||
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"
|
||||
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 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
|
||||
;
|
||||
|
||||
|
||||
|
|
@ -94,9 +94,9 @@
|
|||
Var ButtonLanguageCurrentXPosition = 1005
|
||||
Var ButtonLanguageCurrentYPosition = 458 - 38
|
||||
|
||||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListXPosition = 985
|
||||
Var ButtonLanguageListYPosition = 450 - 38
|
||||
TabMenuVisibleInst 9
|
||||
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RefreshAll
|
||||
|
||||
|
|
|
|||
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
print("directory_to_process =" + directory_to_process)
|
||||
if param == "old":
|
||||
print("old layout catalog enable.")
|
||||
f = open( directory_to_process + "/menu_catalog.xml", "r")
|
||||
#print(f.read())
|
||||
out_xml(f.read())
|
||||
f.close()
|
||||
else:
|
||||
if "v2" in param:
|
||||
print("new layout catalog ============================> inter.")
|
||||
f = open( directory_to_process + "/menu_catalog_new.lxml", "r")
|
||||
#print(f.read())
|
||||
out_xml(f.read())
|
||||
f.close()
|
||||
else:
|
||||
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,12 +0,0 @@
|
|||
if "v2" in param:
|
||||
print("new menu_catalog_new_menu catalog ============================> inter.")
|
||||
f = open( directory_to_process + "/menu_catalog_new_menu.lxml", "r")
|
||||
#print(f.read())
|
||||
out_xml(f.read())
|
||||
f.close()
|
||||
else:
|
||||
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,9 +0,0 @@
|
|||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
|
||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
||||
|
||||
Else
|
||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
|
||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
||||
EndIf
|
||||
|
|
@ -1,118 +0,0 @@
|
|||
|
||||
out_xml('<FrameScroll> \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')
|
||||
|
||||
for i in range( menu_count):
|
||||
i_str = str(i + 1)
|
||||
out_xml( '\t; button i='+ i_str + ' ' + product_code[i]+ ' \r\n')
|
||||
|
||||
out_xml( '<Block>\r\n')
|
||||
out_xml('\t<MarginLeft> 33 </MarginLeft>\r\n')
|
||||
out_xml('\t<MarginTop> 22 </MarginTop>\r\n')
|
||||
out_xml('\t<Width> 225 </Width>\r\n')
|
||||
out_xml('\t<Height> 296 </Height>\r\n')
|
||||
out_xml( '\t<State> $' + product_code[i] + '.Button </State> \r\n')
|
||||
|
||||
out_xml( '\t<Button>\r\n')
|
||||
out_xml( '\t<Filename> Var( "' + default_dir + '" + $'+ product_code[i] +'.image ) </Filename>\r\n')
|
||||
out_xml( '\t<FilenamePress> Var( "' + default_dir_press + '" + $'+ product_code[i] +'.image ) " </FilenamePress>\r\n')
|
||||
out_xml( '\t<FilenameDisable> Var( "' + default_dir_disable + '" + $'+ product_code[i] +'.image ) " </FilenameDisable>\r\n')
|
||||
out_xml( '\t<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>\r\n')
|
||||
out_xml( '\t<Volume> SoundVolume </Volume>\r\n')
|
||||
out_xml( '\t<EventOnClick> \r\n')
|
||||
|
||||
out_xml( '\t\tVar SelectDrink = "'+ product_code[i] +'"\r\n')
|
||||
out_xml( '\t\tVar NameDrink = $' + product_code[i] + '.NameE\r\n')
|
||||
out_xml( '\t\tVar NameDrinkTH = $' + product_code[i] + '.Name\r\n')
|
||||
out_xml( '\t\tVar DrinkDescriptionTH = $' + product_code[i] + '.description\r\n')
|
||||
out_xml( '\t\tVar DrinkDescription = $' + product_code[i] + '.descriptionE\r\n')
|
||||
out_xml( '\t\tVar PriceDrink = $' + product_code[i] + '.Price\r\n')
|
||||
out_xml( '\t\tVar PictureDrink = "' + default_dir2 + '" + $'+ product_code[i] +'.image\r\n')
|
||||
out_xml( '\t\tTopping "Load" SelectDrink\r\n')
|
||||
out_xml( '\t\tSAVELOG NameDrink\r\n')
|
||||
out_xml( '\t\tVar PriceShowValue = charOfBaht + PriceDrink\r\n')
|
||||
#out_xml( '\t\tVar PriceShowValue = "Free"\r\n')
|
||||
out_xml( '\t\tOpen "ROOT/taobin_project/xml/page_topping_alter.xml"\r\n')
|
||||
|
||||
out_xml( '\t</EventOnClick>\r\n')
|
||||
out_xml( '\t</Button>\r\n')
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> 182 </X>\r\n')
|
||||
out_xml( '\t<Y> 12 </Y>\r\n')
|
||||
out_xml( '\t<State> ShowPrice </State>\r\n')
|
||||
out_xml( '\t<Align> "Hurr" </Align>\r\n')
|
||||
out_xml( '\t<Width>150</Width>\r\n')
|
||||
out_xml( '\t<Size> 27 </Size>\r\n')
|
||||
out_xml( '\t<Font> KanitTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.Price </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> 164 </X>\r\n')
|
||||
out_xml( '\t<Y> 12 </Y>\r\n')
|
||||
out_xml( '\t<State> ShowPrice </State>\r\n')
|
||||
out_xml( '\t<Width>20</Width>\r\n')
|
||||
out_xml( '\t<Size> 27 </Size>\r\n')
|
||||
out_xml( '\t<Font> KanitTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
|
||||
out_xml( '\t<Value> "฿"" </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> 16 </X>\r\n')
|
||||
out_xml( '\t<Y> 190 </Y>\r\n')
|
||||
out_xml( '\t<Size> 24 </Size>\r\n')
|
||||
out_xml( '\t<Width>220</Width>\r\n')
|
||||
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
|
||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
|
||||
out_xml( '\t<State> showthaiText </State>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.Name </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> 16 </X>\r\n')
|
||||
out_xml( '\t<Y> 246 </Y>\r\n')
|
||||
out_xml( '\t<Size> 14 </Size>\r\n')
|
||||
out_xml( '\t<Width>220</Width>\r\n')
|
||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
|
||||
out_xml( '\t<State> showthaiText </State>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.description </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> 16 </X>\r\n')
|
||||
out_xml( '\t<Y> 190 </Y>\r\n')
|
||||
out_xml( '\t<Size> 22 </Size>\r\n')
|
||||
out_xml( '\t<Width>220</Width>\r\n')
|
||||
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
|
||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
|
||||
out_xml( '\t<State> showengText </State>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.NameE </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> 16 </X>\r\n')
|
||||
out_xml( '\t<Y> 246 </Y>\r\n')
|
||||
out_xml( '\t<Size> 14 </Size>\r\n')
|
||||
out_xml( '\t<Width>220</Width>\r\n')
|
||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
|
||||
out_xml( '\t<State> showengText </State>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.descriptionE </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
out_xml( '</Block>\r\n')
|
||||
|
||||
|
||||
out_xml('</FrameScroll>\r\n')
|
||||
|
|
@ -1,132 +0,0 @@
|
|||
if menu_count >= 16:
|
||||
scroll_height = 1670
|
||||
else:
|
||||
scroll_height = 1400
|
||||
|
||||
out_xml('<FrameScroll> \r\n')
|
||||
out_xml('<X> 0 </X>\r\n')
|
||||
out_xml('<Y> 497 </Y>\r\n')
|
||||
out_xml('<Width> 1080 </Width>\r\n')
|
||||
out_xml('<Height> 1500 </Height>\r\n')
|
||||
out_xml('<ScrollHeight> ' + str(scroll_height) + ' </ScrollHeight>\r\n')
|
||||
out_xml('<Scroll> "Vertical" </Scroll>\r\n')
|
||||
|
||||
for i in range( menu_count):
|
||||
i_str = str(i + 1)
|
||||
out_xml( '\t; button i='+ i_str + ' ' + product_code[i]+ ' \r\n')
|
||||
|
||||
|
||||
out_xml( '\t<Button>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i]) + ' </X> \r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i]) + ' </Y> \r\n')
|
||||
|
||||
out_xml( '\t<State> $' + product_code[i] + '.Button </State> \r\n')
|
||||
out_xml( '\t<Filename> Var( "' + default_dir + '" + $'+ product_code[i] +'.image ) </Filename>\r\n')
|
||||
out_xml( '\t<FilenamePress> Var( "' + default_dir_press + '" + $'+ product_code[i] +'.image ) " </FilenamePress>\r\n')
|
||||
out_xml( '\t<FilenameDisable> Var( "' + default_dir_disable + '" + $'+ product_code[i] +'.image ) " </FilenameDisable>\r\n')
|
||||
out_xml( '\t<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>\r\n')
|
||||
out_xml( '\t<Volume> SoundVolume </Volume>\r\n')
|
||||
out_xml( '\t<EventOnClick> \r\n')
|
||||
|
||||
out_xml( '\t\tVar SelectDrink = "'+ product_code[i] +'"\r\n')
|
||||
out_xml( '\t\tVar NameDrink = $' + product_code[i] + '.NameE\r\n')
|
||||
out_xml( '\t\tVar NameDrinkTH = $' + product_code[i] + '.Name\r\n')
|
||||
out_xml( '\t\tVar DrinkDescriptionTH = $' + product_code[i] + '.description\r\n')
|
||||
out_xml( '\t\tVar DrinkDescription = $' + product_code[i] + '.descriptionE\r\n')
|
||||
out_xml( '\t\tVar PriceDrink = $' + product_code[i] + '.Price\r\n')
|
||||
out_xml( '\t\tVar PictureDrink = "' + default_dir2 + '" + $'+ product_code[i] +'.image\r\n')
|
||||
out_xml( '\t\tTopping "Load" SelectDrink\r\n')
|
||||
#out_xml( '\t\tSAVELOG NameDrink\r\n')
|
||||
out_xml( '\t\tVar PriceShowValue = charOfBaht + PriceDrink\r\n')
|
||||
#out_xml( '\t\tVar PriceShowValue = "Free"\r\n')
|
||||
out_xml( '\t\tOpen "ROOT/taobin_project/xml/page_topping_alter.xml"\r\n')
|
||||
|
||||
out_xml( '\t</EventOnClick>\r\n')
|
||||
out_xml( '\t</Button>\r\n')
|
||||
|
||||
for i in range( menu_count):
|
||||
if RoadShow :
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i] + 164) + ' </X>\r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i] + 12) + ' </Y>\r\n')
|
||||
out_xml( '\t<Width>200</Width>\r\n')
|
||||
out_xml( '\t<Size> 27 </Size>\r\n')
|
||||
out_xml( '\t<Font> KanitTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
|
||||
out_xml( '\t<Value> "Free!" </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
out_xml( '\t<Text>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i] + 182) + ' </X>\r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i] + 12) + ' </Y>\r\n')
|
||||
out_xml( '\t<State> ShowPrice </State>\r\n')
|
||||
out_xml( '\t<Align> "Hurr" </Align>\r\n')
|
||||
out_xml( '\t<Width>150</Width>\r\n')
|
||||
out_xml( '\t<Size> 27 </Size>\r\n')
|
||||
out_xml( '\t<Font> KanitTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.Price </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i] + 164) + ' </X>\r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i] + 12) + ' </Y>\r\n')
|
||||
out_xml( '\t<State> ShowPrice </State>\r\n')
|
||||
out_xml( '\t<Width>20</Width>\r\n')
|
||||
out_xml( '\t<Size> 27 </Size>\r\n')
|
||||
out_xml( '\t<Font> KanitTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
|
||||
out_xml( '\t<Value> "฿"" </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i] + 16) + ' </X>\r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i] + 190) + ' </Y>\r\n')
|
||||
out_xml( '\t<Size> 24 </Size>\r\n')
|
||||
out_xml( '\t<Width>220</Width>\r\n')
|
||||
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
|
||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
|
||||
out_xml( '\t<State> showthaiText </State>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.Name </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i] + 16) + ' </X>\r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i] + 246) + ' </Y>\r\n')
|
||||
out_xml( '\t<Size> 14 </Size>\r\n')
|
||||
out_xml( '\t<Width>220</Width>\r\n')
|
||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
|
||||
out_xml( '\t<State> showthaiText </State>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.description </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i] + 16) + ' </X>\r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i] + 190) + ' </Y>\r\n')
|
||||
out_xml( '\t<Size> 22 </Size>\r\n')
|
||||
out_xml( '\t<Width>220</Width>\r\n')
|
||||
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
|
||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
|
||||
out_xml( '\t<State> showengText </State>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.NameE </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i] + 16) + ' </X>\r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i] + 246) + ' </Y>\r\n')
|
||||
out_xml( '\t<Size> 14 </Size>\r\n')
|
||||
out_xml( '\t<Width>220</Width>\r\n')
|
||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
|
||||
out_xml( '\t<State> showengText </State>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.descriptionE </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
|
||||
|
||||
out_xml('</FrameScroll>\r\n')
|
||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,75 +0,0 @@
|
|||
|
||||
out_xml(' ; bn_bestseller
|
||||
<Button>
|
||||
<X> 92 </X>
|
||||
<Y> 418 </Y>
|
||||
<State> "PressForever" </State>
|
||||
<Filename> Var( DirName + "/bn_bestseller.png" )</Filename>
|
||||
<FilenamePress> Var( DirName + "/bp_bestseller.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink1.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 243 </X>
|
||||
<Y> 418 </Y>
|
||||
<Filename> Var( DirName + "/bn_coffee.png") </Filename>
|
||||
<FilenamePress> Var( DirName + "/bp_coffee.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 397 </X>
|
||||
<Y> 418 </Y>
|
||||
<Filename> Var( DirName + "/bn_tea.png") </Filename>
|
||||
<FilenamePress> Var( DirName + "/bp_tea.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink3.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 545 </X>
|
||||
<Y> 418 </Y>
|
||||
<Filename> Var( "ROOT/taobin_project/inter/tha/image/page3_2_en/bn_cho_ca.png") </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/inter/tha/image/page3_2_en/bp_cho_ca.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink4.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 696 </X>
|
||||
<Y> 418 </Y>
|
||||
<Filename> Var( DirName + "/bn_fruit.png") </Filename>
|
||||
<FilenamePress> Var( DirName + "/bp_fruit.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink5.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 847 </X>
|
||||
<Y> 418 </Y>
|
||||
<Filename> Var( DirName + "/bn_sodada.png") </Filename>
|
||||
<FilenamePress> Var( DirName + "/bp_sodada.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink6.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
@ -189,6 +189,12 @@
|
|||
DEBUGVAR $51-03-01-0035.Price
|
||||
Var PromotionIDCurrentOrder = 0
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
Var ButtonLanguageCurrentXPosition = 1005
|
||||
Var ButtonLanguageCurrentYPosition = 458 - 38
|
||||
|
||||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListYPosition = 450 - 38
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
|
@ -287,10 +293,6 @@
|
|||
Var countDownRetrun = 300
|
||||
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
Var ButtonLanguageCurrentXPosition = 990
|
||||
Var ButtonLanguageCurrentYPosition = 438
|
||||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListYPosition = 430
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
|
||||
RefreshAll
|
||||
|
|
|
|||
|
|
@ -80,11 +80,6 @@
|
|||
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
|
||||
Var ButtonLanguageCurrentXPosition = 1005
|
||||
Var ButtonLanguageCurrentYPosition = 458 - 38
|
||||
|
||||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListYPosition = 450 - 38
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RefreshAll
|
||||
|
||||
|
|
@ -185,14 +180,8 @@
|
|||
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
|
||||
Var ButtonLanguageCurrentXPosition = 1005
|
||||
Var ButtonLanguageCurrentYPosition = 458 - 38
|
||||
|
||||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListYPosition = 450 - 38
|
||||
;OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
;RefreshAll
|
||||
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
|
||||
</EventLanguageOnChange>
|
||||
|
||||
<FrameScroll>
|
||||
|
|
|
|||
|
|
@ -82,11 +82,6 @@
|
|||
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
|
||||
Var ButtonLanguageCurrentXPosition = 1005
|
||||
Var ButtonLanguageCurrentYPosition = 458 - 38
|
||||
|
||||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListYPosition = 450 - 38
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RefreshAll
|
||||
|
||||
|
|
@ -187,14 +182,8 @@
|
|||
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
|
||||
Var ButtonLanguageCurrentXPosition = 1005
|
||||
Var ButtonLanguageCurrentYPosition = 458 - 38
|
||||
|
||||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListYPosition = 450 - 38
|
||||
;OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
;RefreshAll
|
||||
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
|
||||
</EventLanguageOnChange>
|
||||
|
||||
<?hurr
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
SAVELOG "Call topview.ev"
|
||||
|
||||
TabMenuVisibleInst 9
|
||||
Var RedirectTo = "/mnt/sdcard/coffeevending/taobin_project/xml/topview2.xml"
|
||||
RefreshAll
|
||||
Loading…
Add table
Add a link
Reference in a new issue