This commit is contained in:
kong 2023-05-31 15:06:34 +07:00
parent 074b805898
commit d2469e310c
37 changed files with 1535 additions and 20659 deletions

View file

@ -223,15 +223,30 @@
If CupOnArm = "true" Then
If CheckCupStateDoorCupClose = "" Then
If buttonRemoveCup = "Enable" Then
Else
Refresh
EndIf
Var buttonRemoveCup = "Enable"
EndIf
If CheckCupStateDoorCupClose = "done" Then
If buttonRemoveCup = "Enable" Then
Else
Refresh
EndIf
Var buttonRemoveCup = "Enable"
EndIf
Else
If buttonRemoveCup = "Enable" Then
Var buttonRemoveCup = "Invisible"
Refresh
EndIf
EndIf
@ -5750,15 +5765,15 @@ SODA" </Value>
</Block>
; - - -
; ==================> Len = 16
; - 12-05-02-0051 12-05-03-0051
; - 12-05-02-0051 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-05-02-0051.Button,12-05-03-0051.Button,$Sum12050200511205030051) </State>
<State> Flag( 12-05-02-0051.Button,$Sum1205020051) </State>
<Button>
<State> $Sum12050200511205030051 </State>
<State> $Sum1205020051 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ginger_soda_Doikum.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Ginger_soda_Doikum.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Ginger_soda_Doikum.png" </FilenameDisable>
@ -5773,13 +5788,13 @@ SODA" </Value>
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-05-02-0051.Price
Var PriceD3 = $12-05-03-0051.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-05-02-0051"
Var PD_CODE3 = "12-05-03-0051"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-05-02-0051.Button
Var PD_STAGE_3 = $12-05-03-0051.Button
Var PD_STAGE_3 = "Disable2"
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
@ -5800,7 +5815,7 @@ SODA" </Value>
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-05-03-0051"
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
@ -5813,10 +5828,10 @@ SODA" </Value>
Var menu_name_thai_cold = $12-05-02-0051.Name
Var menu_desc_thai_cold = $12-05-02-0051.description
Var menu_name_eng_blender = $12-05-03-0051.NameE
Var menu_desc_eng_blender = $12-05-03-0051.descriptionE
Var menu_name_thai_blender = $12-05-03-0051.Name
Var menu_desc_thai_blender = $12-05-03-0051.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
@ -5916,7 +5931,7 @@ SODA" </Value>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-05-03-0051.Button </State>
<State> "Invisible" </State>
</Image>
<Text>
<X> 180 </X>
@ -5926,8 +5941,8 @@ SODA" </Value>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-05-03-0051.Button </State>
<Value> StringFmt( $12-05-03-0051.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
@ -5952,10 +5967,10 @@ SODA" </Value>
<Y> 117 </Y>
<State>
eval(
If $Sum12050200511205030051 = "Disable" Then
If $Sum1205020051 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-05-02-0051.TAG tag2_is_disable
STRCONTAIN "ERR" $12-05-03-0051.TAG tag3_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
@ -5991,22 +6006,22 @@ SODA" </Value>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum12050200511205030051 </State>
<State> $Sum1205020051 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 16
; - 12-05-02-0052 12-05-03-0052
; - 12-05-02-0052 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-05-02-0052.Button,12-05-03-0052.Button,$Sum12050200521205030052) </State>
<State> Flag( 12-05-02-0052.Button,$Sum1205020052) </State>
<Button>
<State> $Sum12050200521205030052 </State>
<State> $Sum1205020052 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Gingerlime_soda_Doikum.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Gingerlime_soda_Doikum.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Gingerlime_soda_Doikum.png" </FilenameDisable>
@ -6021,13 +6036,13 @@ SODA" </Value>
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-05-02-0052.Price
Var PriceD3 = $12-05-03-0052.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-05-02-0052"
Var PD_CODE3 = "12-05-03-0052"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-05-02-0052.Button
Var PD_STAGE_3 = $12-05-03-0052.Button
Var PD_STAGE_3 = "Disable2"
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
@ -6048,7 +6063,7 @@ SODA" </Value>
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-05-03-0052"
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
@ -6061,10 +6076,10 @@ SODA" </Value>
Var menu_name_thai_cold = $12-05-02-0052.Name
Var menu_desc_thai_cold = $12-05-02-0052.description
Var menu_name_eng_blender = $12-05-03-0052.NameE
Var menu_desc_eng_blender = $12-05-03-0052.descriptionE
Var menu_name_thai_blender = $12-05-03-0052.Name
Var menu_desc_thai_blender = $12-05-03-0052.description
Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
Var menu_name_thai_blender = $##-##-##-####.Name
Var menu_desc_thai_blender = $##-##-##-####.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
@ -6165,7 +6180,7 @@ SODA" </Value>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-05-03-0052.Button </State>
<State> "Invisible" </State>
</Image>
<Text>
<X> 180 </X>
@ -6175,8 +6190,8 @@ SODA" </Value>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-05-03-0052.Button </State>
<Value> StringFmt( $12-05-03-0052.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
@ -6201,10 +6216,10 @@ SODA" </Value>
<Y> 117 </Y>
<State>
eval(
If $Sum12050200521205030052 = "Disable" Then
If $Sum1205020052 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-05-02-0052.TAG tag2_is_disable
STRCONTAIN "ERR" $12-05-03-0052.TAG tag3_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
@ -6240,7 +6255,7 @@ SODA" </Value>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum12050200521205030052 </State>
<State> $Sum1205020052 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>