This commit is contained in:
wanlop run 2024-03-28 22:03:49 +07:00
parent ba9d208abd
commit a963340993
11 changed files with 155 additions and 144 deletions

View file

@ -3695,19 +3695,19 @@ Sugar, Biscof" </Value>
</Block>
; - - -
; ==================> Len = 12
; - - 12-41-03-0028
; TAOTIM - 12-41-03-0028
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-41-03-0028.Button,Disable=Invisible,$Sum1241030028) </State>
<State> Flag( TAOTIM.Button,12-41-03-0028.Button,Disable=Invisible,$SumTAOTIM1241030028) </State>
<Button>
<State> $Sum1241030028 </State>
<State> $SumTAOTIM1241030028 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//taotim_bubble.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//taotim_bubble.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//taotim_bubble.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-41-03-0028, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<OverlayImage> xmlpro( TAOTIM, "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>
@ -3718,16 +3718,16 @@ Sugar, Biscof" </Value>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "taotim_bubble.png"
Var OpenFromXML = CurrentXMLFileName2
GetInstanceIDMenuTab OpenFromInstMenuTab
Var PriceD1 = $-.Price
Var PriceD1 = $TAOTIM.Price
Var PriceD2 = $-.Price
Var PriceD3 = $12-41-03-0028.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE1 = "TAOTIM"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-41-03-0028"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_1 = $TAOTIM.Button
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-41-03-0028.Button
Var OverlayMenuFilter !assigned xmlpro( 12-41-03-0028, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
Var OverlayMenuFilter !assigned xmlpro( TAOTIM, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
@ -3747,15 +3747,15 @@ Sugar, Biscof" </Value>
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Topping "Load" "TAOTIM"
Else
Topping "Load" "12-41-03-0028"
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_hot = $TAOTIM.NameE
Var menu_desc_eng_hot = $TAOTIM.descriptionE
Var menu_name_thai_hot = $TAOTIM.Name
Var menu_desc_thai_hot = $TAOTIM.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
@ -3828,7 +3828,7 @@ Sugar, Biscof" </Value>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> "Invisible" </State>
<State> $TAOTIM.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
@ -3840,8 +3840,8 @@ Sugar, Biscof" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
<State> $TAOTIM.Button </State>
<Value> StringFmt( $TAOTIM.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
@ -3886,7 +3886,11 @@ Sugar, Biscof" </Value>
eval(
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Invisible"
If $SumTAOTIM1241030028 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
Else
Var ice_tab_process_show = "Invisible"
@ -3902,8 +3906,8 @@ Sugar, Biscof" </Value>
<Y> 117 </Y>
<State>
eval(
If $Sum1241030028 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
If $SumTAOTIM1241030028 = "Disable" Then
STRCONTAIN "ERR" $TAOTIM.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $12-41-03-0028.TAG tag3_is_disable
Var return = "Invisible"
@ -3941,7 +3945,7 @@ Sugar, Biscof" </Value>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum1241030028 </State>
<State> $SumTAOTIM1241030028 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>