Merge branch 'master' of ssh://192.168.10.159:/1TBHDD/ikong/taobin_project

This commit is contained in:
pichet 2022-10-27 14:03:17 +07:00
commit 21340bc242
214 changed files with 6539 additions and 24444 deletions

View file

@ -92,6 +92,10 @@
EndIf
EndIf
;Var Menu22Selected = "Enable"
Var Menu22Selected = "Invisible"
If RecipeTag1 = "HealthTurnOn" Then
Var Menu22Selected = "Enable"
Else
Var Menu22Selected = "Invisible"
EndIf
;

View file

@ -317,7 +317,12 @@
out_xml( '\t<ColorDisable> 0xEAE6E1 </ColorDisable>\r\n')
out_xml( '\t<State> ' + shw + ' </State>\r\n')
out_xml( '\t<Value> Var( "฿" + $' + spl[4] + '.Price ) </Value>\r\n')
#out_xml( '\t<Value> Var( "฿" + $' + spl[4] + '.Price ) </Value>\r\n')
if "inter" in param:
out_xml( '\t<Value> IntFormat( $' + spl[4] + '.Price ,$%.2f, /100) </Value>; test\r\n')
else:
out_xml( '\t<Value> Var( "฿" + $' + spl[4] + '.Price ) </Value>\r\n')
out_xml( '\t</Text>\r\n')
ice_tab_ice_show = True
@ -348,7 +353,10 @@
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
out_xml( '\t<ColorDisable> 0xEAE6E1 </ColorDisable>\r\n')
out_xml( '\t<State> ' + shw + ' </State>\r\n')
out_xml( '\t<Value> Var( "฿" + $' + spl[5] + '.Price ) </Value>\r\n')
if "inter" in param:
out_xml( '\t<Value> IntFormat( $' + spl[5] + '.Price ,$%.2f, /100) </Value>; test\r\n')
else:
out_xml( '\t<Value> Var( "฿" + $' + spl[5] + '.Price ) </Value>\r\n')
out_xml( '\t</Text>\r\n')
ice_tab_blend_show = True
@ -371,15 +379,28 @@
out_xml( '\t</Image>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> 183 </X>\r\n')
out_xml( '\t<Y> 265 </Y>\r\n')
out_xml( '\t<Size> 14 </Size>\r\n')
out_xml( '\t<Width>220</Width>\r\n')
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
if "inter" in param:
out_xml( '\t<X> 180 </X>\r\n')
out_xml( '\t<Y> 266 </Y>\r\n')
out_xml( '\t<Size> 12 </Size>\r\n')
out_xml( '\t<Width>220</Width>\r\n')
out_xml( '\t<Font> KanitRegularTTF </Font>\r\n')
#out_xml( '\t<Align> end </Align>\r\n')
else:
out_xml( '\t<X> 183 </X>\r\n')
out_xml( '\t<Y> 264 </Y>\r\n')
out_xml( '\t<Size> 14 </Size>\r\n')
out_xml( '\t<Width>220</Width>\r\n')
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
out_xml( '\t<ColorDisable> 0xEAE6E1 </ColorDisable>\r\n')
out_xml( '\t<State> ' + shw + ' </State>\r\n')
out_xml( '\t<Value> Var( "฿" + $' + spl[6] + '.Price ) </Value>\r\n')
if "inter" in param:
out_xml( '\t<Value> IntFormat( $' + spl[6] + '.Price ,$%.2f, /100) </Value>; test\r\n')
else:
out_xml( '\t<Value> Var( "฿" + $' + spl[6] + '.Price ) </Value>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Image>\r\n')
@ -461,7 +482,7 @@
if param == "old":
print("param=" + param)
print(";param=" + param)
else:
out_xml( '\t<Text>\r\n')
@ -482,9 +503,9 @@
out_xml( '</Block>\r\n')
###############################################################################
if len(spl) == 11:
out_xml( '\t; '+ spl[8] + ' ' + spl[9] + ' ' + spl[10]+ ' \r\n')
if spl[8] != '-' or spl[9] != '-' or spl[10] != '-':
menu_img = spl[7]
out_xml( '\t; '+ spl[8] + ' ' + spl[9] + ' ' + spl[10]+ ' \r\n')
out_xml( '<Block>\r\n')
out_xml('\t<MarginLeft> 33 </MarginLeft>\r\n')
out_xml('\t<MarginTop> 22 </MarginTop>\r\n')

View file

@ -122,6 +122,9 @@
If NeedUpgrade = "true" Then
Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf
Var TestLoopMakeDrink = 0
@ -177,24 +180,54 @@
DEBUGVAR AppFastEnable
DEBUGVAR MenuKidEnable
DEBUGVAR TaobinOnline
DEBUGVAR TermTemOnline
;DEBUGVAR TermTemOnline
DEBUGVAR WheyEnable
; Dtac.
DEBUGVAR ShowDtac1
Var CAMPAIGN1 = "false"
If TaobinOnlineX = "true" Then
Var EventTurnOn = 0
Var CountDownShowButton = 35
Var ShowButtonClickFull = "Invisible"
Var VideoMainPage = "ROOT/taobin_project/video/main_page.mp4"
DEBUGVAR SystemDateMonth
DEBUGVAR SystemDateDay
If SystemDateMonth = 10 Then
Var EventTurnOn = 1
EndIf
DEBUGVAR EventTurnOn
If SystemDateMonth = 11 Then
If SystemDateDay > 0 Then
If SystemDateDay < 10 Then
Var EventTurnOn = 2
EndIf
EndIf
EndIf
If EventTurnOn = 1 Then
Var ShowButtonClickFull = "Invisible"
Var CountDownShowButton = 0
Var VideoMainPage = "ROOT/taobin_project/video/main_page_event.mp4"
EndIf
If EventTurnOn = 2 Then
Var ShowButtonClickFull = "Invisible"
Var CountDownShowButton = 0
Var VideoMainPage = "ROOT/taobin_project/video/main_page_event_alter.mp4"
EndIf
;Var ShowButtonClickFull = "Invisible"
;Var CountDownShowButton = 0
;Var VideoMainPage = "ROOT/taobin_project/video/main_page_event.mp4"
EndIf
If TermTemOnline = "true" Then
Var CountDownShowButton = 28
@ -669,11 +702,9 @@
Var NextPage = "ROOT/taobin_project/xml/page_back_to_main.xml"
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
If new_layout = "true" Then
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_group_recommend.xml"
Else
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_choose_drink1.xml"
EndIf
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_group_recommend.xml"
Machine DoorClose
TopView "show"
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"

View file

@ -55,6 +55,9 @@
Var bnGetMoreStrawFileName = "ROOT/taobin_project/image/page_doing/bn_get_more_straw_en.png"
Var bpGetMoreStrawFileName = "ROOT/taobin_project/image/page_doing/bp_get_more_straw_en.png"
Var bnStrawProblemReport = "ROOT/taobin_project/image/page_doing/bn_send_report_straw_en.png"
Var bpStrawProblemReport = "ROOT/taobin_project/image/page_doing/bp_send_report_straw_en.png"
Var XStraw = 336
Else
;Var DirImage = "ROOT/taobin_project/image/collect_point1"
@ -66,6 +69,9 @@
Var bnGetMoreStrawFileName = "ROOT/taobin_project/image/page_doing/bn_get_more_straw.png"
Var bpGetMoreStrawFileName = "ROOT/taobin_project/image/page_doing/bp_get_more_straw.png"
Var bnStrawProblemReport = "ROOT/taobin_project/image/page_doing/bn_send_report_straw.png"
Var bpStrawProblemReport = "ROOT/taobin_project/image/page_doing/bp_send_report_straw.png"
Var XStraw = 382
EndIf
@ -256,6 +262,7 @@
; Hide
Var bg_strawlid_ST = "Invisible"
Var bg_strawProblem_ST = "Invisible"
Var StrawProblemStatus = 1
Var StrawStateX = "Invisible"
Var LidStateX = "Invisible"
@ -1075,6 +1082,14 @@
EndIf
EndIf
If GetMoreStrawCount <= 0 Then
If StrawProblemStatus = 1 Then
Var StrawProblemStatus = 2
Var bg_strawProblem_ST = "Enable"
EndIf
EndIf
Refresh
TimerReset
@ -1304,6 +1319,23 @@
</EventClick>
</Button>
<Button>
<X> XStraw </X>
<Y> 1787 </Y>
<State>bg_strawProblem_ST</State>
<Filename> bnStrawProblemReport </Filename>
<FilenamePress> bpStrawProblemReport </FilenamePress>
<EventClick>
Var strawStr = "แจ้งปัญหาไม่ได้รับหลอด"
__CMD "straw-alert" 0 strawStr "-"
__CMD "send-error-code" 1231 "-" "-"
Var bg_strawProblem_ST = "Invisible"
Refresh
</EventClick>
</Button>
<Button>

View file

@ -5,11 +5,19 @@
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
DEBUGVAR RecipeTag1
If RecipeTag1 = "HealthTurnOn" Then
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog2.xml"
EndIf
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
TopView "show"
; On open
DEBUGVAR ToppingNewShow
Var NextPage = "-"
@ -31,8 +39,10 @@
If TermTemOnline = "true" Then
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_tt_catalog.xml"
EndIf
;Machine DoorLidClose
If Seeker = "curr" Then
Machine DoorLidClose
EndIf
Var GetPayInfoFlag = 0
Var countDownRetrun = 30

View file

@ -10,6 +10,7 @@
TopView "show"
; On open
DEBUGVAR ToppingNewShow
Var NextPage = "-"
@ -32,7 +33,9 @@
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_tt_catalog.xml"
EndIf
;Machine DoorLidClose
If Seeker = "curr" Then
Machine DoorLidClose
EndIf
Var GetPayInfoFlag = 0
Var countDownRetrun = 30
@ -427,7 +430,7 @@
<Button>
<X> 564 </X>
<Y> 1532 </Y>
<State>"Press"</State>
<State> "Enable" </State>
<Filename> Var(DirImage + "/bn_HealthyOption.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_HealthyOption.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>

View file

@ -102,9 +102,13 @@
EndIf
EndIf
;Var Menu22Selected = "Enable"
Var Menu22Selected = "Invisible"
If RecipeTag1 = "HealthTurnOn" Then
Var Menu22Selected = "Enable"
Else
Var Menu22Selected = "Invisible"
EndIf
;
@ -519,7 +523,7 @@
Var block_index_move = 0
</Script>
; menu_new_list 5
; ==================> Len = 8
; ==================> Len = 16
; - 12-04-02-1018 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -692,7 +696,7 @@ essential nutrients" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -768,7 +772,8 @@ essential nutrients" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-1019 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -940,7 +945,7 @@ essential nutrients" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -1016,7 +1021,8 @@ essential nutrients" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-1020 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1189,7 +1195,7 @@ essential nutrients" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -1265,7 +1271,8 @@ essential nutrients" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-1021 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1438,7 +1445,7 @@ essential nutrients" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -1514,7 +1521,8 @@ essential nutrients" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-1022 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1687,7 +1695,7 @@ essential nutrients" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -1763,6 +1771,7 @@ essential nutrients" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
</FrameScroll>
; Cart
<Button>

View file

@ -102,9 +102,13 @@
EndIf
EndIf
;Var Menu22Selected = "Enable"
Var Menu22Selected = "Invisible"
If RecipeTag1 = "HealthTurnOn" Then
Var Menu22Selected = "Enable"
Else
Var Menu22Selected = "Invisible"
EndIf
;
; protein

File diff suppressed because it is too large Load diff

View file

@ -102,9 +102,13 @@
EndIf
EndIf
;Var Menu22Selected = "Enable"
Var Menu22Selected = "Invisible"
If RecipeTag1 = "HealthTurnOn" Then
Var Menu22Selected = "Enable"
Else
Var Menu22Selected = "Invisible"
EndIf
;
; protein
@ -519,7 +523,7 @@
Var block_index_move = 0
</Script>
; menu_new_list 13
; ==================> Len = 8
; ==================> Len = 16
; 12-03-01-0005 12-03-02-0005 12-03-03-0005
<Block>
<MarginLeft> 33 </MarginLeft>
@ -689,7 +693,7 @@
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -769,7 +773,8 @@
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-03-01-0001 12-03-02-0001 12-03-03-0001
<Block>
<MarginLeft> 33 </MarginLeft>
@ -939,7 +944,7 @@
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -1019,7 +1024,8 @@
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-03-01-0003 12-03-02-0003 12-03-03-0003
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1190,7 +1196,7 @@ MILK" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -1270,7 +1276,8 @@ MILK" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-03-02-0006 12-03-03-0006
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1441,7 +1448,7 @@ MILK" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -1517,7 +1524,8 @@ MILK" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-03-01-0002 12-03-02-0002 12-03-03-0002
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1687,7 +1695,7 @@ MILK" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -1767,7 +1775,8 @@ MILK" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-03-01-0022 12-03-02-0022 12-03-03-0022
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1937,7 +1946,7 @@ MILK" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -2017,7 +2026,8 @@ MILK" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - - 12-03-03-0010
<Block>
<MarginLeft> 33 </MarginLeft>
@ -2189,7 +2199,7 @@ SMOOTHIE" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -2265,7 +2275,8 @@ SMOOTHIE" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - - 12-03-03-0020
<Block>
<MarginLeft> 33 </MarginLeft>
@ -2436,7 +2447,7 @@ VOLCANO" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -2512,7 +2523,8 @@ VOLCANO" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - - 12-03-03-0021
<Block>
<MarginLeft> 33 </MarginLeft>
@ -2683,7 +2695,7 @@ VOLCANO" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -2759,7 +2771,8 @@ VOLCANO" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-05-02-0041 12-05-03-0041
<Block>
<MarginLeft> 33 </MarginLeft>
@ -2929,7 +2942,7 @@ VOLCANO" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -3005,7 +3018,8 @@ VOLCANO" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-05-02-0008 12-05-03-0008
<Block>
<MarginLeft> 33 </MarginLeft>
@ -3175,7 +3189,7 @@ VOLCANO" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -3251,7 +3265,8 @@ VOLCANO" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-05-02-0044 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -3422,7 +3437,7 @@ VOLCANO" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -3498,7 +3513,8 @@ VOLCANO" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-05-02-0045 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -3669,7 +3685,7 @@ VOLCANO" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -3745,6 +3761,7 @@ VOLCANO" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
</FrameScroll>
; Cart
<Button>

View file

@ -102,9 +102,13 @@
EndIf
EndIf
;Var Menu22Selected = "Enable"
Var Menu22Selected = "Invisible"
If RecipeTag1 = "HealthTurnOn" Then
Var Menu22Selected = "Enable"
Else
Var Menu22Selected = "Invisible"
EndIf
;
Var Menu22Selected = "PressForever"
@ -510,7 +514,7 @@
Var block_index_move = 0
</Script>
; menu_new_list 17
; ==================> Len = 8
; ==================> Len = 16
; 12-01-01-1003 12-01-02-1001 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -682,7 +686,7 @@
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -762,7 +766,8 @@
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-01-01-1004 12-01-02-1002 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -933,7 +938,7 @@ Foamed milk" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -1013,7 +1018,8 @@ Foamed milk" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-01-01-1006 12-01-02-1003 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1185,7 +1191,7 @@ Milk, Sugar" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -1265,7 +1271,8 @@ Milk, Sugar" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-01-01-1099 12-01-02-1099 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1436,7 +1443,7 @@ Foamed milk" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -1516,7 +1523,8 @@ Foamed milk" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-02-01-1024 12-02-02-1024 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1686,7 +1694,7 @@ Foamed milk" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -1766,7 +1774,8 @@ Foamed milk" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-02-01-1025 12-02-02-1025 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1938,7 +1947,7 @@ and Milk" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -2018,7 +2027,8 @@ and Milk" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-02-01-1026 12-02-02-1026 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -2188,7 +2198,7 @@ and Milk" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -2268,7 +2278,8 @@ and Milk" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-02-01-1027 12-02-02-1027 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -2438,7 +2449,7 @@ and Milk" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -2518,7 +2529,8 @@ and Milk" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-02-01-1029 12-02-02-1029 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -2688,7 +2700,7 @@ and Milk" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -2768,7 +2780,8 @@ and Milk" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-02-01-1030 12-02-02-1030 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -2939,7 +2952,7 @@ LIMENADE" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -3019,7 +3032,8 @@ LIMENADE" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-02-01-1031 12-02-02-1031 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -3189,7 +3203,7 @@ LIMENADE" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -3269,7 +3283,8 @@ LIMENADE" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-02-01-1032 12-02-02-1032 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -3442,7 +3457,7 @@ Water, and Ice" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -3522,7 +3537,8 @@ Water, and Ice" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-02-01-1037 12-02-02-1037 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -3692,7 +3708,7 @@ Water, and Ice" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -3772,7 +3788,8 @@ Water, and Ice" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-03-01-1002 12-03-02-1002 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -3942,7 +3959,7 @@ Water, and Ice" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -4022,7 +4039,8 @@ Water, and Ice" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-03-01-1005 12-03-02-1005 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -4192,7 +4210,7 @@ Water, and Ice" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -4272,7 +4290,8 @@ Water, and Ice" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-05-01-1001 12-05-02-1001 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -4442,7 +4461,7 @@ Water, and Ice" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -4522,7 +4541,8 @@ Water, and Ice" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-05-02-1010 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -4693,7 +4713,7 @@ SODA" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -4769,6 +4789,7 @@ SODA" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
</FrameScroll>
; Cart
<Button>

View file

@ -102,9 +102,13 @@
EndIf
EndIf
;Var Menu22Selected = "Enable"
Var Menu22Selected = "Invisible"
If RecipeTag1 = "HealthTurnOn" Then
Var Menu22Selected = "Enable"
Else
Var Menu22Selected = "Invisible"
EndIf
;
Var Menu4Selected = "PressForever"
@ -506,8 +510,8 @@
Var block_index_override = 0
Var block_index_move = 0
</Script>
; menu_new_list 14
; ==================> Len = 8
; menu_new_list 13
; ==================> Len = 16
; 12-03-01-0005 12-03-02-0005 12-03-03-0005
<Block>
<MarginLeft> 33 </MarginLeft>
@ -677,7 +681,7 @@
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -757,7 +761,8 @@
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-03-01-0001 12-03-02-0001 12-03-03-0001
<Block>
<MarginLeft> 33 </MarginLeft>
@ -927,7 +932,7 @@
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -1007,7 +1012,8 @@
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-03-01-0004 12-03-02-0004 12-03-03-0004
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1179,7 +1185,7 @@ Caramel Syrup" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -1259,7 +1265,8 @@ Caramel Syrup" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-03-01-0003 12-03-02-0003 12-03-03-0003
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1430,7 +1437,7 @@ MILK" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -1510,7 +1517,8 @@ MILK" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-03-02-0006 12-03-03-0006
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1681,7 +1689,7 @@ MILK" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -1757,7 +1765,8 @@ MILK" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-03-01-0002 12-03-02-0002 12-03-03-0002
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1927,7 +1936,7 @@ MILK" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -2007,7 +2016,8 @@ MILK" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - - 12-03-03-0010
<Block>
<MarginLeft> 33 </MarginLeft>
@ -2179,7 +2189,7 @@ SMOOTHIE" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -2255,7 +2265,8 @@ SMOOTHIE" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - - 12-03-03-0011
<Block>
<MarginLeft> 33 </MarginLeft>
@ -2427,7 +2438,7 @@ SMOOTHIE" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -2503,7 +2514,8 @@ SMOOTHIE" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - - 12-03-03-0009
<Block>
<MarginLeft> 33 </MarginLeft>
@ -2675,7 +2687,7 @@ VOLCANO" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -2751,7 +2763,8 @@ VOLCANO" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-03-01-0019 12-03-02-0019 12-03-03-0019
<Block>
<MarginLeft> 33 </MarginLeft>
@ -2921,7 +2934,7 @@ VOLCANO" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -3001,7 +3014,8 @@ VOLCANO" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - - 12-03-03-0020
<Block>
<MarginLeft> 33 </MarginLeft>
@ -3172,7 +3186,7 @@ VOLCANO" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -3248,7 +3262,8 @@ VOLCANO" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - - 12-03-03-0021
<Block>
<MarginLeft> 33 </MarginLeft>
@ -3419,7 +3434,7 @@ VOLCANO" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -3495,7 +3510,8 @@ VOLCANO" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; 12-03-01-0022 12-03-02-0022 12-03-03-0022
<Block>
<MarginLeft> 33 </MarginLeft>
@ -3665,7 +3681,7 @@ VOLCANO" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -3745,256 +3761,7 @@ VOLCANO" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-03-01-0024 12-03-02-0024 12-03-03-0024
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-03-01-0024.Button,12-03-02-0024.Button,12-03-03-0024.Button,$Sum120301002412030200241203030024) </State>
<Button>
<State> $Sum120301002412030200241203030024 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Milk_Lychee_smoothie.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Milk_Lychee_smoothie.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Milk_Lychee_smoothie.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "LYCHEE MILK"
Var NameDrinkTH = "นมลิ้นจี่"
Var DrinkDescriptionTH = "นม และ น้ำเชื่อมลิ้นจี่"
Var DrinkDescription = "Milk & Lychee Syrup"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Milk_Lychee_smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-03-01-0024.Price
Var PriceD2 = $12-03-02-0024.Price
Var PriceD3 = $12-03-03-0024.Price
Var PD_CODE1 = "12-03-01-0024"
Var PD_CODE2 = "12-03-02-0024"
Var PD_CODE3 = "12-03-03-0024"
Var PD_STAGE_1 = $12-03-01-0024.Button
Var PD_STAGE_2 = $12-03-02-0024.Button
Var PD_STAGE_3 = $12-03-03-0024.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-03-02-0024"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-03-01-0024"
Else
Topping "Load" "12-03-03-0024"
EndIf
EndIf
Var menu_name_eng_hot = $12-03-01-0024.NameE
Var menu_desc_eng_hot = $12-03-01-0024.descriptionE
Var menu_name_thai_hot = $12-03-01-0024.Name
Var menu_desc_thai_hot = $12-03-01-0024.description
Var menu_name_eng_cold = $12-03-02-0024.NameE
Var menu_desc_eng_cold = $12-03-02-0024.descriptionE
Var menu_name_thai_cold = $12-03-02-0024.Name
Var menu_desc_thai_cold = $12-03-02-0024.description
Var menu_name_eng_blender = $12-03-03-0024.NameE
Var menu_desc_eng_blender = $12-03-03-0024.descriptionE
Var menu_name_thai_blender = $12-03-03-0024.Name
Var menu_desc_thai_blender = $12-03-03-0024.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "LYCHEE MILK" </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> "Milk & Lychee Syrup" </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-0024.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-03-01-0024.Button </State>
<Value> Var( "฿" + $12-03-01-0024.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-03-02-0024.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-03-02-0024.Button </State>
<Value> Var( "฿" + $12-03-02-0024.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-03-03-0024.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-03-03-0024.Button </State>
<Value> Var( "฿" + $12-03-03-0024.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120301002412030200241203030024 = "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 $Sum120301002412030200241203030024 = "Disable" Then
STRCONTAIN "ERR" $12-03-01-0024.TAG tag1_is_disable
STRCONTAIN "ERR" $12-03-02-0024.TAG tag2_is_disable
STRCONTAIN "ERR" $12-03-03-0024.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> $Sum120301002412030200241203030024 </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

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -102,9 +102,13 @@
EndIf
EndIf
;Var Menu22Selected = "Enable"
Var Menu22Selected = "Invisible"
If RecipeTag1 = "HealthTurnOn" Then
Var Menu22Selected = "Enable"
Else
Var Menu22Selected = "Invisible"
EndIf
;
If AppFastEnable = "true" Then
@ -513,8 +517,8 @@
Var block_index_override = 0
Var block_index_move = 0
</Script>
; menu_new_list 16
; ==================> Len = 8
; menu_new_list 15
; ==================> Len = 16
; - 12-04-02-0001 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -685,7 +689,7 @@ Matcha, & Milk" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -761,7 +765,8 @@ Matcha, & Milk" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0016 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -932,7 +937,7 @@ Matcha, & Milk" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -1008,7 +1013,8 @@ Matcha, & Milk" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0002 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1179,7 +1185,7 @@ Cocoa, & Milk" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -1255,7 +1261,8 @@ Cocoa, & Milk" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0003 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1428,7 +1435,7 @@ Strawberry Syrup" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -1504,7 +1511,8 @@ Strawberry Syrup" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0013 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1677,7 +1685,7 @@ Strawberry Syrup" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -1753,7 +1761,8 @@ Strawberry Syrup" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0018 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1925,7 +1934,7 @@ Melon Syrup" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -2001,7 +2010,8 @@ Melon Syrup" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0004 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -2172,7 +2182,7 @@ Melon Syrup" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -2248,7 +2258,8 @@ Melon Syrup" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0005 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -2419,7 +2430,7 @@ Thai Tea, & Milk" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -2495,7 +2506,8 @@ Thai Tea, & Milk" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0015 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -2666,7 +2678,7 @@ Thai Tea, & Milk" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -2742,7 +2754,8 @@ Thai Tea, & Milk" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0006 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -2915,7 +2928,7 @@ Kokuto syrup" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -2991,255 +3004,8 @@ Kokuto syrup" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - 12-04-02-0007 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-04-02-0007.Button,$Sum1204020007) </State>
<Button>
<State> $Sum1204020007 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_protein_Blueberry.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_protein_Blueberry.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_protein_Blueberry.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "BLUEBERRY SHAKE"
Var NameDrinkTH = "บลูเบอร์รี่โปรตีน"
Var DrinkDescriptionTH = "เวย์โปรตีน นม น้ำเชื่อมบลูเบอร์รี่"
Var DrinkDescription = "Whey protein, Blueberry Syrup & Milk"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_protein_Blueberry.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-04-02-0007.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-04-02-0007"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-04-02-0007.Button
Var PD_STAGE_3 = "Disable2"
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-04-02-0007"
Else
If PD_STAGE_1 = "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 = $12-04-02-0007.NameE
Var menu_desc_eng_cold = $12-04-02-0007.descriptionE
Var menu_name_thai_cold = $12-04-02-0007.Name
Var menu_desc_thai_cold = $12-04-02-0007.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
Open "ROOT/taobin_project/xml/page_topping_select4.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> "BLUEBERRY SHAKE" </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> "Whey protein,
Blueberry Syrup & Milk" </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> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> Var( "฿" + $-.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-04-02-0007.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-04-02-0007.Button </State>
<Value> Var( "฿" + $12-04-02-0007.Price ) </Value>
</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> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> Var( "฿" + $-.Price ) </Value>
</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 $Sum1204020007 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-04-02-0007.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> $Sum1204020007 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0008 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -3412,7 +3178,7 @@ Taiwanese Tea, Sugar" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -3488,7 +3254,8 @@ Taiwanese Tea, Sugar" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0017 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -3661,7 +3428,7 @@ Taiwanese Tea, Sugar" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -3737,7 +3504,8 @@ Taiwanese Tea, Sugar" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0009 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -3909,7 +3677,7 @@ Caramel Syrup" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -3985,7 +3753,8 @@ Caramel Syrup" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0010 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -4155,7 +3924,7 @@ Caramel Syrup" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -4231,7 +4000,8 @@ Caramel Syrup" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0011 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -4401,7 +4171,7 @@ Caramel Syrup" </Value>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
@ -4477,6 +4247,7 @@ Caramel Syrup" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
</FrameScroll>
; Cart
<Button>

View file

@ -8,6 +8,12 @@
TopView "show"
; On open
If RecipeTag1 = "HealthTurnOn" Then
Var MenuHealthyEnable = "Enable"
Else
Var MenuHealthyEnable = "Disable"
EndIf
If Seeker = "next" Then
Open "ROOT/taobin_project/xml/page_catalog.xml"
EndIf
@ -406,7 +412,7 @@
<Button>
<X> 736 </X>
<Y> 1532 </Y>
<State>"Enable"</State>
<State>MenuHealthyEnable</State>
<Filename> Var(DirImage + "/bn_HealthyOption.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_HealthyOption.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>

View file

@ -20,7 +20,7 @@
Var bg_strawlid_ST = "Enable"
Var bg_strawProblem_ST = "Invisible"
Var bg_strawProblem_Y = 1470
;Var bg_strawProblem_Y = 1470
Var bg_strawProblem = DirImage2 + "/bg_strawProblem.png"
Var straw_problem_flag = 0
@ -32,7 +32,7 @@
If Seeker.lidAction = 0 Then
Else
Var bg_strawProblem_Y = 1680
;Var bg_strawProblem_Y = 1680
Var bg_strawlid_ST = "Invisible"
Var LidStateX = "Invisible"
Var StrawStateX = "Invisible"
@ -82,6 +82,8 @@
If show_eng = "true" Then
Var bnStrawProblemReport = "ROOT/taobin_project/image/page_doing/bn_send_report_straw_en.png"
Var bpStrawProblemReport = "ROOT/taobin_project/image/page_doing/bp_send_report_straw_en.png"
If CART_COUNT > 0 Then
If CART_INDEX < CART_COUNT Then
@ -112,6 +114,8 @@
Else
Var bnStrawProblemReport = "ROOT/taobin_project/image/page_doing/bn_send_report_straw.png"
Var bpStrawProblemReport = "ROOT/taobin_project/image/page_doing/bp_send_report_straw.png"
If CART_COUNT > 0 Then
If CART_INDEX < CART_COUNT Then
@ -168,6 +172,14 @@
Var DelayButton = 0
DEBUGVAR GetMoreStrawCount
If GetMoreStrawCount <= 0 Then
If StrawProblemStatus = 1 Then
Var bg_strawProblem_ST = "Enable"
EndIf
EndIf
</EventOpen>
<Timeout> 500 </Timeout>
@ -192,8 +204,8 @@
Var Timeout = Timeout + 1
; Timeout 10*60*2
If Timeout > 1200 Then
SAVELOG "Timeout 1200"
If Timeout > 900 Then
SAVELOG "Timeout 900"
If NextOrder = "true" Then
Var NextOrder = "false"
@ -617,10 +629,11 @@
</Button>
<Button>
<X> 10 </X>
<Y> bg_strawProblem_Y </Y>
<X> 699 </X>
<Y> 1788 </Y>
<State>bg_strawProblem_ST</State>
<Filename> bg_strawProblem </Filename>
<Filename> bnStrawProblemReport </Filename>
<FilenamePress> bpStrawProblemReport </FilenamePress>
<EventClick>
Var strawStr = "แจ้งปัญหาไม่ได้รับหลอด"

View file

@ -126,36 +126,40 @@
Else
Random video_id_to_ran
EndIf
Var ThankyouST = "Enable"
EndIf
If new_layout = "true" Then
DEBUGVAR video_id_to_ran
DEBUGVAR video_id_to_ran
Var show_video = 1
Var SaveTheWorldST = "Invisible"
Var video_file_name = "ROOT/taobin_project/video/" + video_name_to_play
Var video_file_name = video_file_name + video_id_to_ran
Var video_file_name = video_file_name + ".mp4"
DEBUGVAR video_file_name
Var VideoFileNameStage = "Enable"
Var TimeoutToNext = 5
Var ThankyouST = "Invisible"
Else
Var show_video = 0
Var VideoFileNameStage = "Invisible"
Var TimeoutToNext = 3
Var show_video = 1
Var SaveTheWorldST = "Invisible"
Var video_file_name = "ROOT/taobin_project/video/" + video_name_to_play
Var video_file_name = video_file_name + video_id_to_ran
Var video_file_name = video_file_name + ".mp4"
If SaveTheWorldCount < 2 Then
If EventTurnOn = 1 Then
Var video_file_name = "ROOT/taobin_project/video/taobin_thank1_event.mp4"
EndIf
If EventTurnOn = 2 Then
Var video_file_name = "ROOT/taobin_project/video/taobin_thank1_event_alter.mp4"
EndIf
EndIf
DEBUGVAR video_file_name
Var VideoFileNameStage = "Enable"
Var TimeoutToNext = 5
Var ThankyouST = "Invisible"
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>

View file

@ -67,6 +67,8 @@
DEBUGVAR TelephoneNumber
DEBUGVAR Seeker.StoreCreditFlag
Var SaveTheWorldST = "Invisible"
Var SaveTheWorldCount = 0
@ -122,6 +124,10 @@
Var buttonRemoveCup = "Invisible"
Var CountUpDoorCupOpen = 0
Machine DoorClose
Var Timeout2 = 0
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
@ -134,9 +140,9 @@
DEBUGVAR CHECKCUP
DEBUGVAR CupChecking
DEBUGVAR MaybeHaveCup
DEBUGVAR NextOrder
DEBUGVAR DoorCupPosition
DEBUGVAR CountUpDoorCupOpen
DEBUGVAR Timeout2
DEBUGVAR MakeContinue
If PaySuccessWithDaemonTask = 1 Then
@ -159,6 +165,29 @@
EndIf
Var Timeout2 = Timeout2 + 1
; Timeout2 10*60*2
If Timeout2 > 900 Then
SAVELOG "Timeout2 900"
SAVELOG "Make next order by take-cup with close-maintenance 2"
Var error_code_stop_now = 1221
If DoorCupPosition = "bottom" Then
Else
Var error_code_stop_now = 1296
EndIf
Open "ROOT/taobin_project/xml/page_cannotConti.xml"
EndIf
If HaveCup = "true" Then
Var Timeout = 0
Else

View file

@ -537,6 +537,16 @@
EndIf
Var ExtraTopping = "Enable"
If blend_button_state = "Disable2" Then
If hot_button_state = "Disable2" Then
If cold_button_state = "PressForever" Then
Var showOreoAddEnable = "Enable"
Var showText8 = "Invisible"
EndIf
EndIf
EndIf
EndIf
DEBUGVAR SubMenuGroupIDSlot6_1
@ -670,6 +680,81 @@
Var sugar_default_flag = 0
; Suger 4 step cold
If TOPPING1 = "Suger 4 step cold" Then
Var BGSugar = "Invisible"
Var ShiftSugarStep = 1
Var SugarState1 = "Enable"
Var SugarState2 = "Enable"
Var SugarState3 = "Enable"
Var SugarState4 = "Enable"
If toppingID1index1 = toppingID1Default Then
Var SugarState1 = "PressForever"
Var sugar_default_flag = 1
EndIf
If toppingID1index2 = toppingID1Default Then
Var SugarState2 = "PressForever"
Var sugar_default_flag = 1
EndIf
If toppingID1index3 = toppingID1Default Then
Var SugarState3 = "PressForever"
Var sugar_default_flag = 1
EndIf
If toppingID1index4 = toppingID1Default Then
Var SugarState4 = "PressForever"
Var sugar_default_flag = 1
EndIf
If sugar_default_flag = 0 Then
Var SugarState1 = "PressForever"
EndIf
EndIf
; Suger 4 step hot
If TOPPING1 = "Suger 4 step hot" Then
Var BGSugar = "Invisible"
Var ShiftSugarStep = 1
Var SugarState1 = "Enable"
Var SugarState2 = "Enable"
Var SugarState3 = "Enable"
Var SugarState4 = "Enable"
If toppingID1index1 = toppingID1Default Then
Var SugarState1 = "PressForever"
Var sugar_default_flag = 1
EndIf
If toppingID1index2 = toppingID1Default Then
Var SugarState2 = "PressForever"
Var sugar_default_flag = 1
EndIf
If toppingID1index3 = toppingID1Default Then
Var SugarState3 = "PressForever"
Var sugar_default_flag = 1
EndIf
If toppingID1index4 = toppingID1Default Then
Var SugarState4 = "PressForever"
Var sugar_default_flag = 1
EndIf
If sugar_default_flag = 0 Then
Var SugarState1 = "PressForever"
EndIf
EndIf
;
If TOPPING1 = "Sugar" Then
If sugarKeto = "true" Then