THAI: Added Jemila sound

This commit is contained in:
Kenta420 2024-09-22 00:27:03 +07:00
parent bfbaac6752
commit e454479817
25 changed files with 3461 additions and 2887 deletions

View file

Before

Width:  |  Height:  |  Size: 257 KiB

After

Width:  |  Height:  |  Size: 257 KiB

Before After
Before After

View file

@ -93,9 +93,9 @@
Var TelephoneNumber = TelephoneNumberX
Var TNumberTaobinMemberXXX = TelephoneNumber
Var Seeker.IsAlreadyGetReward = Ext1c
Var JemilaDewyglowOutOfStock = Ext1x4
Var ColorChangingBlushOutOfStock = Ext1x5
Var CuraMDRandomOutOfStock = Ext1x6
Var JemilaDewyglowOutOfStock = Ext1d
Var ColorChangingBlushOutOfStock = Ext1e
Var CuraMDRandomOutOfStock = Ext1f
DEBUGVAR JemilaDewyglowOutOfStock
@ -431,7 +431,7 @@
If MenuPoint[0] = 1 Then
Var CurrentIndexPoint = CurrentIndexPoint + 1
Var PointState[CurrentIndexPoint] = 1
PointName[CurrentIndexPoint] = MenuName[0]
Var PointName[CurrentIndexPoint] = MenuName[0]
If newPointIndex = 0 Then
Var PointImage[CurrentIndexPoint] = "/new_point.png"
Else
@ -442,7 +442,7 @@
If MenuPoint[1] = 1 Then
Var CurrentIndexPoint = CurrentIndexPoint + 1
Var PointState[CurrentIndexPoint] = 1
PointName[CurrentIndexPoint] = MenuName[1]
Var PointName[CurrentIndexPoint] = MenuName[1]
If newPointIndex = 1 Then
Var PointImage[CurrentIndexPoint] = "/new_point.png"
Else
@ -453,7 +453,7 @@
If MenuPoint[2] = 1 Then
Var CurrentIndexPoint = CurrentIndexPoint + 1
Var PointState[CurrentIndexPoint] = 1
PointName[CurrentIndexPoint] = MenuName[2]
Var PointName[CurrentIndexPoint] = MenuName[2]
If newPointIndex = 2 Then
Var PointImage[CurrentIndexPoint] = "/new_point.png"
Else
@ -464,7 +464,7 @@
If MenuPoint[3] = 1 Then
Var CurrentIndexPoint = CurrentIndexPoint + 1
Var PointState[CurrentIndexPoint] = 1
PointName[CurrentIndexPoint] = MenuName[3]
Var PointName[CurrentIndexPoint] = MenuName[3]
If newPointIndex = 3 Then
Var PointImage[CurrentIndexPoint] = "/new_point.png"
Else
@ -475,7 +475,7 @@
If MenuPoint[4] = 1 Then
Var CurrentIndexPoint = CurrentIndexPoint + 1
Var PointState[CurrentIndexPoint] = 1
PointName[CurrentIndexPoint] = MenuName[4]
Var PointName[CurrentIndexPoint] = MenuName[4]
If newPointIndex = 4 Then
Var PointImage[CurrentIndexPoint] = "/new_point.png"
Else
@ -486,7 +486,7 @@
If MenuPoint[5] = 1 Then
Var CurrentIndexPoint = CurrentIndexPoint + 1
Var PointState[CurrentIndexPoint] = 1
PointName[CurrentIndexPoint] = MenuName[5]
Var PointName[CurrentIndexPoint] = MenuName[5]
If newPointIndex = 5 Then
Var PointImage[CurrentIndexPoint] = "/new_point.png"
Else
@ -497,7 +497,7 @@
If MenuPoint[6] = 1 Then
Var CurrentIndexPoint = CurrentIndexPoint + 1
Var PointState[CurrentIndexPoint] = 1
PointName[CurrentIndexPoint] = MenuName[6]
Var PointName[CurrentIndexPoint] = MenuName[6]
If newPointIndex = 6 Then
Var PointImage[CurrentIndexPoint] = "/new_point.png"
Else
@ -508,7 +508,7 @@
If MenuPoint[7] = 1 Then
Var CurrentIndexPoint = CurrentIndexPoint + 1
Var PointState[CurrentIndexPoint] = 1
PointName[CurrentIndexPoint] = MenuName[7]
Var PointName[CurrentIndexPoint] = MenuName[7]
If newPointIndex = 7 Then
Var PointImage[CurrentIndexPoint] = "/new_point.png"
Else
@ -519,7 +519,7 @@
If MenuPoint[8] = 1 Then
Var CurrentIndexPoint = CurrentIndexPoint + 1
Var PointState[CurrentIndexPoint] = 1
PointName[CurrentIndexPoint] = MenuName[8]
Var PointName[CurrentIndexPoint] = MenuName[8]
If newPointIndex = 8 Then
Var PointImage[CurrentIndexPoint] = "/new_point.png"
Else
@ -530,7 +530,7 @@
If MenuPoint[9] = 1 Then
Var CurrentIndexPoint = CurrentIndexPoint + 1
Var PointState[CurrentIndexPoint] = 1
PointName[CurrentIndexPoint] = MenuName[9]
Var PointName[CurrentIndexPoint] = MenuName[9]
If newPointIndex = 9 Then
Var PointImage[CurrentIndexPoint] = "/new_point.png"
Else

View file

@ -343,77 +343,77 @@
<Text>
<X> 192 </X>
<Y> 1354 </Y>
<Width> 270 </Width>
<Width> 170 </Width>
<Font> RobotoBold </Font>
<Size> 14 </Size>
<Color> 0x000000 </Color>
<Align> Center </Align>
<Align> center-vertical-horizontal </Align>
<Value> PointName[0] </Value>
</Text>
<Text>
<X> 367 </X>
<Y> 1354 </Y>
<Width> 270 </Width>
<Width> 170 </Width>
<Font> RobotoBold </Font>
<Size> 14 </Size>
<Color> 0x000000 </Color>
<Align> Center </Align>
<Align> center-vertical-horizontal </Align>
<Value> PointName[1] </Value>
</Text>
<Text>
<X> 542 </X>
<Y> 1354 </Y>
<Width> 270 </Width>
<Width> 170 </Width>
<Font> RobotoBold </Font>
<Size> 14 </Size>
<Color> 0x000000 </Color>
<Align> Center </Align>
<Align> center-vertical-horizontal </Align>
<Value> PointName[2] </Value>
</Text>
<Text>
<X> 717 </X>
<Y> 1354 </Y>
<Width> 270 </Width>
<Width> 170 </Width>
<Font> RobotoBold </Font>
<Size> 14 </Size>
<Color> 0x000000 </Color>
<Align> Center </Align>
<Align> center-vertical-horizontal </Align>
<Value> PointName[3] </Value>
</Text>
<Text>
<X> 281 </X>
<Y> 1612 </Y>
<Width> 270 </Width>
<Width> 170 </Width>
<Font> RobotoBold </Font>
<Size> 14 </Size>
<Color> 0x000000 </Color>
<Align> Center </Align>
<Align> center-vertical-horizontal </Align>
<Value> PointName[4] </Value>
</Text>
<Text>
<X> 456 </X>
<Y> 1612 </Y>
<Width> 270 </Width>
<Width> 170 </Width>
<Font> RobotoBold </Font>
<Size> 14 </Size>
<Color> 0x000000 </Color>
<Align> Center </Align>
<Align> center-vertical-horizontal </Align>
<Value> PointName[5] </Value>
</Text>
<Text>
<X> 631 </X>
<Y> 1612 </Y>
<Width> 270 </Width>
<Width> 170 </Width>
<Font> RobotoBold </Font>
<Size> 14 </Size>
<Color> 0x000000 </Color>
<Align> Center </Align>
<Align> center-vertical-horizontal </Align>
<Value> PointName[6] </Value>
</Text>
@ -455,14 +455,14 @@
</Image>
;
<Text>
<X> XPosiShowCountDownBrew </X>
<Y> 470 </Y>
<Align> End </Align>
<Width> 153 </Width>
<Size> 88 </Size>
<Font> RobotoBold </Font
<Color> 0x513C2F </Color>
<Value> ShowCountDownBrewing </Value>
<X> XPosiShowCountDownBrew </X>
<Y> 470 </Y>
<Align> End </Align>
<Width> 153 </Width>
<Size> 88 </Size>
<Font> RobotoBold </Font>
<Color> 0x513C2F </Color>
<Value> ShowCountDownBrewing </Value>
</Text>
<EventUnitTest3>

View file

@ -18,6 +18,8 @@
Var SelectedState = "Invisible"
Var SelectedRandomImg = ""
Var SelectedRandomX = 0
Var SelectedRandomY = 0
If JemilaDewyglowOutOfStock = 0 Then
Var rewardList[MaxRandomIndex] = "jemila_dewyglow"
@ -280,6 +282,8 @@
<Filename> Var( DirImage + "/random_select_img_1.png") </Filename>
<EventClick>
Var SelectedRandomImg = DirImage + "/random_open_img_1.png"
Var SelectedRandomX = 163
Var SelectedRandomY = 662
Function 2
</EventClick>
</Image>
@ -291,6 +295,8 @@
<Filename> Var( DirImage + "/random_select_img_2.png") </Filename>
<EventClick>
Var SelectedRandomImg = DirImage + "/random_open_img_2.png"
Var SelectedRandomX = 279
Var SelectedRandomY = 653
Function 2
</EventClick>
</Image>
@ -302,13 +308,15 @@
<Filename> Var( DirImage + "/random_select_img_3.png") </Filename>
<EventClick>
Var SelectedRandomImg = DirImage + "/random_open_img_3.png"
Var SelectedRandomX = 108
Var SelectedRandomY = 712
Function 2
</EventClick>
</Image>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<X> SelectedRandomX </X>
<Y> SelectedRandomY </Y>
<State> SelectedState </State>
<Filename> SelectedRandomImg </Filename>
</Image>

View file

@ -6915,7 +6915,7 @@ Sugar, Biscof" </Value>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "AMERICANO"
Var NameDrinkTH = "กาแฟดำ(อเมริกาโน)"
Var NameDrinkTH = "อเมริกาโน"
Var DrinkDescriptionTH = "กาแฟ และน้ำ "
Var DrinkDescription = "Espresso, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_america_no.png"
@ -6988,7 +6988,7 @@ Sugar, Biscof" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "กาแฟดำ(อเมริกาโน)" </Value>
<Value> "อเมริกาโน" </Value>
</Text>
<Text>
<X> 16 </X>
@ -7170,7 +7170,7 @@ Sugar, Biscof" </Value>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "AMERICANO"
Var NameDrinkTH = "กาแฟดำ(อเมริกาโน)"
Var NameDrinkTH = "อเมริกาโน"
Var DrinkDescriptionTH = "กาแฟ และน้ำ "
Var DrinkDescription = "Espresso, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_america_no.png"
@ -7243,7 +7243,7 @@ Sugar, Biscof" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "กาแฟดำ(อเมริกาโน)" </Value>
<Value> "อเมริกาโน" </Value>
</Text>
<Text>
<X> 16 </X>

View file

@ -6915,7 +6915,7 @@ Sugar, Biscof" </Value>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "AMERICANO"
Var NameDrinkTH = "กาแฟดำ(อเมริกาโน)"
Var NameDrinkTH = "อเมริกาโน"
Var DrinkDescriptionTH = "กาแฟ และน้ำ "
Var DrinkDescription = "Espresso, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_america_no.png"
@ -6988,7 +6988,7 @@ Sugar, Biscof" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "กาแฟดำ(อเมริกาโน)" </Value>
<Value> "อเมริกาโน" </Value>
</Text>
<Text>
<X> 16 </X>
@ -7170,7 +7170,7 @@ Sugar, Biscof" </Value>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "AMERICANO"
Var NameDrinkTH = "กาแฟดำ(อเมริกาโน)"
Var NameDrinkTH = "อเมริกาโน"
Var DrinkDescriptionTH = "กาแฟ และน้ำ "
Var DrinkDescription = "Espresso, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_america_no.png"
@ -7243,7 +7243,7 @@ Sugar, Biscof" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "กาแฟดำ(อเมริกาโน)" </Value>
<Value> "อเมริกาโน" </Value>
</Text>
<Text>
<X> 16 </X>

View file

@ -218,7 +218,8 @@ If BoxID = 105005 Then
Var PassionMintPro = 0
Var MomCocoaPro = 0
Var MomCocoaProDiscountEnable = 0
Var RobinsonBeautyPro = 1
Var RobinsonBeautyPro = 0
Var JemilaPro = 1
EndIf
If BoxID = 172331 Then
@ -358,6 +359,12 @@ Else
EndIf
If CollagenPowderEnable = "true" Then
Else
Var JemilaPro = 0
EndIf
Var CurrentMainVideoTemp = 0
@ -365,7 +372,6 @@ DEBUGVAR FreePowerup
; Control collect promotion point behavior
Var New_Payment = 0
Var NewFlowPaymentCode = 0

View file

@ -272,6 +272,11 @@
else:
from_robinson_beauty = False
if current_file_name == "page_catalog_group_pro_jemila.skt":
from_jemila = True
else:
from_jemila = False
#print ("######################################################################################################")
idx_of_eng = 2
out_xml('<FrameScroll> \r\n')
@ -616,6 +621,9 @@
if from_robinson_beauty:
out_xml( '\t\tVar FromRobinsonBeautyPro = 1 \r\n')
if from_jemila:
out_xml( '\t\tVar FromJemilaPro = 1 \r\n')
out_xml( '\t\t\r\n')
out_xml( '\t\t'+ button_add_string +'\r\n')
@ -1258,6 +1266,9 @@
if from_robinson_beauty:
out_xml( '\t\tVar FromRobinsonBeautyPro = 1 \r\n')
if from_jemila:
out_xml( '\t\tVar FromJemilaPro = 1 \r\n')
out_xml( '\t\t\r\n')
out_xml( '\t\t\r\n')

View file

@ -660,6 +660,10 @@
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/next_drink.mp3"
If FromJemilaPro = 1 Then
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/jemila/next_drink.m4a"
EndIf
; Play Sound #zone
If SoundBackToSchoolEnable = 1 Then

View file

@ -208,6 +208,7 @@
STRCONTAIN "1216" MaterialAvailable CoconutSyrupEnable
STRCONTAIN "1042" MaterialAvailable CocoaPowderEnable
STRCONTAIN "1037" MaterialAvailable 7UpSyrupEnable
STRCONTAIN "1052" MaterialAvailable CollagenPowderEnable
;Var AppFastEnable = "false"
If AppFastEnable = "true" Then

View file

@ -779,6 +779,10 @@
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/next_drink.mp3"
If FromJemilaPro = 1 Then
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/jemila/next_drink.m4a"
EndIf
; Play Sound #zone
If SoundBackToSchoolEnable = 1 Then

View file

@ -80,6 +80,11 @@
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/taobin_sawade.mp3"
If FromJemilaPro = 1 Then
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/jemila/taobin_sawade.m4a"
EndIf
Play PlaySoundLag
Var DirImageCart = "ROOT/taobin_project/image/cart_th"

View file

@ -39,7 +39,7 @@
Var block_index_override = 0
Var block_index_move = 0
</Script>
; menu_new_list 66
; menu_new_list 67
; ==================> Len = 17
; 12-01-01-0001 - -
<Block>
@ -2090,7 +2090,7 @@ ESPRESSO" </Value>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "AMERICANO"
Var NameDrinkTH = "กาแฟดำ(อเมริกาโน)"
Var NameDrinkTH = "อเมริกาโน"
Var DrinkDescriptionTH = "กาแฟ และน้ำ "
Var DrinkDescription = "Espresso, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_america_no.png"
@ -2163,7 +2163,7 @@ ESPRESSO" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "กาแฟดำ(อเมริกาโน)" </Value>
<Value> "อเมริกาโน" </Value>
</Text>
<Text>
<X> 16 </X>
@ -2343,7 +2343,7 @@ ESPRESSO" </Value>
<OverlayImage> xmlpro( 12-21-01-0003, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "AMERICANO"
Var NameDrinkTH = "กาแฟดำ(อเมริกาโน)"
Var NameDrinkTH = "อเมริกาโน"
Var DrinkDescriptionTH = "กาแฟ และน้ำ "
Var DrinkDescription = "Espresso, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_america_no.png"
@ -2416,7 +2416,7 @@ ESPRESSO" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "กาแฟดำ(อเมริกาโน)" </Value>
<Value> "อเมริกาโน" </Value>
</Text>
<Text>
<X> 16 </X>
@ -2578,6 +2578,513 @@ ESPRESSO" </Value>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 12
; 12-01-01-0081 12-01-02-0081 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-01-01-0081.Button,12-01-02-0081.Button,$Sum12010100811201020081) </State>
<Button>
<State> $Sum12010100811201020081 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_blackcoffee.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_blackcoffee.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_blackcoffee.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-01-01-0081, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "STRONG COFFEE"
Var NameDrinkTH = "กาแฟดำ"
Var DrinkDescriptionTH = "กาแฟ และน้ำ "
Var DrinkDescription = "Dark shot Espresso, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_blackcoffee.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-01-01-0081.Price
Var PriceD2 = $12-01-02-0081.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "12-01-01-0081"
Var PD_CODE2 = "12-01-02-0081"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = $12-01-01-0081.Button
Var PD_STAGE_2 = $12-01-02-0081.Button
Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0081, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-01-02-0081"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-01-01-0081"
Else
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $12-01-01-0081.NameE
Var menu_desc_eng_hot = $12-01-01-0081.descriptionE
Var menu_name_thai_hot = $12-01-01-0081.Name
Var menu_desc_thai_hot = $12-01-01-0081.description
Var menu_name_eng_cold = $12-01-02-0081.NameE
Var menu_desc_eng_cold = $12-01-02-0081.descriptionE
Var menu_name_thai_cold = $12-01-02-0081.Name
Var menu_desc_thai_cold = $12-01-02-0081.description
Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
Var menu_name_thai_blender = $##-##-##-####.Name
Var menu_desc_thai_blender = $##-##-##-####.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "กาแฟดำ" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ และน้ำ " </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "STRONG COFFEE" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Dark shot Espresso, Water" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> $12-01-01-0081.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-01-01-0081.Button </State>
<Value> StringFmt( $12-01-01-0081.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-01-02-0081.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-01-02-0081.Button </State>
<Value> StringFmt( $12-01-02-0081.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 180 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum12010100811201020081 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum12010100811201020081 = "Disable" Then
STRCONTAIN "ERR" $12-01-01-0081.TAG tag1_is_disable
STRCONTAIN "ERR" $12-01-02-0081.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag2_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag3_is_disable = "true" Then
Var return = "Enable"
EndIf
Else
Var return = "Invisible"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
</Image>
<Text>
<X> 84 </X>
<Y> 266 </Y>
<Size> 10 </Size>
<Font> OpunMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> ice_tab_process_show </State>
<Value> ice_show_open </Value>
</Text>
<Text>
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum12010100811201020081 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; 12-21-01-0081 12-21-02-0081 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-21-01-0081.Button,12-21-02-0081.Button,$Sum12210100811221020081) </State>
<Button>
<State> $Sum12210100811221020081 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_blackcoffee.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_blackcoffee.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_blackcoffee.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( 12-21-01-0081, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "STRONG COFFEE"
Var NameDrinkTH = "กาแฟดำ"
Var DrinkDescriptionTH = "กาแฟ และน้ำ "
Var DrinkDescription = "Dark shot Espresso, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_blackcoffee.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-21-01-0081.Price
Var PriceD2 = $12-21-02-0081.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "12-21-01-0081"
Var PD_CODE2 = "12-21-02-0081"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = $12-21-01-0081.Button
Var PD_STAGE_2 = $12-21-02-0081.Button
Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0081, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-21-02-0081"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-21-01-0081"
Else
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $12-21-01-0081.NameE
Var menu_desc_eng_hot = $12-21-01-0081.descriptionE
Var menu_name_thai_hot = $12-21-01-0081.Name
Var menu_desc_thai_hot = $12-21-01-0081.description
Var menu_name_eng_cold = $12-21-02-0081.NameE
Var menu_desc_eng_cold = $12-21-02-0081.descriptionE
Var menu_name_thai_cold = $12-21-02-0081.Name
Var menu_desc_thai_cold = $12-21-02-0081.description
Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
Var menu_name_thai_blender = $##-##-##-####.Name
Var menu_desc_thai_blender = $##-##-##-####.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "กาแฟดำ" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ และน้ำ " </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "STRONG COFFEE" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Dark shot Espresso, Water" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> $12-21-01-0081.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-21-01-0081.Button </State>
<Value> StringFmt( $12-21-01-0081.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-21-02-0081.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-21-02-0081.Button </State>
<Value> StringFmt( $12-21-02-0081.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 183 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum12210100811221020081 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum12210100811221020081 = "Disable" Then
STRCONTAIN "ERR" $12-21-01-0081.TAG tag1_is_disable
STRCONTAIN "ERR" $12-21-02-0081.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag2_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag3_is_disable = "true" Then
Var return = "Enable"
EndIf
Else
Var return = "Invisible"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
</Image>
<Text>
<X> 84 </X>
<Y> 266 </Y>
<Size> 10 </Size>
<Font> OpunMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> ice_tab_process_show </State>
<Value> ice_show_open </Value>
</Text>
<Text>
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum12210100811221020081 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 17
; 12-01-01-0013 - -

View file

@ -55,7 +55,7 @@
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "AMERICANO"
Var NameDrinkTH = "กาแฟดำ (อเมริกาโน)"
Var NameDrinkTH = "อเมริกาโน"
Var DrinkDescriptionTH = "กาแฟ และน้ำร้อน (อเมริกาโน)"
Var DrinkDescription = "Espresso, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_america_no_Healthy.png"
@ -128,8 +128,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "กาแฟดำ
(อเมริกาโน)" </Value>
<Value> "อเมริกาโน" </Value>
</Text>
<Text>
<X> 16 </X>
@ -310,7 +309,7 @@
<OverlayImage> xmlpro( 12-21-01-1003, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "AMERICANO"
Var NameDrinkTH = "กาแฟดำ (อเมริกาโน)"
Var NameDrinkTH = "อเมริกาโน"
Var DrinkDescriptionTH = "กาแฟ และน้ำร้อน (อเมริกาโน)"
Var DrinkDescription = "Espresso, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_america_no_Healthy.png"
@ -383,8 +382,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "กาแฟดำ
(อเมริกาโน)" </Value>
<Value> "อเมริกาโน" </Value>
</Text>
<Text>
<X> 16 </X>

File diff suppressed because it is too large Load diff

View file

@ -5936,7 +5936,7 @@ Sugar, Biscof" </Value>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "AMERICANO"
Var NameDrinkTH = "กาแฟดำ(อเมริกาโน)"
Var NameDrinkTH = "อเมริกาโน"
Var DrinkDescriptionTH = "กาแฟ และน้ำ "
Var DrinkDescription = "Espresso, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_america_no.png"
@ -6009,7 +6009,7 @@ Sugar, Biscof" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "กาแฟดำ(อเมริกาโน)" </Value>
<Value> "อเมริกาโน" </Value>
</Text>
<Text>
<X> 16 </X>
@ -6191,7 +6191,7 @@ Sugar, Biscof" </Value>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "AMERICANO"
Var NameDrinkTH = "กาแฟดำ(อเมริกาโน)"
Var NameDrinkTH = "อเมริกาโน"
Var DrinkDescriptionTH = "กาแฟ และน้ำ "
Var DrinkDescription = "Espresso, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_america_no.png"
@ -6264,7 +6264,7 @@ Sugar, Biscof" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "กาแฟดำ(อเมริกาโน)" </Value>
<Value> "อเมริกาโน" </Value>
</Text>
<Text>
<X> 16 </X>

View file

@ -277,6 +277,10 @@
Else
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/drinkfinish.mp3"
If FromJemilaPro = 1 Then
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/jemila/drinkfinish.m4a"
EndIf
Play PlaySoundLag
EndIf
EndIf

View file

@ -505,6 +505,10 @@
Else
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/drinkfinish.mp3"
If FromJemilaPro = 1 Then
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/jemila/drinkfinish.m4a"
EndIf
Play PlaySoundLag
EndIf
EndIf

View file

@ -179,6 +179,10 @@
Var DirImage = "ROOT/taobin_project/image/page_payment"
Var PlaySoundLag = "ROOT/taobin_project/sound_thai/payment.mp3"
If FromJemilaPro = 1 Then
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/jemila/payment.m4a"
EndIf
; Play Sound #zone
If SoundBackToSchoolEnable = 1 Then

View file

@ -872,9 +872,8 @@
; Play Sound #zone
If LipitPro = 1 Then
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/lipit/select_level.wav"
If FromJemilaPro = 1 Then
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/jemila/select_level.m4a"
EndIf
Play PlaySoundLag