do many
|
|
@ -1199,3 +1199,6 @@ Strawberry milk 7Up lime top ovaltine 12-03-03-0083 1 18 19 17 23 41 51 24 13
|
|||
กาแฟสตรอเบอร์รี่ร้อน 12-21-01-0074 1 2 3 5 19 7 24 135 2:15 44
|
||||
กาแฟสตรอเบอร์รี่เย็น 12-21-02-0074 1 2 3 5 19 7 23 24 135 2:15 44
|
||||
กาแฟสตรอเบอร์รี่ปั่น 12-21-03-0074 1 2 3 5 19 7 41 24 135 2:15 44
|
||||
|
||||
|
||||
สตรอเบอร์รี่มินต์โซดา 12-05-03-0023 1 19 12 13 23 41 24 120 20:00 23
|
||||
|
|
|
|||
|
Can't render this file because it has a wrong number of fields in line 40.
|
BIN
image/dummy.png
Normal file
|
After Width: | Height: | Size: 126 B |
BIN
image/menu_overlay_set/button_overlay__posi1.png
Normal file
|
After Width: | Height: | Size: 126 B |
BIN
image/menu_overlay_set/button_overlay__posi2.png
Normal file
|
After Width: | Height: | Size: 126 B |
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 49 KiB |
BIN
image/page_drink_picture2_n/bn_Strawberr_milk_Oreo_smoothie.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
image/page_drink_picture2_n/bn_hot_Strawberry_caramel_latte.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
image/page_drink_picture2_n/bn_iced_Strawberry_cocoa.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
0
inter/dev/animation01/play_list.tsv
Normal file
|
|
0
inter/dev/menu/lang.tsv
Normal file
|
|
|
|
@ -1199,3 +1199,6 @@ Strawberry milk 7Up lime top ovaltine 12-03-03-0083 1 18 19 17 23 41 51 24 13
|
|||
กาแฟสตรอเบอร์รี่ร้อน 12-21-01-0074 1 2 3 5 19 7 24 135 2:15 44
|
||||
กาแฟสตรอเบอร์รี่เย็น 12-21-02-0074 1 2 3 5 19 7 23 24 135 2:15 44
|
||||
กาแฟสตรอเบอร์รี่ปั่น 12-21-03-0074 1 2 3 5 19 7 41 24 135 2:15 44
|
||||
|
||||
|
||||
สตรอเบอร์รี่มินต์โซดา 12-05-03-0023 1 19 12 13 23 41 24 120 20:00 23
|
||||
|
|
|
|||
|
Can't render this file because it has a wrong number of fields in line 40.
|
|
|
@ -1091,7 +1091,7 @@
|
|||
1300016 Brew time:sec เวลาชง: วินาที
|
||||
1300017 Test grind sizes ทดสอบขนาดบด
|
||||
1300018 Coffee module type : ประเภทชุดกาแฟ :
|
||||
1300019 1. Select grind sizes 1. เลือกขนาดบด
|
||||
1300019 1. Select grind sizes 1. เลือกขนาดการบด
|
||||
1300020 More coarse หยาบขึ้น
|
||||
1300021 More fine ละเอียดขึ้น
|
||||
1300022 2. Test grinding 2. ทดสอบการบด
|
||||
|
|
|
|||
|
Can't render this file because it has a wrong number of fields in line 21.
|
|
|
@ -0,0 +1,91 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new_menu.lxml"
|
||||
|
||||
SetInstanceIgnoreTouch
|
||||
</EventOpen>
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
;DEBUGVAR ICE_PROCESS_STATUS
|
||||
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
Var ice_tab_process_show = "Enable"
|
||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
GetVisible inst_show
|
||||
;DEBUGVAR inst_show
|
||||
|
||||
InstanceGetString SaveStringInst
|
||||
;DEBUGVAR SaveStringInst
|
||||
|
||||
If inst_show = 1 Then
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
|
||||
If show_eng = "true" Then
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; setvarint SlientRefreshEnable 1
|
||||
;DEBUGVAR SlientRefreshEnable
|
||||
|
||||
If SlientRefreshEnable = 1 Then
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
|
||||
If show_eng = "true" Then
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new.lxml"
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
|
|
@ -0,0 +1,91 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new_menu.lxml"
|
||||
|
||||
SetInstanceIgnoreTouch
|
||||
</EventOpen>
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
;DEBUGVAR ICE_PROCESS_STATUS
|
||||
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
Var ice_tab_process_show = "Enable"
|
||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
GetVisible inst_show
|
||||
;DEBUGVAR inst_show
|
||||
|
||||
InstanceGetString SaveStringInst
|
||||
;DEBUGVAR SaveStringInst
|
||||
|
||||
If inst_show = 1 Then
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
|
||||
If show_eng = "true" Then
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; setvarint SlientRefreshEnable 1
|
||||
;DEBUGVAR SlientRefreshEnable
|
||||
|
||||
If SlientRefreshEnable = 1 Then
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
|
||||
If show_eng = "true" Then
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new.lxml"
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
|
|
@ -1091,7 +1091,7 @@
|
|||
1300016 Brew time:sec เวลาชง: วินาที
|
||||
1300017 Test grind sizes ทดสอบขนาดบด
|
||||
1300018 Coffee module type : ประเภทชุดกาแฟ :
|
||||
1300019 1. Select grind sizes 1. เลือกขนาดบด
|
||||
1300019 1. Select grind sizes 1. เลือกขนาดการบด
|
||||
1300020 More coarse หยาบขึ้น
|
||||
1300021 More fine ละเอียดขึ้น
|
||||
1300022 2. Test grinding 2. ทดสอบการบด
|
||||
|
|
|
|||
|
Can't render this file because it has a wrong number of fields in line 21.
|
BIN
video/brewing_adv13.mp4
Executable file → Normal file
BIN
video/brewing_adv13_long.mp4
Normal file
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 49 KiB |
|
|
@ -76,8 +76,6 @@ EndIf
|
|||
If brewing_adv11_long_size = "" Then
|
||||
GetFileSizeK "taobin_project/video/brewing_adv11_long.mp4" brewing_adv11_long_size
|
||||
EndIf
|
||||
|
||||
|
||||
DEBUGVAR brewing_adv11_long_size
|
||||
If brewing_adv11_long_size = 8233782 Then
|
||||
If WinterWonderPro = 1 Then
|
||||
|
|
@ -90,12 +88,25 @@ If brewing_adv11_long_size = 8233782 Then
|
|||
EndIf
|
||||
|
||||
|
||||
|
||||
If brewing_adv13_long_size = "" Then
|
||||
GetFileSizeK "taobin_project/video/brewing_adv13_long.mp4" brewing_adv13_long_size
|
||||
EndIf
|
||||
DEBUGVAR brewing_adv13_long_size
|
||||
If brewing_adv13_long_size = 3789806 Then
|
||||
If StrawberrySeriesPro = 1 Then
|
||||
|
||||
Var MainAdvertiseFileName[MainAdvertiseRunSlot] = "ROOT/taobin_project/video/brewing_adv13_long.mp4"
|
||||
Var MainAdvertiseVideoEnd[MainAdvertiseRunSlot] = 0
|
||||
Var EventTurnOn = 1
|
||||
Var MainAdvertiseRunSlot = MainAdvertiseRunSlot + 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If brewing_adv21_long_size = "" Then
|
||||
GetFileSizeK "taobin_project/video/brewing_adv21_long.mp4" brewing_adv21_long_size
|
||||
EndIf
|
||||
|
||||
Var ThickTeaByBrewerPro = 1
|
||||
|
||||
DEBUGVAR brewing_adv21_long_size
|
||||
If brewing_adv21_long_size = 6507746 Then
|
||||
If ThickTeaByBrewerPro = 1 Then
|
||||
|
|
|
|||
|
|
@ -118,8 +118,8 @@ If brewing_adv13_size = "" Then
|
|||
EndIf
|
||||
|
||||
DEBUGVAR brewing_adv13_size
|
||||
If brewing_adv13_size = 4223917 Then
|
||||
If EDC_ThailandOn = 1 Then
|
||||
If brewing_adv13_size = 1919848 Then
|
||||
If StrawberrySeriesPro = 1 Then
|
||||
Var BrewingAdvertiseEnable[ BrewingAdvertiseRunSlot] = 1
|
||||
Var BrewingAdvertiseVideo[ BrewingAdvertiseRunSlot] = "ROOT/taobin_project/video/brewing_adv13.mp4";
|
||||
If show_eng = "true" Then
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
total 227724
|
||||
total 229128
|
||||
-rw-rw---- 1 root sdcard_rw 18065754 2024-11-27 16:31 brewing_adv11.mp4
|
||||
-rw-rw---- 1 root sdcard_rw 8233782 2024-12-04 15:39 brewing_adv11_long.mp4
|
||||
-rw-rw---- 1 root sdcard_rw 9415247 2024-10-08 14:40 brewing_adv12.mp4
|
||||
-rw-rw---- 1 root sdcard_rw 4223917 2024-11-01 10:02 brewing_adv13.mp4
|
||||
-rw-rw---- 1 root sdcard_rw 1919848 2024-12-20 22:32 brewing_adv13.mp4
|
||||
-rw-rw---- 1 root sdcard_rw 3789806 2024-12-20 22:31 brewing_adv13_long.mp4
|
||||
-rw-rw---- 1 root sdcard_rw 10634530 2024-10-29 11:51 brewing_adv14.mp4
|
||||
-rw-rw---- 1 root sdcard_rw 8455461 2024-10-04 09:52 brewing_adv15.mp4
|
||||
-rw-rw---- 1 root sdcard_rw 7422861 2024-11-05 16:08 brewing_adv16.mp4
|
||||
|
|
@ -15,8 +16,8 @@ total 227724
|
|||
-rw-rw---- 1 root sdcard_rw 49207 2024-11-29 14:49 brewing_txt_adv11_en.png
|
||||
-rw-rw---- 1 root sdcard_rw 43166 2024-08-29 11:31 brewing_txt_adv12.png
|
||||
-rw-rw---- 1 root sdcard_rw 42692 2024-08-29 11:31 brewing_txt_adv12_en.png
|
||||
-rw-rw---- 1 root sdcard_rw 53750 2024-08-29 11:30 brewing_txt_adv13.png
|
||||
-rw-rw---- 1 root sdcard_rw 48681 2024-08-29 11:30 brewing_txt_adv13_en.png
|
||||
-rw-rw---- 1 root sdcard_rw 50704 2024-12-20 22:09 brewing_txt_adv13.png
|
||||
-rw-rw---- 1 root sdcard_rw 50172 2024-12-20 22:10 brewing_txt_adv13_en.png
|
||||
-rw-rw---- 1 root sdcard_rw 44623 2024-09-17 14:17 brewing_txt_adv14.png
|
||||
-rw-rw---- 1 root sdcard_rw 41395 2024-09-17 14:18 brewing_txt_adv14_en.png
|
||||
-rw-rw---- 1 root sdcard_rw 44262 2024-10-04 14:41 brewing_txt_adv15.png
|
||||
|
|
@ -32,11 +33,11 @@ total 227724
|
|||
-rw-rw---- 1 root sdcard_rw 35550 2023-09-18 18:44 brewing_txt_adv3_en.png
|
||||
-rw-rw---- 1 root sdcard_rw 17402219 2024-07-16 14:21 main_page.mp4
|
||||
-rw-rw---- 1 root sdcard_rw 10634530 2024-10-29 11:51 main_page_event.mp4
|
||||
-rw-rw---- 1 root sdcard_rw 4378 2024-12-04 16:54 script1.ev
|
||||
-rw-rw---- 1 root sdcard_rw 4832 2024-12-22 11:33 script1.ev
|
||||
-rw-rw---- 1 root sdcard_rw 288 2024-07-24 21:21 script2.ev
|
||||
-rw-rw---- 1 root sdcard_rw 210 2024-11-10 09:20 script3_brew.ev
|
||||
-rw-rw---- 1 root sdcard_rw 10641 2024-12-04 15:40 script3_first_brewing.ev
|
||||
-rw-rw---- 1 root sdcard_rw 0 2024-12-04 16:54 sync_1.file
|
||||
-rw-rw---- 1 root sdcard_rw 10646 2024-12-22 11:12 script3_first_brewing.ev
|
||||
-rw-rw---- 1 root sdcard_rw 0 2024-12-22 22:32 sync_1.file
|
||||
-rw-rw---- 1 root sdcard_rw 4806758 2023-09-18 18:44 taobin_save_world1.mp4
|
||||
-rw-rw---- 1 root sdcard_rw 6428830 2023-09-18 18:44 taobin_save_world2.mp4
|
||||
-rw-rw---- 1 root sdcard_rw 4634942 2023-09-18 18:44 taobin_save_world3.mp4
|
||||
|
|
|
|||
|
|
@ -47,791 +47,25 @@
|
|||
|
||||
|
||||
<FrameScroll>
|
||||
<Max> 16 </Max>
|
||||
<Max> 12 </Max>
|
||||
<X> 10 </X>
|
||||
<Y> 497 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
<Mode> "EnableAdjust" </Mode>
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
Var ColumnOverride[0] = 2
|
||||
Var ColumnOverride[1] = 2
|
||||
|
||||
Var ColumnGravity[0] = 3
|
||||
Var ColumnGravity[1] = 3
|
||||
|
||||
</Script>
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> "Enable" </State>
|
||||
</Block>
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> "Enable" </State>
|
||||
</Block>
|
||||
|
||||
|
||||
; ==================> Len = 19
|
||||
; 12-01-01-0004 12-01-02-0002 12-01-03-0002
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0004.Button,12-01-02-0002.Button,12-01-03-0002.Button,DateTimeEnd="2024/12/01T00:00:00",$Sum120101000412010200021201030002) </State>
|
||||
<Button>
|
||||
<State> $Sum120101000412010200021201030002 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_latte.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_latte.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_latte.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-01-01-0004, "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 = "LATTE"
|
||||
Var NameDrinkTH = "ลาเต้"
|
||||
Var DrinkDescriptionTH = "กาแฟ นม และ ฟองนม"
|
||||
Var DrinkDescription = "Espresso, Milk, Foamed milk"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_latte.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-01-01-0004.Price
|
||||
Var PriceD2 = $12-01-02-0002.Price
|
||||
Var PriceD3 = $12-01-03-0002.Price
|
||||
Var PD_CODE1 = "12-01-01-0004"
|
||||
Var PD_CODE2 = "12-01-02-0002"
|
||||
Var PD_CODE3 = "12-01-03-0002"
|
||||
Var PD_STAGE_1 = $12-01-01-0004.Button
|
||||
Var PD_STAGE_2 = $12-01-02-0002.Button
|
||||
Var PD_STAGE_3 = $12-01-03-0002.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0004, "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-01-02-0002"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-01-01-0004"
|
||||
Else
|
||||
Topping "Load" "12-01-03-0002"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-01-01-0004.NameE
|
||||
Var menu_desc_eng_hot = $12-01-01-0004.descriptionE
|
||||
Var menu_name_thai_hot = $12-01-01-0004.Name
|
||||
Var menu_desc_thai_hot = $12-01-01-0004.description
|
||||
|
||||
Var menu_name_eng_cold = $12-01-02-0002.NameE
|
||||
Var menu_desc_eng_cold = $12-01-02-0002.descriptionE
|
||||
Var menu_name_thai_cold = $12-01-02-0002.Name
|
||||
Var menu_desc_thai_cold = $12-01-02-0002.description
|
||||
|
||||
Var menu_name_eng_blender = $12-01-03-0002.NameE
|
||||
Var menu_desc_eng_blender = $12-01-03-0002.descriptionE
|
||||
Var menu_name_thai_blender = $12-01-03-0002.Name
|
||||
Var menu_desc_thai_blender = $12-01-03-0002.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var OpenFromInstMenuTab = 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> "LATTE" </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, Milk, Foamed milk" </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-0004.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-0004.Button </State>
|
||||
<Value> StringFmt( $12-01-01-0004.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-0002.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-0002.Button </State>
|
||||
<Value> StringFmt( $12-01-02-0002.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-01-03-0002.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-01-03-0002.Button </State>
|
||||
<Value> StringFmt( $12-01-03-0002.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120101000412010200021201030002 = "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 $Sum120101000412010200021201030002 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-01-01-0004.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-01-02-0002.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-01-03-0002.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> $Sum120101000412010200021201030002 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; 12-21-01-0004 12-21-02-0002 12-21-03-0002
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-21-01-0004.Button,12-21-02-0002.Button,12-21-03-0002.Button,DateTimeEnd="2024/12/01T00:00:00",$Sum122101000412210200021221030002) </State>
|
||||
<Button>
|
||||
<State> $Sum122101000412210200021221030002 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_latte.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_latte.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_latte.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<OverlayImage> xmlpro( 12-21-01-0004, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "LATTE"
|
||||
Var NameDrinkTH = "ลาเต้"
|
||||
Var DrinkDescriptionTH = "กาแฟ นม และ ฟองนม"
|
||||
Var DrinkDescription = "Espresso, Milk, Foamed milk"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_latte.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-21-01-0004.Price
|
||||
Var PriceD2 = $12-21-02-0002.Price
|
||||
Var PriceD3 = $12-21-03-0002.Price
|
||||
Var PD_CODE1 = "12-21-01-0004"
|
||||
Var PD_CODE2 = "12-21-02-0002"
|
||||
Var PD_CODE3 = "12-21-03-0002"
|
||||
Var PD_STAGE_1 = $12-21-01-0004.Button
|
||||
Var PD_STAGE_2 = $12-21-02-0002.Button
|
||||
Var PD_STAGE_3 = $12-21-03-0002.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0004, "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-21-02-0002"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-21-01-0004"
|
||||
Else
|
||||
Topping "Load" "12-21-03-0002"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-21-01-0004.NameE
|
||||
Var menu_desc_eng_hot = $12-21-01-0004.descriptionE
|
||||
Var menu_name_thai_hot = $12-21-01-0004.Name
|
||||
Var menu_desc_thai_hot = $12-21-01-0004.description
|
||||
|
||||
Var menu_name_eng_cold = $12-21-02-0002.NameE
|
||||
Var menu_desc_eng_cold = $12-21-02-0002.descriptionE
|
||||
Var menu_name_thai_cold = $12-21-02-0002.Name
|
||||
Var menu_desc_thai_cold = $12-21-02-0002.description
|
||||
|
||||
Var menu_name_eng_blender = $12-21-03-0002.NameE
|
||||
Var menu_desc_eng_blender = $12-21-03-0002.descriptionE
|
||||
Var menu_name_thai_blender = $12-21-03-0002.Name
|
||||
Var menu_desc_thai_blender = $12-21-03-0002.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> "LATTE" </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, Milk, Foamed milk" </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-0004.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-0004.Button </State>
|
||||
<Value> StringFmt( $12-21-01-0004.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-0002.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-0002.Button </State>
|
||||
<Value> StringFmt( $12-21-02-0002.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-21-03-0002.Button </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> $12-21-03-0002.Button </State>
|
||||
<Value> StringFmt( $12-21-03-0002.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum122101000412210200021221030002 = "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 $Sum122101000412210200021221030002 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-21-01-0004.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-21-02-0002.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-21-03-0002.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> $Sum122101000412210200021221030002 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 19
|
||||
; - 12-05-02-0008 12-05-03-0008
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0008.Button,12-05-03-0008.Button,DateTimeEnd="2024/12/01T00:00:00",$Sum12050200081205030008) </State>
|
||||
<Button>
|
||||
<State> $Sum12050200081205030008 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_sala_soda.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_sala_soda.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_sala_soda.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-03-0008, "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 = "SALAK SODA"
|
||||
Var NameDrinkTH = "น้ำแดงโซดา"
|
||||
Var DrinkDescriptionTH = "น้ำแดงกลิ่นสละ โซดา "
|
||||
Var DrinkDescription = "Salak Syrup, Soda & Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_sala_soda.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0008.Price
|
||||
Var PriceD3 = $12-05-03-0008.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0008"
|
||||
Var PD_CODE3 = "12-05-03-0008"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0008.Button
|
||||
Var PD_STAGE_3 = $12-05-03-0008.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0008, "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-05-02-0008"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "12-05-03-0008"
|
||||
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-05-02-0008.NameE
|
||||
Var menu_desc_eng_cold = $12-05-02-0008.descriptionE
|
||||
Var menu_name_thai_cold = $12-05-02-0008.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0008.description
|
||||
|
||||
Var menu_name_eng_blender = $12-05-03-0008.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0008.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0008.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0008.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var OpenFromInstMenuTab = 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> "SALAK SODA" </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> "Salak Syrup, Soda & Ice" </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-05-02-0008.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-05-02-0008.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0008.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-05-03-0008.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-05-03-0008.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0008.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 $Sum12050200081205030008 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0008.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0008.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> $Sum12050200081205030008 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 14
|
||||
; 12-02-01-0085 12-02-02-0085 12-02-03-0085
|
||||
<Block>
|
||||
|
|
@ -1094,7 +328,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0084.Button,12-02-02-0084.Button,12-02-03-0084.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/31T23:59:59",$Sum120201008412020200841202030084) </State>
|
||||
<State> Flag( 12-02-01-0084.Button,12-02-02-0084.Button,12-02-03-0084.Button,Disable=Invisible,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/31T23:59:59",$Sum120201008412020200841202030084) </State>
|
||||
<Button>
|
||||
<State> $Sum120201008412020200841202030084 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_traditional_green_tea.png" </Filename>
|
||||
|
|
@ -1349,7 +583,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0004.Button,12-01-02-0002.Button,12-01-03-0002.Button,$Sum120101000412010200021201030002) </State>
|
||||
<State> Flag( 12-01-01-0004.Button,12-01-02-0002.Button,12-01-03-0002.Button,Disable=Invisible,$Sum120101000412010200021201030002) </State>
|
||||
<Button>
|
||||
<State> $Sum120101000412010200021201030002 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_latte.png" </Filename>
|
||||
|
|
@ -1602,7 +836,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-21-01-0004.Button,12-21-02-0002.Button,12-21-03-0002.Button,$Sum122101000412210200021221030002) </State>
|
||||
<State> Flag( 12-21-01-0004.Button,12-21-02-0002.Button,12-21-03-0002.Button,Disable=Invisible,$Sum122101000412210200021221030002) </State>
|
||||
<Button>
|
||||
<State> $Sum122101000412210200021221030002 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_latte.png" </Filename>
|
||||
|
|
@ -1856,7 +1090,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0008.Button,12-05-03-0008.Button,$Sum12050200081205030008) </State>
|
||||
<State> Flag( 12-05-02-0008.Button,12-05-03-0008.Button,Disable=Invisible,$Sum12050200081205030008) </State>
|
||||
<Button>
|
||||
<State> $Sum12050200081205030008 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_sala_soda.png" </Filename>
|
||||
|
|
@ -2110,7 +1344,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0083.Button,12-02-02-0083.Button,12-02-03-0083.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/31T23:59:59",Disable=Invisible,$Sum120201008312020200831202030083) </State>
|
||||
<State> Flag( 12-02-01-0083.Button,12-02-02-0083.Button,12-02-03-0083.Button,Disable=Invisible,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/31T23:59:59",Disable=Invisible,$Sum120201008312020200831202030083) </State>
|
||||
<Button>
|
||||
<State> $Sum120201008312020200831202030083 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_southern_fusion_tea.png" </Filename>
|
||||
|
|
@ -2366,7 +1600,7 @@ TEA" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-02-0081.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/06T23:59:59",Disable=Invisible,$Sum1203020081) </State>
|
||||
<State> Flag( 12-03-02-0081.Button,DateTimeStart="2024/12/01T00:00:00",Disable=Invisible,DateTimeEnd="2025/01/06T23:59:59",Disable=Invisible,$Sum1203020081) </State>
|
||||
<Button>
|
||||
<State> $Sum1203020081 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_santa_ginger.png" </Filename>
|
||||
|
|
@ -2617,7 +1851,7 @@ TEA" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0088.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/06T23:59:59",Disable=Invisible,$Sum1203030088) </State>
|
||||
<State> Flag( 12-03-03-0088.Button,DateTimeStart="2024/12/01T00:00:00",Disable=Invisible,DateTimeEnd="2025/01/06T23:59:59",Disable=Invisible,$Sum1203030088) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030088 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_choco_snow_flake_smoothie.png" </Filename>
|
||||
|
|
@ -2870,7 +2104,7 @@ CARAMEL SYRUP , OREO AND ICE" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0089.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/06T23:59:59",Disable=Invisible,$Sum1203030089) </State>
|
||||
<State> Flag( 12-03-03-0089.Button,DateTimeStart="2024/12/01T00:00:00",Disable=Invisible,DateTimeEnd="2025/01/06T23:59:59",Disable=Invisible,$Sum1203030089) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030089 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_reindeer_peppermint_smoothie.png" </Filename>
|
||||
|
|
@ -3124,7 +2358,7 @@ STRAWBERRY SYRUP AND ICE" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-02-0084.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/06T23:59:59",Disable=Invisible,$Sum1201020084) </State>
|
||||
<State> Flag( 12-01-02-0084.Button,DateTimeStart="2024/12/01T00:00:00",Disable=Invisible,DateTimeEnd="2025/01/06T23:59:59",Disable=Invisible,$Sum1201020084) </State>
|
||||
<Button>
|
||||
<State> $Sum1201020084 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_christmas_cafe_latte.png" </Filename>
|
||||
|
|
@ -3377,7 +2611,7 @@ CARAMEL SYRUP AND WATER" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-21-02-0084.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/06T23:59:59",Disable=Invisible,$Sum1221020084) </State>
|
||||
<State> Flag( 12-21-02-0084.Button,DateTimeStart="2024/12/01T00:00:00",Disable=Invisible,DateTimeEnd="2025/01/06T23:59:59",Disable=Invisible,$Sum1221020084) </State>
|
||||
<Button>
|
||||
<State> $Sum1221020084 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_christmas_cafe_latte.png" </Filename>
|
||||
|
|
@ -4891,7 +4125,7 @@ CARAMEL OREO" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0009.Button,Disable=Invisible,$Sum1203030009) </State>
|
||||
<State> Flag( 12-03-03-0009.Button,Disable=Invisible,$Sum1203030009,Disable=Invisible) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030009 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_smoothie_oreo.png" </Filename>
|
||||
|
|
@ -18443,6 +17677,7 @@ LIMENADE SODA" </Value>
|
|||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
Var return = "Invisible"
|
||||
)
|
||||
</State>
|
||||
<Loop> "true" </Loop>
|
||||
|
|
|
|||
|
|
@ -47,32 +47,25 @@
|
|||
|
||||
|
||||
<FrameScroll>
|
||||
<Max> 16 </Max>
|
||||
<Max> 12 </Max>
|
||||
<X> 10 </X>
|
||||
<Y> 497 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
<Mode> "EnableAdjust" </Mode>
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
Var ColumnOverride[0] = 2
|
||||
Var ColumnOverride[1] = 2
|
||||
|
||||
Var ColumnGravity[0] = 3
|
||||
Var ColumnGravity[1] = 3
|
||||
|
||||
|
||||
</Script>
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> "Enable" </State>
|
||||
</Block>
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> "Enable" </State>
|
||||
</Block>
|
||||
|
||||
|
||||
; ==================> Len = 19
|
||||
; 12-01-01-0004 12-01-02-0002 12-01-03-0002
|
||||
|
|
@ -81,7 +74,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0004.Button,12-01-02-0002.Button,12-01-03-0002.Button,DateTimeEnd="2024/12/01T00:00:00",$Sum120101000412010200021201030002) </State>
|
||||
<State> Flag( 12-01-01-0004.Button,12-01-02-0002.Button,12-01-03-0002.Button,Disable=Invisible,DateTimeEnd="2024/12/01T00:00:00",$Sum120101000412010200021201030002) </State>
|
||||
<Button>
|
||||
<State> $Sum120101000412010200021201030002 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_latte.png" </Filename>
|
||||
|
|
@ -334,7 +327,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-21-01-0004.Button,12-21-02-0002.Button,12-21-03-0002.Button,DateTimeEnd="2024/12/01T00:00:00",$Sum122101000412210200021221030002) </State>
|
||||
<State> Flag( 12-21-01-0004.Button,12-21-02-0002.Button,12-21-03-0002.Button,Disable=Invisible,DateTimeEnd="2024/12/01T00:00:00",$Sum122101000412210200021221030002) </State>
|
||||
<Button>
|
||||
<State> $Sum122101000412210200021221030002 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_latte.png" </Filename>
|
||||
|
|
@ -581,256 +574,7 @@
|
|||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 19
|
||||
; - 12-05-02-0008 12-05-03-0008
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0008.Button,12-05-03-0008.Button,DateTimeEnd="2024/12/01T00:00:00",$Sum12050200081205030008) </State>
|
||||
<Button>
|
||||
<State> $Sum12050200081205030008 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_sala_soda.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_sala_soda.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_sala_soda.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-03-0008, "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 = "SALAK SODA"
|
||||
Var NameDrinkTH = "น้ำแดงโซดา"
|
||||
Var DrinkDescriptionTH = "น้ำแดงกลิ่นสละ โซดา "
|
||||
Var DrinkDescription = "Salak Syrup, Soda & Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_sala_soda.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0008.Price
|
||||
Var PriceD3 = $12-05-03-0008.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0008"
|
||||
Var PD_CODE3 = "12-05-03-0008"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0008.Button
|
||||
Var PD_STAGE_3 = $12-05-03-0008.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0008, "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-05-02-0008"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "12-05-03-0008"
|
||||
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-05-02-0008.NameE
|
||||
Var menu_desc_eng_cold = $12-05-02-0008.descriptionE
|
||||
Var menu_name_thai_cold = $12-05-02-0008.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0008.description
|
||||
|
||||
Var menu_name_eng_blender = $12-05-03-0008.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0008.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0008.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0008.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var OpenFromInstMenuTab = 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> "SALAK SODA" </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> "Salak Syrup, Soda & Ice" </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-05-02-0008.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-05-02-0008.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0008.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-05-03-0008.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-05-03-0008.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0008.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 $Sum12050200081205030008 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0008.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0008.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> $Sum12050200081205030008 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
|
||||
; - - -
|
||||
; ==================> Len = 14
|
||||
; 12-02-01-0085 12-02-02-0085 12-02-03-0085
|
||||
|
|
@ -839,7 +583,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0085.Button,12-02-02-0085.Button,12-02-03-0085.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/31T23:59:59",$Sum120201008512020200851202030085) </State>
|
||||
<State> Flag( 12-02-01-0085.Button,12-02-02-0085.Button,12-02-03-0085.Button,Disable=Invisible,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/31T23:59:59",$Sum120201008512020200851202030085) </State>
|
||||
<Button>
|
||||
<State> $Sum120201008512020200851202030085 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_royal_milk_tea.png" </Filename>
|
||||
|
|
@ -1094,7 +838,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0084.Button,12-02-02-0084.Button,12-02-03-0084.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/31T23:59:59",$Sum120201008412020200841202030084) </State>
|
||||
<State> Flag( 12-02-01-0084.Button,12-02-02-0084.Button,12-02-03-0084.Button,Disable=Invisible,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/31T23:59:59",$Sum120201008412020200841202030084) </State>
|
||||
<Button>
|
||||
<State> $Sum120201008412020200841202030084 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_traditional_green_tea.png" </Filename>
|
||||
|
|
@ -1349,7 +1093,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0004.Button,12-01-02-0002.Button,12-01-03-0002.Button,$Sum120101000412010200021201030002) </State>
|
||||
<State> Flag( 12-01-01-0004.Button,12-01-02-0002.Button,12-01-03-0002.Button,Disable=Invisible,DateTimeStart="2025/02/02T00:00:00",$Sum120101000412010200021201030002) </State>
|
||||
<Button>
|
||||
<State> $Sum120101000412010200021201030002 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_latte.png" </Filename>
|
||||
|
|
@ -1602,7 +1346,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-21-01-0004.Button,12-21-02-0002.Button,12-21-03-0002.Button,$Sum122101000412210200021221030002) </State>
|
||||
<State> Flag( 12-21-01-0004.Button,12-21-02-0002.Button,12-21-03-0002.Button,Disable=Invisible,DateTimeStart="2025/02/02T00:00:00",$Sum122101000412210200021221030002) </State>
|
||||
<Button>
|
||||
<State> $Sum122101000412210200021221030002 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_latte.png" </Filename>
|
||||
|
|
@ -1856,7 +1600,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0008.Button,12-05-03-0008.Button,$Sum12050200081205030008) </State>
|
||||
<State> Flag( 12-05-02-0008.Button,12-05-03-0008.Button,DateTimeStart="2025/02/02T00:00:00",$Sum12050200081205030008) </State>
|
||||
<Button>
|
||||
<State> $Sum12050200081205030008 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_sala_soda.png" </Filename>
|
||||
|
|
@ -2101,7 +1845,6 @@
|
|||
</Block>
|
||||
; - - -
|
||||
|
||||
|
||||
; menu_new_li;TAGESP
|
||||
; ==================> Len = 14
|
||||
; 12-02-01-0083 12-02-02-0083 12-02-03-0083
|
||||
|
|
|
|||
|
|
@ -108,8 +108,8 @@
|
|||
Var RandomPromotionMyworld = 0
|
||||
Var RandomSalePackage = 0
|
||||
|
||||
Var XMLPageVersion = "9.40"
|
||||
Var XMLPageVersionInt = 940
|
||||
Var XMLPageVersion = "9.41"
|
||||
Var XMLPageVersionInt = 941
|
||||
;Oreo
|
||||
Var OreoGuarantee = 0
|
||||
|
||||
|
|
|
|||