Merge branch 'masterpiece' of ssh://192.168.10.159:/1TBHDD/ikong/taobin_project into masterpiece

This commit is contained in:
Pakin 2024-02-13 15:11:41 +07:00
commit 34f3c604c4
33 changed files with 1292 additions and 355 deletions

View file

@ -215,7 +215,17 @@
; Point 3
If Seeker.selected_a_drink = "12-03-03-0044" Then
If Seeker.selected_a_drink = "12-03-02-0024" Then
If PointState[2] = 1 Then
Var newPointIndex = ""
Else
Var newPointIndex = 2
EndIf
Var PointState[2] = 1
EndIf
If Seeker.selected_a_drink = "12-03-03-0024" Then
If PointState[2] = 1 Then
Var newPointIndex = ""
Else
@ -273,7 +283,16 @@
; Point 8
If Seeker.selected_a_drink = "12-02-02-0055" Then
If Seeker.selected_a_drink = "12-03-02-0023" Then
If PointState[7] = 1 Then
Var newPointIndex = ""
Else
Var newPointIndex = 7
EndIf
Var PointState[7] = 1
EndIf
If Seeker.selected_a_drink = "12-03-03-0023" Then
If PointState[7] = 1 Then
Var newPointIndex = ""
Else

View file

@ -27,22 +27,15 @@
DEBUGVAR TelephoneNumber
DEBUGVAR TelephoneNumberX
Var ThaiTextState = "Invisible"
Var EngTextState = "Invisible"
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/event/bad_valentine/display_point_en"
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
Var EngTextState = "Enable"
Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2_eng.png"
Else
Var DirImage = "ROOT/taobin_project/image/event/bad_valentine/display_point"
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
Var ThaiTextState = "Enable"
Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2.png"
EndIf
@ -61,39 +54,41 @@
Var taobinImgPoint[7]= "/point_deactive.png"
Var taobinImgPoint[8]= "/point_deactive.png"
;Var taobinTextPointTH[0] = "รวยข้ามคืน ตื่นมารวย"
;Var taobinTextPointTH[1] = "รวยตาค้าง กระพริบตาบ้างก็ได้"
;Var taobinTextPointTH[2] = "รวยจนหน้าชา อาม่ายังงง"
;Var taobinTextPointTH[3] = "รวยจนช็อก! น็อคแล้วไหม"
;Var taobinTextPointTH[4] = "รวยไม่รู้ล้ม เอาผมลงไหมล่ะ"
;Var taobinTextPointTH[5] = "รวยนะคะรู้ยัง ถ้ายังก็รู้ซะ"
;Var taobinTextPointTH[6] = "รวยล้นฟ้า เทวดาซัปพอร์ต"
;Var taobinTextPointTH[7] = "รวยฟ้าผ่า เพราะลืมหลบฝน"
;Var taobinTextPointTH[8] = "แสร้งว่ารวย ค่าหวยไม่จ่าย"
Var PointCount = 0
;Var taobinTextPointEN[0] = "Mint Cafe Latte"
;Var taobinTextPointEN[1] = "Mintcano"
;Var taobinTextPointEN[2] = "Matcha Latte Mint"
;Var taobinTextPointEN[3] = "Cocoa Mint"
;Var taobinTextPointEN[4] = "Mint Milk"
;Var taobinTextPointEN[5] = "Strawberry Mint Milk"
;Var taobinTextPointEN[6] = "Mint Oreo Volcano"
;Var taobinTextPointEN[7] = "Mint Lime Soda"
;Var taobinTextPointEN[8] = "Strawberry Mint Soda"
If show_eng = "true" Then
Var taobinTextPoint[0] = "Bad kids smacked\ngood ones ditched"
Var taobinTextPoint[1] = "Ghosted after night\nconvo's dead"
Var taobinTextPoint[2] = "Kindness fix,\nzero romance drama"
Var taobinTextPoint[3] = "Love on mute,\nstuck in suspense"
Var taobinTextPoint[4] = "Promised a chat,\nbut poof, gone after HEY"
Var taobinTextPoint[5] = "Pops up when the rest bail"
Var taobinTextPoint[6] = "Love deep, broke hard the real deal"
Var taobinTextPoint[7] = "Forget love, take the L"
Var taobinTextPoint[8] = "Chat's our sport, gold in NO REPLY"
Else
Var taobinTextPoint[0] = "เป็นเด็กดื้อโดนตี เป็นเด็กดีโดนทิ้งตลอด"
Var taobinTextPoint[1] = "ตัดบทบอกฝันดี = เขาไม่อยากคุย"
Var taobinTextPoint[2] = "ที่ทำดีด้วยเขาไม่ได้มีใจ แต่เขามีเมตตา"
Var taobinTextPoint[3] = "ตกอยู่ในสถานะสแตนด์บาย"
Var taobinTextPoint[4] = "บอกว่าคุยได้พอทักไปก็หาย"
Var taobinTextPoint[5] = "เขาจะกลับมาก็ต่อเมื่อไม่เหลือใคร"
Var taobinTextPoint[6] = "รักหมดใจ เจ็บหมดตัวมีอยู่จริง"
Var taobinTextPoint[7] = "คนลืมก่อนชนะ โอเคเราแพ้"
Var taobinTextPoint[8] = "แชมป์โอลิมปิกสาขาชวนคุย"
EndIf
;Var taobinTextColorPoint[0] = "0xFFFFFF"
;Var taobinTextColorPoint[1] = "0xFFFFFF"
;Var taobinTextColorPoint[2] = "0xFFFFFF"
;Var taobinTextColorPoint[3] = "0xFFFFFF"
;Var taobinTextColorPoint[4] = "0xFFFFFF"
;Var taobinTextColorPoint[5] = "0xFFFFFF"
;Var taobinTextColorPoint[6] = "0xFFFFFF"
;Var taobinTextColorPoint[7] = "0xFFFFFF"
;Var taobinTextColorPoint[8] = "0xFFFFFF"
Var PointCount = 0
Var taobinTextColorPoint[0] = "0x000000"
Var taobinTextColorPoint[1] = "0x000000"
Var taobinTextColorPoint[2] = "0x000000"
Var taobinTextColorPoint[3] = "0x000000"
Var taobinTextColorPoint[4] = "0x000000"
Var taobinTextColorPoint[5] = "0x000000"
Var taobinTextColorPoint[6] = "0x000000"
Var taobinTextColorPoint[7] = "0x000000"
Var taobinTextColorPoint[8] = "0x000000"
DEBUGVAR PointState[0]
DEBUGVAR PointState[1]
@ -147,7 +142,7 @@
Else
If newPointIndex >= 0 Then
Var taobinImgPoint[newPointIndex] = "/point_active_new.png"
;Var taobinTextColorPoint[newPointIndex] = "0x2CDD69"
Var taobinTextColorPoint[newPointIndex] = "0xFFE400"
EndIf
EndIf
@ -298,57 +293,57 @@
<Image>
<X> 220 </X>
<X> 287 </X>
<Y> 1126 </Y>
<Filename> Var( DirImage + taobinImgPoint[0]) </Filename>
</Image>
<Image>
<X> 360 </X>
<X> 497 </X>
<Y> 1126 </Y>
<Filename> Var( DirImage + taobinImgPoint[1]) </Filename>
</Image>
<Image>
<X> 500 </X>
<X> 706 </X>
<Y> 1126 </Y>
<Filename> Var( DirImage + taobinImgPoint[2]) </Filename>
</Image>
<Image>
<X> 640 </X>
<Y> 1126 </Y>
<X> 287 </X>
<Y> 1296 </Y>
<Filename> Var( DirImage + taobinImgPoint[3]) </Filename>
</Image>
<Image>
<X> 780 </X>
<Y> 1126 </Y>
<X> 497 </X>
<Y> 1296 </Y>
<Filename> Var( DirImage + taobinImgPoint[4]) </Filename>
</Image>
<Image>
<X> 220 </X>
<Y> 1276 </Y>
<X> 706 </X>
<Y> 1296 </Y>
<Filename> Var( DirImage + taobinImgPoint[5]) </Filename>
</Image>
<Image>
<X> 360 </X>
<Y> 1276 </Y>
<X> 287 </X>
<Y> 1456 </Y>
<Filename> Var( DirImage + taobinImgPoint[6]) </Filename>
</Image>
<Image>
<X> 500 </X>
<Y> 1276 </Y>
<X> 497 </X>
<Y> 1456 </Y>
<Filename> Var( DirImage + taobinImgPoint[7]) </Filename>
</Image>
<Image>
<X> 640 </X>
<Y> 1276 </Y>
<X> 706 </X>
<Y> 1456 </Y>
<Filename> Var( DirImage + taobinImgPoint[8]) </Filename>
</Image>
@ -432,208 +427,116 @@
<Image>
<X> text8_X </X>
<Y> 1578 </Y>
<Y> 1610 </Y>
<Filename> Var( DirImage + "/text8.png" )</Filename>
</Image>
;<Text>
;<X> 232 </X>
;<Y> 1240 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 120 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[0] </Color>
;<Value> taobinTextPointTH[0] </Value>
;</Text>
;
;<Text>
;<X> 243 </X>
;<Y> 1240 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 100 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[0] </Color>
;<Value> taobinTextPointEN[0] </Value>
;</Text>
;
;<Text>
;<X> 343 </X>
;<Y> 1240 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 150 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[1] </Color>
;<Value> taobinTextPointTH[1] </Value>
;</Text>
;
;<Text>
;<X> 388 </X>
;<Y> 1240 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 100 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[1] </Color>
;<Value> taobinTextPointEN[1] </Value>
;</Text>
;
;<Text>
;<X> 493 </X>
;<Y> 1240 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 120 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[2] </Color>
;<Value> taobinTextPointTH[2] </Value>
;</Text>
;
;<Text>
;<X> 497 </X>
;<Y> 1240 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 150 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[2] </Color>
;<Value> taobinTextPointEN[2] </Value>
;</Text>
;
;<Text>
;<X> 624 </X>
;<Y> 1240 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 120 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[3] </Color>
;<Value> taobinTextPointTH[3] </Value>
;</Text>
;
;<Text>
;<X> 645 </X>
;<Y> 1240 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 100 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[3] </Color>
;<Value> taobinTextPointEN[3] </Value>
;</Text>
;
;<Text>
;<X> 747 </X>
;<Y> 1240 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 155 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[4] </Color>
;<Value> taobinTextPointTH[4] </Value>
;</Text>
;
;<Text>
;<X> 782 </X>
;<Y> 1240 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 100 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[4] </Color>
;<Value> taobinTextPointEN[4] </Value>
;</Text>
;
;<Text>
;<X> 225 </X>
;<Y> 1388 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 120 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[5] </Color>
;<Value> taobinTextPointTH[5] </Value>
;</Text>
;
;<Text>
;<X> 230 </X>
;<Y> 1388 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 200 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[5] </Color>
;<Value> taobinTextPointEN[5] </Value>
;</Text>
;
;<Text>
;<X> 353 </X>
;<Y> 1388 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 150 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[6] </Color>
;<Value> taobinTextPointTH[6] </Value>
;</Text>
;
;<Text>
;<X> 366 </X>
;<Y> 1388 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 100 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[6] </Color>
;<Value> taobinTextPointEN[6] </Value>
;</Text>
;
;<Text>
;<X> 488 </X>
;<Y> 1388 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 150 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[7] </Color>
;<Value> taobinTextPointTH[7] </Value>
;</Text>
;
;<Text>
;<X> 506 </X>
;<Y> 1388 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 100 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[7] </Color>
;<Value> taobinTextPointEN[7] </Value>
;</Text>
;
;<Text>
;<X> 622 </X>
;<Y> 1388 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 200 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[8] </Color>
;<Value> taobinTextPointTH[8] </Value>
;</Text>
;
;<Text>
;<X> 616 </X>
;<Y> 1388 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 200 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[8] </Color>
;<Value> taobinTextPointEN[8] </Value>
;</Text>
<Text>
<X> 220 </X>
<Y> 1250 </Y>
<Size> 14 </Size>
<Width> 250 </Width>
<Font> KanitRegularTTF </Font>
<Color> taobinTextColorPoint[0] </Color>
<Value> taobinTextPoint[0] </Value>
<Align> center-vertical-horizontal </Align>
</Text>
<Text>
<X> 431 </X>
<Y> 1250 </Y>
<Size> 14 </Size>
<Width> 250 </Width>
<Font> KanitRegularTTF </Font>
<Color> taobinTextColorPoint[1] </Color>
<Value> taobinTextPoint[1] </Value>
<Align> center-vertical-horizontal </Align>
</Text>
<Text>
<X> 645 </X>
<Y> 1250 </Y>
<Size> 14 </Size>
<Width> 250 </Width>
<Font> KanitRegularTTF </Font>
<Color> taobinTextColorPoint[2] </Color>
<Value> taobinTextPoint[2] </Value>
<Align> center-vertical-horizontal </Align>
</Text>
<Text>
<X> 220 </X>
<Y> 1410 </Y>
<Size> 14 </Size>
<Width> 250 </Width>
<Font> KanitRegularTTF </Font>
<Color> taobinTextColorPoint[3] </Color>
<Value> taobinTextPoint[3] </Value>
<Align> center-vertical-horizontal </Align>
</Text>
<Text>
<X> 431 </X>
<Y> 1410 </Y>
<Size> 14 </Size>
<Width> 250 </Width>
<Font> KanitRegularTTF </Font>
<Color> taobinTextColorPoint[4] </Color>
<Value> taobinTextPoint[4] </Value>
<Align> center-vertical-horizontal </Align>
</Text>
<Text>
<X> 645 </X>
<Y> 1410 </Y>
<Size> 14 </Size>
<Width> 250 </Width>
<Font> KanitRegularTTF </Font>
<Color> taobinTextColorPoint[5] </Color>
<Value> taobinTextPoint[5] </Value>
<Align> center-vertical-horizontal </Align>
</Text>
<Text>
<X> 220 </X>
<Y> 1575 </Y>
<Size> 14 </Size>
<Width> 250 </Width>
<Font> KanitRegularTTF </Font>
<Color> taobinTextColorPoint[6] </Color>
<Value> taobinTextPoint[6] </Value>
<Align> center-vertical-horizontal </Align>
</Text>
<Text>
<X> 431 </X>
<Y> 1575 </Y>
<Size> 14 </Size>
<Width> 250 </Width>
<Font> KanitRegularTTF </Font>
<Color> taobinTextColorPoint[7] </Color>
<Value> taobinTextPoint[7] </Value>
<Align> center-vertical-horizontal </Align>
</Text>
<Text>
<X> 645 </X>
<Y> 1575 </Y>
<Size> 14 </Size>
<Width> 250 </Width>
<Font> KanitRegularTTF </Font>
<Color> taobinTextColorPoint[8] </Color>
<Value> taobinTextPoint[8] </Value>
<Align> center-vertical-horizontal </Align>
</Text>
;
<Image>
@ -648,7 +551,7 @@
<Align> End </Align>
<Width> 153 </Width>
<Size> 88 </Size>
<Font> RobotoBold </Font>
<Font> RobotoBold </Font
<Color> 0x513C2F </Color>
<Value> ShowCountDownBrewing </Value>
</Text>

View file

@ -96,7 +96,10 @@
; Point 3
If Seeker.selected_a_drink = "12-03-03-0044" Then
If Seeker.selected_a_drink = "12-03-02-0024" Then
Var newPointIndex = 2
EndIf
If Seeker.selected_a_drink = "12-03-03-0024" Then
Var newPointIndex = 2
EndIf
@ -126,7 +129,10 @@
; Point 8
If Seeker.selected_a_drink = "12-02-02-0055" Then
If Seeker.selected_a_drink = "12-03-02-0023" Then
Var newPointIndex = 7
EndIf
If Seeker.selected_a_drink = "12-03-03-0023" Then
Var newPointIndex = 7
EndIf

View file

@ -1843,6 +1843,513 @@ MILK" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 17
; 12-03-01-0023 12-03-02-0023 12-03-03-0023
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-03-01-0023.Button,12-03-02-0023.Button,12-03-03-0023.Button,$Sum120301002312030200231203030023) </State>
<Button>
<State> $Sum120301002312030200231203030023 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Banana_milk.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Banana_milk.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Banana_milk.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-03-01-0023, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "TOKYO BANANA MILK"
Var NameDrinkTH = "นมโตเกียวบานาน่า"
Var DrinkDescriptionTH = "น้ำเชื่อมโตเกียวบานาน่า นมและน้ำตาล"
Var DrinkDescription = "Tokyo Banana Syrup, Milk, Sugar"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Banana_milk.png"
Var OpenFromXML = CurrentXMLFileName2
GetInstanceIDMenuTab OpenFromInstMenuTab
Var PriceD1 = $12-03-01-0023.Price
Var PriceD2 = $12-03-02-0023.Price
Var PriceD3 = $12-03-03-0023.Price
Var PD_CODE1 = "12-03-01-0023"
Var PD_CODE2 = "12-03-02-0023"
Var PD_CODE3 = "12-03-03-0023"
Var PD_STAGE_1 = $12-03-01-0023.Button
Var PD_STAGE_2 = $12-03-02-0023.Button
Var PD_STAGE_3 = $12-03-03-0023.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-01-0023, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.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-03-02-0023"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-03-01-0023"
Else
Topping "Load" "12-03-03-0023"
EndIf
EndIf
Var menu_name_eng_hot = $12-03-01-0023.NameE
Var menu_desc_eng_hot = $12-03-01-0023.descriptionE
Var menu_name_thai_hot = $12-03-01-0023.Name
Var menu_desc_thai_hot = $12-03-01-0023.description
Var menu_name_eng_cold = $12-03-02-0023.NameE
Var menu_desc_eng_cold = $12-03-02-0023.descriptionE
Var menu_name_thai_cold = $12-03-02-0023.Name
Var menu_desc_thai_cold = $12-03-02-0023.description
Var menu_name_eng_blender = $12-03-03-0023.NameE
Var menu_desc_eng_blender = $12-03-03-0023.descriptionE
Var menu_name_thai_blender = $12-03-03-0023.Name
Var menu_desc_thai_blender = $12-03-03-0023.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
TabMenuVisibleInst 99
OpenInst 2 "/mnt/sdcard/coffeevending/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> "TOKYO BANANA MILK" </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> "Tokyo Banana Syrup, Milk, Sugar" </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-03-01-0023.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-03-01-0023.Button </State>
<Value> StringFmt( $12-03-01-0023.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-03-02-0023.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-03-02-0023.Button </State>
<Value> StringFmt( $12-03-02-0023.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> $12-03-03-0023.Button </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> $12-03-03-0023.Button </State>
<Value> StringFmt( $12-03-03-0023.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120301002312030200231203030023 = "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 $Sum120301002312030200231203030023 = "Disable" Then
STRCONTAIN "ERR" $12-03-01-0023.TAG tag1_is_disable
STRCONTAIN "ERR" $12-03-02-0023.TAG tag2_is_disable
STRCONTAIN "ERR" $12-03-03-0023.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> $Sum120301002312030200231203030023 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
;
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( .Button,.Button,.Button,$Sum) </State>
<Button>
<State> $Sum </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Banana_milk.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Banana_milk.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Banana_milk.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( , "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "TOKYO BANANA MILK"
Var NameDrinkTH = "นมโตเกียวบานาน่า"
Var DrinkDescriptionTH = "น้ำเชื่อมโตเกียวบานาน่า นมและน้ำตาล"
Var DrinkDescription = "Tokyo Banana Syrup, Milk, Sugar"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Banana_milk.png"
Var OpenFromXML = CurrentXMLFileName2
GetInstanceIDMenuTab OpenFromInstMenuTab
Var PriceD1 = $.Price
Var PriceD2 = $.Price
Var PriceD3 = $.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( , "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.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" ""
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" ""
Else
Topping "Load" ""
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $##-##-##-####.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
TabMenuVisibleInst 99
OpenInst 2 "/mnt/sdcard/coffeevending/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> "TOKYO BANANA MILK" </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> "Tokyo Banana Syrup, Milk, Sugar" </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> "Invisible" </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> "Invisible" </State>
<Value> StringFmt( $.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> "Invisible" </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> "Invisible" </State>
<Value> StringFmt( $.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
Var ice_tab_process_show = "Invisible"
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 $Sum = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.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> $Sum </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 17
; 12-03-01-0002 12-03-02-0002 12-03-03-0002
<Block>

View file

@ -1817,6 +1817,509 @@ MILK" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 17
; 12-03-01-0023 12-03-02-0023 12-03-03-0023
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-03-01-0023.Button,12-03-02-0023.Button,12-03-03-0023.Button,$Sum120301002312030200231203030023) </State>
<Button>
<State> $Sum120301002312030200231203030023 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Banana_milk.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Banana_milk.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Banana_milk.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-03-01-0023, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "TOKYO BANANA MILK"
Var NameDrinkTH = "นมโตเกียวบานาน่า"
Var DrinkDescriptionTH = "น้ำเชื่อมโตเกียวบานาน่า นมและน้ำตาล"
Var DrinkDescription = "Tokyo Banana Syrup, Milk, Sugar"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Banana_milk.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-03-01-0023.Price
Var PriceD2 = $12-03-02-0023.Price
Var PriceD3 = $12-03-03-0023.Price
Var PD_CODE1 = "12-03-01-0023"
Var PD_CODE2 = "12-03-02-0023"
Var PD_CODE3 = "12-03-03-0023"
Var PD_STAGE_1 = $12-03-01-0023.Button
Var PD_STAGE_2 = $12-03-02-0023.Button
Var PD_STAGE_3 = $12-03-03-0023.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-01-0023, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.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-03-02-0023"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-03-01-0023"
Else
Topping "Load" "12-03-03-0023"
EndIf
EndIf
Var menu_name_eng_hot = $12-03-01-0023.NameE
Var menu_desc_eng_hot = $12-03-01-0023.descriptionE
Var menu_name_thai_hot = $12-03-01-0023.Name
Var menu_desc_thai_hot = $12-03-01-0023.description
Var menu_name_eng_cold = $12-03-02-0023.NameE
Var menu_desc_eng_cold = $12-03-02-0023.descriptionE
Var menu_name_thai_cold = $12-03-02-0023.Name
Var menu_desc_thai_cold = $12-03-02-0023.description
Var menu_name_eng_blender = $12-03-03-0023.NameE
Var menu_desc_eng_blender = $12-03-03-0023.descriptionE
Var menu_name_thai_blender = $12-03-03-0023.Name
Var menu_desc_thai_blender = $12-03-03-0023.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> "TOKYO BANANA MILK" </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> "Tokyo Banana Syrup, Milk, Sugar" </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-03-01-0023.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-03-01-0023.Button </State>
<Value> StringFmt( $12-03-01-0023.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-03-02-0023.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-03-02-0023.Button </State>
<Value> StringFmt( $12-03-02-0023.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> $12-03-03-0023.Button </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> $12-03-03-0023.Button </State>
<Value> StringFmt( $12-03-03-0023.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120301002312030200231203030023 = "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 $Sum120301002312030200231203030023 = "Disable" Then
STRCONTAIN "ERR" $12-03-01-0023.TAG tag1_is_disable
STRCONTAIN "ERR" $12-03-02-0023.TAG tag2_is_disable
STRCONTAIN "ERR" $12-03-03-0023.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> $Sum120301002312030200231203030023 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
;
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( .Button,.Button,.Button,$Sum) </State>
<Button>
<State> $Sum </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Banana_milk.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Banana_milk.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Banana_milk.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( , "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "TOKYO BANANA MILK"
Var NameDrinkTH = "นมโตเกียวบานาน่า"
Var DrinkDescriptionTH = "น้ำเชื่อมโตเกียวบานาน่า นมและน้ำตาล"
Var DrinkDescription = "Tokyo Banana Syrup, Milk, Sugar"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Banana_milk.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $.Price
Var PriceD2 = $.Price
Var PriceD3 = $.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( , "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.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" ""
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" ""
Else
Topping "Load" ""
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $##-##-##-####.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> "TOKYO BANANA MILK" </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> "Tokyo Banana Syrup, Milk, Sugar" </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> "Invisible" </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> "Invisible" </State>
<Value> StringFmt( $.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> "Invisible" </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> "Invisible" </State>
<Value> StringFmt( $.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
Var ice_tab_process_show = "Invisible"
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 $Sum = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.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> $Sum </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 17
; 12-03-01-0002 12-03-02-0002 12-03-03-0002
<Block>

View file

@ -1555,38 +1555,38 @@ Matcha, Milk" </Value>
</Text>
</Block>
; ==================> Len = 12
; - - 12-03-03-0044
; - 12-03-02-0024 12-03-03-0024
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-03-03-0044.Button,$Sum1203030044) </State>
<State> Flag( 12-03-02-0024.Button,12-03-03-0024.Button,$Sum12030200241203030024) </State>
<Button>
<State> $Sum1203030044 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Choco_straw_banana_smoothie.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Choco_straw_banana_smoothie.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Choco_straw_banana_smoothie.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-03-03-0044, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<State> $Sum12030200241203030024 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Choco_banana_smoothie.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Choco_banana_smoothie.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Choco_banana_smoothie.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-03-03-0024, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Kindness fix, zero romance drama."
Var NameDrinkTH = "ที่ทำดีด้วยเขาไม่ได้มีใจ แต่เขามีเมตตา"
Var DrinkDescriptionTH = "น้ำเชื่อมกล้วย น้ำเชื่อมสตรอเบอร์รี่ นม และโกโก้"
Var DrinkDescription = "banana syrup, Strawberry syrup, Milk, cocoa"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Choco_straw_banana_smoothie.png"
Var DrinkDescriptionTH = "น้ำเชื่อมกล้วย นม และโกโก้ และน้ำ"
Var DrinkDescription = "banana syrup, Milk, cocoa "
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Choco_banana_smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
Var PriceD3 = $12-03-03-0044.Price
Var PriceD2 = $12-03-02-0024.Price
Var PriceD3 = $12-03-03-0024.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-03-03-0044"
Var PD_CODE2 = "12-03-02-0024"
Var PD_CODE3 = "12-03-03-0024"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-03-03-0044.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0044, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
Var PD_STAGE_2 = $12-03-02-0024.Button
Var PD_STAGE_3 = $12-03-03-0024.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0024, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
@ -1603,12 +1603,12 @@ Matcha, Milk" </Value>
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Topping "Load" "12-03-02-0024"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-03-03-0044"
Topping "Load" "12-03-03-0024"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
@ -1616,15 +1616,15 @@ Matcha, Milk" </Value>
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_cold = $12-03-02-0024.NameE
Var menu_desc_eng_cold = $12-03-02-0024.descriptionE
Var menu_name_thai_cold = $12-03-02-0024.Name
Var menu_desc_thai_cold = $12-03-02-0024.description
Var menu_name_eng_blender = $12-03-03-0044.NameE
Var menu_desc_eng_blender = $12-03-03-0044.descriptionE
Var menu_name_thai_blender = $12-03-03-0044.Name
Var menu_desc_thai_blender = $12-03-03-0044.description
Var menu_name_eng_blender = $12-03-03-0024.NameE
Var menu_desc_eng_blender = $12-03-03-0024.descriptionE
Var menu_name_thai_blender = $12-03-03-0024.Name
Var menu_desc_thai_blender = $12-03-03-0024.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
@ -1657,7 +1657,7 @@ Matcha, Milk" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "น้ำเชื่อมกล้วย น้ำเชื่อมสตรอเบอร์รี่ นม และโกโก้" </Value>
<Value> "น้ำเชื่อมกล้วย นม และโกโก้ และน้ำ" </Value>
</Text>
<Text>
<X> 16 </X>
@ -1679,8 +1679,8 @@ zero romance drama." </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "banana syrup, Strawberry syrup,
Milk, cocoa" </Value>
<Value> "banana syrup,
Milk, cocoa " </Value>
</Text>
<Image>
<X> 16 </X>
@ -1710,7 +1710,7 @@ Milk, cocoa" </Value>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
<State> $12-03-02-0024.Button </State>
</Image>
<Text>
<X> 115 </X>
@ -1720,15 +1720,15 @@ Milk, cocoa" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
<State> $12-03-02-0024.Button </State>
<Value> StringFmt( $12-03-02-0024.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> $12-03-03-0044.Button </State>
<State> $12-03-03-0024.Button </State>
</Image>
<Text>
<X> 180 </X>
@ -1738,8 +1738,8 @@ Milk, cocoa" </Value>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-03-03-0044.Button </State>
<Value> StringFmt( $12-03-03-0044.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
<State> $12-03-03-0024.Button </State>
<Value> StringFmt( $12-03-03-0024.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
@ -1764,10 +1764,10 @@ Milk, cocoa" </Value>
<Y> 117 </Y>
<State>
eval(
If $Sum1203030044 = "Disable" Then
If $Sum12030200241203030024 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $12-03-03-0044.TAG tag3_is_disable
STRCONTAIN "ERR" $12-03-02-0024.TAG tag2_is_disable
STRCONTAIN "ERR" $12-03-03-0024.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
@ -1803,7 +1803,7 @@ Milk, cocoa" </Value>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum1203030044 </State>
<State> $Sum12030200241203030024 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
@ -2828,38 +2828,38 @@ hardthe real deal." </Value>
</Block>
; - - -
; ==================> Len = 12
; - 12-02-02-0055 -
; - 12-03-02-0023 12-03-03-0023
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-02-0055.Button,$Sum1202020055) </State>
<State> Flag( 12-03-02-0023.Button,12-03-03-0023.Button,$Sum12030200231203030023) </State>
<Button>
<State> $Sum1202020055 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_matcha_TokyoBanana.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_matcha_TokyoBanana.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_matcha_TokyoBanana.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-02-0055, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<State> $Sum12030200231203030023 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_milk_TokyoBanana.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_milk_TokyoBanana.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_milk_TokyoBanana.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-03-03-0023, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Forget love, take the L"
Var NameDrinkTH = "คนลืมก่อนชนะ โอเคเราแพ้"
Var DrinkDescriptionTH = "น้ำเชื่อมกล้วย มัทฉะ และน้ำแข็ง"
Var DrinkDescription = "Banana Syrup, Matcha and Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_matcha_TokyoBanana.png"
Var DrinkDescriptionTH = "น้ำเชื่อมกล้วย นม และน้ำแข็ง"
Var DrinkDescription = "Banana Syrup, milk and Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_milk_TokyoBanana.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-02-02-0055.Price
Var PriceD3 = $-.Price
Var PriceD2 = $12-03-02-0023.Price
Var PriceD3 = $12-03-03-0023.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-02-02-0055"
Var PD_CODE3 = "##-##-##-####"
Var PD_CODE2 = "12-03-02-0023"
Var PD_CODE3 = "12-03-03-0023"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-02-02-0055.Button
Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( 12-02-02-0055, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
Var PD_STAGE_2 = $12-03-02-0023.Button
Var PD_STAGE_3 = $12-03-03-0023.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0023, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
@ -2876,12 +2876,12 @@ hardthe real deal." </Value>
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-02-02-0055"
Topping "Load" "12-03-02-0023"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "-"
Topping "Load" "12-03-03-0023"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
@ -2889,15 +2889,15 @@ hardthe real deal." </Value>
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $12-02-02-0055.NameE
Var menu_desc_eng_cold = $12-02-02-0055.descriptionE
Var menu_name_thai_cold = $12-02-02-0055.Name
Var menu_desc_thai_cold = $12-02-02-0055.description
Var menu_name_eng_cold = $12-03-02-0023.NameE
Var menu_desc_eng_cold = $12-03-02-0023.descriptionE
Var menu_name_thai_cold = $12-03-02-0023.Name
Var menu_desc_thai_cold = $12-03-02-0023.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
Var menu_name_eng_blender = $12-03-03-0023.NameE
Var menu_desc_eng_blender = $12-03-03-0023.descriptionE
Var menu_name_thai_blender = $12-03-03-0023.Name
Var menu_desc_thai_blender = $12-03-03-0023.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
@ -2930,7 +2930,7 @@ hardthe real deal." </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "น้ำเชื่อมกล้วย มัทฉะ และน้ำแข็ง" </Value>
<Value> "น้ำเชื่อมกล้วย นม และน้ำแข็ง" </Value>
</Text>
<Text>
<X> 16 </X>
@ -2952,7 +2952,7 @@ the L" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Banana Syrup, Matcha and Ice" </Value>
<Value> "Banana Syrup, milk and Ice" </Value>
</Text>
<Image>
<X> 16 </X>
@ -2982,7 +2982,7 @@ the L" </Value>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-02-02-0055.Button </State>
<State> $12-03-02-0023.Button </State>
</Image>
<Text>
<X> 115 </X>
@ -2992,15 +2992,15 @@ the L" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0055.Button </State>
<Value> StringFmt( $12-02-02-0055.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
<State> $12-03-02-0023.Button </State>
<Value> StringFmt( $12-03-02-0023.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>
<State> $12-03-03-0023.Button </State>
</Image>
<Text>
<X> 180 </X>
@ -3010,8 +3010,8 @@ the L" </Value>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
<State> $12-03-03-0023.Button </State>
<Value> StringFmt( $12-03-03-0023.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
@ -3036,10 +3036,10 @@ the L" </Value>
<Y> 117 </Y>
<State>
eval(
If $Sum1202020055 = "Disable" Then
If $Sum12030200231203030023 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0055.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
STRCONTAIN "ERR" $12-03-02-0023.TAG tag2_is_disable
STRCONTAIN "ERR" $12-03-03-0023.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
@ -3075,7 +3075,7 @@ the L" </Value>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum1202020055 </State>
<State> $Sum12030200231203030023 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>

View file

@ -14,7 +14,6 @@
Var BmiYear = "0/0/0/0/0/0/0/0/0/1"
Var PointCrm = "pdpa1"
Var GetScore = ""
Var TelephoneNumber = TelephoneNumberX
Var Seeker.TNumberTaobinMember = TelephoneNumber
;AddData 4 TelephoneNumber BmiYear PointCrm GetScore
;Add after pay
@ -24,7 +23,6 @@
Var CoffeePointStr = CoffeePoint
DEBUGVAR TelephoneNumber
DEBUGVAR TelephoneNumberX
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/display_point_en"