Merge branch 'masterpiece' into feat/sgp-new-payment
This commit is contained in:
commit
e6703097f2
1117 changed files with 200327 additions and 141852 deletions
File diff suppressed because it is too large
Load diff
16990
xml/event/double_promotion_school_ovaltine_and_oreo_volcano.xml
Normal file
16990
xml/event/double_promotion_school_ovaltine_and_oreo_volcano.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,30 @@
|
|||
[
|
||||
{
|
||||
"name": "school_ovaltine",
|
||||
"template": "/event/promotion_video_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine.png",
|
||||
"video_eng": "ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine.mp4",
|
||||
"video_thai": "ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine.mp4",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_school_ovaltine.xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "oreo_volcano",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_oreo_volcano.xml"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -1 +1 @@
|
|||
/event/promotion_kingdom_thai_tea.xml
|
||||
/event/promotion_school_ovaltine.xml
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -68,7 +68,7 @@
|
|||
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 61
|
||||
; menu_new_list 62
|
||||
; ==================> Len = 16
|
||||
; - 12-02-02-0099 -
|
||||
<Block>
|
||||
|
|
@ -76,7 +76,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-02-0099.Button,DateTimeStart="2025/04/01T00:00:00",Disable=Invisible,$Sum1202020099) </State>
|
||||
<State> Flag( 12-02-02-0099.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Disable=Invisible,$Sum1202020099) </State>
|
||||
<Button>
|
||||
<State> $Sum1202020099 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pure_Matcha_X3.png" </Filename>
|
||||
|
|
@ -327,7 +327,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0103.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1203030103) </State>
|
||||
<State> Flag( 12-03-03-0103.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1203030103) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030103 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Smoothie.png" </Filename>
|
||||
|
|
@ -582,7 +582,7 @@ And Ice" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0106.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1203030106) </State>
|
||||
<State> Flag( 12-03-03-0106.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1203030106) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030106 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Matcha_Smoothie.png" </Filename>
|
||||
|
|
@ -837,7 +837,7 @@ Sugar And Ice" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1201020090) </State>
|
||||
<State> Flag( 12-01-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1201020090) </State>
|
||||
<Button>
|
||||
<State> $Sum1201020090 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Oliang.png" </Filename>
|
||||
|
|
@ -1086,7 +1086,7 @@ Sugar And Ice" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-21-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1221020090) </State>
|
||||
<State> Flag( 12-21-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1221020090) </State>
|
||||
<Button>
|
||||
<State> $Sum1221020090 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Oliang.png" </Filename>
|
||||
|
|
@ -3091,19 +3091,19 @@ Volcano" </Value>
|
|||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0133 -
|
||||
; - 12-05-02-0133 12-05-03-0133
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0133.Button,DateTimeStart="2025/05/01T00:00:00",Disable=Invisible,$Sum1205020133) </State>
|
||||
<State> Flag( 12-05-02-0133.Button,12-05-03-0133.Button,DateTimeStart="2025/05/01T00:00:00",Disable=Invisible,$Sum12050201331205030133) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020133 </State>
|
||||
<State> $Sum12050201331205030133 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_pepsi_extra_catalog.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_pepsi_extra_catalog.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_pepsi_extra_catalog.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0133, "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>
|
||||
|
|
@ -3115,14 +3115,14 @@ Volcano" </Value>
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0133.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0133.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0133"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0133"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0133.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0133.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -3144,7 +3144,7 @@ Volcano" </Value>
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0133"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -3157,10 +3157,10 @@ Volcano" </Value>
|
|||
Var menu_name_thai_cold = $12-05-02-0133.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0133.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-05-03-0133.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0133.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0133.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0133.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -3260,7 +3260,7 @@ Volcano" </Value>
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0133.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -3270,8 +3270,8 @@ Volcano" </Value>
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0133.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0133.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -3296,10 +3296,10 @@ Volcano" </Value>
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020133 = "Disable" Then
|
||||
If $Sum12050201331205030133 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0133.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0133.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -3335,7 +3335,7 @@ Volcano" </Value>
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020133 </State>
|
||||
<State> $Sum12050201331205030133 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
|
@ -4874,7 +4874,7 @@ Volcano" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0094.Button,Disable=Invisible,$Sum1203030094) </State>
|
||||
<State> Flag( 12-03-03-0094.Button,DateTimeEnd="2025/05/19T00:00:00",Disable=Invisible,$Sum1203030094) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030094 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ovaltine_cocoa_smoothie.png" </Filename>
|
||||
|
|
@ -5118,6 +5118,262 @@ Volcano" </Value>
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; 12-02-01-0083 12-02-02-0083 12-02-03-0083
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<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="2025/05/19T00:00:00",Disable=Invisible,$Sum120201008312020200831202030083) </State>
|
||||
<Button>
|
||||
<State> $Sum120201008312020200831202030083 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_southern_fusion_tea.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_southern_fusion_tea.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_southern_fusion_tea.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-02-01-0083, "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 = "Southern Fusion Tea"
|
||||
Var NameDrinkTH = "ชาผสานปักษ์ใต้"
|
||||
Var DrinkDescriptionTH = "มัทฉะ ชาไทย นม และคาราเมล"
|
||||
Var DrinkDescription = "Matcha , Thai Tea, Milk Caramel"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_southern_fusion_tea.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0083.Price
|
||||
Var PriceD2 = $12-02-02-0083.Price
|
||||
Var PriceD3 = $12-02-03-0083.Price
|
||||
Var PD_CODE1 = "12-02-01-0083"
|
||||
Var PD_CODE2 = "12-02-02-0083"
|
||||
Var PD_CODE3 = "12-02-03-0083"
|
||||
Var PD_STAGE_1 = $12-02-01-0083.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0083.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0083.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0083, "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-02-02-0083"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0083"
|
||||
Else
|
||||
Topping "Load" "12-02-03-0083"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-02-01-0083.NameE
|
||||
Var menu_desc_eng_hot = $12-02-01-0083.descriptionE
|
||||
Var menu_name_thai_hot = $12-02-01-0083.Name
|
||||
Var menu_desc_thai_hot = $12-02-01-0083.description
|
||||
|
||||
Var menu_name_eng_cold = $12-02-02-0083.NameE
|
||||
Var menu_desc_eng_cold = $12-02-02-0083.descriptionE
|
||||
Var menu_name_thai_cold = $12-02-02-0083.Name
|
||||
Var menu_desc_thai_cold = $12-02-02-0083.description
|
||||
|
||||
Var menu_name_eng_blender = $12-02-03-0083.NameE
|
||||
Var menu_desc_eng_blender = $12-02-03-0083.descriptionE
|
||||
Var menu_name_thai_blender = $12-02-03-0083.Name
|
||||
Var menu_desc_thai_blender = $12-02-03-0083.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> "Southern Fusion
|
||||
Tea" </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> "Matcha , Thai Tea, Milk Caramel" </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-02-01-0083.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-02-01-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-01-0083.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-02-02-0083.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-02-02-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0083.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-02-03-0083.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-02-03-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-03-0083.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201008312020200831202030083 = "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 $Sum120201008312020200831202030083 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0083.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0083.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0083.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> $Sum120201008312020200831202030083 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 21
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_kingdom_thai_tea.xml"
|
||||
Var BigButtonEnable = "Invisible"
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@
|
|||
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 61
|
||||
; menu_new_list 62
|
||||
; ==================> Len = 16
|
||||
; - 12-02-02-0099 -
|
||||
<Block>
|
||||
|
|
@ -76,7 +76,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-02-0099.Button,DateTimeStart="2025/04/01T00:00:00",Disable=Invisible,$Sum1202020099) </State>
|
||||
<State> Flag( 12-02-02-0099.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Disable=Invisible,$Sum1202020099) </State>
|
||||
<Button>
|
||||
<State> $Sum1202020099 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pure_Matcha_X3.png" </Filename>
|
||||
|
|
@ -327,7 +327,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0103.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1203030103) </State>
|
||||
<State> Flag( 12-03-03-0103.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1203030103) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030103 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Smoothie.png" </Filename>
|
||||
|
|
@ -582,7 +582,7 @@ And Ice" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0106.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1203030106) </State>
|
||||
<State> Flag( 12-03-03-0106.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1203030106) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030106 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Matcha_Smoothie.png" </Filename>
|
||||
|
|
@ -837,7 +837,7 @@ Sugar And Ice" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1201020090) </State>
|
||||
<State> Flag( 12-01-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1201020090) </State>
|
||||
<Button>
|
||||
<State> $Sum1201020090 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Oliang.png" </Filename>
|
||||
|
|
@ -1086,7 +1086,7 @@ Sugar And Ice" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-21-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1221020090) </State>
|
||||
<State> Flag( 12-21-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1221020090) </State>
|
||||
<Button>
|
||||
<State> $Sum1221020090 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Oliang.png" </Filename>
|
||||
|
|
@ -3091,19 +3091,19 @@ Volcano" </Value>
|
|||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0133 -
|
||||
; - 12-05-02-0133 12-05-03-0133
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0133.Button,DateTimeStart="2025/05/01T00:00:00",Disable=Invisible,$Sum1205020133) </State>
|
||||
<State> Flag( 12-05-02-0133.Button,12-05-03-0133.Button,DateTimeStart="2025/05/01T00:00:00",Disable=Invisible,$Sum12050201331205030133) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020133 </State>
|
||||
<State> $Sum12050201331205030133 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_pepsi_extra_catalog.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_pepsi_extra_catalog.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_pepsi_extra_catalog.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0133, "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>
|
||||
|
|
@ -3115,14 +3115,14 @@ Volcano" </Value>
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0133.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0133.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0133"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0133"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0133.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0133.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -3144,7 +3144,7 @@ Volcano" </Value>
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0133"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -3157,10 +3157,10 @@ Volcano" </Value>
|
|||
Var menu_name_thai_cold = $12-05-02-0133.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0133.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-05-03-0133.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0133.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0133.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0133.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -3260,7 +3260,7 @@ Volcano" </Value>
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0133.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -3270,8 +3270,8 @@ Volcano" </Value>
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0133.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0133.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -3296,10 +3296,10 @@ Volcano" </Value>
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020133 = "Disable" Then
|
||||
If $Sum12050201331205030133 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0133.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0133.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -3335,7 +3335,7 @@ Volcano" </Value>
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020133 </State>
|
||||
<State> $Sum12050201331205030133 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
|
@ -4874,7 +4874,7 @@ Volcano" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0094.Button,Disable=Invisible,$Sum1203030094) </State>
|
||||
<State> Flag( 12-03-03-0094.Button,DateTimeEnd="2025/05/19T00:00:00",Disable=Invisible,$Sum1203030094) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030094 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ovaltine_cocoa_smoothie.png" </Filename>
|
||||
|
|
@ -5118,6 +5118,262 @@ Volcano" </Value>
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; 12-02-01-0083 12-02-02-0083 12-02-03-0083
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<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="2025/05/19T00:00:00",Disable=Invisible,$Sum120201008312020200831202030083) </State>
|
||||
<Button>
|
||||
<State> $Sum120201008312020200831202030083 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_southern_fusion_tea.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_southern_fusion_tea.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_southern_fusion_tea.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-02-01-0083, "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 = "Southern Fusion Tea"
|
||||
Var NameDrinkTH = "ชาผสานปักษ์ใต้"
|
||||
Var DrinkDescriptionTH = "มัทฉะ ชาไทย นม และคาราเมล"
|
||||
Var DrinkDescription = "Matcha , Thai Tea, Milk Caramel"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_southern_fusion_tea.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0083.Price
|
||||
Var PriceD2 = $12-02-02-0083.Price
|
||||
Var PriceD3 = $12-02-03-0083.Price
|
||||
Var PD_CODE1 = "12-02-01-0083"
|
||||
Var PD_CODE2 = "12-02-02-0083"
|
||||
Var PD_CODE3 = "12-02-03-0083"
|
||||
Var PD_STAGE_1 = $12-02-01-0083.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0083.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0083.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0083, "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-02-02-0083"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0083"
|
||||
Else
|
||||
Topping "Load" "12-02-03-0083"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-02-01-0083.NameE
|
||||
Var menu_desc_eng_hot = $12-02-01-0083.descriptionE
|
||||
Var menu_name_thai_hot = $12-02-01-0083.Name
|
||||
Var menu_desc_thai_hot = $12-02-01-0083.description
|
||||
|
||||
Var menu_name_eng_cold = $12-02-02-0083.NameE
|
||||
Var menu_desc_eng_cold = $12-02-02-0083.descriptionE
|
||||
Var menu_name_thai_cold = $12-02-02-0083.Name
|
||||
Var menu_desc_thai_cold = $12-02-02-0083.description
|
||||
|
||||
Var menu_name_eng_blender = $12-02-03-0083.NameE
|
||||
Var menu_desc_eng_blender = $12-02-03-0083.descriptionE
|
||||
Var menu_name_thai_blender = $12-02-03-0083.Name
|
||||
Var menu_desc_thai_blender = $12-02-03-0083.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> "Southern Fusion
|
||||
Tea" </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> "Matcha , Thai Tea, Milk Caramel" </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-02-01-0083.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-02-01-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-01-0083.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-02-02-0083.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-02-02-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0083.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-02-03-0083.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-02-03-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-03-0083.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201008312020200831202030083 = "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 $Sum120201008312020200831202030083 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0083.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0083.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0083.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> $Sum120201008312020200831202030083 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 21
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
<Button>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
|
|
@ -7,9 +8,15 @@
|
|||
<FilenamePress> ###normal_thai </FilenamePress>
|
||||
<FilenameDisable> ###normal_thai </FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
###EventOnClick
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_school_ovaltine.xml"
|
||||
</EventOnClick>
|
||||
|
||||
<Video>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
<Width> 484 </Width>
|
||||
<Height> 616 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine.mp4" </Filename>
|
||||
</Video>
|
||||
</Button>
|
||||
|
|
@ -4,9 +4,8 @@ DEBUGVAR PayOfflineMode
|
|||
DEBUGVAR CocktailShow
|
||||
DEBUGVAR OpenFromPageBoard
|
||||
|
||||
DEBUGVAR KingdomThaiTeaPro
|
||||
DEBUGVAR PepsiXTaobinPro
|
||||
DEBUGVAR MatchaEveryDayPro
|
||||
DEBUGVAR SchoolOvaltinePro
|
||||
DEBUGVAR OreoVolcanoPro
|
||||
|
||||
Var PromotionState1 = "Invisible"
|
||||
|
|
@ -31,58 +30,53 @@ Else
|
|||
|
||||
Else
|
||||
|
||||
If PepsiXTaobinPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_pepsi_x_taobin.xml"
|
||||
EndIf
|
||||
|
||||
If KingdomThaiTeaPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_kingdom_thai_tea.xml"
|
||||
Var PromotionState1 = "Enable"
|
||||
|
||||
If PepsiXTaobinPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_kingdom_thai_tea_and_pepsi_x_taobin.xml"
|
||||
EndIf
|
||||
|
||||
If MatchaEveryDayPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_kingdom_thai_tea_and_matcha_every_day.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If MatchaEveryDayPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_matcha_every_day.xml"
|
||||
EndIf
|
||||
|
||||
If OreoVolcanoPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_oreo_volcano.xml"
|
||||
If SchoolOvaltinePro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_school_ovaltine.xml"
|
||||
Var PromotionState1 = "Enable"
|
||||
|
||||
If MatchaEveryDayPro = 1 Then
|
||||
If OreoVolcanoPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_matcha_every_day_and_oreo_volcano.xml"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_school_ovaltine_and_oreo_volcano.xml"
|
||||
EndIf
|
||||
Else
|
||||
If OreoVolcanoPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_oreo_volcano.xml"
|
||||
Var PromotionState1 = "Enable"
|
||||
|
||||
If MatchaEveryDayPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_matcha_every_day_and_oreo_volcano.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
DEBUGVAR OpenFromMulti
|
||||
If CatalogLayoutV3 = 1 Then
|
||||
|
||||
|
||||
SAVELOG " CatalogLayoutV3 CatalogLayoutV3 CatalogLayoutV3 CatalogLayoutV3 CatalogLayoutV3 CatalogLayoutV3"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/v3/event/script_open_promotion_v3.ev"
|
||||
EndIf
|
||||
|
||||
|
||||
If OpenFromPageBoard = 1 Then
|
||||
|
||||
DEBUGVAR BigButtonEnable
|
||||
|
||||
OpenInst 2 FileRecommendToOpen
|
||||
Var OpenFromPageBoard = 0
|
||||
|
||||
Else
|
||||
|
||||
|
||||
Open FileRecommendToOpen
|
||||
If OpenFromPageBoard = 1 Then
|
||||
|
||||
DEBUGVAR BigButtonEnable
|
||||
|
||||
OpenInst 2 FileRecommendToOpen
|
||||
Var OpenFromPageBoard = 0
|
||||
|
||||
Else
|
||||
|
||||
Open FileRecommendToOpen
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
Var OpenFromPageBoard = 0
|
||||
|
|
@ -91,3 +85,4 @@ If OpenFromMulti = 1 Then
|
|||
TabMenuVisibleInst 99
|
||||
EndIf
|
||||
Var OpenFromMulti = 0
|
||||
|
||||
|
|
|
|||
|
|
@ -56,9 +56,6 @@ Var ThickTeaByBrewerBanner = 0
|
|||
Var StrawberrySeriesPro = 0
|
||||
Var StrawberrySeriesMenu = 0
|
||||
|
||||
; Ovaltine school, 1 - 28 Feb
|
||||
Var OvaltineSchoolPro = 0
|
||||
|
||||
; Red string of fate, 10 - 23 Feb
|
||||
Var RedStringOfFatePro = 0
|
||||
|
||||
|
|
@ -80,9 +77,12 @@ Var SongkranSoundCampaign = 0
|
|||
; Boost Energy drink, 1 - 11 May
|
||||
Var BoostEnergyPro = 0
|
||||
|
||||
; Matcha every day, 1 - 31 May
|
||||
; Matcha every day, 1 - 18 May
|
||||
Var MatchaEveryDayPro = 0
|
||||
|
||||
; School Ovaltine, 19 - 31 May
|
||||
Var SchoolOvaltinePro = 0
|
||||
|
||||
; Oreo volcano, 1 - 31 May
|
||||
Var OreoVolcanoPro = 0
|
||||
|
||||
|
|
@ -137,7 +137,12 @@ EndIf
|
|||
If SystemDateMonthInt = 5 Then
|
||||
|
||||
Var OreoVolcanoPro = 1
|
||||
Var MatchaEveryDayPro = 1
|
||||
|
||||
If SystemDateDayInt <= 18 Then
|
||||
Var MatchaEveryDayPro = 1
|
||||
Else
|
||||
Var SchoolOvaltinePro = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt <= 11 Then
|
||||
Var BoostEnergyPro = 1
|
||||
|
|
@ -153,6 +158,9 @@ EndIf
|
|||
|
||||
Var ToppingNewUINewSystem = 0
|
||||
|
||||
If BoxID = 201193 Then
|
||||
Var BoostEnergyPro = 1
|
||||
EndIf
|
||||
|
||||
If BoxID = 105005 Then
|
||||
Var NewFlowPaymentCode = 1
|
||||
|
|
@ -170,17 +178,11 @@ EndIf
|
|||
|
||||
|
||||
If BoxID = 201714 Then
|
||||
Var RedStringOfFatePro = 0
|
||||
Var OvaltineSchoolPro = 0
|
||||
Var KingdomThaiTeaPro = 1
|
||||
Var AdvertisePepsiAtTheSun = 1
|
||||
Var SongkranSoundCampaign = 1
|
||||
Var NewMatchaPremiumX3 = 1
|
||||
|
||||
EndIf
|
||||
|
||||
If BoxID = 201729 Then
|
||||
Var KingdomThaiTeaPro = 1
|
||||
Var AdvertisePepsiAtTheSun = 1
|
||||
Var SongkranSoundCampaign = 1
|
||||
Var NewMatchaPremiumX3 = 1
|
||||
EndIf
|
||||
|
|
@ -196,12 +198,7 @@ EndIf
|
|||
|
||||
If BoxID = 123456 Then
|
||||
Var ToppingNewUINewSystem = 0
|
||||
Var AdvertisePepsiAtTheSun = 1
|
||||
Var KingdomThaiTeaPro = 1
|
||||
Var SongkranSoundCampaign = 1
|
||||
Var PepsiXTaobinPro = 1
|
||||
Var MatchaEveryDayPro = 0
|
||||
Var ToppingNewUINewSystemStep2 = 1
|
||||
Var BoostEnergyPro = 1
|
||||
EndIf
|
||||
|
||||
DEBUGVAR ConfigNumer
|
||||
|
|
@ -213,17 +210,6 @@ If ConfigNumer >= 1763 Then
|
|||
Var ToppingNewUINewSystemStep2 = 1
|
||||
EndIf
|
||||
|
||||
Var SmoothieMode = "Invisible"
|
||||
If BoxID = 123456 Then
|
||||
Var SmoothieMode= "Enable"
|
||||
EndIf
|
||||
If BoxID = 176757 Then
|
||||
Var SmoothieMode= "Enable"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR SmoothieMode
|
||||
|
||||
|
||||
; override again
|
||||
|
||||
Var CleanFeedbackFlag = 1
|
||||
|
|
@ -288,7 +274,7 @@ DEBUGVAR HaveIngredientOvaltine
|
|||
If HaveIngredientOvaltine = "true" Then
|
||||
|
||||
Else
|
||||
Var OvaltineSchoolPro = 0
|
||||
Var SchoolOvaltinePro = 0
|
||||
Var RedStringOfFatePro = 0
|
||||
EndIf
|
||||
|
||||
|
|
@ -298,8 +284,11 @@ Else
|
|||
Var PepsiXTaobinPro = 0
|
||||
EndIf
|
||||
|
||||
DEBUGVAR OvaltineSchoolPro
|
||||
DEBUGVAR RedStringOfFatePro
|
||||
If OreoEnable = "true" Then
|
||||
|
||||
Else
|
||||
Var OreoVolcanoPro = 0
|
||||
EndIf
|
||||
|
||||
Var CurrentMainVideoTemp = 0
|
||||
|
||||
|
|
@ -330,10 +319,3 @@ If BoxID = 176757 Then
|
|||
EndIf
|
||||
|
||||
DEBUGVAR SystemDateDayOfWeek
|
||||
|
||||
READ_FILE "/mnt/sdcard/coffeevending/kbank_cashless_machine" KBankCashlessMachineContent
|
||||
DEBUGVAR KBankCashlessMachineContent
|
||||
If KBankCashlessMachineContent = 1 Then
|
||||
Var KBankCashlessMachine = 1
|
||||
EndIf
|
||||
DEBUGVAR KBankCashlessMachine
|
||||
101
xml/ledblink.xml
Normal file
101
xml/ledblink.xml
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
<Page>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1312 </Height>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Background> "0x2C2F4E" </Background>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 220 </X>
|
||||
<Y> 700 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/sleepmode/bn_press.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/sleepmode/bp_press.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/sleepmode/bd_press.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<State> btnwakeupstate </State>
|
||||
<EventClick>
|
||||
|
||||
LED LedDoorLid On 255 255 255 255
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Text>
|
||||
<X> 420 </X>
|
||||
<Y> 740 </Y>
|
||||
<Size> 55 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x9597A5 </Color>
|
||||
<Value> "เปิดเเสงขาว" </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 220 </X>
|
||||
<Y> 900 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/sleepmode/bn_press.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/sleepmode/bp_press.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/sleepmode/bd_press.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<State> btnwakeupstate </State>
|
||||
<EventClick>
|
||||
|
||||
LED LedDoorLid off 255 255 255 255
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Text>
|
||||
<X> 420 </X>
|
||||
<Y> 940 </Y>
|
||||
<Size> 55 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x9597A5 </Color>
|
||||
<Value> "ปิดเเสงขาว" </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 220 </X>
|
||||
<Y> 1100 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/sleepmode/bn_press.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/sleepmode/bp_press.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/sleepmode/bd_press.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<State> btnwakeupstate </State>
|
||||
<EventClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_board.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Text>
|
||||
<X> 420 </X>
|
||||
<Y> 1140 </Y>
|
||||
<Size> 55 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x9597A5 </Color>
|
||||
<Value> "ออก" </Value>
|
||||
</Text>
|
||||
|
||||
</Page>
|
||||
|
|
@ -238,6 +238,51 @@ Else
|
|||
Var a_video_menu[27] = video_menu_0
|
||||
Var a_video_menu[28] = video_menu_0
|
||||
Var a_video_menu[29] = video_menu_0
|
||||
|
||||
Var TwoPermenentVideo = 0
|
||||
If CountryName = "Australia" Then
|
||||
Var TwoPermenentVideo = 1
|
||||
EndIf
|
||||
If CountryName = "United Kingdom" Then
|
||||
Var TwoPermenentVideo = 1
|
||||
EndIf
|
||||
|
||||
If TwoPermenentVideo = 1 Then
|
||||
Var video_menu_0 = "00"
|
||||
Var video_menu_1 = "01"
|
||||
Var video_menu2_1 = "00"
|
||||
Var a_video_menu[0] = video_menu_0
|
||||
Var a_video_menu[1] = video_menu_1
|
||||
Var a_video_menu[2] = video_menu_0
|
||||
Var a_video_menu[3] = video_menu_1
|
||||
Var a_video_menu[4] = video_menu_0
|
||||
Var a_video_menu[5] = video_menu_1
|
||||
Var a_video_menu[6] = video_menu_0
|
||||
Var a_video_menu[7] = video_menu_1
|
||||
Var a_video_menu[8] = video_menu_0
|
||||
Var a_video_menu[9] = video_menu_1
|
||||
Var a_video_menu[10] = video_menu_0
|
||||
Var a_video_menu[11] = video_menu_1
|
||||
Var a_video_menu[12] = video_menu_0
|
||||
Var a_video_menu[13] = video_menu_1
|
||||
Var a_video_menu[14] = video_menu_0
|
||||
Var a_video_menu[15] = video_menu_1
|
||||
Var a_video_menu[16] = video_menu_0
|
||||
Var a_video_menu[17] = video_menu_1
|
||||
Var a_video_menu[18] = video_menu_0
|
||||
Var a_video_menu[19] = video_menu_1
|
||||
Var a_video_menu[20] = video_menu_0
|
||||
Var a_video_menu[21] = video_menu_1
|
||||
Var a_video_menu[22] = video_menu_0
|
||||
Var a_video_menu[23] = video_menu_1
|
||||
Var a_video_menu[24] = video_menu_0
|
||||
Var a_video_menu[25] = video_menu_1
|
||||
Var a_video_menu[26] = video_menu_0
|
||||
Var a_video_menu[27] = video_menu_1
|
||||
Var a_video_menu[28] = video_menu_0
|
||||
Var a_video_menu[29] = video_menu_1
|
||||
EndIf
|
||||
|
||||
Else
|
||||
SPLIT AdvertiseProfile "/" 1 a_video_menu[0]
|
||||
SPLIT AdvertiseProfile "/" 2 a_video_menu[1]
|
||||
|
|
|
|||
|
|
@ -6,6 +6,8 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
|
||||
RootLayoutVisible 3 "hide"
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/process/payext_setup.ev"
|
||||
|
||||
Var SendNotiPaySuccess = 2
|
||||
|
|
@ -286,6 +288,15 @@
|
|||
Var EnableTopupCreditBetweenBrew = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
If POS_SELL_MODE = "NORMAL" Then
|
||||
|
||||
Else
|
||||
Var SelectMenuBetweenBrewEnable1 = "Invisible"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If GetFreeFromError = 1 Then
|
||||
Var SelectMenuBetweenBrewEnable1 = "Invisible"
|
||||
Var EnableTopupCreditBetweenBrew = "Invisible"
|
||||
|
|
@ -424,7 +435,7 @@
|
|||
DEBUGVAR GameEnableFromTrickerEv
|
||||
DEBUGVAR GameOverrideDisable
|
||||
DEBUGVAR game_mode_enable
|
||||
|
||||
|
||||
|
||||
|
||||
DEBUGVAR Seeker
|
||||
|
|
@ -616,11 +627,11 @@
|
|||
Var IgnoreLidStrawAll = 0
|
||||
Var bg_lidProblem_ST = "Invisible"
|
||||
Var GetLidButtonState = "Invisible"
|
||||
|
||||
|
||||
Var bg_strawProblem_ST = "Invisible"
|
||||
Var EnableGetMoreStrawFileName = "Invisible"
|
||||
Var EnableTopupCreditBetweenBrew = "Invisible"
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
__CMD "SetErrorCodeHandleByXML" 1028 "-" "-"
|
||||
|
|
@ -668,7 +679,7 @@
|
|||
Var ECommerce = ECommerce + "C:"
|
||||
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -721,7 +732,7 @@
|
|||
Var ECommerce = ECommerce + "C:"
|
||||
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -883,7 +894,7 @@
|
|||
Var ECommerce = ECommerce + "C:"
|
||||
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -928,7 +939,7 @@
|
|||
Var PayDetail2 = ""
|
||||
Var VendingOrderID = Seeker.ORDER_ID
|
||||
Var ServiceRefund = 0
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceRefund ServiceCharge Donate
|
||||
|
||||
Var waitAckPay = 2
|
||||
|
|
@ -967,7 +978,7 @@
|
|||
Var PayDetail2 = ""
|
||||
Var VendingOrderID = Seeker.ORDER_ID
|
||||
Var ServiceRefund = 0
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceRefund ServiceCharge Donate
|
||||
|
||||
Var waitAckPay = 2
|
||||
|
|
@ -1138,7 +1149,6 @@
|
|||
|
||||
Else
|
||||
Var SelectMenuBetweenBrewEnable1Blink = "Invisible"
|
||||
|
||||
EndIf
|
||||
|
||||
DEBUGVAR CountUpBrewing
|
||||
|
|
@ -1410,6 +1420,14 @@
|
|||
EndIf
|
||||
|
||||
|
||||
If SelectMenuBetweenBrewEnable1 = "Enable" Then
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
If POS_SELL_MODE = "NORMAL" Then
|
||||
Else
|
||||
Var SelectMenuBetweenBrewEnable1 = "Invisible"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
|
|
|
|||
|
|
@ -55,6 +55,14 @@
|
|||
Var EnableSelectMenuBetweenBrew = "Enable"
|
||||
EndIf
|
||||
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
If POS_SELL_MODE = "NORMAL" Then
|
||||
|
||||
Else
|
||||
Var EnableSelectMenuBetweenBrew = "Invisible"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If GetFreeFromError = 1 Then
|
||||
Var EnableSelectMenuBetweenBrew = "Invisible"
|
||||
Var EnableTopupCreditBetweenBrew = "Invisible"
|
||||
|
|
@ -186,7 +194,7 @@
|
|||
Var ECommerce = ECommerce + "C:"
|
||||
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -243,7 +251,7 @@
|
|||
Var ECommerce = ECommerce + "C:"
|
||||
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -342,7 +350,7 @@
|
|||
Var ECommerce = ECommerce + "C:"
|
||||
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -388,7 +396,7 @@
|
|||
Var PayDetail2 = ""
|
||||
Var VendingOrderID = Seeker.ORDER_ID
|
||||
Var ServiceRefund = 0
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceRefund ServiceCharge Donate
|
||||
|
||||
Var waitAckPay = 2
|
||||
|
|
@ -427,7 +435,7 @@
|
|||
Var PayDetail2 = ""
|
||||
Var VendingOrderID = Seeker.ORDER_ID
|
||||
Var ServiceRefund = 0
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceRefund ServiceCharge Donate
|
||||
|
||||
Var waitAckPay = 2
|
||||
|
|
@ -584,6 +592,16 @@
|
|||
Var EnableTopupCreditBetweenBrew = "Invisible"
|
||||
EndIf
|
||||
|
||||
If EnableSelectMenuBetweenBrew = "Enable" Then
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
If POS_SELL_MODE = "NORMAL" Then
|
||||
|
||||
Else
|
||||
Var EnableSelectMenuBetweenBrew = "Invisible"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If EnableSelectMenuBetweenBrew = "Enable" Then
|
||||
If EnableSelectMenuBetweenBrewBlink = "Enable" Then
|
||||
Var EnableSelectMenuBetweenBrewBlink = "Invisible"
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@
|
|||
Var ECommerce = ECommerce + "C:"
|
||||
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -245,7 +245,7 @@
|
|||
Var ECommerce = ECommerce + "C:"
|
||||
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -322,7 +322,7 @@
|
|||
Var ECommerce = ECommerce + "C:"
|
||||
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -397,7 +397,7 @@
|
|||
Var PayDetail2 = ""
|
||||
Var VendingOrderID = Seeker.ORDER_ID
|
||||
Var ServiceRefund = 0
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceRefund ServiceCharge Donate
|
||||
|
||||
Var waitAckPay = 2
|
||||
|
|
@ -438,7 +438,7 @@
|
|||
Var PayDetail2 = ""
|
||||
Var VendingOrderID = Seeker.ORDER_ID
|
||||
Var ServiceRefund = 0
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceRefund ServiceCharge Donate
|
||||
|
||||
Var waitAckPay = 2
|
||||
|
|
|
|||
|
|
@ -11,7 +11,17 @@
|
|||
Var routeManTest = CountryRootPath + "/xml/route_man_test.lxml"
|
||||
OpenInst 0 routeManTest
|
||||
Else
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
If EnableHelperShow = 1 Then
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
Var ButtonLanguageCurrentXPosition = 990
|
||||
Var ButtonLanguageCurrentYPosition = 608
|
||||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListYPosition = 590
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
Else
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If showMultiAds = "true" Then
|
||||
|
|
|
|||
|
|
@ -7,6 +7,10 @@
|
|||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; tab_menu hide
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
|
||||
|
||||
RootLayoutVisible 3 "hide"
|
||||
|
||||
DEBUGVAR LangProcess
|
||||
|
||||
|
|
@ -20,6 +24,9 @@
|
|||
|
||||
Var img_press_main_page = "ROOT/taobin_project/image/main_page/bp_main_page_start.png"
|
||||
|
||||
; next button always Enble
|
||||
Var ShowButtonMainClick = "Enable"
|
||||
|
||||
Var img_rest_main_page = ""
|
||||
Var MemberButtonFileNameRest = ""
|
||||
Var img_reset_topup = ""
|
||||
|
|
@ -30,6 +37,7 @@
|
|||
Var credit_card_enable = ""
|
||||
READ_FILE "/mnt/sdcard/credit_card_enable" credit_card_enable
|
||||
|
||||
Var BaseOnPageBoard = 1
|
||||
|
||||
Var eng_enable = "true"
|
||||
Var thai_enable = "true"
|
||||
|
|
@ -40,10 +48,12 @@
|
|||
Var Seeker = "next"
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
Var Seeker = "curr"
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
DEBUGVAR web_ref
|
||||
DEBUGVAR web_payment
|
||||
|
|
@ -58,7 +68,7 @@
|
|||
|
||||
|
||||
Cart "DeleteMenuID" "ALL"
|
||||
Var MultiPayEnable = "false"
|
||||
;Var MultiPayEnable = "false"
|
||||
;Var MultiPayEnable = "true"
|
||||
Var PayType = ""
|
||||
|
||||
|
|
@ -132,6 +142,8 @@
|
|||
Var ShowButtonClick_WTC = "Invisible"
|
||||
Var ShowButtonClickFull_WTC = "Invisible"
|
||||
|
||||
Var BtnLangToggleIndex = "Invisible"
|
||||
|
||||
;SAVELOG DisplayType
|
||||
|
||||
If DisplayType = "2" Then
|
||||
|
|
@ -397,7 +409,7 @@
|
|||
|
||||
|
||||
|
||||
|
||||
CartTaoBin "CLEAR" "-" "-" "-"
|
||||
|
||||
|
||||
|
||||
|
|
@ -590,10 +602,24 @@
|
|||
EndIf
|
||||
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
OpenInst 0 "ROOT/taobin_project/xml/page_network_down_pos_machine.xml"
|
||||
OpenInst 0 "ROOT/taobin_project/xml/page_pos_machine_network_down.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
DEBUGVAR POS_SELL_MODE
|
||||
Var POSSellCountdown = 5
|
||||
If POS_SELL_MODE = "NORMAL" Then
|
||||
|
||||
Else
|
||||
Var BackgroundColor = "0x2C2F4E"
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
Open "ROOT/taobin_project/xml/page_pos_machine_midnight_close.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
DEBUGVAR ButtontoTopupMenu
|
||||
STRCONTAIN "taobin_notopup" XMLProfile taobin_notopup
|
||||
STRCONTAIN "taobin_notopping" XMLProfile taobin_notopping
|
||||
|
|
@ -998,12 +1024,6 @@
|
|||
|
||||
; Singapore disable point
|
||||
Var SettingIgnoreCollectPoint = 1
|
||||
If BoxID = 210604 Then
|
||||
Var SettingIgnoreCollectPoint = 0
|
||||
EndIf
|
||||
;If BoxID = 210699 Then
|
||||
;Var SettingIgnoreCollectPoint = 0
|
||||
;EndIf
|
||||
|
||||
READ_FILE "/mnt/sdcard/coffeevending/use_pt_dev" use_pt_dev
|
||||
STRCONTAIN "1" use_pt_dev enable_pt_mode_by_cfg
|
||||
|
|
@ -1117,11 +1137,12 @@
|
|||
Var CurrentPageShowError = 0
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/hkg/video/script_video.ev"
|
||||
|
||||
EnableLanguage "ENG"
|
||||
EnableLanguage "MSC"
|
||||
EnableLanguage "MTC"
|
||||
Var LanguageShow = "ENG"
|
||||
SetLanguage "ENG"
|
||||
EnableLanguage "MSC"
|
||||
EnableLanguage "ENG"
|
||||
|
||||
Var LanguageShow = "MTC"
|
||||
SetLanguage "MTC"
|
||||
LanguageControl "UpdateList" "-"
|
||||
|
||||
Var show_eng = "true"
|
||||
|
|
@ -1135,8 +1156,14 @@
|
|||
|
||||
Var TextPriceMenuSize = 12
|
||||
Var TextPriceMenuY = 266
|
||||
Var TextPriceMenuColdx = 113
|
||||
Var TextPriceMenuBlendX = 180
|
||||
Var TextPriceMenuHotX = 48
|
||||
|
||||
Var TextHotMenuX = 19
|
||||
Var TextColdMenuX = 84
|
||||
Var TextBlendMenuX = 148
|
||||
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
Var ButtontoTopupMenu = "Invisible"
|
||||
|
||||
|
|
@ -1306,38 +1333,79 @@
|
|||
; Inter + Multi-Instance available ./inter/tha/multi
|
||||
|
||||
|
||||
If BoxID = 173149 Then
|
||||
Var EnableMultiInstanceFromBoxID = 1
|
||||
EndIf
|
||||
If BoxID = 173249 Then
|
||||
Var EnableMultiInstanceFromBoxID = 1
|
||||
EndIf
|
||||
If BoxID = 173319 Then
|
||||
Var EnableMultiInstanceFromBoxID = 1
|
||||
EndIf
|
||||
If BoxID = 200435 Then
|
||||
Var EnableMultiInstanceFromBoxID = 1
|
||||
EndIf
|
||||
If BoxID = 123456 Then
|
||||
Var EnableMultiInstanceFromBoxID = 1
|
||||
TRY "ROOT/taobin_project/inter/tha/configure.ev"
|
||||
|
||||
|
||||
If BoxID = 173372 Then
|
||||
Var SpiralOnline = "true"
|
||||
|
||||
Var InternationalShow = 1
|
||||
EndIf
|
||||
|
||||
If EnableMultiInstanceFromBoxID = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
|
||||
|
||||
|
||||
; enable helper
|
||||
Var EnableHelperShow = 0
|
||||
;Var FromDrinkOk = 1
|
||||
If EnableHelperShow = 1 Then
|
||||
; enable btn_change_langs
|
||||
Var EnableBtnLangWithHelper = 1
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
Var ButtonLanguageCurrentXPosition = 990
|
||||
Var ButtonLanguageCurrentYPosition = 608
|
||||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListYPosition = 590
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
If FromDrinkOk = 1 Then
|
||||
Var TimeOutShowHelpCenter = 15
|
||||
|
||||
Var FromSmoothieProcess = "Invisible"
|
||||
Var FromPaymentCash = "Invisible"
|
||||
Var FromBrewingProcess = "Enable"
|
||||
|
||||
RootLayoutVisible 14 "show"
|
||||
If CurrHelpCenter = 1 Then
|
||||
;do not thing
|
||||
Else
|
||||
OpenInst 14 "ROOT/taobin_project/inter/tha/xml/topview_helper.lxml"
|
||||
EndIf
|
||||
Else
|
||||
RootLayoutVisible 14 "hide"
|
||||
EndIf
|
||||
Else
|
||||
RootLayoutVisible 3 "hide"
|
||||
EndIf
|
||||
|
||||
Var EnableMultiInstance = "true"
|
||||
Var MyanmarLangEnable = "true"
|
||||
Var InternationalShow = 0
|
||||
|
||||
Var CatalogLayoutV3 = 1
|
||||
|
||||
Var SpiralModeFrozenFruit = 0
|
||||
|
||||
If BoxID = 123456 Then
|
||||
Var SpiralOnline = "true"
|
||||
Var SpiralModeFrozenFruit = 1
|
||||
|
||||
Var InternationalShow = 0
|
||||
EndIf
|
||||
|
||||
|
||||
If BoxID = 210699 Then
|
||||
Var SpiralOnline = "true"
|
||||
Var SpiralModeFrozenFruit = 1
|
||||
Var InternationalShow = 1
|
||||
EndIf
|
||||
|
||||
If BoxID = 105005 Then
|
||||
Var SpiralOnline = "true"
|
||||
Var SpiralModeFrozenFruit = 1
|
||||
Var InternationalShow = 1
|
||||
EndIf
|
||||
|
||||
; test payment
|
||||
Var New_Payment = 1
|
||||
|
||||
|
|
@ -1467,7 +1535,17 @@
|
|||
;DEBUGVAR LivenessControlVersion
|
||||
;DEBUGVAR Not#CameraSettingStatus
|
||||
|
||||
RootLayoutVisible 3 "hide"
|
||||
If EnableMultiInstanceFromBoxID = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
If EnableHelperShow = 1 Then
|
||||
RootLayoutVisible 3 "show"
|
||||
Else
|
||||
RootLayoutVisible 3 "hide"
|
||||
EndIf
|
||||
Else
|
||||
RootLayoutVisible 3 "hide"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SELLSTATUS = "DEACTIVE" Then
|
||||
OpenInst 0 "/ROOT/xml/offline.xml"
|
||||
|
|
@ -1659,7 +1737,7 @@
|
|||
|
||||
Machine NewPaymentOpenBrewingXMLEnable
|
||||
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
|
||||
|
||||
|
||||
If EnablePepsiFullscreen = 1 Then
|
||||
DEBUGVAR EnablePepsiFullscreen
|
||||
|
|
@ -1672,6 +1750,8 @@
|
|||
OpenInst 2 PepsiFullScreenPageBoard
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<EventActionOk>
|
||||
|
|
@ -1842,6 +1922,8 @@ PRICE "Reset" "-"
|
|||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
|
||||
|
||||
If CNTDOWN_PROTECT_SCREEN_BLANK > 0 Then
|
||||
Var CNTDOWN_PROTECT_SCREEN_BLANK = CNTDOWN_PROTECT_SCREEN_BLANK - 1
|
||||
EndIf
|
||||
|
|
@ -1985,7 +2067,25 @@ PRICE "Reset" "-"
|
|||
If TaobinOnlineX = "true" Then
|
||||
|
||||
If CountDownShowButton = 31 Then
|
||||
Var ShowButtonClickFull = "Enable"
|
||||
If EnableHelperShow = 1 Then
|
||||
If CurrHelpCenter = 1 Then
|
||||
|
||||
Var ShowButtonMainClick = "Invisible"
|
||||
|
||||
Var ShowButtonClickFull = "Invisible"
|
||||
Var ShowButtonClick = "Invisible"
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
Var ButtontoTopupMenu = "Invisible"
|
||||
Else
|
||||
Var ShowButtonMainClick = "Enable"
|
||||
|
||||
Var ShowButtonClickFull = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var ShowButtonMainClick = "Enable"
|
||||
Var ShowButtonClickFull = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowButtonClick = "Invisible"
|
||||
|
||||
If UsePepsiTheme = 1 Then
|
||||
|
|
@ -1999,8 +2099,18 @@ PRICE "Reset" "-"
|
|||
EndIf
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
Var ShowButtonClick = "Enable"
|
||||
Var ShowButtonClickFull = "Enable"
|
||||
If EnableHelperShow = 1 Then
|
||||
If CurrHelpCenter = 1 Then
|
||||
Var ShowButtonClick = "Invisible"
|
||||
Else
|
||||
Var ShowButtonClick = "Enable"
|
||||
Var ShowButtonMainClick = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var ShowButtonMainClick = "Enable"
|
||||
Var ShowButtonClick = "Enable"
|
||||
Var ShowButtonClickFull = "Enble"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -2009,7 +2119,25 @@ PRICE "Reset" "-"
|
|||
|
||||
If CountDownShowButton = 3 Then
|
||||
|
||||
Var ShowButtonClick = "Enable"
|
||||
If EnableHelperShow = 1 Then
|
||||
If CurrHelpCenter = 1 Then
|
||||
|
||||
Var ShowButtonMainClick = "Invisible"
|
||||
|
||||
Var ShowButtonClickFull = "Invisible"
|
||||
Var ShowButtonClick = "Invisible"
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
Var ButtontoTopupMenu = "Invisible"
|
||||
Else
|
||||
Var ShowButtonMainClick = "Enable"
|
||||
|
||||
Var ShowButtonClick = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var ShowButtonClick = "Enable"
|
||||
Var ShowButtonMainClick = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowButtonClickFull = "Invisible"
|
||||
|
||||
If UsePepsiTheme = 1 Then
|
||||
|
|
@ -2025,6 +2153,24 @@ PRICE "Reset" "-"
|
|||
Refresh
|
||||
EndIf
|
||||
|
||||
DEBUGVAR CurrHelpCenter
|
||||
; after close helper enable clickfull
|
||||
If EnableHelperShow = 1 Then
|
||||
If CurrHelpCenter = 0 Then
|
||||
If CountDownShowButton < 32 Then
|
||||
If CountDownShowButton < 3 Then
|
||||
Var ShowButtonClickFull = "Invisible"
|
||||
Var ShowButtonClick = "Enable"
|
||||
Var ShowButtonMainClick = "Enable"
|
||||
Else
|
||||
Var ShowButtonClickFull = "Enable"
|
||||
Var ShowButtonClick = "Invisible"
|
||||
Var ShowButtonMainClick = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If CountDownPauseVideo > 0 Then
|
||||
DEBUGVAR CountDownPauseVideo
|
||||
; ignore
|
||||
|
|
@ -2059,45 +2205,57 @@ PRICE "Reset" "-"
|
|||
|
||||
Var OpenFromPageBoard = 1
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
If CupOnArm = "true" Then
|
||||
|
||||
Else
|
||||
__CMD "CLI" "arm_id=3,arm_position=posi_espresso_ii" "-" "-"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
DEBUGVAR InternationalEnable
|
||||
DEBUGVAR CountryName
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
Else
|
||||
; show language icon
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||
TRY OpenFileXML
|
||||
EndIf
|
||||
|
||||
If CurrHelpCenter = 1 Then
|
||||
OpenInst 0 "ROOT/taobin_project/xml/page_board.xml"
|
||||
Else
|
||||
If BeerTrapEnable = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
Else
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
If CupOnArm = "true" Then
|
||||
|
||||
Else
|
||||
__CMD "CLI" "arm_id=3,arm_position=posi_espresso_ii" "-" "-"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Machine DoorClose
|
||||
|
||||
TopView "show"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
Var BaseOnPageBoard = 0
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/tricker.ev"
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
Else
|
||||
; show language icon
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
|
||||
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||
TRY OpenFileXML
|
||||
EndIf
|
||||
|
||||
Else
|
||||
If BeerTrapEnable = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
Else
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Machine DoorClose
|
||||
|
||||
TopView "show"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -2110,11 +2268,11 @@ PRICE "Reset" "-"
|
|||
Var CountUpReloadAll = CountUpReloadAll + 1
|
||||
|
||||
DEBUGVAR CountUpReloadAll
|
||||
; setvarint CountUpReloadAll 49
|
||||
; setvarint CountUpReloadAll 200
|
||||
; Original value is 40
|
||||
If EnableMultiInstance = "true" Then
|
||||
|
||||
If CountUpReloadAll > 300 Then
|
||||
If CountUpReloadAll > 100 Then
|
||||
Var NeedReboot = "false"
|
||||
|
||||
Var StartUpExt = "-"
|
||||
|
|
@ -2123,21 +2281,9 @@ PRICE "Reset" "-"
|
|||
ReloadAll
|
||||
EndIf
|
||||
|
||||
If CountUpReloadAll = 50 Then
|
||||
Var SlientRefreshIndex = 2
|
||||
EndIf
|
||||
If CountUpReloadAll = 150 Then
|
||||
Var SlientRefreshIndex = 2
|
||||
EndIf
|
||||
If CountUpReloadAll = 200 Then
|
||||
Var SlientRefreshIndex = 2
|
||||
EndIf
|
||||
If CountUpReloadAll = 250 Then
|
||||
Var SlientRefreshIndex = 2
|
||||
EndIf
|
||||
|
||||
Else
|
||||
If CountUpReloadAll > 100 Then
|
||||
If CountUpReloadAll > 50 Then
|
||||
Var NeedReboot = "false"
|
||||
|
||||
Var StartUpExt = "-"
|
||||
|
|
@ -2150,6 +2296,44 @@ PRICE "Reset" "-"
|
|||
|
||||
EndIf
|
||||
|
||||
DEBUGVAR startTaobinML
|
||||
DEBUGVAR CountDownOpenTaobinML
|
||||
|
||||
If CountDownOpenTaobinML > 0 Then
|
||||
|
||||
Else
|
||||
Var CountDownOpenTaobinML = 0
|
||||
EndIf
|
||||
|
||||
If EnableCameraStraw = "true" Then
|
||||
|
||||
If startTaobinML = "true" Then
|
||||
|
||||
Else
|
||||
Var CountDownOpenTaobinML = CountDownOpenTaobinML + 1
|
||||
|
||||
If CountDownOpenTaobinML = 70 Then
|
||||
TrickTaoBinML "START"
|
||||
Var startTaobinML = "true"
|
||||
DEBUGVAR startTaobinML
|
||||
EndIf
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
DEBUGVAR NeedTrickTaobinML
|
||||
|
||||
If NeedTrickTaobinML = "true" Then
|
||||
|
||||
TrickTaoBinML "TRICKER"
|
||||
Var NeedTrickTaobinML = "false"
|
||||
DEBUGVAR NeedTrickTaobinML
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
If CupOnArm = "true" Then
|
||||
|
||||
|
|
@ -2227,7 +2411,7 @@ PRICE "Reset" "-"
|
|||
Var refresh_str = "-RefreshProf"
|
||||
STRCONTAIN refresh_str XMLProfile HasRefreshProf
|
||||
If HasRefreshProf = "true" Then
|
||||
|
||||
RebootWithCause "RefreshProf_ProMelon"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
|
@ -2244,11 +2428,57 @@ PRICE "Reset" "-"
|
|||
Open "ROOT/taobin_project/xml/page_sleepmode.xml"
|
||||
EndIf
|
||||
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
If POSSellCountdown > 0 Then
|
||||
Var POSSellCountdown = POSSellCountdown - 1
|
||||
Else
|
||||
DEBUGVAR POS_SELL_MODE
|
||||
Var POSSellCountdown = 5
|
||||
If POS_SELL_MODE = "NORMAL" Then
|
||||
|
||||
Else
|
||||
Var BackgroundColor = "0x2C2F4E"
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
Open "ROOT/taobin_project/xml/page_pos_machine_midnight_close.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; for count helper show
|
||||
If EnableHelperShow = 1 Then
|
||||
If FromDrinkOk = 1 Then
|
||||
If TimeOutShowHelpCenter > 0 Then
|
||||
Var TimeOutShowHelpCenter = TimeOutShowHelpCenter - 1
|
||||
EndIf
|
||||
|
||||
If TimeOutShowHelpCenter = 0 Then
|
||||
Var FromDrinkOk = 0
|
||||
If CurrHelpCenter = 1 Then
|
||||
;do not thing
|
||||
Else
|
||||
OpenInst 14 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<EventLanguageOnChange>
|
||||
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
Var ButtonLanguageCurrentXPosition = 990
|
||||
Var ButtonLanguageCurrentYPosition = 608
|
||||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListYPosition = 590
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
|
||||
RefreshAll
|
||||
</EventLanguageOnChange>
|
||||
|
||||
<EventEnd>
|
||||
SAVELOG "EVENT END"
|
||||
|
||||
|
|
@ -2320,6 +2550,8 @@ PRICE "Reset" "-"
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Var BaseOnPageBoard = 0
|
||||
|
||||
;OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
If CocktailShow = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
|
|
@ -2367,6 +2599,7 @@ PRICE "Reset" "-"
|
|||
<EventClick>
|
||||
|
||||
Var NextPage = "-"
|
||||
Var BaseOnPageBoard = 0
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
|
||||
|
|
@ -2426,6 +2659,7 @@ PRICE "Reset" "-"
|
|||
SAVELOG "click ShowButtonClickFull"
|
||||
|
||||
Var NextPage = "-"
|
||||
Var BaseOnPageBoard = 0
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
If SpiralOnline = "true" Then
|
||||
If InternationalEnable = 1 Then
|
||||
|
|
@ -2502,13 +2736,13 @@ PRICE "Reset" "-"
|
|||
<Button>
|
||||
<X> 0 </X>
|
||||
<Y> 608 </Y>
|
||||
<State> "Enable" </State>
|
||||
<State> ShowButtonMainClick </State>
|
||||
<Width> 120 </Width>
|
||||
<Height> 120 </Height>
|
||||
<EventClick>
|
||||
|
||||
Var NextPage = "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
|
||||
SAVELOG " NEXT PAGE NEXT PAGE NEXT PAGE "
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
|
|
@ -2522,32 +2756,37 @@ PRICE "Reset" "-"
|
|||
|
||||
Var OpenFromPageBoard = 1
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
|
||||
If CountryName = "Thailand" Then
|
||||
SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
Else ; show language icon
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||
TRY OpenFileXML
|
||||
EndIf
|
||||
If CurrHelpCenter = 1 Then
|
||||
OpenInst 0 "ROOT/taobin_project/xml/page_board.xml"
|
||||
Else
|
||||
Var BaseOnPageBoard = 0
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
If InternationalEnable = 1 Then
|
||||
|
||||
If CountryName = "Thailand" Then
|
||||
SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
Else ; show language icon
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||
TRY OpenFileXML
|
||||
EndIf
|
||||
Else
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
Else
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Machine DoorClose
|
||||
|
||||
TopView "show"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
EndIf
|
||||
|
||||
Machine DoorClose
|
||||
|
||||
TopView "show"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
|
||||
RootLayoutVisible 3 "hide"
|
||||
|
||||
If New_Payment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_NewBrewing3.xml"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@
|
|||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
|
||||
RootLayoutVisible 3 "hide"
|
||||
|
||||
Var waitAckPay = 0
|
||||
Var ChangeFlag = 0
|
||||
|
||||
|
|
|
|||
|
|
@ -182,6 +182,7 @@
|
|||
Var LidStateX = "Enable"
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
Var bg_strawlid = DirImage2 + "/bg_strawlidSmall.png"
|
||||
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@
|
|||
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
WEB "DISABLE"
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,14 @@
|
|||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
|
||||
|
||||
|
||||
If BoxID = 0 Then
|
||||
RebootWithCause "BoxID was zero 3"
|
||||
EndIf
|
||||
|
||||
|
||||
If SetSpiralOnline = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
|
@ -47,6 +55,7 @@
|
|||
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
WEB "DISABLE"
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,11 @@
|
|||
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
||||
If BoxID = 0 Then
|
||||
RebootWithCause "BoxID was zero 2"
|
||||
EndIf
|
||||
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.lxml"
|
||||
EndIf
|
||||
|
|
@ -29,6 +34,7 @@
|
|||
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
WEB "DISABLE"
|
||||
|
||||
|
|
@ -219,12 +225,6 @@
|
|||
Var menu_desc_thai_blender = ""
|
||||
|
||||
|
||||
|
||||
|
||||
If BoxID = 0 Then
|
||||
RebootWithCause "BoxID was zero"
|
||||
EndIf
|
||||
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/tricker.ev"
|
||||
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
WEB "DISABLE"
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
WEB "DISABLE"
|
||||
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
WEB "DISABLE"
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
WEB "DISABLE"
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -567,9 +567,9 @@ Volcano" </Value>
|
|||
<State> Flag( 12-03-03-0095.Button,DateTimeStart="2024/12/16T00:00:00",$Sum1203030095) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030095 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </FilenameDisable>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Super_Ovaltine_cocoa_smoothie.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Super_Ovaltine_cocoa_smoothie.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Super_Ovaltine_cocoa_smoothie.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-03-03-0095, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -578,7 +578,7 @@ Volcano" </Value>
|
|||
Var NameDrinkTH = "โอวัลตินรถโรงเรียน ซุปเปอร์ภูเขาไฟ"
|
||||
Var DrinkDescriptionTH = "โอวัลติน น้ำตาล และ นม"
|
||||
Var DrinkDescription = "Ovaltine, Sugar, milk"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Super_Ovaltine_cocoa_smoothie.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
|
|
|
|||
|
|
@ -1163,7 +1163,8 @@ Volcano" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Yuzu Milk Oreo Volcano" </Value>
|
||||
<Value> "Yuzu Milk
|
||||
Oreo Volcano" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -4614,9 +4615,9 @@ Coffee, Sugar" </Value>
|
|||
<State> Flag( 12-03-03-0095.Button,DateTimeStart="2024/12/16T00:00:00",$Sum1203030095) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030095 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </FilenameDisable>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Super_Ovaltine_cocoa_smoothie.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Super_Ovaltine_cocoa_smoothie.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Super_Ovaltine_cocoa_smoothie.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-03-03-0095, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -4625,7 +4626,7 @@ Coffee, Sugar" </Value>
|
|||
Var NameDrinkTH = "โอวัลตินรถโรงเรียน ซุปเปอร์ภูเขาไฟ"
|
||||
Var DrinkDescriptionTH = "โอวัลติน น้ำตาล และ นม"
|
||||
Var DrinkDescription = "Ovaltine, Sugar, milk"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Super_Ovaltine_cocoa_smoothie.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
|
|
|
|||
|
|
@ -3339,257 +3339,7 @@ Sugar, Oreo" </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_peach_Oreo_smoothie.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_peach_Oreo_smoothie.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_peach_Oreo_smoothie.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 = "Peach Oreo"
|
||||
Var NameDrinkTH = "พีชโอรีโอภูเขาไฟ"
|
||||
Var DrinkDescriptionTH = "พีช นม น้ำตาล Oreo"
|
||||
Var DrinkDescription = "Peach, Milk, Sugar, Oreo"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_peach_Oreo_smoothie.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_3 = "Enable" Then
|
||||
Topping "Load" ""
|
||||
Else
|
||||
If PD_STAGE_2 = "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> "พีช นม น้ำตาล
|
||||
Oreo" </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> "Peach Oreo" </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> "Peach, Milk,
|
||||
Sugar, Oreo" </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>
|
||||
; - - -
|
||||
</FrameScroll>
|
||||
; Cart
|
||||
<Button>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -11,7 +11,11 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
DEBUGVAR BoostEnergyPro
|
||||
|
||||
If BoostEnergyPro = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_other_other_pro.xml"
|
||||
EndIf
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
; soda and other
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
16971
xml/page_catalog_group_other_other_pro.xml
Normal file
16971
xml/page_catalog_group_other_other_pro.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -293,19 +293,19 @@
|
|||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0133 -
|
||||
; - 12-05-02-0133 12-05-03-0133
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0133.Button,DateTimeStart="2025/01/01T00:00:00",$Sum1205020133) </State>
|
||||
<State> Flag( 12-05-02-0133.Button,12-05-03-0133.Button,DateTimeStart="2025/01/01T00:00:00",$Sum12050201331205030133) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020133 </State>
|
||||
<State> $Sum12050201331205030133 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_pepsi_extra_catalog.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_pepsi_extra_catalog.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_pepsi_extra_catalog.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0133, "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>
|
||||
|
|
@ -317,14 +317,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0133.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0133.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0133"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0133"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0133.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0133.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -346,7 +346,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0133"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -359,10 +359,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0133.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0133.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-05-03-0133.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0133.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0133.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0133.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -462,7 +462,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0133.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -472,8 +472,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0133.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0133.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -498,10 +498,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020133 = "Disable" Then
|
||||
If $Sum12050201331205030133 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0133.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0133.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -537,26 +537,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020133 </State>
|
||||
<State> $Sum12050201331205030133 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0106 -
|
||||
; - 12-05-02-0106 12-05-03-0106
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0106.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1205020106) </State>
|
||||
<State> Flag( 12-05-02-0106.Button,12-05-03-0106.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum12050201061205030106) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020106 </State>
|
||||
<State> $Sum12050201061205030106 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Yuzu.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Yuzu.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Yuzu.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0106, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0106, "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>
|
||||
|
|
@ -568,14 +568,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0106.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0106.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0106"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0106"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0106.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0106, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0106.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0106, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -597,7 +597,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0106"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -610,10 +610,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0106.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0106.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-05-03-0106.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0106.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0106.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0106.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -713,7 +713,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0106.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -723,8 +723,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0106.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0106.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -749,10 +749,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020106 = "Disable" Then
|
||||
If $Sum12050201061205030106 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0106.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0106.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -788,26 +788,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020106 </State>
|
||||
<State> $Sum12050201061205030106 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0057 -
|
||||
; - 12-05-02-0057 12-05-03-0057
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0057.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1205020057) </State>
|
||||
<State> Flag( 12-05-02-0057.Button,12-05-03-0057.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum12050200571205030057) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020057 </State>
|
||||
<State> $Sum12050200571205030057 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Lychee.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Lychee.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Lychee.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0057, "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>
|
||||
|
|
@ -819,14 +819,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0057.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0057.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0057"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0057"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0057.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0057.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -848,7 +848,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0057"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -861,10 +861,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0057.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0057.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-05-03-0057.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0057.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0057.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0057.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -964,7 +964,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0057.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -974,8 +974,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0057.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0057.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -1000,10 +1000,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020057 = "Disable" Then
|
||||
If $Sum12050200571205030057 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0057.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0057.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -1039,26 +1039,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020057 </State>
|
||||
<State> $Sum12050200571205030057 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0058 -
|
||||
; - 12-05-02-0058 12-05-03-0058
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0058.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1205020058) </State>
|
||||
<State> Flag( 12-05-02-0058.Button,12-05-03-0058.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum12050200581205030058) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020058 </State>
|
||||
<State> $Sum12050200581205030058 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Strawberry.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Strawberry.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Strawberry.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0058, "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>
|
||||
|
|
@ -1070,14 +1070,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0058.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0058.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0058"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0058"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0058.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0058.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1099,7 +1099,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0058"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -1112,10 +1112,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0058.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0058.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-05-03-0058.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0058.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0058.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0058.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -1215,7 +1215,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0058.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -1225,8 +1225,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0058.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0058.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -1251,10 +1251,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020058 = "Disable" Then
|
||||
If $Sum12050200581205030058 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0058.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0058.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -1290,26 +1290,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020058 </State>
|
||||
<State> $Sum12050200581205030058 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0148 -
|
||||
; - 12-05-02-0148 12-05-03-0148
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0148.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1205020148) </State>
|
||||
<State> Flag( 12-05-02-0148.Button,12-05-03-0148.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum12050201481205030148) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020148 </State>
|
||||
<State> $Sum12050201481205030148 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Tropical.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Tropical.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Tropical.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0148, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0148, "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>
|
||||
|
|
@ -1321,14 +1321,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0148.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0148.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0148"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0148"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0148.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0148, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0148.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0148, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1350,7 +1350,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0148"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -1363,10 +1363,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0148.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0148.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-05-03-0148.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0148.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0148.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0148.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -1466,7 +1466,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0148.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -1476,8 +1476,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0148.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0148.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -1502,10 +1502,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020148 = "Disable" Then
|
||||
If $Sum12050201481205030148 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0148.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0148.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -1541,26 +1541,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020148 </State>
|
||||
<State> $Sum12050201481205030148 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0149 -
|
||||
; - 12-05-02-0149 12-05-03-0149
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0149.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1205020149) </State>
|
||||
<State> Flag( 12-05-02-0149.Button,12-05-03-0149.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum12050201491205030149) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020149 </State>
|
||||
<State> $Sum12050201491205030149 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Lime.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Lime.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Lime.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0149, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0149, "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>
|
||||
|
|
@ -1572,14 +1572,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0149.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0149.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0149"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0149"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0149.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0149, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0149.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0149, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1601,7 +1601,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0149"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -1614,10 +1614,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0149.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0149.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-05-03-0149.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0149.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0149.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0149.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -1717,7 +1717,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0149.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -1727,8 +1727,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0149.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0149.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -1753,10 +1753,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020149 = "Disable" Then
|
||||
If $Sum12050201491205030149 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0149.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0149.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -1792,26 +1792,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020149 </State>
|
||||
<State> $Sum12050201491205030149 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0150 -
|
||||
; - 12-05-02-0150 12-05-03-0150
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0150.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1205020150) </State>
|
||||
<State> Flag( 12-05-02-0150.Button,12-05-03-0150.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum12050201501205030150) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020150 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi Caramel.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi Caramel.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi Caramel.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0150, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<State> $Sum12050201501205030150 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Caramel.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Caramel.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Caramel.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-03-0150, "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>
|
||||
|
|
@ -1819,18 +1819,18 @@
|
|||
Var NameDrinkTH = "เป๊ปซี่คาราเมล"
|
||||
Var DrinkDescriptionTH = "เป๊ปซี่ โซดา คาราเมล"
|
||||
Var DrinkDescription = "Pepsi Caramel Soda"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Pepsi Caramel.png"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Pepsi_Caramel.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0150.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0150.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0150"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0150"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0150.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0150, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0150.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0150, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1852,7 +1852,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0150"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -1865,10 +1865,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0150.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0150.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-05-03-0150.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0150.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0150.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0150.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -1968,7 +1968,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0150.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -1978,8 +1978,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0150.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0150.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -2004,10 +2004,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020150 = "Disable" Then
|
||||
If $Sum12050201501205030150 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0150.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0150.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -2043,7 +2043,7 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020150 </State>
|
||||
<State> $Sum12050201501205030150 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
|
|
|||
|
|
@ -10854,19 +10854,19 @@ And Soda" </Value>
|
|||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0106 -
|
||||
; - 12-05-02-0106 12-05-03-0106
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0106.Button,$Sum1205020106) </State>
|
||||
<State> Flag( 12-05-02-0106.Button,12-05-03-0106.Button,$Sum12050201061205030106) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020106 </State>
|
||||
<State> $Sum12050201061205030106 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Yuzu_lucky_draw_x2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Yuzu_lucky_draw_x2.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Yuzu_lucky_draw_x2.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0106, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0106, "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>
|
||||
|
|
@ -10878,14 +10878,14 @@ And Soda" </Value>
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0106.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0106.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0106"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0106"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0106.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0106, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0106.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0106, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -10907,7 +10907,7 @@ And Soda" </Value>
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0106"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -10920,10 +10920,10 @@ And Soda" </Value>
|
|||
Var menu_name_thai_cold = $12-05-02-0106.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0106.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-05-03-0106.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0106.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0106.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0106.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -11023,7 +11023,7 @@ And Soda" </Value>
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0106.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -11033,8 +11033,8 @@ And Soda" </Value>
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0106.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0106.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -11059,10 +11059,10 @@ And Soda" </Value>
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020106 = "Disable" Then
|
||||
If $Sum12050201061205030106 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0106.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0106.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -11098,7 +11098,7 @@ And Soda" </Value>
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020106 </State>
|
||||
<State> $Sum12050201061205030106 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
|
|
|||
|
|
@ -4317,9 +4317,9 @@ Mint Soda" </Value>
|
|||
<State> Flag( 12-01-02-0061.Button,12-01-03-0061.Button,$Sum12010200611201030061) </State>
|
||||
<Button>
|
||||
<State> $Sum12010200611201030061 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//" </FilenameDisable>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//-" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//-" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//-" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-01-03-0061, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -4328,7 +4328,7 @@ Mint Soda" </Value>
|
|||
Var NameDrinkTH = "มอคค่ามัทฉะโตเกียวบานาน่าเย็น"
|
||||
Var DrinkDescriptionTH = "กาแฟ น้ำ นม โกโก้ และ กล้วย"
|
||||
Var DrinkDescription = "Espresso, Banana , Cocoa, Milk"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + ""
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-01-02-0061.Price
|
||||
|
|
@ -4568,9 +4568,9 @@ Mint Soda" </Value>
|
|||
<State> Flag( 12-01-02-0062.Button,$Sum1201020062) </State>
|
||||
<Button>
|
||||
<State> $Sum1201020062 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//" </FilenameDisable>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//-" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//-" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//-" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-01-02-0062, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -4579,7 +4579,7 @@ Mint Soda" </Value>
|
|||
Var NameDrinkTH = "มัทฉะลาเต้โตเกียวบานาน่าเย็น"
|
||||
Var DrinkDescriptionTH = "กาแฟ น้ำ นม มัทฉะ และ กล้วย"
|
||||
Var DrinkDescription = "Espresso, Banana , Matcha, Milk"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + ""
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-01-02-0062.Price
|
||||
|
|
@ -4819,9 +4819,9 @@ Mint Soda" </Value>
|
|||
<State> Flag( 12-03-02-0024.Button,12-03-03-0024.Button,$Sum12030200241203030024) </State>
|
||||
<Button>
|
||||
<State> $Sum12030200241203030024 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//" </FilenameDisable>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//-" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//-" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//-" </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>
|
||||
|
|
@ -4830,7 +4830,7 @@ Mint Soda" </Value>
|
|||
Var NameDrinkTH = "นมช็อกโกโตเกียวบานาน่าเย็น"
|
||||
Var DrinkDescriptionTH = "โกโก้ โตเกียวบานาน่า นม น้ำตาลและน้ำแข็ง"
|
||||
Var DrinkDescription = "Tokyo Banana , Milk, Sugar, Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + ""
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-03-02-0024.Price
|
||||
|
|
@ -5070,9 +5070,9 @@ Mint Soda" </Value>
|
|||
<State> Flag( 12-03-03-0045.Button,$Sum1203030045) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030045 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//" </FilenameDisable>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//-" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//-" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//-" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-03-03-0045, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -5081,7 +5081,7 @@ Mint Soda" </Value>
|
|||
Var NameDrinkTH = "สตรอว์เบอร์รี่โตเกียวบานาน่าปั่น"
|
||||
Var DrinkDescriptionTH = "กล้วย สตรอเบอรี และนม"
|
||||
Var DrinkDescription = "Banana , Strawberry , Milk"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + ""
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
|
|
@ -5321,9 +5321,9 @@ Mint Soda" </Value>
|
|||
<State> Flag( 12-03-03-0029.Button,$Sum1203030029) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030029 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//" </FilenameDisable>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//-" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//-" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//-" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-03-03-0029, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -5332,7 +5332,7 @@ Mint Soda" </Value>
|
|||
Var NameDrinkTH = "นมกล้วยปั่น โอรีโอภูเขาไฟ"
|
||||
Var DrinkDescriptionTH = "กล้วย นม น้ำตาล Oreo"
|
||||
Var DrinkDescription = "Banana , Milk, Sugar, Oreo"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + ""
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
|
|
@ -5572,9 +5572,9 @@ Mint Soda" </Value>
|
|||
<State> Flag( 12-02-02-0053.Button,$Sum1202020053) </State>
|
||||
<Button>
|
||||
<State> $Sum1202020053 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//" </FilenameDisable>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//-" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//-" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//-" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-02-02-0053, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -5583,7 +5583,7 @@ Mint Soda" </Value>
|
|||
Var NameDrinkTH = "ขิงโตเกียวบานาน่าเย็น"
|
||||
Var DrinkDescriptionTH = "กล้วย ขิง และน้ำแข็ง"
|
||||
Var DrinkDescription = "Banana , Ginger And Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + ""
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-02-02-0053.Price
|
||||
|
|
@ -5823,9 +5823,9 @@ Mint Soda" </Value>
|
|||
<State> Flag( 12-02-02-0054.Button,$Sum1202020054) </State>
|
||||
<Button>
|
||||
<State> $Sum1202020054 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//" </FilenameDisable>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//-" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//-" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//-" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-02-02-0054, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -5834,7 +5834,7 @@ Mint Soda" </Value>
|
|||
Var NameDrinkTH = "ชาไทยโตเกียวบานาน่าเย็น"
|
||||
Var DrinkDescriptionTH = "กล้วย ชาไทย นม และน้ำแข็ง"
|
||||
Var DrinkDescription = "Banana , Thai Tea, Milk And Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + ""
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-02-02-0054.Price
|
||||
|
|
@ -6074,9 +6074,9 @@ Mint Soda" </Value>
|
|||
<State> Flag( 12-03-02-0023.Button,12-03-03-0023.Button,$Sum12030200231203030023) </State>
|
||||
<Button>
|
||||
<State> $Sum12030200231203030023 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//" </FilenameDisable>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//-" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//-" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//-" </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>
|
||||
|
|
@ -6085,7 +6085,7 @@ Mint Soda" </Value>
|
|||
Var NameDrinkTH = "นมโตเกียวบานาน่าเย็น"
|
||||
Var DrinkDescriptionTH = "โตเกียวบานาน่า นม น้ำตาลและน้ำแข็ง"
|
||||
Var DrinkDescription = "Tokyo Banana , Milk, Sugar, Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + ""
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-03-02-0023.Price
|
||||
|
|
@ -6325,9 +6325,9 @@ Mint Soda" </Value>
|
|||
<State> Flag( 12-05-02-0078.Button,$Sum1205020078) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020078 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//" </FilenameDisable>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//-" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//-" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//-" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -6336,7 +6336,7 @@ Mint Soda" </Value>
|
|||
Var NameDrinkTH = "เต่าทรงพลังโตเกียวบานาน่าโซดาเย็น"
|
||||
Var DrinkDescriptionTH = "กล้วย เต่าทรงพลัง (มีคาเฟอีน)"
|
||||
Var DrinkDescription = "Banana , Medicine Drink, Soda And Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + ""
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0078.Price
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -3344,19 +3344,19 @@ Coconut" </Value>
|
|||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; 12-05-02-0114 12-05-03-0114
|
||||
; - 12-05-02-0114 12-05-03-0114
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( .Button,12-05-02-0114.Button,12-05-03-0114.Button,$Sum12050201141205030114) </State>
|
||||
<State> Flag( 12-05-02-0114.Button,12-05-03-0114.Button,$Sum12050201141205030114) </State>
|
||||
<Button>
|
||||
<State> $Sum12050201141205030114 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_pepsi_coconut_pro.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_pepsi_coconut_pro.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_pepsi_coconut_pro.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( , "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0114, "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>
|
||||
|
|
@ -3366,7 +3366,7 @@ Coconut" </Value>
|
|||
Var DrinkDescription = "Coconut , Pepsi And Soda"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_pepsi_coconut_pro.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $.Price
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0114.Price
|
||||
Var PriceD3 = $12-05-03-0114.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
|
|
@ -3375,7 +3375,7 @@ Coconut" </Value>
|
|||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0114.Button
|
||||
Var PD_STAGE_3 = $12-05-03-0114.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( , "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0114, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -3395,7 +3395,7 @@ Coconut" </Value>
|
|||
Topping "Load" "12-05-02-0114"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" ""
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "12-05-03-0114"
|
||||
EndIf
|
||||
|
|
@ -3490,7 +3490,7 @@ Coconut" </Value>
|
|||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1,823 +0,0 @@
|
|||
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
|
||||
|
||||
|
||||
<FrameScroll>
|
||||
<X> 10 </X>
|
||||
<Y> 497 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 3
|
||||
; ==================> Len = 16
|
||||
; 12-03-01-0019 12-03-02-0019 12-03-03-0019
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-01-0019.Button,12-03-02-0019.Button,12-03-03-0019.Button,$Sum120301001912030200191203030019) </State>
|
||||
<Button>
|
||||
<State> $Sum120301001912030200191203030019 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_ovaltine.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_ovaltine.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_ovaltine.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-03-01-0019, "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 = "Ovaltine"
|
||||
Var NameDrinkTH = "โอวัลติน"
|
||||
Var DrinkDescriptionTH = "โอวัลติน นม โกโก้ และน้ำตาล "
|
||||
Var DrinkDescription = "Ovaltine, Milk, Cocoa, and Sugar"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_ovaltine.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-03-01-0019.Price
|
||||
Var PriceD2 = $12-03-02-0019.Price
|
||||
Var PriceD3 = $12-03-03-0019.Price
|
||||
Var PD_CODE1 = "12-03-01-0019"
|
||||
Var PD_CODE2 = "12-03-02-0019"
|
||||
Var PD_CODE3 = "12-03-03-0019"
|
||||
Var PD_STAGE_1 = $12-03-01-0019.Button
|
||||
Var PD_STAGE_2 = $12-03-02-0019.Button
|
||||
Var PD_STAGE_3 = $12-03-03-0019.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-01-0019, "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-0019"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-03-01-0019"
|
||||
Else
|
||||
Topping "Load" "12-03-03-0019"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-03-01-0019.NameE
|
||||
Var menu_desc_eng_hot = $12-03-01-0019.descriptionE
|
||||
Var menu_name_thai_hot = $12-03-01-0019.Name
|
||||
Var menu_desc_thai_hot = $12-03-01-0019.description
|
||||
|
||||
Var menu_name_eng_cold = $12-03-02-0019.NameE
|
||||
Var menu_desc_eng_cold = $12-03-02-0019.descriptionE
|
||||
Var menu_name_thai_cold = $12-03-02-0019.Name
|
||||
Var menu_desc_thai_cold = $12-03-02-0019.description
|
||||
|
||||
Var menu_name_eng_blender = $12-03-03-0019.NameE
|
||||
Var menu_desc_eng_blender = $12-03-03-0019.descriptionE
|
||||
Var menu_name_thai_blender = $12-03-03-0019.Name
|
||||
Var menu_desc_thai_blender = $12-03-03-0019.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> "Ovaltine" </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> "Ovaltine, Milk, Cocoa,
|
||||
and 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-0019.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-0019.Button </State>
|
||||
<Value> StringFmt( $12-03-01-0019.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-0019.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-0019.Button </State>
|
||||
<Value> StringFmt( $12-03-02-0019.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-0019.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-0019.Button </State>
|
||||
<Value> StringFmt( $12-03-03-0019.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120301001912030200191203030019 = "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 $Sum120301001912030200191203030019 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-03-01-0019.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-03-02-0019.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0019.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> $Sum120301001912030200191203030019 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - - 12-03-03-0094
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0094.Button,$Sum1203030094) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030094 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ovaltine_cocoa_smoothie.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Ovaltine_cocoa_smoothie.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Ovaltine_cocoa_smoothie.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-03-03-0094, "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 = "Mini Bus Ovaltine Volcano"
|
||||
Var NameDrinkTH = "โอวัลตินรถโรงเรียน ภูเขาไฟ"
|
||||
Var DrinkDescriptionTH = "โอวัลติน นม โกโก้ และน้ำตาล "
|
||||
Var DrinkDescription = "Ovaltine, Milk, Cocoa, and Sugar"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Ovaltine_cocoa_smoothie.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
Var PriceD3 = $12-03-03-0094.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-03-03-0094"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = "Disable2"
|
||||
Var PD_STAGE_3 = $12-03-03-0094.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0094, "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" "12-03-03-0094"
|
||||
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 = $12-03-03-0094.NameE
|
||||
Var menu_desc_eng_blender = $12-03-03-0094.descriptionE
|
||||
Var menu_name_thai_blender = $12-03-03-0094.Name
|
||||
Var menu_desc_thai_blender = $12-03-03-0094.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> "Mini Bus Ovaltine
|
||||
Volcano" </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> "Ovaltine, Milk, Cocoa,
|
||||
and 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> $12-03-03-0094.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-0094.Button </State>
|
||||
<Value> StringFmt( $12-03-03-0094.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 $Sum1203030094 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0094.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> $Sum1203030094 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - - 12-03-03-0095
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0095.Button,$Sum1203030095) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030095 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-03-03-0095, "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 = "Mini Bus Ovaltine Super Volcano"
|
||||
Var NameDrinkTH = "โอวัลตินรถโรงเรียน ซุปเปอร์ภูเขาไฟ"
|
||||
Var DrinkDescriptionTH = "โอวัลติน นม โกโก้ และน้ำตาล "
|
||||
Var DrinkDescription = "Ovaltine, Milk, Cocoa, and Sugar"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
Var PriceD3 = $12-03-03-0095.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-03-03-0095"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = "Disable2"
|
||||
Var PD_STAGE_3 = $12-03-03-0095.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0095, "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" "12-03-03-0095"
|
||||
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 = $12-03-03-0095.NameE
|
||||
Var menu_desc_eng_blender = $12-03-03-0095.descriptionE
|
||||
Var menu_name_thai_blender = $12-03-03-0095.Name
|
||||
Var menu_desc_thai_blender = $12-03-03-0095.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> "Mini Bus Ovaltine
|
||||
Super Volcano" </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> "Ovaltine, Milk, Cocoa,
|
||||
and 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> $12-03-03-0095.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-0095.Button </State>
|
||||
<Value> StringFmt( $12-03-03-0095.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 $Sum1203030095 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0095.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> $Sum1203030095 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
</FrameScroll>
|
||||
; Cart
|
||||
<Button>
|
||||
<X> 915 </X>
|
||||
<Y> 1769 </Y>
|
||||
<State> showCart </State>
|
||||
<Filename> cart_image_bn </Filename>
|
||||
<FilenamePress> cart_image_bp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
|
|
@ -39,19 +39,19 @@
|
|||
;dummy_layout.inc
|
||||
; menu_new_list 12
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0133 -
|
||||
; - 12-05-02-0133 12-05-03-0133
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0133.Button,$Sum1205020133) </State>
|
||||
<State> Flag( 12-05-02-0133.Button,12-05-03-0133.Button,$Sum12050201331205030133) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020133 </State>
|
||||
<State> $Sum12050201331205030133 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_pepsi_extra_catalog.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_pepsi_extra_catalog.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_pepsi_extra_catalog.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0133, "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>
|
||||
|
|
@ -63,14 +63,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0133.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0133.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0133"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0133"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0133.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0133.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -92,7 +92,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0133"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -105,10 +105,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0133.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0133.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-05-03-0133.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0133.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0133.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0133.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -208,7 +208,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0133.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -218,8 +218,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0133.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0133.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -244,10 +244,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020133 = "Disable" Then
|
||||
If $Sum12050201331205030133 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0133.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0133.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -283,26 +283,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020133 </State>
|
||||
<State> $Sum12050201331205030133 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0106 -
|
||||
; - 12-05-02-0106 12-05-03-0106
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0106.Button,$Sum1205020106) </State>
|
||||
<State> Flag( 12-05-02-0106.Button,12-05-03-0106.Button,$Sum12050201061205030106) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020106 </State>
|
||||
<State> $Sum12050201061205030106 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Yuzu.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Yuzu.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Yuzu.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0106, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0106, "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>
|
||||
|
|
@ -314,14 +314,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0106.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0106.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0106"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0106"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0106.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0106, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0106.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0106, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -343,7 +343,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0106"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -356,10 +356,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0106.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0106.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-05-03-0106.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0106.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0106.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0106.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -459,7 +459,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0106.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -469,8 +469,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0106.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0106.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -495,10 +495,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020106 = "Disable" Then
|
||||
If $Sum12050201061205030106 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0106.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0106.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -534,26 +534,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020106 </State>
|
||||
<State> $Sum12050201061205030106 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0057 -
|
||||
; - 12-05-02-0057 12-05-03-0057
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0057.Button,$Sum1205020057) </State>
|
||||
<State> Flag( 12-05-02-0057.Button,12-05-03-0057.Button,$Sum12050200571205030057) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020057 </State>
|
||||
<State> $Sum12050200571205030057 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Lychee.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Lychee.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Lychee.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0057, "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>
|
||||
|
|
@ -565,14 +565,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0057.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0057.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0057"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0057"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0057.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0057.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -594,7 +594,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0057"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -607,10 +607,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0057.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0057.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-05-03-0057.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0057.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0057.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0057.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -710,7 +710,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0057.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -720,8 +720,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0057.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0057.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -746,10 +746,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020057 = "Disable" Then
|
||||
If $Sum12050200571205030057 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0057.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0057.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -785,26 +785,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020057 </State>
|
||||
<State> $Sum12050200571205030057 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0058 -
|
||||
; - 12-05-02-0058 12-05-03-0058
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0058.Button,$Sum1205020058) </State>
|
||||
<State> Flag( 12-05-02-0058.Button,12-05-03-0058.Button,$Sum12050200581205030058) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020058 </State>
|
||||
<State> $Sum12050200581205030058 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Strawberry.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Strawberry.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Strawberry.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0058, "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>
|
||||
|
|
@ -816,14 +816,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0058.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0058.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0058"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0058"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0058.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0058.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -845,7 +845,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0058"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -858,10 +858,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0058.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0058.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-05-03-0058.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0058.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0058.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0058.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -961,7 +961,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0058.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -971,8 +971,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0058.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0058.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -997,10 +997,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020058 = "Disable" Then
|
||||
If $Sum12050200581205030058 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0058.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0058.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -1036,26 +1036,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020058 </State>
|
||||
<State> $Sum12050200581205030058 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0148 -
|
||||
; - 12-05-02-0148 12-05-03-0148
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0148.Button,$Sum1205020148) </State>
|
||||
<State> Flag( 12-05-02-0148.Button,12-05-03-0148.Button,$Sum12050201481205030148) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020148 </State>
|
||||
<State> $Sum12050201481205030148 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Tropical.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Tropical.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Tropical.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0148, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0148, "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>
|
||||
|
|
@ -1067,14 +1067,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0148.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0148.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0148"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0148"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0148.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0148, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0148.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0148, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1096,7 +1096,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0148"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -1109,10 +1109,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0148.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0148.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-05-03-0148.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0148.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0148.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0148.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -1212,7 +1212,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0148.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -1222,8 +1222,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0148.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0148.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -1248,10 +1248,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020148 = "Disable" Then
|
||||
If $Sum12050201481205030148 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0148.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0148.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -1287,26 +1287,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020148 </State>
|
||||
<State> $Sum12050201481205030148 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0149 -
|
||||
; - 12-05-02-0149 12-05-03-0149
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0149.Button,$Sum1205020149) </State>
|
||||
<State> Flag( 12-05-02-0149.Button,12-05-03-0149.Button,$Sum12050201491205030149) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020149 </State>
|
||||
<State> $Sum12050201491205030149 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Lime.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Lime.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Lime.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0149, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0149, "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>
|
||||
|
|
@ -1318,14 +1318,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0149.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0149.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0149"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0149"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0149.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0149, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0149.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0149, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1347,7 +1347,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0149"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -1360,10 +1360,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0149.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0149.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-05-03-0149.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0149.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0149.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0149.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -1463,7 +1463,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0149.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -1473,8 +1473,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0149.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0149.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -1499,10 +1499,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020149 = "Disable" Then
|
||||
If $Sum12050201491205030149 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0149.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0149.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -1538,26 +1538,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020149 </State>
|
||||
<State> $Sum12050201491205030149 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0150 -
|
||||
; - 12-05-02-0150 12-05-03-0150
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0150.Button,$Sum1205020150) </State>
|
||||
<State> Flag( 12-05-02-0150.Button,12-05-03-0150.Button,$Sum12050201501205030150) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020150 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi Caramel.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi Caramel.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi Caramel.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0150, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<State> $Sum12050201501205030150 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Caramel.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Caramel.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Caramel.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-03-0150, "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>
|
||||
|
|
@ -1565,18 +1565,18 @@
|
|||
Var NameDrinkTH = "เป๊ปซี่คาราเมล"
|
||||
Var DrinkDescriptionTH = "เป๊ปซี่ โซดา คาราเมล"
|
||||
Var DrinkDescription = "Pepsi Caramel Soda"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Pepsi Caramel.png"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Pepsi_Caramel.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0150.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0150.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0150"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0150"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0150.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0150, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0150.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0150, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1598,7 +1598,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0150"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -1611,10 +1611,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0150.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0150.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-05-03-0150.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0150.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0150.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0150.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -1714,7 +1714,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0150.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -1724,8 +1724,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0150.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0150.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -1750,10 +1750,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020150 = "Disable" Then
|
||||
If $Sum12050201501205030150 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0150.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0150.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -1789,26 +1789,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020150 </State>
|
||||
<State> $Sum12050201501205030150 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0114 -
|
||||
; - 12-05-02-0114 12-05-03-0114
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0114.Button,$Sum1205020114) </State>
|
||||
<State> Flag( 12-05-02-0114.Button,12-05-03-0114.Button,$Sum12050201141205030114) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020114 </State>
|
||||
<State> $Sum12050201141205030114 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Coconut.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Coconut.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Coconut.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0114, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0114, "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>
|
||||
|
|
@ -1820,14 +1820,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0114.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0114.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0114"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0114"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0114.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0114, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0114.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0114, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1849,7 +1849,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0114"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -1862,10 +1862,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0114.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0114.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-05-03-0114.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0114.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0114.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0114.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -1965,7 +1965,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0114.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -1975,8 +1975,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0114.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0114.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -2001,10 +2001,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020114 = "Disable" Then
|
||||
If $Sum12050201141205030114 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0114.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0114.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -2040,7 +2040,7 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020114 </State>
|
||||
<State> $Sum12050201141205030114 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
|
|
|||
2821
xml/page_catalog_group_pro_school_ovaltine.xml
Normal file
2821
xml/page_catalog_group_pro_school_ovaltine.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -3379,9 +3379,9 @@ Sugar, Oreo" </Value>
|
|||
<State> Flag( 12-99-03-0016.Button,$Sum1299030016) </State>
|
||||
<Button>
|
||||
<State> $Sum1299030016 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//" </FilenameDisable>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//-" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//-" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//-" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-99-03-0016, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -3390,7 +3390,7 @@ Sugar, Oreo" </Value>
|
|||
Var NameDrinkTH = "กาเลคซอน "
|
||||
Var DrinkDescriptionTH = "เมล่อน น้ำเชื่อมกล้วย นม และน้ำแข็ง"
|
||||
Var DrinkDescription = "Melon , Banana ,Milk"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + ""
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = "-"
|
||||
Var PriceD2 = 35
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@
|
|||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 61
|
||||
; menu_new_list 62
|
||||
; ==================> Len = 16
|
||||
; - 12-02-02-0099 -
|
||||
<Block>
|
||||
|
|
@ -69,7 +69,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-02-0099.Button,DateTimeStart="2025/04/01T00:00:00",Disable=Invisible,$Sum1202020099) </State>
|
||||
<State> Flag( 12-02-02-0099.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Disable=Invisible,$Sum1202020099) </State>
|
||||
<Button>
|
||||
<State> $Sum1202020099 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pure_Matcha_X3.png" </Filename>
|
||||
|
|
@ -320,7 +320,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0103.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1203030103) </State>
|
||||
<State> Flag( 12-03-03-0103.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1203030103) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030103 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Smoothie.png" </Filename>
|
||||
|
|
@ -575,7 +575,7 @@ And Ice" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0106.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1203030106) </State>
|
||||
<State> Flag( 12-03-03-0106.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1203030106) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030106 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Matcha_Smoothie.png" </Filename>
|
||||
|
|
@ -830,7 +830,7 @@ Sugar And Ice" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1201020090) </State>
|
||||
<State> Flag( 12-01-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1201020090) </State>
|
||||
<Button>
|
||||
<State> $Sum1201020090 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Oliang.png" </Filename>
|
||||
|
|
@ -1079,7 +1079,7 @@ Sugar And Ice" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-21-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1221020090) </State>
|
||||
<State> Flag( 12-21-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1221020090) </State>
|
||||
<Button>
|
||||
<State> $Sum1221020090 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Oliang.png" </Filename>
|
||||
|
|
@ -3084,19 +3084,19 @@ Volcano" </Value>
|
|||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0133 -
|
||||
; - 12-05-02-0133 12-05-03-0133
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0133.Button,DateTimeStart="2025/05/01T00:00:00",Disable=Invisible,$Sum1205020133) </State>
|
||||
<State> Flag( 12-05-02-0133.Button,12-05-03-0133.Button,DateTimeStart="2025/05/01T00:00:00",Disable=Invisible,$Sum12050201331205030133) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020133 </State>
|
||||
<State> $Sum12050201331205030133 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_pepsi_extra_catalog.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_pepsi_extra_catalog.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_pepsi_extra_catalog.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0133, "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>
|
||||
|
|
@ -3108,14 +3108,14 @@ Volcano" </Value>
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0133.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0133.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0133"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0133"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0133.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0133.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -3137,7 +3137,7 @@ Volcano" </Value>
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0133"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -3150,10 +3150,10 @@ Volcano" </Value>
|
|||
Var menu_name_thai_cold = $12-05-02-0133.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0133.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-05-03-0133.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0133.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0133.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0133.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -3253,7 +3253,7 @@ Volcano" </Value>
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0133.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -3263,8 +3263,8 @@ Volcano" </Value>
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0133.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0133.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -3289,10 +3289,10 @@ Volcano" </Value>
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020133 = "Disable" Then
|
||||
If $Sum12050201331205030133 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0133.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0133.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -3328,7 +3328,7 @@ Volcano" </Value>
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020133 </State>
|
||||
<State> $Sum12050201331205030133 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
|
@ -4867,7 +4867,7 @@ Volcano" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0094.Button,Disable=Invisible,$Sum1203030094) </State>
|
||||
<State> Flag( 12-03-03-0094.Button,DateTimeEnd="2025/05/19T00:00:00",Disable=Invisible,$Sum1203030094) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030094 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ovaltine_cocoa_smoothie.png" </Filename>
|
||||
|
|
@ -5111,6 +5111,262 @@ Volcano" </Value>
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; 12-02-01-0083 12-02-02-0083 12-02-03-0083
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<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="2025/05/19T00:00:00",Disable=Invisible,$Sum120201008312020200831202030083) </State>
|
||||
<Button>
|
||||
<State> $Sum120201008312020200831202030083 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_southern_fusion_tea.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_southern_fusion_tea.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_southern_fusion_tea.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-02-01-0083, "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 = "Southern Fusion Tea"
|
||||
Var NameDrinkTH = "ชาผสานปักษ์ใต้"
|
||||
Var DrinkDescriptionTH = "มัทฉะ ชาไทย นม และคาราเมล"
|
||||
Var DrinkDescription = "Matcha , Thai Tea, Milk Caramel"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_southern_fusion_tea.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0083.Price
|
||||
Var PriceD2 = $12-02-02-0083.Price
|
||||
Var PriceD3 = $12-02-03-0083.Price
|
||||
Var PD_CODE1 = "12-02-01-0083"
|
||||
Var PD_CODE2 = "12-02-02-0083"
|
||||
Var PD_CODE3 = "12-02-03-0083"
|
||||
Var PD_STAGE_1 = $12-02-01-0083.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0083.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0083.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0083, "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-02-02-0083"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0083"
|
||||
Else
|
||||
Topping "Load" "12-02-03-0083"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-02-01-0083.NameE
|
||||
Var menu_desc_eng_hot = $12-02-01-0083.descriptionE
|
||||
Var menu_name_thai_hot = $12-02-01-0083.Name
|
||||
Var menu_desc_thai_hot = $12-02-01-0083.description
|
||||
|
||||
Var menu_name_eng_cold = $12-02-02-0083.NameE
|
||||
Var menu_desc_eng_cold = $12-02-02-0083.descriptionE
|
||||
Var menu_name_thai_cold = $12-02-02-0083.Name
|
||||
Var menu_desc_thai_cold = $12-02-02-0083.description
|
||||
|
||||
Var menu_name_eng_blender = $12-02-03-0083.NameE
|
||||
Var menu_desc_eng_blender = $12-02-03-0083.descriptionE
|
||||
Var menu_name_thai_blender = $12-02-03-0083.Name
|
||||
Var menu_desc_thai_blender = $12-02-03-0083.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> "Southern Fusion
|
||||
Tea" </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> "Matcha , Thai Tea, Milk Caramel" </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-02-01-0083.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-02-01-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-01-0083.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-02-02-0083.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-02-02-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0083.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-02-03-0083.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-02-03-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-03-0083.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201008312020200831202030083 = "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 $Sum120201008312020200831202030083 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0083.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0083.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0083.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> $Sum120201008312020200831202030083 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 21
|
||||
|
|
@ -14289,9 +14545,9 @@ Americano" </Value>
|
|||
<State> Flag( 12-01-01-0050.Button,12-01-02-0050.Button,Disable=Invisible,$Sum12010100501201020050) </State>
|
||||
<Button>
|
||||
<State> $Sum12010100501201020050 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_opus_one.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_americano_light_opus_one.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_americano_light_opus_one.png" </FilenameDisable>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_opus_one.png " </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_americano_light_opus_one.png " </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_americano_light_opus_one.png " </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-01-01-0050, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -14300,7 +14556,7 @@ Americano" </Value>
|
|||
Var NameDrinkTH = "อเมริกาโน Opus One"
|
||||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน โน๊ต: องุ่น/ลูกพรุนแห้ง/มิ้นท์/น้ำตาลทรายแดง"
|
||||
Var DrinkDescription = "Light Roast. Note: Grape/Dried prunes/Mint/Brown Sugar"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_light_opus_one.png"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_light_opus_one.png "
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-01-01-0050.Price
|
||||
Var PriceD2 = $12-01-02-0050.Price
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
36
xml/page_catalog_group_school_ovaltine.skt
Normal file
36
xml/page_catalog_group_school_ovaltine.skt
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<?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/xml/menu_catalog_default_init.xml"
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
2821
xml/page_catalog_group_school_ovaltine.xml
Normal file
2821
xml/page_catalog_group_school_ovaltine.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -24,12 +24,26 @@
|
|||
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
WEB "DISABLE"
|
||||
|
||||
Var web_readyOK = "false"
|
||||
Var web_telnumOK = ""
|
||||
|
||||
If CountryName = "Thailand" Then
|
||||
If InternationalEnable = 1 Then
|
||||
If EnableMultiInstance = "true" Then
|
||||
Var OpenFromPageBoard = 1
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/page_catalog.lxml"
|
||||
EndIf
|
||||
Else
|
||||
;OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/image/page_doing/"
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
|
|
|
|||
|
|
@ -56,11 +56,10 @@
|
|||
|
||||
Var TextBottomShowX = 0
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/complete_en/"
|
||||
Var DirImage = "ROOT/taobin_project/image/complete/"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/complete/"
|
||||
If LanguageShow = "ENG" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/complete_en/"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
|
|
|
|||
|
|
@ -9,11 +9,22 @@
|
|||
|
||||
Var buttonRemoveCup = "Enable"
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/complete_en/"
|
||||
Var DirImage = "ROOT/taobin_project/image/complete/"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/complete/"
|
||||
If LanguageShow = "ENG" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/complete_en/"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/complete_mmr/"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MSC" Then
|
||||
Var DirImage = "ROOT/taobin_project/inter/hkg/image/complete_msc/"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MTC" Then
|
||||
Var DirImage = "ROOT/taobin_project/inter/hkg/image/complete_mtc/"
|
||||
EndIf
|
||||
|
||||
Var Timeout = 0
|
||||
|
|
|
|||
|
|
@ -293,6 +293,9 @@
|
|||
|
||||
Var EnableDoorJamAlert = 0
|
||||
|
||||
; helper show in page_board
|
||||
Var FromDrinkOk = 1
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 500 </Timeout>
|
||||
<EventTimeout>
|
||||
|
|
|
|||
|
|
@ -209,6 +209,7 @@
|
|||
If Seeker.PayWithQR = 0 Then
|
||||
DEBUGVAR TxRef1
|
||||
Var PayDetail2 = ToppingDetail
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
DEBUGVAR PayDetail
|
||||
DEBUGVAR PayDetail2
|
||||
|
||||
|
|
@ -225,6 +226,10 @@
|
|||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/process/payment.ev"
|
||||
EndIf
|
||||
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_spiral_before_conti.xml"
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
EndIf
|
||||
|
||||
|
|
@ -244,7 +249,7 @@
|
|||
|
||||
EndIf
|
||||
Else
|
||||
|
||||
; seeker currr
|
||||
|
||||
|
||||
DEBUGVAR ChangeFlag2
|
||||
|
|
@ -253,6 +258,7 @@
|
|||
If Seeker.PayWithQR = 0 Then
|
||||
DEBUGVAR TxRef1
|
||||
Var PayDetail2 = ToppingDetail
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
DEBUGVAR PayDetail
|
||||
DEBUGVAR PayDetail2
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
||||
|
||||
|
||||
If Seeker = "curr" Then
|
||||
If MachineStage = "remove-cup" Then
|
||||
SAVELOG "MachineStage = remove-cup"
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
Var IndoQR = 0
|
||||
|
||||
Var PaymentEnableAll = "true"
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
|
||||
SAVELOG BoxID
|
||||
|
||||
Var ServiceCharge = 0
|
||||
Var Seeker.ServiceCharge = 0
|
||||
|
||||
Var AdultFlag = 0
|
||||
|
||||
|
|
@ -247,6 +247,23 @@
|
|||
Var ReadyForBrew = "false"
|
||||
EndIf
|
||||
|
||||
READ_FILE "/mnt/sdcard/coffeevending/app_manager/app_list/king_power_service/enable" POSMachineFlag
|
||||
DEBUGVAR POSMachineFlag
|
||||
If POSMachineFlag = 1 Then
|
||||
Var ConnectWithPOSMachine = 1
|
||||
EndIf
|
||||
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
If POS_SELL_MODE = "NORMAL" Then
|
||||
|
||||
Else
|
||||
If Seeker = "next" Then
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
; Test
|
||||
|
|
@ -343,7 +360,7 @@
|
|||
|
||||
Var RoadShowMarketCode = ""
|
||||
Var Seeker.VendingCode = RoadShowMarketCode
|
||||
|
||||
|
||||
DEBUGVAR PriceDrink
|
||||
|
||||
Var Seeker.IntVendingCampaign = PriceDrink
|
||||
|
|
@ -404,6 +421,7 @@
|
|||
Var param2 = PureName
|
||||
EndIf
|
||||
|
||||
DEBUGVAR ConnectWithPOSMachine
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
Var WaitPOSStatus = 1
|
||||
Var TimeWaitPOSStatus = 0
|
||||
|
|
@ -535,6 +553,8 @@
|
|||
|
||||
If WaitPOSStatus = 1 Then
|
||||
|
||||
DEBUGVAR TimeWaitPOSStatus
|
||||
DEBUGVAR POS_SELL_STATUS
|
||||
If TimeWaitPOSStatus < 10 Then
|
||||
Var TimeWaitPOSStatus = TimeWaitPOSStatus + 1
|
||||
|
||||
|
|
@ -662,9 +682,11 @@
|
|||
<State> StageShowAlias</State>
|
||||
<X> 0 </X>
|
||||
<Y> 938 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Width> 1080 </Width>
|
||||
<Align> Center </Align>
|
||||
<Size> 66 </Size>
|
||||
<MaxSize> 66 </MaxSize>
|
||||
<Size> Auto </Size>
|
||||
<MaxLine> 1 </MaxLine>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> HeadlineColor </Color>
|
||||
<Value> showname </Value>
|
||||
|
|
|
|||
|
|
@ -828,15 +828,17 @@
|
|||
EndIf
|
||||
|
||||
|
||||
If VendingCashless = "ERROR" Then
|
||||
Var Timeout = 0
|
||||
If CashlessPayFlag = 1 Then
|
||||
If VendingCashless = "ERROR" Then
|
||||
Var Timeout = 0
|
||||
|
||||
;Var QRErrorFlag = 1
|
||||
If alphaState = "Enable" Then
|
||||
Var CreditCardErrorState = "Enable"
|
||||
Var LOADING_STATE = "Invisible"
|
||||
EndIf
|
||||
|
||||
;Var QRErrorFlag = 1
|
||||
If alphaState = "Enable" Then
|
||||
Var CreditCardErrorState = "Enable"
|
||||
Var LOADING_STATE = "Invisible"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -1703,7 +1705,6 @@ EndIf
|
|||
|
||||
<Button>
|
||||
<X> 328 </X>
|
||||
;<X> 552 </X>
|
||||
<Y> 1399 </Y>
|
||||
<State> PayWithFatzebraState </State>
|
||||
<Filename> "ROOT/taobin_project/inter/gbr/image/payment_cash/bn_qr_code.png" </Filename>
|
||||
|
|
@ -1792,74 +1793,73 @@ EndIf
|
|||
EndIf
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 552 </X>
|
||||
<Y> 1399 </Y>
|
||||
<State> "Enable" </State>
|
||||
<Filename> Var( DirImage + "/bn_pay_with_comingSoon.png") </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bn_pay_with_comingSoon.png") </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bn_pay_with_comingSoon.png") </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
;<Button>
|
||||
;<X> 328 </X>
|
||||
;<X> 552 </X>
|
||||
;<Y> 1399 </Y>
|
||||
;<State> PayWithAUBState </State>
|
||||
;<State> "Invisible" </State>
|
||||
;<Filename> "ROOT/taobin_project/inter/gbr/image/payment_cash/bn_pay_with_ema.png" </Filename>
|
||||
;<FilenamePress> "ROOT/taobin_project/inter/gbr/image/payment_cash/bp_pay_with_ema.png" </FilenamePress>
|
||||
;<FilenameDisable> "ROOT/taobin_project/inter/gbr/image/payment_cash/bd_pay_with_ema.png" </FilenameDisable>
|
||||
;<State> "Enable" </State>
|
||||
;<Filename> Var( DirImage + "/bn_pay_with_comingSoon.png") </Filename>
|
||||
;<FilenamePress> Var( DirImage + "/bn_pay_with_comingSoon.png") </FilenamePress>
|
||||
;<FilenameDisable> Var( DirImage + "/bn_pay_with_comingSoon.png") </FilenameDisable>
|
||||
;<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
;<Volume> SoundVolume </Volume>
|
||||
;<EventClick>
|
||||
;
|
||||
; If Timeout < 120 Then
|
||||
; If CoinInFlag = 0 Then
|
||||
; If CancelFlag = 0 Then
|
||||
; If alphaState = "Invisible" Then
|
||||
;
|
||||
; Var QR_POPUP = "/img_popup_ema.png"
|
||||
; Var QRCODE99 = ""
|
||||
;
|
||||
; Var FlagQROpened = 1
|
||||
; Var alphaState = "Enable"
|
||||
; Var PopupCancelButtonState = "Enable"
|
||||
; Var EMAPopupErrorState = "Invisible"
|
||||
;
|
||||
; Var scanresult = ""
|
||||
; Var scanmsg = ""
|
||||
; Var EMAMemberID = ""
|
||||
;
|
||||
; If IsCardlessEnable = 1 Then
|
||||
; CashlessReq OFF ""
|
||||
; Var IsCardlessEnable = 0
|
||||
; EndIf
|
||||
;
|
||||
; INITSCANQR
|
||||
;
|
||||
; Var CameraState = "Enable"
|
||||
; Var EMAEnterNumberButtonState = "Enable"
|
||||
;
|
||||
; Var popup_cancel_button_y = 1390
|
||||
;
|
||||
; Refresh
|
||||
; EndIf
|
||||
; EndIf
|
||||
; EndIf
|
||||
; EndIf
|
||||
;
|
||||
;
|
||||
;</EventClick>
|
||||
;</Button>
|
||||
|
||||
<Button>
|
||||
<X> 552 </X>
|
||||
<Y> 1399 </Y>
|
||||
<State> PayWithAUBState </State>
|
||||
<Filename> "ROOT/taobin_project/inter/gbr/image/payment_cash/bn_pay_with_ema.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/gbr/image/payment_cash/bp_pay_with_ema.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/gbr/image/payment_cash/bd_pay_with_ema.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
If Timeout < 120 Then
|
||||
If CoinInFlag = 0 Then
|
||||
If CancelFlag = 0 Then
|
||||
If alphaState = "Invisible" Then
|
||||
|
||||
Var QR_POPUP = "/img_popup_ema.png"
|
||||
Var QRCODE99 = ""
|
||||
|
||||
Var FlagQROpened = 1
|
||||
Var alphaState = "Enable"
|
||||
Var PopupCancelButtonState = "Enable"
|
||||
Var EMAPopupErrorState = "Invisible"
|
||||
|
||||
Var scanresult = ""
|
||||
Var scanmsg = ""
|
||||
Var EMAMemberID = ""
|
||||
|
||||
If IsCardlessEnable = 1 Then
|
||||
CashlessReq OFF ""
|
||||
Var IsCardlessEnable = 0
|
||||
EndIf
|
||||
|
||||
INITSCANQR
|
||||
|
||||
Var CameraState = "Enable"
|
||||
Var EMAEnterNumberButtonState = "Enable"
|
||||
|
||||
Var popup_cancel_button_y = 1390
|
||||
|
||||
Refresh
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 360 </X>
|
||||
<Y> 1781 </Y>
|
||||
|
|
|
|||
|
|
@ -10,10 +10,16 @@
|
|||
|
||||
DEBUGVAR CountryName
|
||||
|
||||
SAVELOG "cash version 1.1"
|
||||
|
||||
Var cash_disable = "0"
|
||||
READ_FILE "/mnt/sdcard/coffeevending/cash_disable" cash_disable
|
||||
DEBUGVAR cash_disable
|
||||
|
||||
Var KBankCashlessMachine = "0"
|
||||
READ_FILE "/mnt/sdcard/coffeevending/kbank_cashless_machine" KBankCashlessMachine
|
||||
DEBUGVAR KBankCashlessMachine
|
||||
|
||||
;Cash for any lang
|
||||
;include="ROOT/taobin_project/xml/payment_cash.ev"
|
||||
|
||||
|
|
@ -196,7 +202,7 @@
|
|||
Var ServiceCredit = SelectDrink
|
||||
Var ServiceAmount2 = PayAmount
|
||||
Var Seeker.ServiceAmount2 = PayAmount
|
||||
Var ServiceCharge = 0
|
||||
Var Seeker.ServiceCharge = 0
|
||||
Var Donate = ""
|
||||
Var SuggestID = ""
|
||||
Var CancleState = "Enable"
|
||||
|
|
@ -425,23 +431,7 @@
|
|||
If GetFreeFromError = 1 Then
|
||||
Var Seeker.FreeVendingCampaign = 1
|
||||
CoinVending OFF
|
||||
If Seeker = "curr" Then
|
||||
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
Else
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
|
||||
Var DrinkPaid = SelectDrink
|
||||
Var PaidPaymentFromNextStage = 1
|
||||
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
;include="ROOT/taobin_project/xml/sometime/make_drink.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -457,7 +447,11 @@
|
|||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
; do nothing
|
||||
Else
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
EndIf
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
Else
|
||||
|
|
@ -468,7 +462,11 @@
|
|||
Var PaidPaymentFromNextStage = 1
|
||||
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -709,7 +707,7 @@
|
|||
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -764,7 +762,7 @@
|
|||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -818,7 +816,7 @@
|
|||
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -871,7 +869,7 @@
|
|||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -924,7 +922,7 @@
|
|||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -977,7 +975,7 @@
|
|||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -1031,7 +1029,7 @@
|
|||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -1085,7 +1083,7 @@
|
|||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -1138,7 +1136,7 @@
|
|||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -1192,7 +1190,7 @@
|
|||
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -1246,7 +1244,7 @@
|
|||
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -1290,6 +1288,22 @@
|
|||
Var X_CASH3 = 664 - 113
|
||||
EndIf
|
||||
|
||||
; helper
|
||||
Var FromSmoothieProcess = "Invisible"
|
||||
Var FromPaymentCash = "Enable"
|
||||
Var FromBrewingProcess = "Invisible"
|
||||
Var BaseOnPageBoard = 0
|
||||
|
||||
If EnableHelperShow = 1 Then
|
||||
Var Showhelper = "Enable"
|
||||
Else
|
||||
Var Showhelper = "Invisible"
|
||||
EndIf
|
||||
|
||||
; langs
|
||||
Var EnableBtnLangWithHelper = 0
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<EventActionOk>
|
||||
|
|
@ -1366,19 +1380,11 @@
|
|||
Var Seeker.PayWithQR = 1
|
||||
Var Seeker.VendingTSID = VendingTSID
|
||||
|
||||
If Seeker = "curr" Then
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
;Var TxRef1 = ""
|
||||
;CreateTxRef1 TxRef1
|
||||
EndIf
|
||||
;include="ROOT/taobin_project/xml/sometime/make_drink.xml"
|
||||
|
||||
|
||||
Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
|
||||
Var BrewingTextThai = "เตรียมแก้ว"
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -1386,6 +1392,8 @@
|
|||
If VendingQRTypeResult = "KBA:2" Then
|
||||
Var CashTextWarning = ""
|
||||
Var QRErrorState = "Invisible"
|
||||
Var PopupTimeoutEnable = "Enable"
|
||||
Var PopupTimeout = 15
|
||||
Var QRCODE99KBANK = SessionID
|
||||
Var QRCODE99KBANK = QRCODE99KBANK + Ext1a
|
||||
SAVELOG Ext1a
|
||||
|
|
@ -1898,7 +1906,7 @@
|
|||
If VendingCashless = "OK" Then
|
||||
DEBUGVAR CashlessCode
|
||||
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If KBankCashlessMachine = "1" Then
|
||||
|
||||
Var Seeker.CashlessVendingTrackNumber = VendingTrackNumber
|
||||
|
||||
|
|
@ -1920,17 +1928,11 @@
|
|||
CoinVending OFF
|
||||
Refresh
|
||||
|
||||
If Seeker = "curr" Then
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
EndIf
|
||||
;include="ROOT/taobin_project/xml/sometime/make_drink.xml"
|
||||
|
||||
Var Seeker.CreditCard = 1
|
||||
Var Seeker.CreditCardRef = CreditCardRef
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -1949,6 +1951,7 @@
|
|||
If alphaState = "Enable" Then
|
||||
Var QRErrorState = "Enable"
|
||||
Var LOADING_STATE = "Invisible"
|
||||
Var PopupTimeoutEnable = "Invisible"
|
||||
Var QRCODE99 = ""
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -1964,7 +1967,7 @@
|
|||
If CoinInOK = 1 Then
|
||||
|
||||
Else
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If KBankCashlessMachine = "1" Then
|
||||
; popup will close after 30 second
|
||||
Var Timeout = 90
|
||||
Var PopupTimeoutEnable = "Invisible"
|
||||
|
|
@ -1975,6 +1978,8 @@
|
|||
Var LOADING_STATE = "Invisible"
|
||||
Var CreditCardLoading = 0
|
||||
|
||||
Var Seeker.ServiceCharge = 0
|
||||
|
||||
CoinVending XBILL
|
||||
Else
|
||||
Var Timeout = 0
|
||||
|
|
@ -2004,7 +2009,7 @@
|
|||
GenHashWithTimeStamp CreditCardRef
|
||||
DEBUGVAR VendingCashless
|
||||
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If KBankCashlessMachine = "1" Then
|
||||
If VendingCashless = "READY" Then
|
||||
Var QRCODE99 = ""
|
||||
If CoinInOK = 1 Then
|
||||
|
|
@ -2015,9 +2020,9 @@
|
|||
|
||||
Var QRErrorState = "Invisible"
|
||||
Var VendingCashless = "-"
|
||||
Var ServiceCharge = 3
|
||||
Var Seeker.ServiceCharge = 3
|
||||
Var RemainAmountX = RemainAmount
|
||||
Var RemainAmountX = RemainAmountX + ServiceCharge
|
||||
Var RemainAmountX = RemainAmountX + Seeker.ServiceCharge
|
||||
CashlessPay RemainAmountX CreditCardRef
|
||||
Var CashlessPayFlag = 1
|
||||
EndIf
|
||||
|
|
@ -2144,7 +2149,7 @@
|
|||
Var ECommerce = ECommerce + "C:"
|
||||
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -2170,8 +2175,12 @@
|
|||
|
||||
|
||||
If TestLoopMakeDrink = 1 Then
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||
Else
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -2202,7 +2211,11 @@
|
|||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
; do nothing
|
||||
Else
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
EndIf
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
Else
|
||||
|
|
@ -2213,7 +2226,11 @@
|
|||
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
If CancelFlag = 0 Then
|
||||
|
|
@ -2229,7 +2246,7 @@
|
|||
|
||||
If CashlessPayFlag = 1 Then
|
||||
Var CashlessPayFlag = 0
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If KBankCashlessMachine = "1" Then
|
||||
|
||||
Else
|
||||
CashlessReq CANCEL Seeker.CashlessVendingTrackNumber
|
||||
|
|
@ -2321,6 +2338,7 @@
|
|||
Var ServiceType = "credit"
|
||||
Var SessionID2 = SelectDrink
|
||||
Var ServiceCredit = "coffee"
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
|
||||
Var PayDetail2 = Seeker.PayDetail2
|
||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
||||
|
|
@ -2390,7 +2408,7 @@
|
|||
|
||||
If CashlessPayFlag = 1 Then
|
||||
Var CashlessPayFlag = 0
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If KBankCashlessMachine = "1" Then
|
||||
|
||||
Else
|
||||
CashlessReq CANCEL Seeker.CashlessVendingTrackNumber
|
||||
|
|
@ -2408,7 +2426,7 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If KBankCashlessMachine = "1" Then
|
||||
If alphaState = "Enable" Then
|
||||
If ReqPayInfoFromCashOther = 2 Then
|
||||
If CreditCardLoading = 1 Then
|
||||
|
|
@ -2430,19 +2448,19 @@
|
|||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If PopupTimeoutEnable = "Enable" Then
|
||||
If PopupTimeout > 0 Then
|
||||
Var PopupTimeout = PopupTimeout - 1
|
||||
Else
|
||||
Var PopupTimeoutEnable = "Invisible"
|
||||
Var cancelButtonQRPopupState = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If PopupTimeoutEnable = "Enable" Then
|
||||
If PopupTimeout > 0 Then
|
||||
Var PopupTimeout = PopupTimeout - 1
|
||||
Else
|
||||
Var PopupTimeoutEnable = "Invisible"
|
||||
Var cancelButtonQRPopupState = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
|
@ -2754,7 +2772,24 @@
|
|||
EndIf
|
||||
</EventVDCancle>
|
||||
|
||||
; helper button
|
||||
<Button>
|
||||
<X> 990 </X>
|
||||
<Y> 430 </Y>
|
||||
<State> Showhelper </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_payment/helper.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_payment/helper.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var OpenFromXML = "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
|
||||
OpenInst 14 "ROOT/taobin_project/inter/tha/xml/page_help_center.lxml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Image>
|
||||
|
|
@ -2825,7 +2860,7 @@
|
|||
|
||||
If CashlessPayFlag = 1 Then
|
||||
Var CashlessPayFlag = 0
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If KBankCashlessMachine = "1" Then
|
||||
|
||||
Else
|
||||
CashlessReq CANCEL Seeker.CashlessVendingTrackNumber
|
||||
|
|
@ -2885,8 +2920,12 @@
|
|||
Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
|
||||
Var MachineStage = "make-drink"
|
||||
Var BrewingTextThai = "เตรียมแก้ว"
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||
Else
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
EndIf
|
||||
;Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
||||
|
||||
EndIf
|
||||
|
|
@ -2960,7 +2999,7 @@
|
|||
|
||||
Var FlagQROpened = 1
|
||||
Var alphaState = "Enable"
|
||||
Var cancelButtonQRPopupState = "Enable"
|
||||
Var cancelButtonQRPopupState = "Invisible"
|
||||
Var QRCodeImageState = "Enable"
|
||||
;CoinVending OFF
|
||||
VendingQR ON
|
||||
|
|
@ -3016,7 +3055,7 @@
|
|||
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -3091,7 +3130,7 @@
|
|||
If alphaState = "Invisible" Then
|
||||
If CoinInFlag = 0 Then
|
||||
If CancelFlag = 0 Then
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If KBankCashlessMachine = "1" Then
|
||||
Var QR_POPUP = "/img_popup8_with_service_charge.png"
|
||||
Var cancelButtonQRPopupState = "Invisible"
|
||||
Var AlphaPopupLoadingState = "Enable"
|
||||
|
|
@ -3201,7 +3240,7 @@
|
|||
|
||||
If CashlessPayFlag = 1 Then
|
||||
Var CashlessPayFlag = 0
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If KBankCashlessMachine = "1" Then
|
||||
|
||||
Else
|
||||
CashlessReq CANCEL Seeker.CashlessVendingTrackNumber
|
||||
|
|
@ -3232,9 +3271,11 @@
|
|||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 938 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Width> 1080 </Width>
|
||||
<Align> Center </Align>
|
||||
<Size> 72 </Size>
|
||||
<MaxSize> 66 </MaxSize>
|
||||
<Size> Auto </Size>
|
||||
<MaxLine> 1 </MaxLine>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> HeadlineColor </Color>
|
||||
<Value> showname </Value>
|
||||
|
|
@ -3325,11 +3366,9 @@ eval(
|
|||
Var CancelingPopupFlag = "Enable"
|
||||
Var CancelingPopupCountDown = 0
|
||||
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If KBankCashlessMachine = "1" Then
|
||||
If ReqPayInfoFromCashOther = 2 Then
|
||||
If ServiceCharge > 0 Then
|
||||
Var ServiceCharge = 0
|
||||
EndIf
|
||||
Var Seeker.ServiceCharge = 0
|
||||
CoinVending XBILL
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -3737,11 +3776,19 @@ eval(
|
|||
If IgnoreNetCore = "true" Then
|
||||
If Seeker = "curr" Then
|
||||
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
; do nothing
|
||||
Else
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
EndIf
|
||||
Else
|
||||
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
@ -3758,9 +3805,12 @@ eval(
|
|||
</Text>
|
||||
|
||||
<EventUnitTest1>
|
||||
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||
Else
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
EndIf
|
||||
|
||||
</EventUnitTest1>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xFFFFFF" </Background>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Sound> PlaySoundLag </Sound>
|
||||
<EventOpen>
|
||||
|
|
@ -290,15 +290,31 @@
|
|||
|
||||
EndIf
|
||||
|
||||
Var PathAlarm = ""
|
||||
Var ordersummaryText = ""
|
||||
Var subtotalText = ""
|
||||
Var itemText = ""
|
||||
Var backtext = ""
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/page_payment_en/page_payment"
|
||||
Var DirImage2 = "ROOT/taobin_project/image/page_payment_cash_extend_en"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
Var PathAlarm = "ROOT/taobin_project/image/cart_en"
|
||||
Var ordersummaryText = "Order Summary"
|
||||
Var subtotalText = "Subtotal ("
|
||||
Var itemText = "Items )"
|
||||
Var backtext = "Back"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/page_payment"
|
||||
Var DirImage2 = "ROOT/taobin_project/image/page_payment_cash_extend"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
Var PathAlarm = "ROOT/taobin_project/image/cart_th"
|
||||
Var ordersummaryText = "รายการสินค้า"
|
||||
Var subtotalText = "รวมสินค้า ("
|
||||
Var itemText = "ชิ้น )"
|
||||
Var backtext = "กลับ"
|
||||
EndIf
|
||||
|
||||
;inter-image
|
||||
|
|
@ -400,6 +416,8 @@
|
|||
Var PayState5 = "Disable"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<EventActionOk>
|
||||
|
|
@ -780,6 +798,10 @@
|
|||
EndIf
|
||||
</EventChangeStatus>
|
||||
|
||||
<EventUnitTest1>
|
||||
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||
</EventUnitTest1>
|
||||
|
||||
<EventCoin>
|
||||
TimerReset
|
||||
|
||||
|
|
@ -970,6 +992,11 @@
|
|||
Var cart1_en = "Enable"
|
||||
|
||||
Var PriceDrinkMulti = CART1_PRICE
|
||||
|
||||
Var cardBottomY = 760
|
||||
Var lineBottomY = 750
|
||||
Var subtotalBottomY = 810
|
||||
|
||||
EndIf
|
||||
|
||||
If CART_COUNT >= 2 Then
|
||||
|
|
@ -979,6 +1006,10 @@
|
|||
Var cart2_en = "Enable"
|
||||
|
||||
Var PriceDrinkMulti = PriceDrinkMulti + CART2_PRICE
|
||||
|
||||
Var cardBottomY = 910
|
||||
Var lineBottomY = 900
|
||||
Var subtotalBottomY = 960
|
||||
EndIf
|
||||
|
||||
If CART_COUNT = 3 Then
|
||||
|
|
@ -988,6 +1019,10 @@
|
|||
Var cart3_en = "Enable"
|
||||
|
||||
Var PriceDrinkMulti = PriceDrinkMulti + CART3_PRICE
|
||||
|
||||
Var cardBottomY = 1050
|
||||
Var lineBottomY = 1040
|
||||
Var subtotalBottomY = 1100
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -1119,17 +1154,7 @@
|
|||
;</EventClick>
|
||||
;</Button>
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 1172 </Y>
|
||||
<Filename> Var( DirImage + "/Rectangle0.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 1012 </Y>
|
||||
<Filename> Var( DirImage + "/Rectangle.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Button>
|
||||
<X> 0 </X>
|
||||
|
|
@ -1591,168 +1616,445 @@
|
|||
</EventClick>
|
||||
</Button>
|
||||
|
||||
; card head
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 60 </X>
|
||||
<Y> 412 </Y>
|
||||
<Width> 148 </Width>
|
||||
<Height> 200 </Height>
|
||||
<Filename> cart1_pic </Filename>
|
||||
<X> 40 </X>
|
||||
<Y> 480 </Y>
|
||||
<Width> 1000 </Width>
|
||||
<Height> 150 </Height>
|
||||
<Filename> "/mnt/sdcard/coffeevending/taobin_project/image/cart_uti/cartTop.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 876 </X>
|
||||
<Y> 467 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Size> 50 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> cart1_price </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 236 </X>
|
||||
<Y> 470 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Size> 50 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> cart1_name </Value>
|
||||
</Text>
|
||||
|
||||
<Button>
|
||||
<X> 1016 </X>
|
||||
<Y> 500 </Y>
|
||||
<State> cart1_en </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_payment/iconX.png" </Filename>
|
||||
<EventClick>
|
||||
If CoinInFlag = 0 Then
|
||||
If Seeker.IntVendingCredit > 0 Then
|
||||
Var BmiYear = Seeker.IntVendingCredit
|
||||
Var GetScore = "useCredit"
|
||||
AddData 24 Seeker.TNumberTaobinCredit BmiYear PointCrm GetScore
|
||||
Var Seeker.IntVendingCredit = 0
|
||||
EndIf
|
||||
Cart "DeleteMenuID" 1
|
||||
EndIf
|
||||
<X> 750 </X>
|
||||
<Y> 510 </Y>
|
||||
<State> "Enable" </State>
|
||||
<Filename> Var( PathAlarm + "/additem_bn.png") </Filename>
|
||||
<FilenamePress> Var( PathAlarm + "/additem_bp.png") </FilenamePress>
|
||||
<FilenameDisable> Var( PathAlarm + "/additem_bd.png") </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
|
||||
</EventClick>
|
||||
Open "ROOT/taobin_project/spiral/xml/page_board.xml"
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
|
||||
<Image>
|
||||
<X> 60 </X>
|
||||
<Y> 612 </Y>
|
||||
<Width> 148 </Width>
|
||||
<Height> 200 </Height>
|
||||
<Filename> cart2_pic </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 876 </X>
|
||||
<Y> 667 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Size> 50 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> cart2_price </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 236 </X>
|
||||
<Y> 670 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Size> 50 </Size>
|
||||
<X> 100 </X>
|
||||
<Y> 520 </Y>
|
||||
<Width> 500 </Width>
|
||||
<Size> 37 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> cart2_name </Value>
|
||||
<Value> ordersummaryText </Value>
|
||||
</Text>
|
||||
|
||||
<Button>
|
||||
<X> 1016 </X>
|
||||
<Y> 700 </Y>
|
||||
<State> cart2_en </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_payment/iconX.png" </Filename>
|
||||
<EventClick>
|
||||
If CoinInFlag = 0 Then
|
||||
If Seeker.IntVendingCredit > 0 Then
|
||||
Var BmiYear = Seeker.IntVendingCredit
|
||||
Var GetScore = "useCredit"
|
||||
AddData 24 Seeker.TNumberTaobinCredit BmiYear PointCrm GetScore
|
||||
Var Seeker.IntVendingCredit = 0
|
||||
EndIf
|
||||
Cart "DeleteMenuID" 2
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 60 </X>
|
||||
<Y> 812 </Y>
|
||||
<Width> 148 </Width>
|
||||
<Height> 200 </Height>
|
||||
<Filename> cart3_pic </Filename>
|
||||
<X> 50 </X>
|
||||
<Y> 590 </Y>
|
||||
<Width> 980 </Width>
|
||||
<Height> 50 </Height>
|
||||
<Filename> "/mnt/sdcard/coffeevending/taobin_project/image/cart_uti/line.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 876 </X>
|
||||
<Y> 872 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Size> 50 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> cart3_price </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 236 </X>
|
||||
<Y> 872 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Size> 50 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> cart3_name </Value>
|
||||
</Text>
|
||||
|
||||
<Button>
|
||||
<X> 1016 </X>
|
||||
<Y> 900 </Y>
|
||||
<State> cart3_en </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_payment/iconX.png" </Filename>
|
||||
<EventClick>
|
||||
If CoinInFlag = 0 Then
|
||||
If Seeker.IntVendingCredit > 0 Then
|
||||
Var BmiYear = Seeker.IntVendingCredit
|
||||
Var GetScore = "useCredit"
|
||||
AddData 24 Seeker.TNumberTaobinCredit BmiYear PointCrm GetScore
|
||||
Var Seeker.IntVendingCredit = 0
|
||||
EndIf
|
||||
Cart "DeleteMenuID" 3
|
||||
EndIf
|
||||
<FrameScroll>
|
||||
<X> 10 </X>
|
||||
<Y> 620 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 620 </Height>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 1 </Column>
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
|
||||
<Block>
|
||||
<MarginLeft> 0 </MarginLeft>
|
||||
<MarginTop> 0 </MarginTop>
|
||||
<Width> 1080 </Width>
|
||||
<Height> "auto" </Height>
|
||||
<State> cart1_en </State>
|
||||
|
||||
<Image>
|
||||
<X> 30 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1000 </Width>
|
||||
<Height> 150 </Height>
|
||||
<Color> "0xFFFFFF" </Color>
|
||||
</Image>
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
<Image>
|
||||
<X> 50 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 250 </Width>
|
||||
<Height> 100 </Height>
|
||||
<State> "Enable" </State>
|
||||
<Filename> cart1_pic </Filename>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 350 </X>
|
||||
<Y> 30 </Y>
|
||||
<Width> 500 </Width>
|
||||
<Size> 32 </Size>
|
||||
;<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> "Enable" </State>
|
||||
<Value> cart1_name </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 950 </X>
|
||||
<Y> 5 </Y>
|
||||
<Size> 28 </Size>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<State> "Enable" </State>
|
||||
<Value> cart1_price </Value>
|
||||
</Text>
|
||||
|
||||
<Button>
|
||||
<X> 770 </X>
|
||||
<Y> 30 </Y>
|
||||
<State> cart1_add_state </State>
|
||||
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/plus_slip_bn.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/spiral/image/page_spiral/plus_slip_bp.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/spiral/image/page_spiral/plus_slip_bd.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 880 </X>
|
||||
<Y> 30 </Y>
|
||||
<State> cart1_remove_clear_state </State>
|
||||
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/clear_slip_bn.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/spiral/image/page_spiral/clear_slip_bp.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/spiral/image/page_spiral/clear_slip_bp.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
If CoinInFlag = 0 Then
|
||||
If Seeker.IntVendingCredit > 0 Then
|
||||
Var BmiYear = Seeker.IntVendingCredit
|
||||
Var GetScore = "useCredit"
|
||||
AddData 24 Seeker.TNumberTaobinCredit BmiYear PointCrm GetScore
|
||||
Var Seeker.IntVendingCredit = 0
|
||||
EndIf
|
||||
Cart "DeleteMenuID" 1
|
||||
EndIf
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 840 </X>
|
||||
<Y> 5 </Y>
|
||||
<Size> 30 </Size>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<State> "Enable" </State>
|
||||
<Value> "1" </Value>
|
||||
</Text>
|
||||
|
||||
</Block>
|
||||
|
||||
|
||||
<Block>
|
||||
<MarginLeft> 0 </MarginLeft>
|
||||
<MarginTop> 0 </MarginTop>
|
||||
<Width> 1080 </Width>
|
||||
<Height> "auto" </Height>
|
||||
<State> cart2_en </State>
|
||||
|
||||
<Image>
|
||||
<X> 30 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1000 </Width>
|
||||
<Height> 150 </Height>
|
||||
<Color> "0xFFFFFF" </Color>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 50 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 250 </Width>
|
||||
<Height> 100 </Height>
|
||||
<State> "Enable" </State>
|
||||
<Filename> cart2_pic </Filename>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 350 </X>
|
||||
<Y> 30 </Y>
|
||||
<Width> 500 </Width>
|
||||
<Size> 32 </Size>
|
||||
;<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> "Enable" </State>
|
||||
<Value> cart2_name </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 950 </X>
|
||||
<Y> 5 </Y>
|
||||
<Size> 28 </Size>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<State> "Enable" </State>
|
||||
<Value> cart2_price </Value>
|
||||
</Text>
|
||||
|
||||
<Button>
|
||||
<X> 770 </X>
|
||||
<Y> 30 </Y>
|
||||
<State> cart2_add_state </State>
|
||||
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/plus_slip_bn.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/spiral/image/page_spiral/plus_slip_bp.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/spiral/image/page_spiral/plus_slip_bd.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 880 </X>
|
||||
<Y> 30 </Y>
|
||||
<State> cart2_remove_clear_state </State>
|
||||
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/clear_slip_bn.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/spiral/image/page_spiral/clear_slip_bp.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/spiral/image/page_spiral/clear_slip_bp.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
If CoinInFlag = 0 Then
|
||||
If Seeker.IntVendingCredit > 0 Then
|
||||
Var BmiYear = Seeker.IntVendingCredit
|
||||
Var GetScore = "useCredit"
|
||||
AddData 24 Seeker.TNumberTaobinCredit BmiYear PointCrm GetScore
|
||||
Var Seeker.IntVendingCredit = 0
|
||||
EndIf
|
||||
Cart "DeleteMenuID" 2
|
||||
EndIf
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 840 </X>
|
||||
<Y> 5 </Y>
|
||||
<Size> 30 </Size>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<State> "Enable" </State>
|
||||
<Value> "1" </Value>
|
||||
</Text>
|
||||
|
||||
</Block>
|
||||
|
||||
|
||||
<Block>
|
||||
<MarginLeft> 0 </MarginLeft>
|
||||
<MarginTop> 0 </MarginTop>
|
||||
<Width> 1080 </Width>
|
||||
<Height> "auto" </Height>
|
||||
<State> cart3_en </State>
|
||||
|
||||
<Image>
|
||||
<X> 30 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1000 </Width>
|
||||
<Height> 150 </Height>
|
||||
<Color> "0xFFFFFF" </Color>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 50 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 250 </Width>
|
||||
<Height> 100 </Height>
|
||||
<State> "Enable" </State>
|
||||
<Filename> cart3_pic </Filename>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 350 </X>
|
||||
<Y> 30 </Y>
|
||||
<Width> 500 </Width>
|
||||
<Size> 32 </Size>
|
||||
;<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> "Enable" </State>
|
||||
<Value> cart3_name </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 950 </X>
|
||||
<Y> 5 </Y>
|
||||
<Size> 28 </Size>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<State> "Enable" </State>
|
||||
<Value> cart3_price </Value>
|
||||
</Text>
|
||||
|
||||
<Button>
|
||||
<X> 770 </X>
|
||||
<Y> 30 </Y>
|
||||
<State> cart3_add_state </State>
|
||||
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/plus_slip_bn.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/spiral/image/page_spiral/plus_slip_bp.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/spiral/image/page_spiral/plus_slip_bd.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 880 </X>
|
||||
<Y> 30 </Y>
|
||||
<State> cart3_remove_clear_state </State>
|
||||
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/clear_slip_bn.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/spiral/image/page_spiral/clear_slip_bp.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/spiral/image/page_spiral/clear_slip_bp.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
If CoinInFlag = 0 Then
|
||||
If Seeker.IntVendingCredit > 0 Then
|
||||
Var BmiYear = Seeker.IntVendingCredit
|
||||
Var GetScore = "useCredit"
|
||||
AddData 24 Seeker.TNumberTaobinCredit BmiYear PointCrm GetScore
|
||||
Var Seeker.IntVendingCredit = 0
|
||||
EndIf
|
||||
Cart "DeleteMenuID" 3
|
||||
EndIf
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 840 </X>
|
||||
<Y> 5 </Y>
|
||||
<Size> 30 </Size>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<State> "Enable" </State>
|
||||
<Value> "1" </Value>
|
||||
</Text>
|
||||
|
||||
</Block>
|
||||
|
||||
|
||||
</FrameScroll>
|
||||
|
||||
|
||||
; cartBottom
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 40 </X>
|
||||
<Y> cardBottomY </Y>
|
||||
<Width> 1000 </Width>
|
||||
<Height> 150 </Height>
|
||||
<Filename> "/mnt/sdcard/coffeevending/taobin_project/image/cart_uti/cartBottom.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
; line buttom
|
||||
|
||||
<Image>
|
||||
<X> 50 </X>
|
||||
<Y> lineBottomY </Y>
|
||||
<Width> 980 </Width>
|
||||
<Height> 50 </Height>
|
||||
<Filename> "/mnt/sdcard/coffeevending/taobin_project/image/cart_uti/line.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
; Subtotal
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 876 </X>
|
||||
<Y> 1038 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Size> 72 </Size>
|
||||
<X> 100 </X>
|
||||
<Y> subtotalBottomY </Y>
|
||||
<Size> 37 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Color> 0x513C2F </Color>
|
||||
<State> "Enable" </State>
|
||||
<Value> subtotalText </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 270 </X>
|
||||
<Y> subtotalBottomY </Y>
|
||||
<Size> 37 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<State> "Enable" </State>
|
||||
<Value> CART_COUNT </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 310 </X>
|
||||
<Y> subtotalBottomY </Y>
|
||||
<Size> 37 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<State> "Enable" </State>
|
||||
<Value> itemText </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 900 </X>
|
||||
<Y> subtotalBottomY </Y>
|
||||
<Size> 37 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<State> "Enable" </State>
|
||||
<Value> showRemaining </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 80 </X>
|
||||
<Y> 1038 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Size> 72 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> cartNumText </Value>
|
||||
</Text>
|
||||
|
||||
;<Text>
|
||||
;<X> 80 </X>
|
||||
;<Y> 1038 </Y>
|
||||
;<Width> 1080</Width>
|
||||
;<Size> 72 </Size>
|
||||
;<Font> KanitMediumTTF </Font>
|
||||
;<Color> 0x513C2F </Color>
|
||||
;<Value> cartNumText </Value>
|
||||
;</Text>
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -376,22 +376,7 @@
|
|||
Else
|
||||
Var CART_INDEX = 0
|
||||
|
||||
If Seeker = "curr" Then
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
Else
|
||||
DEBUGVAR Seeker
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
|
||||
Var DrinkPaid = SelectDrink
|
||||
Var PaidPaymentFromNextStage = 1
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
;include="ROOT/taobin_project/xml/sometime/make_drink.xml"
|
||||
EndIf
|
||||
Else
|
||||
If ShouldCollectPoint = 1 Then
|
||||
|
|
|
|||
|
|
@ -81,23 +81,6 @@
|
|||
|
||||
Var PosX_Cancel = 397
|
||||
|
||||
;Var CountryName = "Malaysia"
|
||||
|
||||
;inter-max-number
|
||||
If CountryName = "Malaysia" Then
|
||||
Var PosX_Cancel = 218
|
||||
EndIf
|
||||
|
||||
;inter-max-number
|
||||
If CountryName = "Indonesia" Then
|
||||
Var PosX_Cancel = 218
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
|
@ -213,6 +196,7 @@
|
|||
If TelNumLen >= MinPhoneNumber Then
|
||||
If MaxPhoneNumber > 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
Var PosX_Cancel = 218
|
||||
Else
|
||||
Function 2
|
||||
EndIf
|
||||
|
|
@ -247,6 +231,7 @@
|
|||
If TelNumLen >= MinPhoneNumber Then
|
||||
If MaxPhoneNumber > 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
Var PosX_Cancel = 218
|
||||
Else
|
||||
Function 2
|
||||
EndIf
|
||||
|
|
@ -278,6 +263,7 @@
|
|||
If TelNumLen >= MinPhoneNumber Then
|
||||
If MaxPhoneNumber > 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
Var PosX_Cancel = 218
|
||||
Else
|
||||
Function 2
|
||||
EndIf
|
||||
|
|
@ -309,6 +295,7 @@
|
|||
If TelNumLen >= MinPhoneNumber Then
|
||||
If MaxPhoneNumber > 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
Var PosX_Cancel = 218
|
||||
Else
|
||||
Function 2
|
||||
EndIf
|
||||
|
|
@ -340,6 +327,7 @@
|
|||
If TelNumLen >= MinPhoneNumber Then
|
||||
If MaxPhoneNumber > 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
Var PosX_Cancel = 218
|
||||
Else
|
||||
Function 2
|
||||
EndIf
|
||||
|
|
@ -371,6 +359,7 @@
|
|||
If TelNumLen >= MinPhoneNumber Then
|
||||
If MaxPhoneNumber > 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
Var PosX_Cancel = 218
|
||||
Else
|
||||
Function 2
|
||||
EndIf
|
||||
|
|
@ -402,6 +391,7 @@
|
|||
If TelNumLen >= MinPhoneNumber Then
|
||||
If MaxPhoneNumber > 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
Var PosX_Cancel = 218
|
||||
Else
|
||||
Function 2
|
||||
EndIf
|
||||
|
|
@ -433,6 +423,7 @@
|
|||
If TelNumLen >= MinPhoneNumber Then
|
||||
If MaxPhoneNumber > 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
Var PosX_Cancel = 218
|
||||
Else
|
||||
Function 2
|
||||
EndIf
|
||||
|
|
@ -464,6 +455,7 @@
|
|||
If TelNumLen >= MinPhoneNumber Then
|
||||
If MaxPhoneNumber > 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
Var PosX_Cancel = 218
|
||||
Else
|
||||
Function 2
|
||||
EndIf
|
||||
|
|
@ -495,6 +487,7 @@
|
|||
If TelNumLen >= MinPhoneNumber Then
|
||||
If MaxPhoneNumber > 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
Var PosX_Cancel = 218
|
||||
Else
|
||||
Function 2
|
||||
EndIf
|
||||
|
|
@ -523,6 +516,7 @@
|
|||
|
||||
If TelNumLen < 10 Then
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
Var PosX_Cancel = 397
|
||||
EndIf
|
||||
|
||||
If TelNumLen = 0 Then
|
||||
|
|
@ -540,7 +534,7 @@
|
|||
<Button>
|
||||
<X> PosX_Cancel </X>
|
||||
<Y> 1607 </Y>
|
||||
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/bn_cancel2.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_cancel2.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
|
|
|
|||
|
|
@ -216,23 +216,7 @@
|
|||
Else
|
||||
Var CART_INDEX = 0
|
||||
|
||||
If Seeker = "curr" Then
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
|
||||
Else
|
||||
DEBUGVAR Seeker
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
|
||||
Var DrinkPaid = SelectDrink
|
||||
Var PaidPaymentFromNextStage = 1
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
;include="ROOT/taobin_project/xml/sometime/make_drink.xml"
|
||||
EndIf
|
||||
|
||||
Var ReqAdddata22 = 0
|
||||
|
|
|
|||
|
|
@ -113,23 +113,7 @@
|
|||
Else
|
||||
Var CART_INDEX = 0
|
||||
|
||||
If Seeker = "curr" Then
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
|
||||
Else
|
||||
DEBUGVAR Seeker
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
|
||||
Var DrinkPaid = SelectDrink
|
||||
Var PaidPaymentFromNextStage = 1
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
;include="ROOT/taobin_project/xml/sometime/make_drink.xml"
|
||||
EndIf
|
||||
|
||||
Var ReqAdddata22 = 0
|
||||
|
|
|
|||
|
|
@ -97,25 +97,7 @@
|
|||
|
||||
If FlagPayCredit = 1 Then
|
||||
Var FlagPayCredit = 0
|
||||
|
||||
If Seeker = "curr" Then
|
||||
|
||||
DEBUGVAR "MakeDrinkV1"
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
Else
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
Var DrinkPaid = SelectDrink
|
||||
Var PaidPaymentFromNextStage = 1
|
||||
|
||||
EndIf
|
||||
|
||||
Var Seeker.StoreCreditFlag = 1
|
||||
Var Seeker.StoreCreditFlag = 1
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -123,7 +105,7 @@
|
|||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 3 Then
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
;include="ROOT/taobin_project/xml/sometime/make_drink.xml"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
|
|
|
|||
|
|
@ -45,6 +45,10 @@
|
|||
Var PriceDrinkMulti = 0
|
||||
Var CART_INDEX = 0
|
||||
|
||||
Var cardBottomY = 0
|
||||
Var lineBottomY = 0
|
||||
Var subtotalBottomY = 0
|
||||
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
|
|
@ -56,6 +60,9 @@
|
|||
Var cart1_en = "Enable"
|
||||
|
||||
Var PriceDrinkMulti = PriceDrinkMulti + CART1_PRICE
|
||||
Var cardBottomY = 760
|
||||
Var lineBottomY = 750
|
||||
Var subtotalBottomY = 810
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -67,6 +74,10 @@
|
|||
|
||||
Var PriceDrinkMulti = PriceDrinkMulti + CART2_PRICE
|
||||
|
||||
Var cardBottomY = 910
|
||||
Var lineBottomY = 900
|
||||
Var subtotalBottomY = 960
|
||||
|
||||
EndIf
|
||||
|
||||
If CART_COUNT = 3 Then
|
||||
|
|
@ -76,6 +87,11 @@
|
|||
Var cart3_en = "Enable"
|
||||
|
||||
Var PriceDrinkMulti = PriceDrinkMulti + CART3_PRICE
|
||||
|
||||
Var cardBottomY = 1050
|
||||
Var lineBottomY = 1040
|
||||
Var subtotalBottomY = 1100
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -91,6 +107,10 @@
|
|||
|
||||
Var PriceDrinkMulti = PriceDrinkMulti + CART1_PRICE
|
||||
|
||||
Var cardBottomY = 760
|
||||
Var lineBottomY = 750
|
||||
Var subtotalBottomY = 810
|
||||
|
||||
EndIf
|
||||
|
||||
If CART_COUNT >= 2 Then
|
||||
|
|
@ -101,6 +121,10 @@
|
|||
|
||||
Var PriceDrinkMulti = PriceDrinkMulti + CART2_PRICE
|
||||
|
||||
Var cardBottomY = 910
|
||||
Var lineBottomY = 900
|
||||
Var subtotalBottomY = 960
|
||||
|
||||
EndIf
|
||||
|
||||
If CART_COUNT = 3 Then
|
||||
|
|
@ -110,6 +134,10 @@
|
|||
Var cart3_en = "Enable"
|
||||
|
||||
Var PriceDrinkMulti = PriceDrinkMulti + CART3_PRICE
|
||||
|
||||
Var cardBottomY = 1050
|
||||
Var lineBottomY = 1040
|
||||
Var subtotalBottomY = 1100
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
|
|||
80
xml/page_pos_machine_midnight_close.xml
Normal file
80
xml/page_pos_machine_midnight_close.xml
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
<Page>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1540 </Height>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Background> "0x2C2F4E" </Background>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
Var title_image = "ROOT/taobin_project/image/pos_midnight/pos_close_midnight_th.png"
|
||||
If show_eng = "true" Then
|
||||
Var title_image = "ROOT/taobin_project/image/pos_midnight/pos_close_midnight_en.png"
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
If Timeout > 5 Then
|
||||
DEBUGVAR POS_SELL_MODE
|
||||
If POS_SELL_MODE = "NORMAL" Then
|
||||
RootLayoutVisible 3 "show"
|
||||
Open "ROOT/taobin_project/xml/page_board.xml"
|
||||
EndIf
|
||||
|
||||
Var Timeout = 0
|
||||
Else
|
||||
Var Timeout = Timeout + 1
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Filename> "ROOT/taobin_project/video/Taobin_Sleep_Screen.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<Button>
|
||||
<X> 990 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> show_btn </Filename>
|
||||
<FilenamePress> show_btp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; eng
|
||||
If show_eng = "true" Then
|
||||
Var show_eng = "false"
|
||||
Else
|
||||
Var show_eng = "true"
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
||||
Else
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||
EndIf
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_pos_machine_midnight_close.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Image>
|
||||
<X> 156 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> title_image </Filename>
|
||||
</Image>
|
||||
|
||||
</Page>
|
||||
|
|
@ -67,7 +67,7 @@
|
|||
EndIf
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_network_down_pos_machine.xml"
|
||||
Open "ROOT/taobin_project/xml/page_pos_machine_network_down.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
@ -32,12 +32,23 @@
|
|||
Open "ROOT/taobin_project/inter/uae_dubai/xml/page_remove_cup.lxml"
|
||||
EndIf
|
||||
|
||||
If remove_cup_video_size = "" Then
|
||||
GetFileSizeK "taobin_project/video/remove_cup_how_to.mp4" remove_cup_video_size
|
||||
EndIf
|
||||
|
||||
Var VideoRemoveCupState = "Invisible"
|
||||
DEBUGVAR remove_cup_video_size
|
||||
|
||||
If remove_cup_video_size = 10065192 Then
|
||||
Var VideoRemoveCupState = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
;inter-image
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/user_take_cup_en/"
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_th ai_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
||||
|
||||
;inter-multi
|
||||
|
|
@ -189,6 +200,23 @@
|
|||
<Filename> Var(DirImage + "/img5.png") </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 20 </X>
|
||||
<Y> 240 </Y>
|
||||
<Refresh> "Reload" </Refresh>
|
||||
<Loop> "true" </Loop>
|
||||
<State> VideoRemoveCupState </State>
|
||||
<Filename> "ROOT/taobin_project/video/remove_cup_how_to.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
<EventEnd>
|
||||
Var VideoRemoveCupState = "Invisible"
|
||||
Refresh
|
||||
</EventEnd>
|
||||
|
||||
<Button>
|
||||
<X> 212 </X>
|
||||
<Y> 1661 </Y>
|
||||
|
|
@ -231,8 +259,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 125 </X>
|
||||
<Y> 1700 </Y>
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
|
||||
RootLayoutVisible 3 "show"
|
||||
RootLayoutVisible 14 "hide"
|
||||
|
||||
If UsePepsiTheme = 1 Then
|
||||
|
||||
Var ShowErrorPage = CountryRootPath + "/xml/page_show_error.lxml"
|
||||
|
|
@ -50,7 +53,6 @@
|
|||
|
||||
Var TimeOut = 0
|
||||
Var textStep = 0
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
TRY "ROOT/taobin_project/xml/default_color_settings.ev"
|
||||
</EventOpen>
|
||||
|
|
|
|||
77
xml/page_spiral_before_conti.xml
Normal file
77
xml/page_spiral_before_conti.xml
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
;<Sound> "ROOT/taobin_project/sounds/chaching.mp3" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
|
||||
If Timeout > 7 Then
|
||||
Open "ROOT/taobin_project/xml/page_NewBrewing3Conti.xml"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
<EventActionOk>
|
||||
</EventActionOk>
|
||||
|
||||
;include="ROOT/taobin_project/inc/video.inc"
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Refresh> "Reload" </Refresh>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/video/taobin_thank2.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<Image>
|
||||
<X> 84 </X>
|
||||
<Y> 1314 </Y>
|
||||
<Width> 911 </Width>
|
||||
<Height> 265 </Height>
|
||||
<Filename> "ROOT/taobin_project/image/smoothie/proccess/bg_empty.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1344 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 85 </Height>
|
||||
<Align> Center </Align>
|
||||
<Language>
|
||||
<ID> 002433 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1430 </Y>
|
||||
<Align> Center </Align>
|
||||
<Language>
|
||||
<ID> 002434 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
;include="ROOT/taobin_project/inc/video.inc"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
76
xml/page_spiral_failed.xml
Normal file
76
xml/page_spiral_failed.xml
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
;<Sound> "ROOT/taobin_project/sounds/chaching.mp3" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
|
||||
Var Timeout = 0
|
||||
Var ShowSwapVDO = "ROOT/taobin_project/spiral/video/sp01.mp4"
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
|
||||
If Timeout > 3 Then
|
||||
;include="ROOT/taobin_project/inc/return_condition.ev"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
<EventActionOk>
|
||||
</EventActionOk>
|
||||
|
||||
<Image>
|
||||
<X> 89 </X>
|
||||
<Y> 700 </Y>
|
||||
<Width> 902 </Width>
|
||||
<Height> 902 </Height>
|
||||
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/spiral_fail.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 84 </X>
|
||||
<Y> 1314 </Y>
|
||||
<Width> 911 </Width>
|
||||
<Height> 265 </Height>
|
||||
<Filename> "ROOT/taobin_project/image/smoothie/proccess/bg_empty.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1344 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 85 </Height>
|
||||
<Align> Center </Align>
|
||||
<Language>
|
||||
<ID> 002430 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1430 </Y>
|
||||
<Align> Center </Align>
|
||||
<Language>
|
||||
<ID> 002432 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
;include="ROOT/taobin_project/inc/video.inc"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
76
xml/page_spiral_invalid_failed.xml
Normal file
76
xml/page_spiral_invalid_failed.xml
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
;<Sound> "ROOT/taobin_project/sounds/chaching.mp3" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
|
||||
Var Timeout = 0
|
||||
Var ShowSwapVDO = "ROOT/taobin_project/spiral/video/sp01.mp4"
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
|
||||
If Timeout > 3 Then
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
<EventActionOk>
|
||||
</EventActionOk>
|
||||
|
||||
<Image>
|
||||
<X> 89 </X>
|
||||
<Y> 700 </Y>
|
||||
<Width> 902 </Width>
|
||||
<Height> 902 </Height>
|
||||
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/spiral_fail.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 84 </X>
|
||||
<Y> 1314 </Y>
|
||||
<Width> 911 </Width>
|
||||
<Height> 265 </Height>
|
||||
<Filename> "ROOT/taobin_project/image/smoothie/proccess/bg_empty.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1344 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 85 </Height>
|
||||
<Align> Center </Align>
|
||||
<Language>
|
||||
<ID> 002430 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1430 </Y>
|
||||
<Align> Center </Align>
|
||||
<Language>
|
||||
<ID> 002431 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
;include="ROOT/taobin_project/inc/video.inc"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
111
xml/page_spiral_sell.xml
Normal file
111
xml/page_spiral_sell.xml
Normal file
|
|
@ -0,0 +1,111 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
;<Sound> "ROOT/taobin_project/sounds/chaching.mp3" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
SAVELOG " spiral sell v3"
|
||||
|
||||
Var Timeout = 0
|
||||
Var LastMakeSpiralResult = 0
|
||||
Var ShowSwapVDO = "ROOT/taobin_project/spiral/video/sp01.mp4"
|
||||
GenHashWithTimeStamp SpiralRef
|
||||
Var Seeker.sprial_product_code = LinkProductCodeAnotherMachine[0]
|
||||
DEBUGVAR Seeker.sprial_product_code
|
||||
Var ServiceCredit = Seeker.sprial_product_code
|
||||
SPIRAL_SELL ServiceCredit SpiralRef
|
||||
|
||||
Var TimeOutSmoothiesProcess = 120
|
||||
|
||||
DEBUGVAR Seeker.SmoothieToPayment
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
|
||||
; test
|
||||
;If Timeout > 10 Then
|
||||
; Var LastMakeSpiralResult = 2
|
||||
;EndIf
|
||||
|
||||
DEBUGVAR LastMakeSpiralResult
|
||||
|
||||
If LastMakeSpiralResult = 1 Then
|
||||
|
||||
Var SessionID4 = MachineSpiralID
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + MachineSpiralVMName
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + MachineSpiralSlotID
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + ServiceCredit
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + 1
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + MachineSpiralRemaining
|
||||
|
||||
Var SpiralPayDetail="locker:S:0:"
|
||||
Var SpiralPayDetail = SpiralPayDetail + SessionID4
|
||||
|
||||
DEBUGVAR SpiralPayDetail
|
||||
Var Seeker.sprial_pay_detail = SpiralPayDetail
|
||||
|
||||
If Seeker = "next" Then
|
||||
Var NextOrder = "true"
|
||||
Var NextSmoothie = 1
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_spiral_before_conti.xml"
|
||||
EndIf
|
||||
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
|
||||
EndIf
|
||||
|
||||
If LastMakeSpiralResult = 2 Then
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/process/spiral_pay_fail.ev"
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_spiral_failed.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
If Timeout > 120 Then
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/process/spiral_pay_fail.ev"
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_spiral_failed.xml"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 700 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 840 </Height>
|
||||
<Refresh> "Reload" </Refresh>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> ShowSwapVDO </Filename>
|
||||
;<Filename> "ROOT/taobin_project/spiral/video/sp01.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<EventActionOk>
|
||||
</EventActionOk>
|
||||
|
||||
;include="ROOT/taobin_project/inc/video.inc"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
269
xml/page_test_color.xml
Normal file
269
xml/page_test_color.xml
Normal file
|
|
@ -0,0 +1,269 @@
|
|||
<Page>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1312 </Height>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
|
||||
|
||||
<EventOpen>
|
||||
|
||||
Var TestColorImageDir = "ROOT/taobin_project/image/feature/test_color/"
|
||||
|
||||
Var RedImg = TestColorImageDir + "Red.png"
|
||||
Var OrangeImg = TestColorImageDir + "Orange.png"
|
||||
Var YellowImg = TestColorImageDir + "Yellow.png"
|
||||
Var GreenImg = TestColorImageDir + "Green.png"
|
||||
Var BlueImg = TestColorImageDir + "Blue.png"
|
||||
Var IndigoImg = TestColorImageDir + "Indigo.png"
|
||||
Var VioletImg = TestColorImageDir + "Violet.png"
|
||||
Var WhiteImg = TestColorImageDir + "White.png"
|
||||
|
||||
Var RedPressedImg = TestColorImageDir + "RedP.png"
|
||||
Var OrangePressedImg = TestColorImageDir + "OrangeP.png"
|
||||
Var YellowPressedImg = TestColorImageDir + "YellowP.png"
|
||||
Var GreenPressedImg = TestColorImageDir + "GreenP.png"
|
||||
Var BluePressedImg = TestColorImageDir + "BlueP.png"
|
||||
Var IndigoPressedImg = TestColorImageDir + "IndigoP.png"
|
||||
Var VioletPressedImg = TestColorImageDir + "VioletP.png"
|
||||
Var WhitePressedImg = TestColorImageDir + "WhiteP.png"
|
||||
|
||||
Var bn_on = TestColorImageDir + "bn_on.png"
|
||||
Var bp_on = TestColorImageDir + "bp_on.png"
|
||||
Var bn_off = TestColorImageDir + "bn_off.png"
|
||||
Var bp_off = TestColorImageDir + "bp_off.png"
|
||||
|
||||
SAVELOG "Test Color RGB"
|
||||
Var Timeout = 0
|
||||
|
||||
; 255 0 0
|
||||
Var RedColorValue = "0xFF0000"
|
||||
; 255 127 0
|
||||
Var OrangeColorValue = "0xFF7F00"
|
||||
; 255 255 0
|
||||
Var YellowColorValue = "0xFFFF00"
|
||||
; 0 255 0
|
||||
Var GreenColorValue = "0x00FF00"
|
||||
; 0 0 255
|
||||
Var BlueColorValue = "0x0000FF"
|
||||
; 75 0 130
|
||||
Var IndigoColorValue = "0x4B0082"
|
||||
; 145 0 211
|
||||
Var VioletColorValue = "0x9400D3"
|
||||
; 255 255 255
|
||||
Var WhiteColorValue = "0xFFFFFF"
|
||||
|
||||
Var CurrentColor = ""
|
||||
|
||||
Var TestColorRow1 = 100
|
||||
Var TestColorRow2 = 300
|
||||
Var TestColorRow3 = 500
|
||||
Var TestColorRow4 = 700
|
||||
|
||||
|
||||
Var TestColorCol1X = 100
|
||||
Var TestColorCol2X = 400
|
||||
Var TestColorCol3X = 600
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<Timeout>1000</Timeout>
|
||||
<EventTimeout>
|
||||
Var Timeout = Timeout + 1
|
||||
|
||||
If Timeout > 60 Then
|
||||
Open "ROOT/taobin_project/xml/vending_info.xml"
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 19 </X>
|
||||
<Y> 0 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/vending_info.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
; 3-columns
|
||||
; col-1-4colors
|
||||
; col-2-4colors
|
||||
; col-3-btn-on-off
|
||||
<Button>
|
||||
<X> TestColorCol1X </X>
|
||||
<Y> TestColorRow1 </Y>
|
||||
<Filename> RedImg </Filename>
|
||||
<FilenamePress> RedPressedImg </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var CurrentColor = "Red"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> TestColorCol2X </X>
|
||||
<Y> TestColorRow1 </Y>
|
||||
<Filename> BlueImg </Filename>
|
||||
<FilenamePress> BluePressedImg </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var CurrentColor = "Blue"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> TestColorCol1X </X>
|
||||
<Y> TestColorRow2 </Y>
|
||||
<Filename> OrangeImg </Filename>
|
||||
<FilenamePress> OrangePressedImg </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var CurrentColor = "Orange"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> TestColorCol2X </X>
|
||||
<Y> TestColorRow2 </Y>
|
||||
<Filename> IndigoImg </Filename>
|
||||
<FilenamePress> IndigoPressedImg </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var CurrentColor = "Indigo"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> TestColorCol1X </X>
|
||||
<Y> TestColorRow3 </Y>
|
||||
<Filename> YellowImg </Filename>
|
||||
<FilenamePress> YellowPressedImg </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var CurrentColor = "Yellow"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> TestColorCol2X </X>
|
||||
<Y> TestColorRow3 </Y>
|
||||
<Filename> VioletImg </Filename>
|
||||
<FilenamePress> VioletPressedImg </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var CurrentColor = "Violet"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> TestColorCol1X </X>
|
||||
<Y> TestColorRow4 </Y>
|
||||
<Filename> GreenImg </Filename>
|
||||
<FilenamePress> GreenPressedImg </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var CurrentColor = "Green"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> TestColorCol2X </X>
|
||||
<Y> TestColorRow4 </Y>
|
||||
<Filename> WhiteImg </Filename>
|
||||
<FilenamePress> WhitePressedImg </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var CurrentColor = "White"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> TestColorCol3X </X>
|
||||
<Y> 110 </Y>
|
||||
<Filename> bn_on </Filename>
|
||||
<FilenamePress> bp_on </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
If CurrentColor = "Red" Then
|
||||
LEDv2 LedDoorCupV2 On 255 0 0 20 6
|
||||
EndIf
|
||||
If CurrentColor = "Orange" Then
|
||||
LEDv2 LedDoorCupV2 On 255 127 0 20 6
|
||||
EndIf
|
||||
If CurrentColor = "Yellow" Then
|
||||
LEDv2 LedDoorCupV2 On 255 255 0 20 6
|
||||
EndIf
|
||||
If CurrentColor = "Green" Then
|
||||
LEDv2 LedDoorCupV2 On 0 255 0 20 6
|
||||
EndIf
|
||||
If CurrentColor = "Blue" Then
|
||||
LEDv2 LedDoorCupV2 On 0 0 255 20 6
|
||||
EndIf
|
||||
If CurrentColor = "Indigo" Then
|
||||
LEDv2 LedDoorCupV2 On 75 0 130 20 6
|
||||
EndIf
|
||||
If CurrentColor = "Violet" Then
|
||||
LEDv2 LedDoorCupV2 On 145 0 211 20 6
|
||||
EndIf
|
||||
If CurrentColor = "White" Then
|
||||
LEDv2 LedDoorCupV2 On 255 255 255 20 6
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> TestColorCol3X </X>
|
||||
<Y> 310 </Y>
|
||||
<Filename> bn_off </Filename>
|
||||
<FilenamePress> bp_off </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
If CurrentColor = "Red" Then
|
||||
LEDv2 LedDoorCupV2 Off 255 0 0 20 6
|
||||
EndIf
|
||||
If CurrentColor = "Orange" Then
|
||||
LEDv2 LedDoorCupV2 Off 255 127 0 20 6
|
||||
EndIf
|
||||
If CurrentColor = "Yellow" Then
|
||||
LEDv2 LedDoorCupV2 Off 255 255 0 20 6
|
||||
EndIf
|
||||
If CurrentColor = "Green" Then
|
||||
LEDv2 LedDoorCupV2 Off 0 255 0 20 6
|
||||
EndIf
|
||||
If CurrentColor = "Blue" Then
|
||||
LEDv2 LedDoorCupV2 Off 0 0 255 20 6
|
||||
EndIf
|
||||
If CurrentColor = "Indigo" Then
|
||||
LEDv2 LedDoorCupV2 Off 75 0 130 20 6
|
||||
EndIf
|
||||
If CurrentColor = "Violet" Then
|
||||
LEDv2 LedDoorCupV2 Off 145 0 211 20 6
|
||||
EndIf
|
||||
If CurrentColor = "White" Then
|
||||
LEDv2 LedDoorCupV2 Off 255 255 255 20 6
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
</Page>
|
||||
|
|
@ -7,6 +7,9 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
RootLayoutVisible 3 "hide"
|
||||
|
||||
Var CountDownThankyou = 3
|
||||
Var CountDownBrewing = BrewTime
|
||||
Var CountUpBrewing = 0
|
||||
|
|
@ -357,6 +360,9 @@
|
|||
Var VendingDiscount = Seeker.VendingDiscount
|
||||
Var VendingCampaign = Seeker.VendingCampaign
|
||||
|
||||
DEBUGVAR Seeker.ServiceCharge
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
DEBUGVAR ServiceCharge
|
||||
|
||||
Var PayDetail = "2/F:1311/0//XML|" + Seeker.OrderChanel
|
||||
Var PayType = ""
|
||||
|
|
@ -378,6 +384,7 @@
|
|||
Var SessionID2 = SessionID2 + "/"
|
||||
|
||||
Var PayDetail2 = ToppingDetail
|
||||
|
||||
DEBUGVAR PayDetail
|
||||
DEBUGVAR PayDetail2
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@
|
|||
<EventOpen>
|
||||
; This page Seeker must curr
|
||||
; On open
|
||||
|
||||
|
||||
|
||||
Var CountDownThankyou = 4
|
||||
Var CountDownBrewing = BrewTime
|
||||
Var CountUpBrewing = 0
|
||||
|
|
@ -33,7 +36,11 @@
|
|||
DEBUGVAR MachineStage
|
||||
DEBUGVAR NextOrderStatus
|
||||
|
||||
Var text_id_001525 = 001525
|
||||
Var text_id_001526 = 001526
|
||||
|
||||
Var TEXT_ID_STRING_001525 !assigned GetLanguageID(text_id_001525, LanguageShowByIndex)
|
||||
Var TEXT_ID_STRING_001526 !assigned GetLanguageID(text_id_001526, LanguageShowByIndex)
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var ImageDoing = "ROOT/taobin_project/image/page_doing/img2_eng.png"
|
||||
|
|
@ -49,18 +56,16 @@
|
|||
EndIf
|
||||
|
||||
;inter-image
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
|
||||
Var BottomText = PicturePath + "text_bottom_eng.png"
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/page_thankyou_mmr"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MSC" Then
|
||||
If LanguageShow = "MSC" Then
|
||||
|
||||
Var BottomText = PicturePath + "text_bottom_eng.png"
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/page_thankyou_msc"
|
||||
EndIf
|
||||
|
||||
;DEBUGVAR StarwState
|
||||
|
|
@ -110,25 +115,42 @@
|
|||
DEBUGVAR MachineStage
|
||||
DEBUGVAR NextOrderStatus
|
||||
|
||||
; Show text and button for remove CUP.
|
||||
If show_eng = "true" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/complete_en/"
|
||||
; Default dir image
|
||||
Var DirImage = "ROOT/taobin_project/image/complete/"
|
||||
Var DirImage2 = "ROOT/taobin_project/image/complete_en/"
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
|
||||
If LanguageShow = "THAI" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/complete/"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "ENG" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/complete_en/"
|
||||
EndIf
|
||||
|
||||
;inter-image
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/complete_mmr/"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MSC" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/inter/hkg/image/complete_msc/"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MTC" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/inter/hkg/image/complete_mtc/"
|
||||
EndIf
|
||||
Else
|
||||
Var DirImage2 = "ROOT/taobin_project/image/complete/"
|
||||
If show_eng = "true" Then
|
||||
|
||||
Else
|
||||
Var DirImage2 = "ROOT/taobin_project/image/complete/"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
;inter-image
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/complete_mmr/"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MSC" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/inter/hkg/image/complete_msc/"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MTC" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/inter/hkg/image/complete_mtc/"
|
||||
EndIf
|
||||
|
||||
Var txtDrinkOKState = "Invisible"
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
|
|
@ -143,7 +165,15 @@
|
|||
|
||||
;include=ROOT/taobin_project/inc/remove_cup_event_open.inc
|
||||
|
||||
SAVELOG "Thank you conti version TCT6"
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
|
||||
Var thankyouContiVersion = "TCV9 "
|
||||
SAVELOG "Thank you conti version " + thankyouContiVersion
|
||||
SAVELOG "Support NextSmoothie and fix bug next"
|
||||
SAVELOG "DirImage detele. use DirImage2"
|
||||
|
||||
DEBUGVAR NextSmoothie
|
||||
DEBUGVAR Seeker.SmoothieToPayment
|
||||
|
||||
;PendingFlag InternationalEnable
|
||||
;PendingFlag New_Payment
|
||||
|
|
@ -179,7 +209,7 @@
|
|||
SAVELOG "Make next order by take-cup with close-maintenance 2"
|
||||
|
||||
Var error_code_stop_now = 1221
|
||||
|
||||
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
|
||||
|
|
@ -192,7 +222,7 @@
|
|||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_cannotConti.xml "
|
||||
|
||||
EndIf
|
||||
|
|
@ -203,29 +233,29 @@
|
|||
SAVELOG "Make next order by take-cup with close-maintenance 3"
|
||||
|
||||
Var error_code_stop_now = CupErrorCodeForNextOrder
|
||||
|
||||
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
|
||||
Else
|
||||
Var error_code_stop_now = 1296
|
||||
__CMD "error-code-1296" 0 "-" "-"
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
|
||||
|
||||
Var LastMakeDrinkResult = "fail"
|
||||
Open "ROOT/taobin_project/xml/page_cannotConti.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
; setvarint Timeout2 888
|
||||
|
||||
|
||||
If Timeout2 > 890 Then
|
||||
|
||||
|
||||
__CMD "cup-error-code" "-" "-" "-"
|
||||
DEBUGVAR CupErrorCodeForNextOrder
|
||||
EndIf
|
||||
|
|
@ -245,7 +275,7 @@
|
|||
|
||||
__CMD "check-cup" Seeker.selected_a_drink "-" "-"
|
||||
|
||||
; old condition
|
||||
; old condition
|
||||
If HaveCup = "false" Then
|
||||
If MachineStage = "show-menu" Then
|
||||
|
||||
|
|
@ -274,8 +304,8 @@
|
|||
|
||||
DEBUGVAR CountDownThankyou
|
||||
|
||||
; run test;
|
||||
If CountDownThankyou = 0 Then
|
||||
; obsolete
|
||||
If CountDownThankyou = 99 Then
|
||||
|
||||
; reset all var
|
||||
DEBUGVAR MachineStage
|
||||
|
|
@ -290,6 +320,7 @@
|
|||
|
||||
If MachineStage = "show-menu" Then
|
||||
If HaveCup = "false" Then
|
||||
|
||||
Var LastMakeDrinkResult = "-"
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
|
|
@ -337,18 +368,34 @@
|
|||
Var MachineState_Result = 0
|
||||
|
||||
If MenuReadyForCup = "YES" Then
|
||||
|
||||
|
||||
|
||||
Var LastMakeDrinkResult = "-"
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
|
||||
; smoothie next
|
||||
DEBUGVAR Seeker
|
||||
DEBUGVAR Seeker.SmoothieToPayment
|
||||
Var NextSmoothie = 0
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
Var TimeOutSmoothiesProcess = 120
|
||||
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
MakeDrinkV1 Seeker.selected_a_drink SelectSugarID
|
||||
|
||||
|
||||
If CountryName = "Thailand" Then
|
||||
|
||||
If New_Payment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_NewBrewing3.xml"
|
||||
If New_Payment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_NewBrewing3.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_brewing3.xml"
|
||||
Open "ROOT/taobin_project/xml/page_brewing3.xml"
|
||||
EndIf
|
||||
Else
|
||||
|
||||
|
|
@ -357,12 +404,12 @@
|
|||
Open Brew3Inter
|
||||
Else
|
||||
;obsolete
|
||||
If New_Payment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_NewBrewing3.xml"
|
||||
If New_Payment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_NewBrewing3.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_brewing3.xml"
|
||||
Open "ROOT/taobin_project/xml/page_brewing3.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -384,66 +431,30 @@
|
|||
|
||||
|
||||
;include=ROOT/taobin_project/inc/remove_cup_step.inc
|
||||
If Timeout2 < 3 Then
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
EndIf
|
||||
|
||||
If buttonRemoveCup = "Invisible" Then
|
||||
If show_eng = "true" Then
|
||||
Var MachineErrorDetailAll = " Please take cup."
|
||||
Else
|
||||
Var MachineErrorDetailAll = " กรุณานำแก้วออกก่อนครับ/คะ"
|
||||
EndIf
|
||||
;inter-text
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var MachineErrorDetailAll = " ကျေးဇူးပြုပြီး ဖန်ခွက်ကို အရင်ထုတ်ပါ။"
|
||||
EndIf
|
||||
If LanguageShow = "MSC" Then
|
||||
Var MachineErrorDetailAll = " 请拿杯子。"
|
||||
EndIf
|
||||
If LanguageShow = "MTC" Then
|
||||
Var MachineErrorDetailAll = " 請拿杯子。"
|
||||
EndIf
|
||||
Else
|
||||
Var MachineErrorDetailAll = TEXT_ID_STRING_001525
|
||||
Else
|
||||
If CupChecking = "true" Then
|
||||
If show_eng = "true" Then
|
||||
Var MachineErrorDetailAll = " Please take a cup."
|
||||
Else
|
||||
Var MachineErrorDetailAll = " กรุณานำแก้วออกก่อนครับ/คะ"
|
||||
EndIf
|
||||
;inter-text
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var MachineErrorDetailAll = " ကျေးဇူးပြုပြီး ဖန်ခွက်ကို အရင်ထုတ်ပါ။"
|
||||
EndIf
|
||||
If LanguageShow = "MSC" Then
|
||||
Var MachineErrorDetailAll = " 请拿杯子。"
|
||||
EndIf
|
||||
If LanguageShow = "MTC" Then
|
||||
Var MachineErrorDetailAll = " 請拿杯子。"
|
||||
EndIf
|
||||
Var MachineErrorDetailAll = TEXT_ID_STRING_001525
|
||||
Else
|
||||
If show_eng = "true" Then
|
||||
Var MachineErrorDetailAll = " Press button for take a cup."
|
||||
Else
|
||||
Var MachineErrorDetailAll = " กรุณากดปุ่ม แล้วนำแก้วออกก่อนครับ/คะ"
|
||||
EndIf
|
||||
;inter-text
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var MachineErrorDetailAll = " ကျေးဇူးပြုပြီး ဖန်ခွက်ကို အရင်ထုတ်ပါ။"
|
||||
EndIf
|
||||
If LanguageShow = "MSC" Then
|
||||
Var MachineErrorDetailAll = " 按按钮取杯子。"
|
||||
EndIf
|
||||
If LanguageShow = "MTC" Then
|
||||
Var MachineErrorDetailAll = " 按按鈕取杯子。"
|
||||
EndIf
|
||||
Var MachineErrorDetailAll = TEXT_ID_STRING_001526
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If Timeout2 < 3 Then
|
||||
Var MachineErrorDetailAll = "..."
|
||||
EndIf
|
||||
|
||||
DEBUGVAR MenuReadyForCup
|
||||
|
||||
If MenuReadyForCup = "YES" Then
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
|
||||
|
||||
Var VideoPlayFile = VideoPath
|
||||
Var VideoPlayFile = VideoPlayFile + VideoFileBegin
|
||||
Var VideoPlayFile = VideoPlayFile + "1"
|
||||
|
|
@ -456,9 +467,9 @@
|
|||
|
||||
DEBUGVAR CountDownForShowMenuNextOrderToBrew
|
||||
DEBUGVAR Seeker.selected_a_drink
|
||||
|
||||
|
||||
If CountDownForShowMenuNextOrderToBrew = 3 Then
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -477,7 +488,7 @@
|
|||
Var buttonRemoveCup = "Invisible"
|
||||
|
||||
Else
|
||||
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -566,7 +577,7 @@
|
|||
<Width> 1080 </Width>
|
||||
<Align> end </Align>
|
||||
<Color> 0xFF0000 </Color>
|
||||
<Value> "TCT6 "</Value>
|
||||
<Value> thankyouContiVersion </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -320,6 +320,8 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
DEBUGVAR btnAddCart
|
||||
|
||||
Var LidDeactiveButton = "Invisible"
|
||||
Var StrawDeactiveButton = "Invisible"
|
||||
|
||||
|
|
@ -561,7 +563,8 @@
|
|||
DEBUGVAR MenuReady
|
||||
DEBUGVAR CupRemain
|
||||
|
||||
|
||||
DEBUGVAR CLOSE_ORDER_NOW
|
||||
|
||||
If CLOSE_ORDER_NOW = "true" Then
|
||||
;include="ROOT/taobin_project/inc/return_condition.ev"
|
||||
EndIf
|
||||
|
|
@ -594,7 +597,8 @@
|
|||
EndIf
|
||||
|
||||
|
||||
|
||||
DEBUGVAR SelectDrinkType
|
||||
|
||||
If SelectDrinkType = 1 Then
|
||||
|
||||
If MenuReady = "YES" Then
|
||||
|
|
@ -2376,7 +2380,14 @@
|
|||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Else
|
||||
Var EnableLightRoast = "Enable"
|
||||
If toppingID2index3 = 0 Then
|
||||
Var EnableLightRoast = "Invisible"
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Else
|
||||
Var EnableLightRoast = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
|
|
@ -2434,16 +2445,16 @@
|
|||
Var CustomCoffeeQuantityAdditionalPrice[0] = ""
|
||||
EndIf
|
||||
|
||||
If toppingID2price2 > 0 Then
|
||||
Var priceFormated !assigned StringFmt( toppingID2price2 , PriceCustomCoffeeFormat, PreScaleConvertShow)
|
||||
If toppingID2price3 > 0 Then
|
||||
Var priceFormated !assigned StringFmt( toppingID2price3 , PriceCustomCoffeeFormat, PreScaleConvertShow)
|
||||
Var CustomCoffeeQuantityAdditionalPrice[1] = "(+" + priceFormated
|
||||
Var CustomCoffeeQuantityAdditionalPrice[1] = CustomCoffeeQuantityAdditionalPrice[1] + ")"
|
||||
Else
|
||||
Var CustomCoffeeQuantityAdditionalPrice[1] = ""
|
||||
EndIf
|
||||
|
||||
If toppingID2price3 > 0 Then
|
||||
Var priceFormated !assigned StringFmt( toppingID2price3 , PriceCustomCoffeeFormat, PreScaleConvertShow)
|
||||
If toppingID2price4 > 0 Then
|
||||
Var priceFormated !assigned StringFmt( toppingID2price4 , PriceCustomCoffeeFormat, PreScaleConvertShow)
|
||||
Var CustomCoffeeQuantityAdditionalPrice[2] = "(+" + priceFormated
|
||||
Var CustomCoffeeQuantityAdditionalPrice[2] = CustomCoffeeQuantityAdditionalPrice[2] + ")"
|
||||
Else
|
||||
|
|
@ -2451,6 +2462,18 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
If CustomCoffeeQuantityAdditionalPrice[1] = "" Then
|
||||
Var CustomCoffeeQuantityTextX[1] = 809
|
||||
Else
|
||||
Var CustomCoffeeQuantityTextX[1] = 784
|
||||
EndIf
|
||||
|
||||
If CustomCoffeeQuantityAdditionalPrice[2] = "" Then
|
||||
Var CustomCoffeeQuantityTextX[2] = 922
|
||||
Else
|
||||
Var CustomCoffeeQuantityTextX[2] = 892
|
||||
EndIf
|
||||
|
||||
;-END
|
||||
|
||||
|
||||
|
|
@ -6092,7 +6115,7 @@
|
|||
</Button>
|
||||
|
||||
<Text>
|
||||
<X> 694 </X>
|
||||
<X> 699 </X>
|
||||
<Y> CustomCoffeeTextY </Y>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<State> showCoffeeQuantity </State>
|
||||
|
|
@ -6102,7 +6125,8 @@
|
|||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 784 </X>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<X> CustomCoffeeQuantityTextX[1] </X>
|
||||
<Y> CustomCoffeeTextY </Y>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<State> showCoffeeQuantity </State>
|
||||
|
|
@ -6112,7 +6136,8 @@
|
|||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 892 </X>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<X> CustomCoffeeQuantityTextX[2] </X>
|
||||
<Y> CustomCoffeeTextY </Y>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<State> showCoffeeQuantity </State>
|
||||
|
|
@ -7903,10 +7928,10 @@
|
|||
Var TOPPING_PRICE = TOPPING_PRICE + toppingID2price1
|
||||
EndIf
|
||||
If CustomCoffeeQuantityState[1] = "PressForever" Then
|
||||
Var TOPPING_PRICE = TOPPING_PRICE + toppingID2price2
|
||||
Var TOPPING_PRICE = TOPPING_PRICE + toppingID2price3
|
||||
EndIf
|
||||
If CustomCoffeeQuantityState[2] = "PressForever" Then
|
||||
Var TOPPING_PRICE = TOPPING_PRICE + toppingID2price3
|
||||
Var TOPPING_PRICE = TOPPING_PRICE + toppingID2price4
|
||||
EndIf
|
||||
|
||||
If CustomCoffeeLevelState[0] = "PressForever" Then
|
||||
|
|
@ -8018,6 +8043,75 @@
|
|||
</Function2>
|
||||
|
||||
|
||||
; add cart
|
||||
<Button>
|
||||
<State> btnAddCart </State>
|
||||
<X> 285 </X>
|
||||
<Y> 1785 </Y>
|
||||
<Filename> Var( DirImage + "/bn_add.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_add.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Var PriceDrink = PriceDrinkTmp
|
||||
SAVELOG "USER press next ( topping ) - new"
|
||||
DEBUGVAR topping1
|
||||
DEBUGVAR topping2
|
||||
DEBUGVAR topping3
|
||||
|
||||
DEBUGVAR LidState
|
||||
DEBUGVAR StrawState
|
||||
DEBUGVAR UserSelectProductCode
|
||||
DEBUGVAR HAVE_UV_DOOR_LID
|
||||
|
||||
|
||||
If StrawState = "Press" Then
|
||||
Machine StrawOrder
|
||||
Var LedLidBlink = "true"
|
||||
EndIf
|
||||
|
||||
If LidState = "Press" Then
|
||||
Machine LidOrder
|
||||
Var LedLidBlink = "true"
|
||||
EndIf
|
||||
|
||||
Var StrawState = "Enable"
|
||||
Var LidState = "Enable"
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
Var SelectDrink = UserSelectProductCode
|
||||
; Set drink
|
||||
Topping "Select" UserSelectProductCode
|
||||
|
||||
; Set option toppinng and pack
|
||||
Topping "Select1-ID" topping1
|
||||
Topping "Select2-ID" topping2
|
||||
Topping "Select3-ID" topping3
|
||||
|
||||
; Pack
|
||||
Topping "Pack" ExtendData
|
||||
|
||||
Var Seeker.ExtendData = ExtendData
|
||||
|
||||
If CART1_STATUS = "EMPTY" Then
|
||||
Cart "AddMenuID" 1
|
||||
Else
|
||||
If CART2_STATUS = "EMPTY" Then
|
||||
Cart "AddMenuID" 2
|
||||
Else
|
||||
If CART3_STATUS = "EMPTY" Then
|
||||
Cart "AddMenuID" 3
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Var CartUpdate = "true"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@
|
|||
EndIf
|
||||
Machine WakeUp
|
||||
|
||||
Var OverridePrice = 100
|
||||
|
||||
Var Seeker.orderFromNewTopping = 1
|
||||
|
||||
Var TextSelfTestCntColor = "0x746253"
|
||||
|
|
@ -851,8 +853,8 @@
|
|||
|
||||
TRY "ROOT/taobin_project/speical/call_from_topping.ev"
|
||||
|
||||
DEBUGVAR $12-02-03-0043.Name
|
||||
DEBUGVAR $12-02-03-0043.NameE
|
||||
DEBUGVAR SpeicalButtonPositionX
|
||||
DEBUGVAR TextShowSpecialButton
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var showname = NameDrink
|
||||
|
|
@ -1819,10 +1821,17 @@
|
|||
Var CustomMilkState[1] = "Enable"
|
||||
Var CustomMilkState[2] = "Enable"
|
||||
Else
|
||||
Var CustomMilkState[0] = "Disable"
|
||||
Var CustomMilkState[1] = "Disable"
|
||||
Var CustomMilkState[2] = "Disable"
|
||||
If TOPPING11 = "milk-level" Then
|
||||
Var CustomMilkState[0] = "Enable"
|
||||
Var CustomMilkState[1] = "Enable"
|
||||
Var CustomMilkState[2] = "Enable"
|
||||
Else
|
||||
Var CustomMilkState[0] = "Disable"
|
||||
Var CustomMilkState[1] = "Disable"
|
||||
Var CustomMilkState[2] = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Else
|
||||
Var CustomMilkState[0] = "Disable"
|
||||
Var CustomMilkState[1] = "Disable"
|
||||
|
|
@ -2213,15 +2222,22 @@
|
|||
Var showShotNormalSoda = "Invisible"
|
||||
Var showShotEnableSoda = "Invisible"
|
||||
Else
|
||||
Var showShotNormalSoda = "Disable"
|
||||
Var showShotEnableSoda = "Disable"
|
||||
If toppingID13index2Status = "Enable" Then
|
||||
Var showShotEnableSoda = "Enable"
|
||||
Var showShotNormalSoda = "Enable"
|
||||
Else
|
||||
Var showShotNormalSoda = "Disable"
|
||||
Var showShotEnableSoda = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Else
|
||||
Var showShotNormalSoda = "Disable"
|
||||
Var showShotEnableSoda = "Disable"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
DEBUGVAR SubMenuGroupIDSlot6_1
|
||||
|
||||
DEBUGVAR TOPPING3
|
||||
|
|
@ -2621,6 +2637,20 @@
|
|||
Var CustomMilkState[2] = "Disable"
|
||||
EndIf
|
||||
|
||||
If TOPPING13 = "shot coffee" Then
|
||||
If showShotNormalSoda = "Enable" Then
|
||||
If showShotEnableSoda = "Enable" Then
|
||||
Var showShotNormalSoda = "Press"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If showShotNormal = "Enable" Then
|
||||
If showShotEnable = "Enable" Then
|
||||
Var showShotNormal = "Press"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Var SelectToppingType = 1
|
||||
EndIf
|
||||
|
||||
|
|
@ -2680,34 +2710,30 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
If CustomMilkState[0] = "Enable" Then
|
||||
Var CustomMilkState[0] = "Disable"
|
||||
EndIf
|
||||
If TOPPING11 = "milk-level" Then
|
||||
|
||||
If CustomMilkState[1] = "Enable" Then
|
||||
Var CustomMilkState[1] = "Disable"
|
||||
EndIf
|
||||
If CustomMilkState[2] = "Enable" Then
|
||||
Var CustomMilkState[2] = "Disable"
|
||||
EndIf
|
||||
If CustomMilkState[0] = "Disable" Then
|
||||
Var CustomMilkState[0] = "Enable"
|
||||
EndIf
|
||||
|
||||
If CustomMilkState[0] = "PressForever" Then
|
||||
Var CustomMilkState[0] = "Disable"
|
||||
EndIf
|
||||
If CustomMilkState[1] = "Disable" Then
|
||||
Var CustomMilkState[1] = "Enable"
|
||||
EndIf
|
||||
If CustomMilkState[2] = "Disable" Then
|
||||
Var CustomMilkState[2] = "Enable"
|
||||
EndIf
|
||||
|
||||
If CustomMilkState[1] = "PressForever" Then
|
||||
Var CustomMilkState[1] = "Disable"
|
||||
EndIf
|
||||
If CustomMilkState[2] = "PressForever" Then
|
||||
Var CustomMilkState[2] = "Disable"
|
||||
EndIf
|
||||
|
||||
If CustomMilkState[0] = "Enable" Then
|
||||
If CustomMilkState[1] = "Enable" Then
|
||||
If CustomMilkState[2] = "Enable" Then
|
||||
Var CustomMilkState[1] = "PressForever" Then
|
||||
If CustomMilkState[0] = "Enable" Then
|
||||
If CustomMilkState[1] = "Enable" Then
|
||||
If CustomMilkState[2] = "Enable" Then
|
||||
Var CustomMilkState[1] = "PressForever" Then
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
Var CustomMilkState[0] = "Disable"
|
||||
Var CustomMilkState[1] = "Disable"
|
||||
Var CustomMilkState[2] = "Disable"
|
||||
EndIf
|
||||
|
||||
If TOPPING13 = "shot coffee" Then
|
||||
|
|
@ -8051,7 +8077,7 @@
|
|||
<Y> CustomEspressoTextY </Y>
|
||||
<State> showEspressoLevel </State>
|
||||
<Language>
|
||||
<ID> 002059 </ID>
|
||||
<ID> 002058 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
|
|
@ -10763,6 +10789,48 @@
|
|||
|
||||
|
||||
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
<Button>
|
||||
<X> SpeicalButtonPositionX </X>
|
||||
<Y> 1785 </Y>
|
||||
<State> ShowSpecialButton </State>
|
||||
<Filename> Var( DirImage + "/bn_button_no_text.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_button_no_text.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
;include="ROOT/taobin_project/inc/button_topping_select_confirm_order.inc"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Text>
|
||||
<X> SpeicalButtonPositionX </X>
|
||||
<Y> 1785 </Y>
|
||||
<Width> 360 </Width>
|
||||
<Height> 92 </Height>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
<State> ShowSpecialButton </State>
|
||||
<Value> TextShowSpecialButton </Value>
|
||||
<Font> KanitTTF </Font>
|
||||
<Size> TextSize </Size>
|
||||
</Text>
|
||||
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
|
||||
|
||||
|
||||
<Function2>
|
||||
Var fun = "function2"
|
||||
DEBUGVAR fun
|
||||
|
|
@ -10892,11 +10960,11 @@
|
|||
Var showdesc = DescLang[0][LanguageShowByIndex]
|
||||
Else
|
||||
If show_eng = "true" Then
|
||||
Var showname = menu_name_eng_blender
|
||||
Var showdesc = menu_desc_eng_blender
|
||||
Var showname = menu_name_eng_hot
|
||||
Var showdesc = menu_desc_eng_hot
|
||||
Else
|
||||
Var showname = menu_name_thai_blender
|
||||
Var showdesc = menu_desc_thai_blender
|
||||
Var showname = menu_name_thai_hot
|
||||
Var showdesc = menu_desc_thai_hot
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -10936,11 +11004,11 @@
|
|||
Var showdesc = DescLang[1][LanguageShowByIndex]
|
||||
Else
|
||||
If show_eng = "true" Then
|
||||
Var showname = menu_name_eng_blender
|
||||
Var showdesc = menu_desc_eng_blender
|
||||
Var showname = menu_name_eng_cold
|
||||
Var showdesc = menu_desc_eng_cold
|
||||
Else
|
||||
Var showname = menu_name_thai_blender
|
||||
Var showdesc = menu_desc_thai_blender
|
||||
Var showname = menu_name_thai_cold
|
||||
Var showdesc = menu_desc_thai_cold
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ If Seeker.PayWithQR = 0 Then
|
|||
Var PayO2 = Seeker.CoffeePinNumber
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
DEBUGVAR Seeker
|
||||
DEBUGVAR TelephoneNumber
|
||||
Var TelephoneNumberExt = TelephoneNumber
|
||||
If TelephoneNumberExt = "" Then
|
||||
|
|
@ -24,3 +24,10 @@ EndIf
|
|||
__CMD "SetTelNum" TelephoneNumberExt Seeker.ORDER_ID Seeker.VendingTSID
|
||||
Var payOrderChannel = "/XML|" + Seeker.OrderChanel
|
||||
__CMD "SetPayType" Seeker.ORDER_ID payOrderChannel ""
|
||||
|
||||
|
||||
DEBUGVAR Seeker.SmoothieToPayment
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
SAVELOG "[FROZEN-FRUIT] Set spiral pay detail"
|
||||
__CMD "SprialPayDetail" Seeker.sprial_pay_detail "-" "-"
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
DEBUGVAR "MIGGAZE0"
|
||||
DEBUGVAR " payment ev evaluate "
|
||||
If Seeker.PayWithQR = 1 Then
|
||||
|
||||
Var ServiceAmount2 = Seeker.ServiceAmount2
|
||||
|
|
@ -8,6 +8,7 @@ If Seeker.PayWithQR = 1 Then
|
|||
Var VendingCampaign = 0
|
||||
Var SelectDrink = Seeker.selected_a_drink
|
||||
Var SuggestID = ""
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
|
||||
If ChangeFlag2 = 1 Then
|
||||
Var TelephoneNumber = "0899999999"
|
||||
|
|
@ -54,6 +55,8 @@ If Seeker.PayWithQR = 1 Then
|
|||
Var ServiceCredit = SelectDrink
|
||||
Var SuggestID = ""
|
||||
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
|
||||
Var PayDetail = "2/S:0/0//XML|" + Seeker.OrderChanel
|
||||
|
||||
If GetFreeFromError = 1 Then
|
||||
|
|
@ -90,6 +93,8 @@ If Seeker.PayWithQR = 1 Then
|
|||
Var ServiceCredit = SelectDrink
|
||||
Var SuggestID = ""
|
||||
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
|
||||
Var PayDetail = "2/S:0/0//XML|" + Seeker.OrderChanel
|
||||
|
||||
If GetFreeFromError = 1 Then
|
||||
|
|
|
|||
73
xml/process/spiral_pay_fail.ev
Normal file
73
xml/process/spiral_pay_fail.ev
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/process/addpoint.ev"
|
||||
|
||||
Var SelectDrink = Seeker.selected_a_drink
|
||||
Var ExtendData = Seeker.ExtendData
|
||||
Var ServiceAmount2 = Seeker.ServiceAmount2
|
||||
Var SessionID2 = SelectSlot + ":"
|
||||
Var SessionID2 = SessionID2 + ExtendData
|
||||
|
||||
Var CreditReference = Seeker.CreditReferenceTmp
|
||||
Var VendingDiscount = Seeker.VendingDiscount
|
||||
Var VendingCampaign = Seeker.VendingCampaign
|
||||
Var TxReference = Seeker.TxRef1
|
||||
Var VendingOrderID = Seeker.ORDER_ID
|
||||
Var PayType = "newpay"
|
||||
|
||||
Var ServiceType = "coffee-payment"
|
||||
Var ServiceCredit = SelectDrink
|
||||
Var SuggestID = ""
|
||||
|
||||
DEBUGVAR Seeker
|
||||
|
||||
Var PayDetail = "2/S:0/0/"
|
||||
|
||||
Var SessionID4 = MachineSpiralID
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + MachineSpiralVMName
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + MachineSpiralSlotID
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + ServiceCredit
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + 1
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + MachineSpiralRemaining
|
||||
|
||||
Var PayDetail = PayDetail + "|locker:F:"
|
||||
Var PayDetail = PayDetail + MachineSpiralErrorCode
|
||||
Var PayDetail = PayDetail + ":"
|
||||
Var PayDetail = PayDetail + SessionID4
|
||||
|
||||
Var PayDetail = PayDetail + "/XML|"
|
||||
Var PayDetail = PayDetail + Seeker.OrderChanel
|
||||
|
||||
If Seeker.CodeChannel = 1 Then
|
||||
Var SessionID2 = SessionID2 + "/"
|
||||
Var SessionID2 = SessionID2 + ""
|
||||
Var SessionID2 = SessionID2 + "/"
|
||||
Var SessionID2 = SessionID2 + Seeker.VendingCode
|
||||
Var SessionID2 = SessionID2 + "/"
|
||||
Var SessionID2 = SessionID2 + SelectDrink
|
||||
Var SessionID2 = SessionID2 + "/"
|
||||
Var SessionID2 = SessionID2 + BoxID
|
||||
Var SessionID2 = SessionID2 + "/"
|
||||
Var SessionID2 = SessionID2 + "S"
|
||||
Var SessionID2 = SessionID2 + "/"
|
||||
Var SessionID2 = SessionID2 + Seeker.CodeNumber
|
||||
Var SessionID2 = SessionID2 + "/"
|
||||
|
||||
DEBUGVAR PayDetail
|
||||
DEBUGVAR Seeker.PayDetail2
|
||||
DEBUGVAR SessionID2
|
||||
|
||||
Var PayDetail2 = Seeker.PayDetail2
|
||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
||||
Else
|
||||
|
||||
DEBUGVAR PayDetail
|
||||
DEBUGVAR Seeker.PayDetail2
|
||||
|
||||
Var PayDetail2 = Seeker.PayDetail2
|
||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
||||
|
||||
EndIf
|
||||
28
xml/sometime/make_drink.xml
Normal file
28
xml/sometime/make_drink.xml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
SAVELOG "[MAKE_DRINK] V2"
|
||||
DEBUGVAR Seeker
|
||||
DEBUGVAR Seeker.SmoothieToPayment
|
||||
If Seeker = "curr" Then
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
; do nothing
|
||||
Else
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
EndIf
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
Else
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
|
||||
Var DrinkPaid = SelectDrink
|
||||
Var PaidPaymentFromNextStage = 1
|
||||
EndIf
|
||||
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
EndIf
|
||||
|
||||
|
|
@ -1,3 +1,7 @@
|
|||
DEBUGVAR InternationalEnable
|
||||
DEBUGVAR MachineStage
|
||||
DEBUGVAR CountryName
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
If MachineStage = "close-maintenance" Then
|
||||
RootLayoutVisible 3 "hide"
|
||||
|
|
@ -17,11 +21,18 @@ If InternationalEnable = 1 Then
|
|||
|
||||
If CountryName = "United Kingdom" Then
|
||||
Open "ROOT/taobin_project/inter/gbr/xml/page_show_error.lxml"
|
||||
Else
|
||||
EndIf
|
||||
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
|
||||
|
||||
OpenInst 0 "ROOT/taobin_project/xml/page_show_error.lxml"
|
||||
|
||||
|
||||
EndIf
|
||||
Else
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
EndIf
|
||||
|
|
|
|||
23
xml/start_up_inst_1.xml
Normal file
23
xml/start_up_inst_1.xml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<Popup>
|
||||
<Width> 1080</Width>
|
||||
<Height> 1920 </Height>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
If InstanceTabOpenFile1 = "" Then
|
||||
|
||||
Else
|
||||
Open InstanceTabOpenFile1
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
24
xml/start_up_inst_10.xml
Normal file
24
xml/start_up_inst_10.xml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<Popup>
|
||||
<Width> 1080</Width>
|
||||
<Height> 1920 </Height>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
If InstanceTabOpenFile10 = "" Then
|
||||
|
||||
Else
|
||||
DEBUGVAR InstanceTabOpenFile10
|
||||
Open InstanceTabOpenFile10
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
23
xml/start_up_inst_11.xml
Normal file
23
xml/start_up_inst_11.xml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<Popup>
|
||||
<Width> 1080</Width>
|
||||
<Height> 1920 </Height>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 10000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
If InstanceTabOpenFile11 = "" Then
|
||||
|
||||
Else
|
||||
Open InstanceTabOpenFile11
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
23
xml/start_up_inst_12.xml
Normal file
23
xml/start_up_inst_12.xml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<Popup>
|
||||
<Width> 1080</Width>
|
||||
<Height> 1920 </Height>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 10000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
If InstanceTabOpenFile12 = "" Then
|
||||
|
||||
Else
|
||||
Open InstanceTabOpenFile12
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
23
xml/start_up_inst_13.xml
Normal file
23
xml/start_up_inst_13.xml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<Popup>
|
||||
<Width> 1080</Width>
|
||||
<Height> 1920 </Height>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 10000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
If InstanceTabOpenFile13 = "" Then
|
||||
|
||||
Else
|
||||
Open InstanceTabOpenFile13
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
23
xml/start_up_inst_14.xml
Normal file
23
xml/start_up_inst_14.xml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<Popup>
|
||||
<Width> 1080</Width>
|
||||
<Height> 1920 </Height>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 10000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
If InstanceTabOpenFile14 = "" Then
|
||||
|
||||
Else
|
||||
Open InstanceTabOpenFile14
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
23
xml/start_up_inst_2.xml
Normal file
23
xml/start_up_inst_2.xml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<Popup>
|
||||
<Width> 1080</Width>
|
||||
<Height> 1920 </Height>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
If InstanceTabOpenFile2 = "" Then
|
||||
|
||||
Else
|
||||
Open InstanceTabOpenFile2
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
21
xml/start_up_inst_3.xml
Normal file
21
xml/start_up_inst_3.xml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<Popup>
|
||||
<Width> 1080</Width>
|
||||
<Height> 1920 </Height>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
If InstanceTabOpenFile3 = "" Then
|
||||
|
||||
Else
|
||||
Open InstanceTabOpenFile3
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
</Popup>
|
||||
23
xml/start_up_inst_4.xml
Normal file
23
xml/start_up_inst_4.xml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<Popup>
|
||||
<Width> 1080</Width>
|
||||
<Height> 1920 </Height>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
If InstanceTabOpenFile4 = "" Then
|
||||
|
||||
Else
|
||||
Open InstanceTabOpenFile4
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
23
xml/start_up_inst_5.xml
Normal file
23
xml/start_up_inst_5.xml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<Popup>
|
||||
<Width> 1080</Width>
|
||||
<Height> 1920 </Height>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
If InstanceTabOpenFile5 = "" Then
|
||||
|
||||
Else
|
||||
Open InstanceTabOpenFile5
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
23
xml/start_up_inst_6.xml
Normal file
23
xml/start_up_inst_6.xml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<Popup>
|
||||
<Width> 1080</Width>
|
||||
<Height> 1920 </Height>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
If InstanceTabOpenFile6 = "" Then
|
||||
|
||||
Else
|
||||
Open InstanceTabOpenFile6
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
23
xml/start_up_inst_7.xml
Normal file
23
xml/start_up_inst_7.xml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<Popup>
|
||||
<Width> 1080</Width>
|
||||
<Height> 1920 </Height>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
If InstanceTabOpenFile7 = "" Then
|
||||
|
||||
Else
|
||||
Open InstanceTabOpenFile7
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
23
xml/start_up_inst_8.xml
Normal file
23
xml/start_up_inst_8.xml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<Popup>
|
||||
<Width> 1080</Width>
|
||||
<Height> 1920 </Height>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
If InstanceTabOpenFile8 = "" Then
|
||||
|
||||
Else
|
||||
Open InstanceTabOpenFile8
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue