release 7.12
This commit is contained in:
parent
06d2d76b49
commit
28a63438ff
8 changed files with 1040 additions and 11 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 7 KiB After Width: | Height: | Size: 5.5 KiB |
BIN
image/liveness/bn_retry.png
Normal file
BIN
image/liveness/bn_retry.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
|
|
@ -7,6 +7,8 @@
|
|||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Machine AndroidTemperatureUpdateNow
|
||||
|
||||
Var info_startX = 11
|
||||
Var info_1Y = 250
|
||||
Var info_2Y = 320
|
||||
|
|
@ -46,6 +48,10 @@
|
|||
Var info2_startX = 550
|
||||
Var info2_text_startX = info2_startX + 22
|
||||
|
||||
DEBUGVAR AndroidBoardTemp1
|
||||
DEBUGVAR AndroidBoardTemp2
|
||||
DEBUGVAR AndroidBoardTemp4
|
||||
DEBUGVAR AndroidBoardTemp5
|
||||
DEBUGVAR AndroidBoardTemp10
|
||||
|
||||
Var android_text1_1 = AndroidBoardTemp0
|
||||
|
|
|
|||
|
|
@ -527,7 +527,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
; menu_new_list 38
|
||||
; menu_new_list 40
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0007 12-05-03-0007
|
||||
<Block>
|
||||
|
|
@ -5768,6 +5768,504 @@ SODA" </Value>
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0051 12-05-03-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>
|
||||
<Button>
|
||||
<State> $Sum12050200511205030051 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ginger_soda.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Ginger_soda.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Ginger_soda.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "GINGER SODA"
|
||||
Var NameDrinkTH = "ขิงโซดา"
|
||||
Var DrinkDescriptionTH = "ขิง โซดา "
|
||||
Var DrinkDescription = "Ginger, Soda & Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Ginger_soda.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0051.Price
|
||||
Var PriceD3 = $12-05-03-0051.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0051"
|
||||
Var PD_CODE3 = "12-05-03-0051"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0051.Button
|
||||
Var PD_STAGE_3 = $12-05-03-0051.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-05-02-0051"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "12-05-03-0051"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $12-05-02-0051.NameE
|
||||
Var menu_desc_eng_cold = $12-05-02-0051.descriptionE
|
||||
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
|
||||
|
||||
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> "GINGER SODA" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Ginger, Soda & Ice" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> "Invisible" </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-05-02-0051.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-02-0051.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0051.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $12-05-03-0051.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-03-0051.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0051.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 $Sum12050200511205030051 = "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
|
||||
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> $Sum12050200511205030051 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0052 12-05-03-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>
|
||||
<Button>
|
||||
<State> $Sum12050200521205030052 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Gingerlime_soda.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Gingerlime_soda.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Gingerlime_soda.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "GINGER LIME
|
||||
SODA"
|
||||
Var NameDrinkTH = "ขิงมะนาวโซดา"
|
||||
Var DrinkDescriptionTH = "ขิง มะนาว โซดา "
|
||||
Var DrinkDescription = "Ginger, Lime, Soda & Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Gingerlime_soda.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0052.Price
|
||||
Var PriceD3 = $12-05-03-0052.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0052"
|
||||
Var PD_CODE3 = "12-05-03-0052"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0052.Button
|
||||
Var PD_STAGE_3 = $12-05-03-0052.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-05-02-0052"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "12-05-03-0052"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $12-05-02-0052.NameE
|
||||
Var menu_desc_eng_cold = $12-05-02-0052.descriptionE
|
||||
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
|
||||
|
||||
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> "GINGER LIME
|
||||
SODA" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Ginger, Lime, Soda & Ice" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> "Invisible" </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-05-02-0052.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-02-0052.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0052.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $12-05-03-0052.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-03-0052.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0052.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 $Sum12050200521205030052 = "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
|
||||
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> $Sum12050200521205030052 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
|
|
|
|||
|
|
@ -530,7 +530,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
; menu_new_list 27
|
||||
; menu_new_list 29
|
||||
; ==================> Len = 11
|
||||
; 12-02-01-0001 12-02-02-0001 12-02-03-0001
|
||||
<Block>
|
||||
|
|
@ -1033,6 +1033,258 @@
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; 12-02-01-0041 12-02-02-0041 12-02-03-0041
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0041.Button,12-02-02-0041.Button,12-02-03-0041.Button,$Sum120201004112020200411202030041) </State>
|
||||
<Button>
|
||||
<State> $Sum120201004112020200411202030041 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_Ginger_tea.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_Ginger_tea.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_Ginger_tea.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "GINGER TEA"
|
||||
Var NameDrinkTH = "ชาขิง "
|
||||
Var DrinkDescriptionTH = "ขิง และ น้ำ "
|
||||
Var DrinkDescription = "Ginger & Water "
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_Ginger_tea.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0041.Price
|
||||
Var PriceD2 = $12-02-02-0041.Price
|
||||
Var PriceD3 = $12-02-03-0041.Price
|
||||
Var PD_CODE1 = "12-02-01-0041"
|
||||
Var PD_CODE2 = "12-02-02-0041"
|
||||
Var PD_CODE3 = "12-02-03-0041"
|
||||
Var PD_STAGE_1 = $12-02-01-0041.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0041.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0041.Button
|
||||
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-0041"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0041"
|
||||
Else
|
||||
Topping "Load" "12-02-03-0041"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-02-01-0041.NameE
|
||||
Var menu_desc_eng_hot = $12-02-01-0041.descriptionE
|
||||
Var menu_name_thai_hot = $12-02-01-0041.Name
|
||||
Var menu_desc_thai_hot = $12-02-01-0041.description
|
||||
|
||||
Var menu_name_eng_cold = $12-02-02-0041.NameE
|
||||
Var menu_desc_eng_cold = $12-02-02-0041.descriptionE
|
||||
Var menu_name_thai_cold = $12-02-02-0041.Name
|
||||
Var menu_desc_thai_cold = $12-02-02-0041.description
|
||||
|
||||
Var menu_name_eng_blender = $12-02-03-0041.NameE
|
||||
Var menu_desc_eng_blender = $12-02-03-0041.descriptionE
|
||||
Var menu_name_thai_blender = $12-02-03-0041.Name
|
||||
Var menu_desc_thai_blender = $12-02-03-0041.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> "GINGER 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> "Ginger & Water " </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-0041.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-0041.Button </State>
|
||||
<Value> StringFmt( $12-02-01-0041.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-0041.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-0041.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0041.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-0041.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-0041.Button </State>
|
||||
<Value> StringFmt( $12-02-03-0041.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201004112020200411202030041 = "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 $Sum120201004112020200411202030041 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0041.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0041.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0041.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> $Sum120201004112020200411202030041 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
|
|
@ -1791,6 +2043,260 @@ GINGER TEA" </Value>
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; 12-02-01-0042 12-02-02-0042 12-02-03-0042
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0042.Button,12-02-02-0042.Button,12-02-03-0042.Button,$Sum120201004212020200421202030042) </State>
|
||||
<Button>
|
||||
<State> $Sum120201004212020200421202030042 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_Ginger_lemon_tea.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_Ginger_lemon_tea.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_Ginger_lemon_tea.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "LIME
|
||||
GINGER TEA"
|
||||
Var NameDrinkTH = "ชาขิงมะนาว "
|
||||
Var DrinkDescriptionTH = "ขิง มะนาว และน้ำ "
|
||||
Var DrinkDescription = "Ginger, Lime & Water "
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_Ginger_lemon_tea.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0042.Price
|
||||
Var PriceD2 = $12-02-02-0042.Price
|
||||
Var PriceD3 = $12-02-03-0042.Price
|
||||
Var PD_CODE1 = "12-02-01-0042"
|
||||
Var PD_CODE2 = "12-02-02-0042"
|
||||
Var PD_CODE3 = "12-02-03-0042"
|
||||
Var PD_STAGE_1 = $12-02-01-0042.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0042.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0042.Button
|
||||
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-0042"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0042"
|
||||
Else
|
||||
Topping "Load" "12-02-03-0042"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-02-01-0042.NameE
|
||||
Var menu_desc_eng_hot = $12-02-01-0042.descriptionE
|
||||
Var menu_name_thai_hot = $12-02-01-0042.Name
|
||||
Var menu_desc_thai_hot = $12-02-01-0042.description
|
||||
|
||||
Var menu_name_eng_cold = $12-02-02-0042.NameE
|
||||
Var menu_desc_eng_cold = $12-02-02-0042.descriptionE
|
||||
Var menu_name_thai_cold = $12-02-02-0042.Name
|
||||
Var menu_desc_thai_cold = $12-02-02-0042.description
|
||||
|
||||
Var menu_name_eng_blender = $12-02-03-0042.NameE
|
||||
Var menu_desc_eng_blender = $12-02-03-0042.descriptionE
|
||||
Var menu_name_thai_blender = $12-02-03-0042.Name
|
||||
Var menu_desc_thai_blender = $12-02-03-0042.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> "LIME
|
||||
GINGER 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> "Ginger, Lime & Water " </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-0042.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-0042.Button </State>
|
||||
<Value> StringFmt( $12-02-01-0042.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-0042.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-0042.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0042.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-0042.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-0042.Button </State>
|
||||
<Value> StringFmt( $12-02-03-0042.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201004212020200421202030042 = "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 $Sum120201004212020200421202030042 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0042.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0042.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0042.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> $Sum120201004212020200421202030042 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
Var FaceCompareStatus = ""
|
||||
Var load_gif_stage = "Enable"
|
||||
Var IDcardTextState = "Invisible"
|
||||
Var ButtonRetryState = "Invisible"
|
||||
</EventOpen>
|
||||
|
||||
<EventActionOk>
|
||||
|
|
@ -46,6 +47,8 @@
|
|||
Var IDcardTextState = "Enable"
|
||||
Var IDcardTextStatus = "ใบหน้าไม่เหมือนกับบัตร"
|
||||
|
||||
Var ButtonRetryState = "Enable"
|
||||
|
||||
;CameraCmd "usbfront" "--delete-file" "/mnt/sdcard/camera1.jpg"
|
||||
|
||||
Var save_file_name = "face_" + SystemDateMonth
|
||||
|
|
@ -133,7 +136,7 @@
|
|||
; back
|
||||
<Button>
|
||||
<X> 356 </X>
|
||||
<Y> 1608 </Y>
|
||||
<Y> 1609 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/liveness/bn_cancel.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/liveness/bn_cancel.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
|
|
@ -144,6 +147,21 @@
|
|||
</Button>
|
||||
|
||||
|
||||
; retry
|
||||
<Button>
|
||||
<X> 356 </X>
|
||||
<Y> 1386 </Y>
|
||||
<State> ButtonRetryState </State>
|
||||
<Filename> "ROOT/taobin_project/image/liveness/bn_retry.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/liveness/bn_retry.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_identity_verification.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
<GIF>
|
||||
|
|
|
|||
|
|
@ -317,16 +317,17 @@
|
|||
<Image>
|
||||
<X> 351 </X>
|
||||
<Y> 880 </Y>
|
||||
<State> CameraStage </State>
|
||||
<Filename> "ROOT/taobin_project/image/liveness/bg3.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 249 </X>
|
||||
<Y> 751 </Y>
|
||||
<State> IDcardStage </State>
|
||||
<Filename> "ROOT/taobin_project/image/liveness/bg1.png" </Filename>
|
||||
</Image>
|
||||
;<Image>
|
||||
;<X> 249 </X>
|
||||
;<Y> 751 </Y>
|
||||
;<State> IDcardStage </State>
|
||||
;<Filename> "ROOT/taobin_project/image/liveness/bg1.png" </Filename>
|
||||
;</Image>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
|
|
|
|||
|
|
@ -108,8 +108,8 @@
|
|||
Var RandomPromotionMyworld = 0
|
||||
Var RandomSalePackage = 0
|
||||
|
||||
Var XMLPageVersion = "7.10"
|
||||
Var XMLPageVersionInt = 710
|
||||
Var XMLPageVersion = "7.12"
|
||||
Var XMLPageVersionInt = 712
|
||||
</EventOpen>
|
||||
|
||||
<Text>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue