This commit is contained in:
kong 2022-11-01 14:30:50 +07:00
parent d1708ed7e1
commit 9f88bf0218
3 changed files with 296 additions and 45 deletions

View file

@ -7141,15 +7141,15 @@ Pink Rose & Berry" </Value>
</Block>
; - - -
; ==================> Len = 16
; 12-02-01-0004 12-02-02-0004 12-02-03-0004
; 12-02-01-0026 12-02-02-0026 12-02-03-0026
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0004.Button,12-02-02-0004.Button,12-02-03-0004.Button,Disable=Invisible,$Sum120201000412020200041202030004) </State>
<State> Flag( 12-02-01-0026.Button,12-02-02-0026.Button,12-02-03-0026.Button,Disable=Invisible,$Sum120201002612020200261202030026) </State>
<Button>
<State> $Sum120201000412020200041202030004 </State>
<State> $Sum120201002612020200261202030026 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_matcha_milk_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_matcha_milk_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_matcha_milk_tea.png" </FilenameDisable>
@ -7162,15 +7162,15 @@ Pink Rose & Berry" </Value>
Var DrinkDescription = "Green Tea, Milk, Sugar, Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_matcha_milk_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0004.Price
Var PriceD2 = $12-02-02-0004.Price
Var PriceD3 = $12-02-03-0004.Price
Var PD_CODE1 = "12-02-01-0004"
Var PD_CODE2 = "12-02-02-0004"
Var PD_CODE3 = "12-02-03-0004"
Var PD_STAGE_1 = $12-02-01-0004.Button
Var PD_STAGE_2 = $12-02-02-0004.Button
Var PD_STAGE_3 = $12-02-03-0004.Button
Var PriceD1 = $12-02-01-0026.Price
Var PriceD2 = $12-02-02-0026.Price
Var PriceD3 = $12-02-03-0026.Price
Var PD_CODE1 = "12-02-01-0026"
Var PD_CODE2 = "12-02-02-0026"
Var PD_CODE3 = "12-02-03-0026"
Var PD_STAGE_1 = $12-02-01-0026.Button
Var PD_STAGE_2 = $12-02-02-0026.Button
Var PD_STAGE_3 = $12-02-03-0026.Button
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
@ -7186,28 +7186,28 @@ Pink Rose & Berry" </Value>
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-02-02-0004"
Topping "Load" "12-02-02-0026"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0004"
Topping "Load" "12-02-01-0026"
Else
Topping "Load" "12-02-03-0004"
Topping "Load" "12-02-03-0026"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0004.NameE
Var menu_desc_eng_hot = $12-02-01-0004.descriptionE
Var menu_name_thai_hot = $12-02-01-0004.Name
Var menu_desc_thai_hot = $12-02-01-0004.description
Var menu_name_eng_hot = $12-02-01-0026.NameE
Var menu_desc_eng_hot = $12-02-01-0026.descriptionE
Var menu_name_thai_hot = $12-02-01-0026.Name
Var menu_desc_thai_hot = $12-02-01-0026.description
Var menu_name_eng_cold = $12-02-02-0004.NameE
Var menu_desc_eng_cold = $12-02-02-0004.descriptionE
Var menu_name_thai_cold = $12-02-02-0004.Name
Var menu_desc_thai_cold = $12-02-02-0004.description
Var menu_name_eng_cold = $12-02-02-0026.NameE
Var menu_desc_eng_cold = $12-02-02-0026.descriptionE
Var menu_name_thai_cold = $12-02-02-0026.Name
Var menu_desc_thai_cold = $12-02-02-0026.description
Var menu_name_eng_blender = $12-02-03-0004.NameE
Var menu_desc_eng_blender = $12-02-03-0004.descriptionE
Var menu_name_thai_blender = $12-02-03-0004.Name
Var menu_desc_thai_blender = $12-02-03-0004.description
Var menu_name_eng_blender = $12-02-03-0026.NameE
Var menu_desc_eng_blender = $12-02-03-0026.descriptionE
Var menu_name_thai_blender = $12-02-03-0026.Name
Var menu_desc_thai_blender = $12-02-03-0026.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
@ -7268,7 +7268,7 @@ Pink Rose & Berry" </Value>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> $12-02-01-0004.Button </State>
<State> $12-02-01-0026.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
@ -7280,15 +7280,15 @@ Pink Rose & Berry" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0004.Button </State>
<Value> Var( "฿" + $12-02-01-0004.Price ) </Value>
<State> $12-02-01-0026.Button </State>
<Value> Var( "฿" + $12-02-01-0026.Price ) </Value>
</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-0004.Button </State>
<State> $12-02-02-0026.Button </State>
</Image>
<Text>
<X> 115 </X>
@ -7298,15 +7298,15 @@ Pink Rose & Berry" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0004.Button </State>
<Value> Var( "฿" + $12-02-02-0004.Price ) </Value>
<State> $12-02-02-0026.Button </State>
<Value> Var( "฿" + $12-02-02-0026.Price ) </Value>
</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-0004.Button </State>
<State> $12-02-03-0026.Button </State>
</Image>
<Text>
<X> 183 </X>
@ -7316,8 +7316,8 @@ Pink Rose & Berry" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0004.Button </State>
<Value> Var( "฿" + $12-02-03-0004.Price ) </Value>
<State> $12-02-03-0026.Button </State>
<Value> Var( "฿" + $12-02-03-0026.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
@ -7326,7 +7326,7 @@ Pink Rose & Berry" </Value>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201000412020200041202030004 = "Disable" Then
If $Sum120201002612020200261202030026 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
@ -7346,10 +7346,10 @@ Pink Rose & Berry" </Value>
<Y> 117 </Y>
<State>
eval(
If $Sum120201000412020200041202030004 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0004.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0004.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0004.TAG tag3_is_disable
If $Sum120201002612020200261202030026 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0026.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0026.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0026.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
@ -7385,7 +7385,7 @@ Pink Rose & Berry" </Value>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum120201000412020200041202030004 </State>
<State> $Sum120201002612020200261202030026 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>