DO songkan

This commit is contained in:
kong 2023-03-24 23:55:55 +07:00
parent 7a41166f22
commit 644657be88
28 changed files with 437 additions and 323 deletions

View file

@ -372,8 +372,8 @@ OPUS-ONE-ESP 12-01-01-0049 1 2 59 3 3 5 24 49 1 23
น้ำเมียงู 12-01-02-0053 1 21 3 4 5 23 24 49 1 23
SNAKE WIFE AMERICANO 12-01-02-0054 1 56 3 4 5 23 24 49 1 23
น้ำเมียงู 12-01-02-0054 1 21 3 4 5 23 24 49 1 23
SNAKE WIFE AMERICANO 12-01-02-0053 1 56 3 4 5 23 24 49 1 23
ชาดำปาโป่ง 12-02-02-0043 1 10 12 23 13 24 49 1 23
บ้านผีปอบ 12-02-02-0044 1 19 8 9 23 13 24 49 1 23
โอวัลตินรถโรงเรียน 12-03-02-0026 1 51 17 23 24 49 1 23

1 name New Code เล่น 4 วินาที ขั้นตอน 1 ขั้นตอน 2 ขั้นตอน 3 ขั้นตอน 4 ขั้นตอน 5 ขั้นตอน 6 ขั้นตอน 7 ขั้นตอน 8 จบ Time (sec) นาทีและวินาที ความยาวการเล่นของแต่ละขั้นตอน
372
373
374
375 น้ำเมียงู 12-01-02-0053 12-01-02-0054 1 21 3 4 5 23 24 49 1 23
376 SNAKE WIFE AMERICANO 12-01-02-0054 12-01-02-0053 1 56 3 4 5 23 24 49 1 23
377 ชาดำปาโป่ง 12-02-02-0043 1 10 12 23 13 24 49 1 23
378 บ้านผีปอบ 12-02-02-0044 1 19 8 9 23 13 24 49 1 23
379 โอวัลตินรถโรงเรียน 12-03-02-0026 1 51 17 23 24 49 1 23

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Binary file not shown.

View file

@ -1,22 +1,18 @@
Var MainfileSize = 0
GetFileSizeK "taobin_project/video/main_page_event.mp4" MainfileSize
DEBUGVAR MainfileSize
If MainfileSize = 12988884 Then
If SystemDateMonthInt = 4 Then
GetFileSizeK "taobin_project/video/main_page_event.mp4" MainfileSize
DEBUGVAR MainfileSize
If MainfileSize = 8071197 Then
Var EventTurnOn = 0
If SystemDateMonthInt = 2 Then
If SystemDateDayInt < 15 Then
Var EventTurnOn = 1
Var EventTurnOn = 1
If EventTurnOn = 1 Then
Var CountDownShowButton = 0
Var ShowButtonClickFull = "Invisible"
Var VideoMainPage = "ROOT/taobin_project/video/main_page_event.mp4"
EndIf
EndIf
If EventTurnOn = 1 Then
Var CountDownShowButton = 0
Var ShowButtonClickFull = "Invisible"
Var VideoMainPage = "ROOT/taobin_project/video/main_page_event.mp4"
EndIf
EndIf

View file

@ -3,12 +3,12 @@ Var MainfileSize = 0
GetFileSizeK "taobin_project/video/taobin_thank1_event.mp4" MainfileSize
DEBUGVAR MainfileSize
If MainfileSize = 3939597 Then
If EventTurnOn = 1 Then
If EventTurnOn = 1 Then
If MainfileSize = 7539282 Then
Var video_file_name = "ROOT/taobin_project/video/taobin_thank1_event.mp4"
EndIf
EndIf
DEBUGVAR video_file_name

Binary file not shown.

55
xml/eventopen_menu.ev Normal file
View file

@ -0,0 +1,55 @@
; Original
;Var SoundThaiIndex = 0
; north
;Var SoundThaiIndex = 1
; northeast
;Var SoundThaiIndex = 2
; south
;Var SoundThaiIndex = 3
;Var SongkranEnable = 0
If BoxID = 173149 Then
Var SongkranEnable = 1
EndIf
If BoxID = 172527 Then
Var SongkranEnable = 1
EndIf
If BoxID = 172644 Then
Var SongkranEnable = 1
EndIf
If BoxID = 200001 Then
Var SongkranEnable = 1
EndIf
If SongkranEnable = 1 Then
If SoundThaiIndex = 0 Then
Var SoundThaiIndex = 1
Else
If SoundThaiIndex = 1 Then
Var SoundThaiIndex = 2
Else
If SoundThaiIndex = 2 Then
Var SoundThaiIndex = 3
Else
Var SoundThaiIndex = 0
EndIf
EndIf
EndIf
Else
Var SongkranEnable = 0
Var $12-01-02-0054.Button = "Inivisble"
Var $12-01-02-0053.Button = "Inivisble"
Var $12-02-02-0043.Button = "Inivisble"
Var $12-02-02-0044.Button = "Inivisble"
Var $12-03-02-0026.Button = "Inivisble"
Var $12-05-02-0055.Button = "Inivisble"
Var $12-05-02-0056.Button = "Inivisble"
EndIf
DEBUGVAR SongkranEnable
DEBUGVAR SoundThaiIndex

View file

@ -103,3 +103,5 @@
EndIf
;
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/eventopen_menu.ev"

View file

@ -782,51 +782,16 @@
Var PromotionOreoToppingFreeEnable = 0
Var ShowPromoitonOreo = 0
EndIf
DEBUGVAR PromotionOreoToppingFreeEnable
DEBUGVAR PromotionOreoVolcanoEnable
DEBUGVAR OreoEnable
DEBUGVAR $12-03-03-0026.Button
; Original
;Var SoundThaiIndex = 0
; north
;Var SoundThaiIndex = 1
; northeast
;Var SoundThaiIndex = 2
; south
;Var SoundThaiIndex = 3
If SoundThaiIndex = 0 Then
Var SoundThaiIndex = 1
Else
If SoundThaiIndex = 1 Then
Var SoundThaiIndex = 2
Else
If SoundThaiIndex = 2 Then
Var SoundThaiIndex = 3
Else
Var SoundThaiIndex = 0
EndIf
EndIf
EndIf
DEBUGVAR SoundThaiIndex
RootLayoutVisible 3 "hide"
</EventOpen>
<EventUnitTest1>
Var PromotionOreoVolcanoEnable = 0
Var PromotionOreoToppingFreeEnable = 1
Var SongkranEnable = 0
</EventUnitTest1>
<EventUnitTest2>
Var PromotionOreoVolcanoEnable = 1
Var PromotionOreoToppingFreeEnable = 0
Var SongkranEnable = 1
</EventUnitTest2>

View file

@ -85,9 +85,6 @@
Var PromotionIDCurrentOrder = 0
DEBUGVAR PromotionOreoToppingFreeEnable
DEBUGVAR PromotionOreoVolcanoEnable
If SystemDateMonthInt = 3 Then
If SystemDateDayInt = 30 Then

View file

@ -114,6 +114,8 @@
;
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/eventopen_menu.ev"
If AppFastEnable = "true" Then

View file

@ -114,6 +114,8 @@
;
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/eventopen_menu.ev"
Var Menu8Selected = "PressForever"

View file

@ -114,6 +114,8 @@
;
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/eventopen_menu.ev"
Var Menu2Selected = "PressForever"
@ -19226,15 +19228,15 @@ Sugar, Water" </Value>
</Text>
</Block>
; ==================> Len = 11
; - 12-01-02-0052 -
; - 12-01-02-0053 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-01-02-0052.Button,$Sum1201020052) </State>
<State> Flag( 12-01-02-0053.Button,$Sum1201020053) </State>
<Button>
<State> $Sum1201020052 </State>
<State> $Sum1201020053 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_sexy_dance_americano.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_sexy_dance_americano.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_sexy_dance_americano.png" </FilenameDisable>
@ -19248,255 +19250,6 @@ Sugar, Water" </Value>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_sexy_dance_americano.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-01-02-0052.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-01-02-0052"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-01-02-0052.Button
Var PD_STAGE_3 = "Disable2"
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-0052"
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 = $12-01-02-0052.NameE
Var menu_desc_eng_cold = $12-01-02-0052.descriptionE
Var menu_name_thai_cold = $12-01-02-0052.Name
Var menu_desc_thai_cold = $12-01-02-0052.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> "SEXY DANCE AMERICANO" </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> "Espresso, Salak Syrup,
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> "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> $12-01-02-0052.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-0052.Button </State>
<Value> StringFmt( $12-01-02-0052.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
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 $Sum1201020052 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-01-02-0052.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> $Sum1201020052 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 11
; - 12-01-02-0053 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-01-02-0053.Button,$Sum1201020053) </State>
<Button>
<State> $Sum1201020053 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_snake_wife_americano.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_snake_wife_americano.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_snake_wife_americano.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "SNAKE WIFE AMERICANO"
Var NameDrinkTH = "น้ำเมียงู"
Var DrinkDescriptionTH = "กาแฟ น้ำ และ กล้วย"
Var DrinkDescription = "Espresso, Tokyo Banana Syrup, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_snake_wife_americano.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-01-02-0053.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "##-##-##-####"
@ -19562,7 +19315,7 @@ water" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "น้ำเมียงู" </Value>
<Value> "โอเลี้ยงจ้ำบ๊ะ" </Value>
</Text>
<Text>
<X> 16 </X>
@ -19572,7 +19325,7 @@ water" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ น้ำ และ กล้วย" </Value>
<Value> "กาแฟ น้ำ และ น้ำแดง" </Value>
</Text>
<Text>
<X> 16 </X>
@ -19583,7 +19336,7 @@ water" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "SNAKE WIFE AMERICANO" </Value>
<Value> "SEXY DANCE AMERICANO" </Value>
</Text>
<Text>
<X> 16 </X>
@ -19593,8 +19346,8 @@ water" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Espresso, Tokyo Banana Syrup,
Water" </Value>
<Value> "Espresso, Salak Syrup,
water" </Value>
</Text>
<Image>
<X> 16 </X>
@ -19721,6 +19474,255 @@ water" </Value>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 11
; - 12-01-02-0054 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-01-02-0054.Button,$Sum1201020054) </State>
<Button>
<State> $Sum1201020054 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_snake_wife_americano.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_snake_wife_americano.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_snake_wife_americano.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "SNAKE WIFE AMERICANO"
Var NameDrinkTH = "โอยั๊วะเมียงู"
Var DrinkDescriptionTH = "กาแฟ น้ำ และ กล้วย"
Var DrinkDescription = "Espresso, Tokyo Banana Syrup, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_snake_wife_americano.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-01-02-0054.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-01-02-0054"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-01-02-0054.Button
Var PD_STAGE_3 = "Disable2"
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-0054"
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 = $12-01-02-0054.NameE
Var menu_desc_eng_cold = $12-01-02-0054.descriptionE
Var menu_name_thai_cold = $12-01-02-0054.Name
Var menu_desc_thai_cold = $12-01-02-0054.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> "SNAKE WIFE AMERICANO" </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> "Espresso, Tokyo Banana Syrup,
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> "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> $12-01-02-0054.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-0054.Button </State>
<Value> StringFmt( $12-01-02-0054.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
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 $Sum1201020054 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-01-02-0054.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> $Sum1201020054 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
</FrameScroll>

View file

@ -114,6 +114,8 @@
;
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/eventopen_menu.ev"
; protein
If AppFastEnable = "true" Then

View file

@ -114,6 +114,8 @@
;
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/eventopen_menu.ev"
Var Menu22Selected = "PressForever"

View file

@ -114,6 +114,8 @@
;
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/eventopen_menu.ev"
Var Menu4Selected = "PressForever"

View file

@ -114,6 +114,8 @@
;
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/eventopen_menu.ev"

View file

@ -114,6 +114,8 @@
;
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/eventopen_menu.ev"
; soda and other
Var Menu6Selected = "PressForever"
@ -6013,7 +6015,7 @@ SODA" </Value>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "BUCKET POPSICLE PEPSI"
Var NameDrinkTH = "โคล่าติมหลอด"
Var NameDrinkTH = "เป๊ปซี่ไอติมแท่ง"
Var DrinkDescriptionTH = "เป๊ปซี่ น้ำแดงกลิ่นสละ โซดา"
Var DrinkDescription = "Pepsi, Salak ryrup, soda"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_bucket_popsicle_pepsi.png"
@ -6084,7 +6086,7 @@ SODA" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "โคล่าติมหลอด" </Value>
<Value> "เป๊ปซี่ไอติมแท่ง" </Value>
</Text>
<Text>
<X> 16 </X>

View file

@ -114,6 +114,8 @@
;
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/eventopen_menu.ev"
Var Menu1Selected = "PressForever"

View file

@ -114,6 +114,8 @@
;
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/eventopen_menu.ev"
Var Menu3Selected = "PressForever"

View file

@ -114,6 +114,8 @@
;
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/eventopen_menu.ev"
If AppFastEnable = "true" Then
Var Menu11Selected = "PressForever"

View file

@ -224,7 +224,15 @@
Var NOCashFlag = 1
EndIf
If SongkranEnable = 1 Then
If UserSelectProductCode = "12-01-02-0053" Then
Var PromotionIDCurrentOrder = 3
EndIf
EndIf
DEBUGVAR PromotionIDCurrentOrder
</EventOpen>

View file

@ -0,0 +1,66 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
Var videoAll = 0
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
</EventTimeout>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 1920 </Height>
<Loop> "true" </Loop>
<Filename> "/mnt/sdcard/coffeevending/video1.mp4" </Filename>
</Video>
<Button>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 720 </Height>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog2.xml"
</EventClick>
</Button>
<Button>
<X> 0 </X>
<Y> 1200 </Y>
<Width> 1080</Width>
<Height> 720 </Height>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
If videoAll = 0 Then
Var videoAll = 1
VideoAll "stop"
Else
Var videoAll = 0
VideoAll "start"
EndIf
</EventClick>
</Button>
</Popup>

View file

@ -308,6 +308,7 @@
Var PromotionIDCurrentOrder = 2
EndIf
EndIf
If PromotionOreoToppingFreeEnable = 1 Then
@ -330,6 +331,7 @@
DEBUGVAR PromotionIDCurrentOrder
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
@ -3465,6 +3467,7 @@
If UserSelectProductCode = "-" Then
Else
If SelectDrinkType = 1 Then
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
Open "ROOT/taobin_project/xml/page_payment.xml"
@ -3495,7 +3498,7 @@
Var LastTimeClickOrder = 0
</EventClick>
</Button>
@ -3950,7 +3953,7 @@
<Width> 1080 </Width>
<Align> end </Align>
<Color> 0xFF0000 </Color>
<Value> "#5"</Value>
<Value> "#6"</Value>
</Text>