Merge branch 'masterpiece' of ssh://192.168.10.159:/1TBHDD/ikong/taobin_project into masterpiece
BIN
image/feature/alert_sms/Success.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
image/feature/alert_sms/bn_alert_customer.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
image/feature/alert_sms/bp_alert_customer.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
image/feature/alert_sms/text_1.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
509
inc/page_board_events.inc
Normal file
|
|
@ -0,0 +1,509 @@
|
|||
|
||||
<EventUnitTest1>
|
||||
ReloadAll
|
||||
</EventUnitTest1>
|
||||
|
||||
<EventUnitTest2>
|
||||
Var NextPage = "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
|
||||
|
||||
Var OpenFromPageBoard = 1
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
|
||||
; show language icon
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_group_recommend.lxml"
|
||||
Else
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
EndIf
|
||||
|
||||
Machine DoorClose
|
||||
|
||||
TopView "show"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
</EventUnitTest2>
|
||||
|
||||
<EventUnitTest3>
|
||||
PRICE "Reset" "-"
|
||||
PRICE "Load" "-"
|
||||
PRICE "CheckAndApply" XMLProfile
|
||||
|
||||
DEBUGVAR ProfileIndex[0]
|
||||
DEBUGVAR ProfileIndex[1]
|
||||
DEBUGVAR ProfileIndex[2]
|
||||
DEBUGVAR ProfileIndex[3]
|
||||
DEBUGVAR ProfileIndex[4]
|
||||
DEBUGVAR ProfileIndex[5]
|
||||
DEBUGVAR ProfileIndex[6]
|
||||
DEBUGVAR ProfileIndex[7]
|
||||
DEBUGVAR ProfileIndex[8]
|
||||
DEBUGVAR ProfileIndex[9]
|
||||
DEBUGVAR ProfileIndex[10]
|
||||
|
||||
PRICE "Reload" "-"
|
||||
</EventUnitTest3>
|
||||
|
||||
<EventUnitTest4>
|
||||
If CountryName = "-Thailand-" Then
|
||||
Var InternationalEnable = 1
|
||||
DEBUGVAR InternationalEnable
|
||||
|
||||
;TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/video/script_video.ev"
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/multi_ads/ads_path.ev"
|
||||
|
||||
;specified to unittest4
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/tricker.ev"
|
||||
DEBUGVAR OpenFileXML
|
||||
TRY OpenFileXML
|
||||
|
||||
EnableLanguage "ENG"
|
||||
EnableLanguage "THAI"
|
||||
EnableLanguage "MYANMAR"
|
||||
SetLanguage "THAI"
|
||||
LanguageControl "UpdateList" "-"
|
||||
Var show_eng = "false"
|
||||
|
||||
;Var img_press_main_page = "ROOT/taobin_project/image/main_page/bp_main_page_start.png"
|
||||
;Var img_rest_main_page = ""
|
||||
;Var img_reset_topup = ""
|
||||
;ROOT/taobin_project/image/main_page/bn_main_page_topup.png
|
||||
|
||||
;Var ShowNetworkProblemText = "Network error. Payment Cash only."
|
||||
|
||||
Var CountryRootPath = "ROOT/taobin_project/inter/tha/"
|
||||
Var CountryShortName = "tha"
|
||||
|
||||
Var TextPriceMenuSize = 12
|
||||
Var TextPriceMenuY = 266
|
||||
Var TextPriceMenuBlendX = 180
|
||||
Var TextPriceMenuHotX = 48
|
||||
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
Var ButtontoTopupMenu = "Enable"
|
||||
|
||||
|
||||
Var PriceUnitText = ""
|
||||
|
||||
;Var MemberButtonFileName = "ROOT/taobin_project/image/TermTempage2/bp_main_page_member.png"
|
||||
;Var MemberButtonFileNameRest = "ROOT/taobin_project/image/TermTempage2/bn_main_page_member.png"
|
||||
|
||||
Var show_eng_button_stage = "Invisible"
|
||||
|
||||
Var CountDownShowButton = 35
|
||||
|
||||
Var XButtonMember = 384
|
||||
Var YButtonMember = 1695
|
||||
|
||||
If Not#LanguageLoaded = "" Then
|
||||
LoadLanguage "/mnt/sdcard/coffeevending/taobin_project/inter/tha/menu/lang.tsv"
|
||||
EndIf
|
||||
|
||||
Var cups_sold_text = "Cups Sold Worldwide"
|
||||
|
||||
Var MinPhoneNumber = 10
|
||||
Var MaxPhoneNumber = 10
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
|
||||
EndIf
|
||||
</EventUnitTest4>
|
||||
|
||||
<EventUnitTest5>
|
||||
Var XMLProfile = "y18IDCardCaffeine"
|
||||
Var TimeProfilePrice = 0
|
||||
|
||||
</EventUnitTest5>
|
||||
|
||||
|
||||
<EventUnitTest6>
|
||||
Var XMLProfile = "ProfileIncrease35"
|
||||
Var TimeProfilePrice = 0
|
||||
|
||||
</EventUnitTest6>
|
||||
|
||||
<EventUnitTest7>
|
||||
Var XMLProfile = "ProfileIncrease45"
|
||||
Var TimeProfilePrice = 0
|
||||
|
||||
</EventUnitTest7>
|
||||
|
||||
<EventUnitTest8>
|
||||
Var buttonRemoveCup = "Enable"
|
||||
DEBUGVAR buttonRemoveCup
|
||||
DEBUGVAR bnRemoveCup
|
||||
DEBUGVAR bpRemoveCup
|
||||
|
||||
</EventUnitTest8>
|
||||
|
||||
<EventUnitTest9>
|
||||
Var buttonRemoveCup = "Enable"
|
||||
Var UseVeryBigRemoveCupButton = "Enable"
|
||||
DEBUGVAR buttonRemoveCup
|
||||
|
||||
|
||||
</EventUnitTest9>
|
||||
|
||||
<EventDrink>
|
||||
SAVELOG "EventDrink EventDrink EventDrink EventDrink EventDrink "
|
||||
</EventDrink>
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
If CNTDOWN_PROTECT_SCREEN_BLANK = 0 Then
|
||||
|
||||
SAVELOG "CNTDOWN_PROTECT_SCREEN_BLANK"
|
||||
OpenInst 0 "ROOT/taobin_project/xml/page_board.xml"
|
||||
EndIf
|
||||
|
||||
If IgnoreNetCore = "true" Then
|
||||
|
||||
Else
|
||||
If SELLSTATUS = "DEACTIVE" Then
|
||||
OpenInst 0 "/ROOT/xml/offline.xml"
|
||||
EndIf
|
||||
|
||||
If NoWaitMachineEnable = 1 Then
|
||||
If RecoveryRunning = "true" Then
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
|
||||
EndIf
|
||||
If stop_now = "true" Then
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
EndIf
|
||||
Else
|
||||
If MachineStage = "close-maintenance" Then
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If CLOSE_ORDER_NOW = "true" Then
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
EndIf
|
||||
|
||||
If MachineStage = "mcu-upgrade" Then
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
;stop_now
|
||||
If NETCORE_LOST_CNT > 120 Then
|
||||
Var stop_now = "true"
|
||||
Var MachineErrorDetailAll = "???"
|
||||
SAVELOG "NETCORE_LOST_CNT"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
;DEBUGVAR NETCORE_EVENT_CNT_X
|
||||
|
||||
|
||||
If NCIC07_EVENT_CNT = NETCORE_EVENT_CNT_TMP Then
|
||||
|
||||
If NETCORE_EVENT_CNT_X > 3600 Then
|
||||
Var stop_now = "true"
|
||||
Var stop_now_from_netcore_event = 1
|
||||
Var MachineErrorDetailAll = "Netcore Lost"
|
||||
SAVELOG "Netcore Lost NCIC07_EVENT_CNT"
|
||||
DEBUGVAR NCIC07_EVENT_CNT
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
Var NETCORE_EVENT_CNT_X = 0
|
||||
Var NETCORE_EVENT_CNT_TMP = NCIC07_EVENT_CNT
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
If MachineStage = "drink-failed" Then
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
If MachineStage = "remove-cup" Then
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
If BrewTimeoutExtend = 1 Then
|
||||
DEBUGVAR BrewTimeoutExtend
|
||||
DEBUGVAR DoorCupPosition
|
||||
If DoorCupPosition = "bottom" Then
|
||||
SAVELOG "BrewTimeoutExtend = 0 Clear Error Flag"
|
||||
Var BrewTimeoutExtend = 0
|
||||
; clear stage
|
||||
|
||||
Else
|
||||
|
||||
Var stop_now = "true"
|
||||
Var stop_now_from_door_cup = 1
|
||||
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
EndIf
|
||||
Else
|
||||
If DoorCupPosition = "Bottom" Then
|
||||
Var BrewTimeoutExtend = 0
|
||||
|
||||
Else
|
||||
Var BrewTimeoutExtend = 0
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If NeedUpgrade = "true" Then
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
EndIf
|
||||
|
||||
;DEBUGVAR MachineStage
|
||||
;DEBUGVAR CountDownShowButton
|
||||
;DEBUGVAR ShowButtonClick
|
||||
;DEBUGVAR ShowButtonClickFull
|
||||
;DEBUGVAR CountDownPauseVideo
|
||||
|
||||
If TaobinOnlineX = "true" Then
|
||||
|
||||
If CountDownPauseVideo > 0 Then
|
||||
DEBUGVAR CountDownPauseVideo
|
||||
; ignore
|
||||
|
||||
;Var CountDownPauseVideo = CountDownPauseVideo - 1
|
||||
;Var CountDownPauseVideo2 = CountDownPauseVideo - 1
|
||||
DEBUGVAR CountDownPauseVideo2
|
||||
If CountDownPauseVideo = 2 Then
|
||||
|
||||
|
||||
;TapScreen 30 638
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
If CountDownPauseVideo = 1 Then
|
||||
|
||||
;TapScreen 860 1004
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
If CountDownPauseVideo = 0 Then
|
||||
|
||||
Var NextPage = "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
|
||||
|
||||
Var OpenFromPageBoard = 1
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
If CupOnArm = "true" Then
|
||||
|
||||
Else
|
||||
__CMD "CLI" "arm_id=3,arm_position=posi_espresso_ii" "-" "-"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
DEBUGVAR InternationalEnable
|
||||
DEBUGVAR CountryName
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
|
||||
;TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
Else
|
||||
; show language icon
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
|
||||
;Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||
;TRY OpenFileXML
|
||||
EndIf
|
||||
|
||||
Else
|
||||
If BeerTrapEnable = "true" Then
|
||||
;OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
Else
|
||||
;TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Machine DoorClose
|
||||
|
||||
TopView "show"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If TimerFirst = "true" Then
|
||||
|
||||
DEBUGVAR CountUpReloadAll
|
||||
; setvarint CountUpReloadAll 49
|
||||
; Original value is 40
|
||||
If EnableMultiInstance = "true" Then
|
||||
|
||||
If CountUpReloadAll > 300 Then
|
||||
Var NeedReboot = "false"
|
||||
|
||||
Var StartUpExt = "-"
|
||||
Var CountUpReloadAll = 0
|
||||
|
||||
ReloadAll
|
||||
EndIf
|
||||
|
||||
If CountUpReloadAll = 50 Then
|
||||
Var SlientRefreshIndex = 2
|
||||
EndIf
|
||||
If CountUpReloadAll = 150 Then
|
||||
Var SlientRefreshIndex = 2
|
||||
EndIf
|
||||
If CountUpReloadAll = 200 Then
|
||||
Var SlientRefreshIndex = 2
|
||||
EndIf
|
||||
If CountUpReloadAll = 250 Then
|
||||
Var SlientRefreshIndex = 2
|
||||
EndIf
|
||||
|
||||
Else
|
||||
If CountUpReloadAll > 100 Then
|
||||
Var NeedReboot = "false"
|
||||
|
||||
Var StartUpExt = "-"
|
||||
Var CountUpReloadAll = 0
|
||||
|
||||
ReloadAll
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
If CupOnArm = "true" Then
|
||||
|
||||
If CheckCupStateDoorCupClose = "" Then
|
||||
Var buttonRemoveCup = "Enable"
|
||||
EndIf
|
||||
|
||||
If CheckCupStateDoorCupClose = "done" Then
|
||||
Var buttonRemoveCup = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
If buttonRemoveCup = "Enable" Then
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
If Seeker = "curr" Then
|
||||
If DoorCupPosition = "bottom" Then
|
||||
; It normal
|
||||
Var EmergencyStop = "false"
|
||||
Else
|
||||
;Var EmergencyStop = "true"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If MainPageEventWithTimeout = "" Then
|
||||
|
||||
Else
|
||||
If MainPageEventWithTimeout > 0 Then
|
||||
Var MainPageEventWithTimeout = MainPageEventWithTimeout - 1
|
||||
EndIf
|
||||
|
||||
;DEBUGVAR MainPageEventWithTimeout
|
||||
If MainPageEventWithTimeout = 1 Then
|
||||
Var CountDownPauseVideo = 4
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
;Var TimeProfilePrice = TimeProfilePrice + 1
|
||||
If XMLProfilePrevious = XMLProfile Then
|
||||
|
||||
Else
|
||||
DEBUGVAR XMLProfile
|
||||
DEBUGVAR XMLProfilePrevious
|
||||
|
||||
If NoTrickPriceProfile = 0 Then
|
||||
|
||||
If TimeProfilePrice = 5 Then
|
||||
PRICE "Reset" "-"
|
||||
PRICE "Load" "-"
|
||||
PRICE "CheckAndApply" XMLProfile
|
||||
|
||||
DEBUGVAR ProfileIndex[0]
|
||||
DEBUGVAR ProfileIndex[1]
|
||||
DEBUGVAR ProfileIndex[2]
|
||||
DEBUGVAR ProfileIndex[3]
|
||||
DEBUGVAR ProfileIndex[4]
|
||||
DEBUGVAR ProfileIndex[5]
|
||||
DEBUGVAR ProfileIndex[6]
|
||||
DEBUGVAR ProfileIndex[7]
|
||||
DEBUGVAR ProfileIndex[8]
|
||||
DEBUGVAR ProfileIndex[9]
|
||||
DEBUGVAR ProfileIndex[10]
|
||||
|
||||
PRICE "Reload" "-"
|
||||
|
||||
Var XMLProfilePrevious = XMLProfile
|
||||
|
||||
Var refresh_str = "-RefreshProf"
|
||||
STRCONTAIN refresh_str XMLProfile HasRefreshProf
|
||||
If HasRefreshProf = "true" Then
|
||||
RebootWithCause "RefreshProf_ProMelon"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
If SleepModeXML = "ON" Then
|
||||
Var BackgroundColor = "0x2C2F4E"
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
Open "ROOT/taobin_project/xml/page_sleepmode.xml"
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
<EventNetDown>
|
||||
SAVELOG NetworkStatus
|
||||
;Open "/mnt/sdcard/coffeevending/xml/main.xml"
|
||||
</EventNetDown>
|
||||
|
||||
<EventNetDeactive>
|
||||
SAVELOG NetworkStatus
|
||||
If SELLSTATUS = "DEACTIVE" Then
|
||||
Open "/mnt/sdcard/coffeevending/xml/main.xml"
|
||||
EndIf
|
||||
</EventNetDeactive>
|
||||
8
inc/video_page_board.inc
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
;<Loop>"true"</Loop>
|
||||
;<Volume> 80 </Volume>
|
||||
<Filename> VideoMainPage </Filename>
|
||||
<FilenameAlternate> "ROOT/taobin_project/video/main_page_en.mp4" </FilenameAlternate>
|
||||
</Video>
|
||||
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
|
|
@ -1,4 +1,13 @@
|
|||
if "v2" in param:
|
||||
def find_templatable_product_codes(str_pd):
|
||||
# find sep `|`
|
||||
str_pd_spl = str_pd.split('|')
|
||||
t_pd = [pd for pd in str_pd_spl if pd != '-']
|
||||
if len(t_pd) >= 1:
|
||||
#
|
||||
return t_pd[0]
|
||||
return ""
|
||||
|
||||
def GenMenuProductCodeBlock(spl, str_hot_product_code, str_cold_product_code, str_blend_product_code):
|
||||
#print(" size " + str( len(spl)) + " img=" + spl[ idx_img][1] )
|
||||
out_xml( '\t; ==================> Len = ' + str(len(spl)) + '\r\n')
|
||||
|
|
@ -12,14 +21,26 @@
|
|||
out_xml('\t<Height> 296 </Height>\r\n')
|
||||
str_con = ""
|
||||
str_con_var = ""
|
||||
#print("#########################################################################################################################")
|
||||
#print( str( spl))
|
||||
#print("#########################################################################################################################")
|
||||
# print("#########################################################################################################################")
|
||||
# print( str( spl), str_hot_product_code, str_cold_product_code, str_blend_product_code)
|
||||
# print("#########################################################################################################################")
|
||||
#
|
||||
print("check param[gcpm]:","gcpm" in param, '|' in str_cold_product_code, "gen_cold_paper_menus" in param or "gcpm" in param)
|
||||
enable_gcpm = "gen_cold_paper_menus" in param or "gcpm" in param
|
||||
|
||||
if str_hot_product_code != '-':
|
||||
str_con += str_hot_product_code + '.Button,'
|
||||
|
||||
if str_cold_product_code != '-':
|
||||
str_con += str_cold_product_code + '.Button,'
|
||||
|
||||
# @Slot 12-05-02-0074.Button or 12-05-22-0074.Button,
|
||||
if '|' in str_cold_product_code and enable_gcpm:
|
||||
str_con += "@Slot "
|
||||
genpdc = [ f"{pdc}.Button" for pdc in str_cold_product_code.split("|") if pdc != '-']
|
||||
str_con += ' or '.join(genpdc) + ","
|
||||
print("str_con", str_con)
|
||||
else:
|
||||
str_con += str_cold_product_code + '.Button,'
|
||||
|
||||
if str_blend_product_code != '-':
|
||||
str_con += str_blend_product_code + '.Button,'
|
||||
|
|
@ -27,8 +48,19 @@
|
|||
if str_hot_product_code != '-':
|
||||
str_con_var += str_hot_product_code + '-'
|
||||
|
||||
if str_cold_product_code != '-':
|
||||
str_con_var += str_cold_product_code + '-'
|
||||
if str_cold_product_code != '-' :
|
||||
auto_var_arrs = find_templatable_product_codes(str_cold_product_code).split('-')
|
||||
|
||||
if '|' in str_cold_product_code:
|
||||
print(find_templatable_product_codes(str_cold_product_code).split('-'), '|' not in str_cold_product_code and "gen_cold_paper_menus" not in param and "gcpm" not in param and len(find_templatable_product_codes(str_cold_product_code).split('-')) == 4)
|
||||
|
||||
if '|' in str_cold_product_code and len(find_templatable_product_codes(str_cold_product_code).split('-')) == 4:
|
||||
auto_var_arrs[2] = "X2"
|
||||
|
||||
if '|' not in str_cold_product_code and "gen_cold_paper_menus" not in param and "gcpm" not in param and len(find_templatable_product_codes(str_cold_product_code).split('-')) == 4:
|
||||
str_con_var += str_cold_product_code + '-'
|
||||
else:
|
||||
str_con_var += '-'.join(auto_var_arrs) + '-'
|
||||
|
||||
if str_blend_product_code != '-':
|
||||
str_con_var += str_blend_product_code + '-'
|
||||
|
|
@ -39,6 +71,8 @@
|
|||
|
||||
str_con += "$Sum" + str_con_var
|
||||
|
||||
print(str_con)
|
||||
|
||||
out_xml( '\t<State> Flag( '+ str_con + ') </State> \r\n')
|
||||
|
||||
pd_code_1 = str_hot_product_code
|
||||
|
|
@ -53,6 +87,20 @@
|
|||
pd_code_2 = pd_code_available
|
||||
pd_stage2 = '"Disable2"'
|
||||
|
||||
if '|' in str_cold_product_code:
|
||||
# always use cold pd 1
|
||||
|
||||
#
|
||||
str_c_pd = str_cold_product_code.split('|')
|
||||
first_ok_pd = ""
|
||||
for c_pd in str_c_pd:
|
||||
if c_pd != "-":
|
||||
first_ok_pd = c_pd
|
||||
break
|
||||
|
||||
pd_code_2 = first_ok_pd if first_ok_pd != '' else pd_code_available
|
||||
pd_stage2 = '"Disable2"' if first_ok_pd == "" else ''
|
||||
|
||||
pd_code_3 = str_blend_product_code
|
||||
pd_stage3 = '$' + str_blend_product_code + '.Button'
|
||||
if str_blend_product_code == "-" or len(str_blend_product_code) == 0:
|
||||
|
|
@ -81,11 +129,29 @@
|
|||
out_xml( '\t\tVar OpenFromXML = CurrentXMLFileName2\r\n')
|
||||
|
||||
out_xml( '\t\tVar PriceD1 = $' + str_hot_product_code + '.Price\r\n')
|
||||
out_xml( '\t\tVar PriceD2 = $' + str_cold_product_code + '.Price\r\n')
|
||||
|
||||
|
||||
if '|' in str_cold_product_code and ( "gen_cold_paper_menus" in param or "gcpm" in param) and len(find_templatable_product_codes(str_cold_product_code).split('-')) == 4:
|
||||
auto_var_arrs = find_templatable_product_codes(str_cold_product_code).split('-')
|
||||
# print("auto_var_arrs:PriceD2 \t", auto_var_arrs, "["+str_cold_product_code+"]")
|
||||
auto_var_arrs[2] = "{XSlotPrefix}2"
|
||||
out_xml( f'\t\tVar PriceD2 !assigned @AutoVar ${'-'.join(auto_var_arrs)}.Price' + '\r\n')
|
||||
else:
|
||||
out_xml( '\t\tVar PriceD2 = $' + str_cold_product_code + '.Price\r\n')
|
||||
|
||||
out_xml( '\t\tVar PriceD3 = $' + str_blend_product_code + '.Price\r\n')
|
||||
|
||||
out_xml( '\t\tVar PD_CODE1 = "' + pd_code_1 + '"\r\n')
|
||||
out_xml( '\t\tVar PD_CODE2 = "' + pd_code_2 + '"\r\n')
|
||||
|
||||
|
||||
if '|' in str_cold_product_code and ("gen_cold_paper_menus" in param or "gcpm" in param) and len(find_templatable_product_codes(str_cold_product_code).split('-')) == 4:
|
||||
auto_var_arrs = find_templatable_product_codes(str_cold_product_code).split('-')
|
||||
# print("auto_var_arrs:PriceD2 \t", auto_var_arrs, "["+str_cold_product_code+"]")
|
||||
auto_var_arrs[2] = "{XSlotPrefix}2"
|
||||
out_xml( f'\t\tVar PD_CODE2 !assigned @AutoVar "{'-'.join(auto_var_arrs)}"' + '\r\n')
|
||||
else:
|
||||
out_xml( '\t\tVar PD_CODE2 = "' + pd_code_2 + '"\r\n')
|
||||
|
||||
out_xml( '\t\tVar PD_CODE3 = "' + pd_code_3 + '"\r\n')
|
||||
|
||||
out_xml( '\t\t; begin lang \r\n')
|
||||
|
|
@ -116,7 +182,15 @@
|
|||
out_xml( '\t\t; end lang \r\n')
|
||||
|
||||
out_xml( '\t\tVar PD_STAGE_1 = ' + pd_stage1 + '\r\n')
|
||||
out_xml( '\t\tVar PD_STAGE_2 = ' + pd_stage2 + '\r\n')
|
||||
|
||||
if '|' in str_cold_product_code and ("gen_cold_paper_menus" in param or "gcpm" in param) and len(find_templatable_product_codes(str_cold_product_code).split('-')) == 4:
|
||||
|
||||
auto_var_arrs = find_templatable_product_codes(str_cold_product_code).split('-')
|
||||
auto_var_arrs[2] = "{XSlotPrefix}2"
|
||||
out_xml( f'\t\tVar PD_STAGE_2 !assigned @AutoVar ${'-'.join(auto_var_arrs)}.Button' + '\r\n')
|
||||
else:
|
||||
out_xml( '\t\tVar PD_STAGE_2 = ' + pd_stage2 + '\r\n')
|
||||
|
||||
out_xml( '\t\tVar PD_STAGE_3 = ' + pd_stage3 + '\r\n')
|
||||
|
||||
|
||||
|
|
@ -144,7 +218,24 @@
|
|||
|
||||
out_xml( '\t\tIf PD_STAGE_2 = "Enable" Then\r\n')
|
||||
#out_xml( '\t\t\tVar PD_STAGE_2 = "Enable"\r\n')
|
||||
out_xml( '\t\t\tTopping "Load" "'+ str_cold_product_code +'"\r\n')
|
||||
|
||||
|
||||
# spl[ idx_name][ idx_cold_product_code]
|
||||
if '|' in str_cold_product_code and ( "gen_cold_paper_menus" in param or "gcpm" in param) and len(find_templatable_product_codes(str_cold_product_code).split('-')) == 4:
|
||||
cold_paper_options = str_cold_product_code.split("|")
|
||||
slot_t = 1
|
||||
for cpo in cold_paper_options:
|
||||
if cpo == "-":
|
||||
continue
|
||||
out_xml( f'\t\t\tIf XSlot = {slot_t} Then\r\n')
|
||||
out_xml( '\t\t\t\tTopping "Load" "'+ cpo +'"\r\n')
|
||||
out_xml( '\t\t\tEndIf'+'\r\n')
|
||||
slot_t += 1
|
||||
else:
|
||||
out_xml( '\t\t\tTopping "Load" "'+ str_cold_product_code +'"\r\n')
|
||||
|
||||
|
||||
|
||||
out_xml( '\t\tElse\r\n')
|
||||
out_xml( '\t\t\tIf PD_STAGE_1 = "Enable" Then\r\n')
|
||||
#out_xml( '\t\t\t\tVar PD_STAGE_1 = "Enable"\r\n')
|
||||
|
|
@ -310,6 +401,11 @@
|
|||
shw = '"Invisible"'
|
||||
ice_tab_ice_show = False
|
||||
|
||||
if '|' in str_cold_product_code and ice_tab_ice_show and ("gen_cold_paper_menus" in param or "gcpm" in param) and len(find_templatable_product_codes(str_cold_product_code).split('-')) == 4:
|
||||
auto_var_arrs = find_templatable_product_codes(str_cold_product_code).split('-')
|
||||
auto_var_arrs[2] = "{XSlotPrefix}2"
|
||||
shw = f"@AutoVar ${'-'.join(auto_var_arrs)}.Button"
|
||||
|
||||
out_xml( '\t<Image>\r\n')
|
||||
out_xml( '\t<X> 81 </X>\r\n')
|
||||
out_xml( '\t<Y> 264 </Y>\r\n')
|
||||
|
|
@ -335,7 +431,12 @@
|
|||
if "free" in param:
|
||||
out_xml( '\t<Value> "Free" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' + str_cold_product_code + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
if '|' in str_cold_product_code and ("gen_cold_paper_menus" in param or "gcpm" in param) and len(find_templatable_product_codes(str_cold_product_code).split('-')) == 4:
|
||||
auto_var_arrs = find_templatable_product_codes(str_cold_product_code).split('-')
|
||||
auto_var_arrs[2] = "{XSlotPrefix}2"
|
||||
out_xml( '\t<Value> @AutoVar StringFmt( $' + '-'.join(auto_var_arrs) + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' + str_cold_product_code + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + str_cold_product_code + '.Price ) </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
|
@ -416,7 +517,12 @@
|
|||
out_xml( '\t\teval( \r\n')
|
||||
out_xml( '\t\t\tIf $Sum' + str_con_var +' = "Disable" Then\r\n')
|
||||
out_xml( '\t\t\t\tSTRCONTAIN "ERR" $' + pd_code_1 + '.TAG tag1_is_disable\r\n')
|
||||
out_xml( '\t\t\t\tSTRCONTAIN "ERR" $' + pd_code_2 + '.TAG tag2_is_disable\r\n')
|
||||
if '|' in str_cold_product_code and ("gen_cold_paper_menus" in param or "gcpm" in param) and len(find_templatable_product_codes(str_cold_product_code).split('-')) == 4:
|
||||
auto_var_arrs = find_templatable_product_codes(str_cold_product_code).split('-')
|
||||
auto_var_arrs[2] = "{XSlotPrefix}2"
|
||||
out_xml( '\t\t\t\tSTRCONTAIN "ERR" $' + '-'.join(auto_var_arrs) + '.TAG tag2_is_disable\r\n')
|
||||
else:
|
||||
out_xml( '\t\t\t\tSTRCONTAIN "ERR" $' + pd_code_2 + '.TAG tag2_is_disable\r\n')
|
||||
out_xml( '\t\t\t\tSTRCONTAIN "ERR" $' + pd_code_3 + '.TAG tag3_is_disable\r\n')
|
||||
#out_xml( '\t\t\t\tDEBUGVAR $' + pd_code_1 + '.TAG\r\n')
|
||||
#out_xml( '\t\t\t\tDEBUGVAR $' + pd_code_2 + '.TAG\r\n')
|
||||
|
|
@ -611,13 +717,34 @@
|
|||
|
||||
#print(' size = ' + str( len( hot_pd)) + ' size = ' + str( len( cold_pd)) + ' size = ' + str( len( blend_pd)) + '\r\n')
|
||||
list_size = len( hot_pd)
|
||||
|
||||
# if "gen_cold_paper_menus" in param or "gcpm" in param:
|
||||
# # inject auto -22-
|
||||
# has_already_paper_cup_cold = "-22-" in spl[ idx_name][ idx_cold_product_code]
|
||||
# if not has_already_paper_cup_cold:
|
||||
# # copy format
|
||||
# copied_pd = cold_pd[0] if cold_pd[0] != '-' else cold_pd[1] if cold_pd[1] != '-' else ''
|
||||
|
||||
# for cpd in cold_pd:
|
||||
# if cpd != '-':
|
||||
# c_pd_spl = cpd.split('-')
|
||||
# c_pd_spl[2] = '22'
|
||||
# spl[ idx_name][ idx_cold_product_code] += ","+'-'.join(c_pd_spl)
|
||||
|
||||
# print("append auto -22-: ", spl[ idx_name][ idx_cold_product_code])
|
||||
|
||||
for idx in range( list_size):
|
||||
print(' hot = ' + hot_pd[ idx] + ' cold = ' + cold_pd[ idx]+ ' blend_pd = ' + blend_pd[ idx] + '\r\n')
|
||||
if hot_pd[ idx] == '-' and cold_pd[ idx] == '-' and blend_pd[ idx] == '-':
|
||||
print("\t\t==> ignore ")
|
||||
else:
|
||||
print("\t\t==> gen ")
|
||||
GenMenuProductCodeBlock(spl, hot_pd[ idx], cold_pd[ idx], blend_pd[ idx] )
|
||||
print("\t\t==> gen "+"gen_cold_paper_menus" not in param +","+ "gcpm" not in param)
|
||||
# if "gen_cold_paper_menus" not in param and "gcpm" not in param else spl[ idx_name][ idx_cold_product_code].replace(",", "|")
|
||||
GenMenuProductCodeBlock(
|
||||
spl,
|
||||
hot_pd[ idx],
|
||||
cold_pd[ idx] ,
|
||||
blend_pd[ idx] )
|
||||
else:
|
||||
GenMenuBlock(spl, idx_hot_product_code, idx_cold_product_code, idx_blend_product_code)
|
||||
#out_xml( '\t; parallel '+ spl[ idx_name][ idx_hot_product_code2] + ' ' + spl[ idx_name][ idx_cold_product_code2] + ' ' + spl[ idx_name][ idx_blend_product_code2] + ' \r\n')
|
||||
|
|
|
|||
|
|
@ -646,15 +646,15 @@
|
|||
;dummy_layout.inc
|
||||
; menu_new_list 5
|
||||
; ==================> Len = 3
|
||||
; - 12-04-02-1018 -
|
||||
; - 12-04-02-1018|12-04-22-1018 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-04-02-1018.Button,$Sum1204021018) </State>
|
||||
<State> Flag( @Slot 12-04-02-1018.Button or 12-04-22-1018.Button,$Sum1204X21018) </State>
|
||||
<Button>
|
||||
<State> $Sum1204021018 </State>
|
||||
<State> $Sum1204X21018 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_protein_original_BDMS.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_protein_original_BDMS.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_protein_original_BDMS.png" </FilenameDisable>
|
||||
|
|
@ -664,10 +664,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_protein_original_BDMS.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-04-02-1018.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-04-{XSlotPrefix}2-1018.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-04-02-1018"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-04-{XSlotPrefix}2-1018"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "APP FAST ORIGINAL"
|
||||
|
|
@ -720,7 +720,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-04-02-1018.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-04-{XSlotPrefix}2-1018.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -737,7 +737,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-04-02-1018"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-04-02-1018"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-04-22-1018"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
|
|
@ -817,7 +822,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-04-02-1018.Button </State>
|
||||
<State> @AutoVar $12-04-{XSlotPrefix}2-1018.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -827,8 +832,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-04-02-1018.Button </State>
|
||||
<Value> StringFmt( $12-04-02-1018.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-04-{XSlotPrefix}2-1018.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-04-{XSlotPrefix}2-1018.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -871,9 +876,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1204021018 = "Disable" Then
|
||||
If $Sum1204X21018 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-04-02-1018.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-04-{XSlotPrefix}2-1018.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -908,7 +913,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1204021018 </State>
|
||||
<State> $Sum1204X21018 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -916,15 +921,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; - 12-04-02-1019 -
|
||||
; - 12-04-02-1019|12-04-22-1019 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-04-02-1019.Button,$Sum1204021019) </State>
|
||||
<State> Flag( @Slot 12-04-02-1019.Button or 12-04-22-1019.Button,$Sum1204X21019) </State>
|
||||
<Button>
|
||||
<State> $Sum1204021019 </State>
|
||||
<State> $Sum1204X21019 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_protein_espresso_BDMS.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_protein_espresso_BDMS.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_protein_espresso_BDMS.png" </FilenameDisable>
|
||||
|
|
@ -934,10 +939,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_protein_espresso_BDMS.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-04-02-1019.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-04-{XSlotPrefix}2-1019.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-04-02-1019"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-04-{XSlotPrefix}2-1019"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "APP FAST ESPRESSO"
|
||||
|
|
@ -990,7 +995,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-04-02-1019.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-04-{XSlotPrefix}2-1019.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1007,7 +1012,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-04-02-1019"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-04-02-1019"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-04-22-1019"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
|
|
@ -1087,7 +1097,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-04-02-1019.Button </State>
|
||||
<State> @AutoVar $12-04-{XSlotPrefix}2-1019.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1097,8 +1107,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-04-02-1019.Button </State>
|
||||
<Value> StringFmt( $12-04-02-1019.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-04-{XSlotPrefix}2-1019.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-04-{XSlotPrefix}2-1019.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1141,9 +1151,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1204021019 = "Disable" Then
|
||||
If $Sum1204X21019 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-04-02-1019.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-04-{XSlotPrefix}2-1019.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -1178,7 +1188,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1204021019 </State>
|
||||
<State> $Sum1204X21019 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -1186,15 +1196,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; - 12-04-02-1020 -
|
||||
; - 12-04-02-1020|12-04-22-1020 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-04-02-1020.Button,$Sum1204021020) </State>
|
||||
<State> Flag( @Slot 12-04-02-1020.Button or 12-04-22-1020.Button,$Sum1204X21020) </State>
|
||||
<Button>
|
||||
<State> $Sum1204021020 </State>
|
||||
<State> $Sum1204X21020 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_protein_Chocolate_BDMS.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_protein_Chocolate_BDMS.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_protein_Chocolate_BDMS.png" </FilenameDisable>
|
||||
|
|
@ -1204,10 +1214,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_protein_Chocolate_BDMS.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-04-02-1020.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-04-{XSlotPrefix}2-1020.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-04-02-1020"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-04-{XSlotPrefix}2-1020"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "APP FAST \nCHOCOLATE"
|
||||
|
|
@ -1260,7 +1270,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-04-02-1020.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-04-{XSlotPrefix}2-1020.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1277,7 +1287,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-04-02-1020"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-04-02-1020"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-04-22-1020"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
|
|
@ -1357,7 +1372,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-04-02-1020.Button </State>
|
||||
<State> @AutoVar $12-04-{XSlotPrefix}2-1020.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1367,8 +1382,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-04-02-1020.Button </State>
|
||||
<Value> StringFmt( $12-04-02-1020.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-04-{XSlotPrefix}2-1020.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-04-{XSlotPrefix}2-1020.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1411,9 +1426,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1204021020 = "Disable" Then
|
||||
If $Sum1204X21020 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-04-02-1020.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-04-{XSlotPrefix}2-1020.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -1448,7 +1463,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1204021020 </State>
|
||||
<State> $Sum1204X21020 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -1456,15 +1471,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; - 12-04-02-1021 -
|
||||
; - 12-04-02-1021|12-04-22-1021 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-04-02-1021.Button,$Sum1204021021) </State>
|
||||
<State> Flag( @Slot 12-04-02-1021.Button or 12-04-22-1021.Button,$Sum1204X21021) </State>
|
||||
<Button>
|
||||
<State> $Sum1204021021 </State>
|
||||
<State> $Sum1204X21021 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_protein_Thaitea_BDMS.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_protein_Thaitea_BDMS.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_protein_Thaitea_BDMS.png" </FilenameDisable>
|
||||
|
|
@ -1474,10 +1489,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_protein_Thaitea_BDMS.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-04-02-1021.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-04-{XSlotPrefix}2-1021.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-04-02-1021"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-04-{XSlotPrefix}2-1021"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "APP FAST \nTHAI TEA"
|
||||
|
|
@ -1530,7 +1545,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-04-02-1021.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-04-{XSlotPrefix}2-1021.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1547,7 +1562,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-04-02-1021"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-04-02-1021"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-04-22-1021"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
|
|
@ -1627,7 +1647,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-04-02-1021.Button </State>
|
||||
<State> @AutoVar $12-04-{XSlotPrefix}2-1021.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1637,8 +1657,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-04-02-1021.Button </State>
|
||||
<Value> StringFmt( $12-04-02-1021.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-04-{XSlotPrefix}2-1021.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-04-{XSlotPrefix}2-1021.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1681,9 +1701,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1204021021 = "Disable" Then
|
||||
If $Sum1204X21021 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-04-02-1021.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-04-{XSlotPrefix}2-1021.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -1718,7 +1738,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1204021021 </State>
|
||||
<State> $Sum1204X21021 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -1726,15 +1746,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; - 12-04-02-1022 -
|
||||
; - 12-04-02-1022|12-04-22-1022 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-04-02-1022.Button,$Sum1204021022) </State>
|
||||
<State> Flag( @Slot 12-04-02-1022.Button or 12-04-22-1022.Button,$Sum1204X21022) </State>
|
||||
<Button>
|
||||
<State> $Sum1204021022 </State>
|
||||
<State> $Sum1204X21022 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_protein_Matcha_BDMS.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_protein_Matcha_BDMS.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_protein_Matcha_BDMS.png" </FilenameDisable>
|
||||
|
|
@ -1744,10 +1764,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_protein_Matcha_BDMS.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-04-02-1022.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-04-{XSlotPrefix}2-1022.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-04-02-1022"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-04-{XSlotPrefix}2-1022"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "APP FAST \nMATCHA"
|
||||
|
|
@ -1800,7 +1820,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-04-02-1022.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-04-{XSlotPrefix}2-1022.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1817,7 +1837,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-04-02-1022"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-04-02-1022"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-04-22-1022"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
|
|
@ -1897,7 +1922,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-04-02-1022.Button </State>
|
||||
<State> @AutoVar $12-04-{XSlotPrefix}2-1022.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1907,8 +1932,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-04-02-1022.Button </State>
|
||||
<Value> StringFmt( $12-04-02-1022.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-04-{XSlotPrefix}2-1022.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-04-{XSlotPrefix}2-1022.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1951,9 +1976,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1204021022 = "Disable" Then
|
||||
If $Sum1204X21022 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-04-02-1022.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-04-{XSlotPrefix}2-1022.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -1988,7 +2013,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1204021022 </State>
|
||||
<State> $Sum1204X21022 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
|
|||
|
|
@ -647,15 +647,15 @@
|
|||
;dummy_layout.inc
|
||||
; menu_new_list 14
|
||||
; ==================> Len = 3
|
||||
; 12-03-01-0005 12-03-02-0005 12-03-03-0005
|
||||
; 12-03-01-0005 12-03-02-0005|12-03-22-0005 12-03-03-0005
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-01-0005.Button,12-03-02-0005.Button,12-03-03-0005.Button,$Sum120301000512030200051203030005) </State>
|
||||
<State> Flag( 12-03-01-0005.Button,@Slot 12-03-02-0005.Button or 12-03-22-0005.Button,12-03-03-0005.Button,$Sum12030100051203X200051203030005) </State>
|
||||
<Button>
|
||||
<State> $Sum120301000512030200051203030005 </State>
|
||||
<State> $Sum12030100051203X200051203030005 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_iced_milk.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_iced_milk.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_iced_milk.png" </FilenameDisable>
|
||||
|
|
@ -665,10 +665,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_iced_milk.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-03-01-0005.Price
|
||||
Var PriceD2 = $12-03-02-0005.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-03-{XSlotPrefix}2-0005.Price
|
||||
Var PriceD3 = $12-03-03-0005.Price
|
||||
Var PD_CODE1 = "12-03-01-0005"
|
||||
Var PD_CODE2 = "12-03-02-0005"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-03-{XSlotPrefix}2-0005"
|
||||
Var PD_CODE3 = "12-03-03-0005"
|
||||
; begin lang
|
||||
Var aliasName[0] = "MILK"
|
||||
|
|
@ -721,7 +721,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-03-01-0005.Button
|
||||
Var PD_STAGE_2 = $12-03-02-0005.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-03-{XSlotPrefix}2-0005.Button
|
||||
Var PD_STAGE_3 = $12-03-03-0005.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -738,7 +738,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-03-02-0005"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-03-02-0005"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-03-22-0005"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-03-01-0005"
|
||||
|
|
@ -818,7 +823,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-03-02-0005.Button </State>
|
||||
<State> @AutoVar $12-03-{XSlotPrefix}2-0005.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -828,8 +833,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-02-0005.Button </State>
|
||||
<Value> StringFmt( $12-03-02-0005.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-03-{XSlotPrefix}2-0005.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-03-{XSlotPrefix}2-0005.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -856,7 +861,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120301000512030200051203030005 = "Disable" Then
|
||||
If $Sum12030100051203X200051203030005 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -876,9 +881,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120301000512030200051203030005 = "Disable" Then
|
||||
If $Sum12030100051203X200051203030005 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-03-01-0005.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-03-02-0005.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-{XSlotPrefix}2-0005.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0005.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -913,7 +918,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120301000512030200051203030005 </State>
|
||||
<State> $Sum12030100051203X200051203030005 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -921,15 +926,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; 12-03-01-0001 12-03-02-0001 12-03-03-0001
|
||||
; 12-03-01-0001 12-03-02-0001|12-03-22-0001 12-03-03-0001
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-01-0001.Button,12-03-02-0001.Button,12-03-03-0001.Button,$Sum120301000112030200011203030001) </State>
|
||||
<State> Flag( 12-03-01-0001.Button,@Slot 12-03-02-0001.Button or 12-03-22-0001.Button,12-03-03-0001.Button,$Sum12030100011203X200011203030001) </State>
|
||||
<Button>
|
||||
<State> $Sum120301000112030200011203030001 </State>
|
||||
<State> $Sum12030100011203X200011203030001 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_iced_caramel.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_iced_caramel.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_iced_caramel.png" </FilenameDisable>
|
||||
|
|
@ -939,10 +944,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_iced_caramel.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-03-01-0001.Price
|
||||
Var PriceD2 = $12-03-02-0001.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-03-{XSlotPrefix}2-0001.Price
|
||||
Var PriceD3 = $12-03-03-0001.Price
|
||||
Var PD_CODE1 = "12-03-01-0001"
|
||||
Var PD_CODE2 = "12-03-02-0001"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-03-{XSlotPrefix}2-0001"
|
||||
Var PD_CODE3 = "12-03-03-0001"
|
||||
; begin lang
|
||||
Var aliasName[0] = "CARAMEL MILK"
|
||||
|
|
@ -995,7 +1000,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-03-01-0001.Button
|
||||
Var PD_STAGE_2 = $12-03-02-0001.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-03-{XSlotPrefix}2-0001.Button
|
||||
Var PD_STAGE_3 = $12-03-03-0001.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1012,7 +1017,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-03-02-0001"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-03-02-0001"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-03-22-0001"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-03-01-0001"
|
||||
|
|
@ -1092,7 +1102,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-03-02-0001.Button </State>
|
||||
<State> @AutoVar $12-03-{XSlotPrefix}2-0001.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1102,8 +1112,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-02-0001.Button </State>
|
||||
<Value> StringFmt( $12-03-02-0001.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-03-{XSlotPrefix}2-0001.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-03-{XSlotPrefix}2-0001.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1130,7 +1140,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120301000112030200011203030001 = "Disable" Then
|
||||
If $Sum12030100011203X200011203030001 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -1150,9 +1160,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120301000112030200011203030001 = "Disable" Then
|
||||
If $Sum12030100011203X200011203030001 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-03-01-0001.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-03-02-0001.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-{XSlotPrefix}2-0001.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0001.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -1187,7 +1197,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120301000112030200011203030001 </State>
|
||||
<State> $Sum12030100011203X200011203030001 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -1195,15 +1205,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; 12-03-01-0003 12-03-02-0003 12-03-03-0003
|
||||
; 12-03-01-0003 12-03-02-0003|12-03-22-0003 12-03-03-0003
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-01-0003.Button,12-03-02-0003.Button,12-03-03-0003.Button,$Sum120301000312030200031203030003) </State>
|
||||
<State> Flag( 12-03-01-0003.Button,@Slot 12-03-02-0003.Button or 12-03-22-0003.Button,12-03-03-0003.Button,$Sum12030100031203X200031203030003) </State>
|
||||
<Button>
|
||||
<State> $Sum120301000312030200031203030003 </State>
|
||||
<State> $Sum12030100031203X200031203030003 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_iced_Black_Sugar_Milk.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_iced_Black_Sugar_Milk.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_iced_Black_Sugar_Milk.png" </FilenameDisable>
|
||||
|
|
@ -1213,10 +1223,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_iced_Black_Sugar_Milk.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-03-01-0003.Price
|
||||
Var PriceD2 = $12-03-02-0003.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-03-{XSlotPrefix}2-0003.Price
|
||||
Var PriceD3 = $12-03-03-0003.Price
|
||||
Var PD_CODE1 = "12-03-01-0003"
|
||||
Var PD_CODE2 = "12-03-02-0003"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-03-{XSlotPrefix}2-0003"
|
||||
Var PD_CODE3 = "12-03-03-0003"
|
||||
; begin lang
|
||||
Var aliasName[0] = "BROWN SUGAR \nMILK"
|
||||
|
|
@ -1269,7 +1279,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-03-01-0003.Button
|
||||
Var PD_STAGE_2 = $12-03-02-0003.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-03-{XSlotPrefix}2-0003.Button
|
||||
Var PD_STAGE_3 = $12-03-03-0003.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1286,7 +1296,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-03-02-0003"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-03-02-0003"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-03-22-0003"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-03-01-0003"
|
||||
|
|
@ -1366,7 +1381,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-03-02-0003.Button </State>
|
||||
<State> @AutoVar $12-03-{XSlotPrefix}2-0003.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1376,8 +1391,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-02-0003.Button </State>
|
||||
<Value> StringFmt( $12-03-02-0003.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-03-{XSlotPrefix}2-0003.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-03-{XSlotPrefix}2-0003.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1404,7 +1419,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120301000312030200031203030003 = "Disable" Then
|
||||
If $Sum12030100031203X200031203030003 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -1424,9 +1439,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120301000312030200031203030003 = "Disable" Then
|
||||
If $Sum12030100031203X200031203030003 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-03-01-0003.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-03-02-0003.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-{XSlotPrefix}2-0003.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0003.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -1461,7 +1476,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120301000312030200031203030003 </State>
|
||||
<State> $Sum12030100031203X200031203030003 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -1469,15 +1484,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; - 12-03-02-0006 12-03-03-0006
|
||||
; - 12-03-02-0006|12-03-22-0006 12-03-03-0006
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-02-0006.Button,12-03-03-0006.Button,$Sum12030200061203030006) </State>
|
||||
<State> Flag( @Slot 12-03-02-0006.Button or 12-03-22-0006.Button,12-03-03-0006.Button,$Sum1203X200061203030006) </State>
|
||||
<Button>
|
||||
<State> $Sum12030200061203030006 </State>
|
||||
<State> $Sum1203X200061203030006 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_pink_milk.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_pink_milk.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_pink_milk.png" </FilenameDisable>
|
||||
|
|
@ -1487,10 +1502,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_pink_milk.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-03-02-0006.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-03-{XSlotPrefix}2-0006.Price
|
||||
Var PriceD3 = $12-03-03-0006.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-03-02-0006"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-03-{XSlotPrefix}2-0006"
|
||||
Var PD_CODE3 = "12-03-03-0006"
|
||||
; begin lang
|
||||
Var aliasName[0] = "PINK MILK"
|
||||
|
|
@ -1543,7 +1558,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-03-02-0006.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-03-{XSlotPrefix}2-0006.Button
|
||||
Var PD_STAGE_3 = $12-03-03-0006.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1560,7 +1575,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-03-02-0006"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-03-02-0006"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-03-22-0006"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
|
|
@ -1640,7 +1660,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-03-02-0006.Button </State>
|
||||
<State> @AutoVar $12-03-{XSlotPrefix}2-0006.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1650,8 +1670,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-02-0006.Button </State>
|
||||
<Value> StringFmt( $12-03-02-0006.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-03-{XSlotPrefix}2-0006.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-03-{XSlotPrefix}2-0006.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1694,9 +1714,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum12030200061203030006 = "Disable" Then
|
||||
If $Sum1203X200061203030006 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-03-02-0006.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-{XSlotPrefix}2-0006.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0006.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -1731,7 +1751,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum12030200061203030006 </State>
|
||||
<State> $Sum1203X200061203030006 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -1739,15 +1759,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; 12-03-01-0002 12-03-02-0002 12-03-03-0002
|
||||
; 12-03-01-0002 12-03-02-0002|12-03-22-0002 12-03-03-0002
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-01-0002.Button,12-03-02-0002.Button,12-03-03-0002.Button,$Sum120301000212030200021203030002) </State>
|
||||
<State> Flag( 12-03-01-0002.Button,@Slot 12-03-02-0002.Button or 12-03-22-0002.Button,12-03-03-0002.Button,$Sum12030100021203X200021203030002) </State>
|
||||
<Button>
|
||||
<State> $Sum120301000212030200021203030002 </State>
|
||||
<State> $Sum12030100021203X200021203030002 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_iced_cocoa.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_iced_cocoa.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_iced_cocoa.png" </FilenameDisable>
|
||||
|
|
@ -1757,10 +1777,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_iced_cocoa.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-03-01-0002.Price
|
||||
Var PriceD2 = $12-03-02-0002.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-03-{XSlotPrefix}2-0002.Price
|
||||
Var PriceD3 = $12-03-03-0002.Price
|
||||
Var PD_CODE1 = "12-03-01-0002"
|
||||
Var PD_CODE2 = "12-03-02-0002"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-03-{XSlotPrefix}2-0002"
|
||||
Var PD_CODE3 = "12-03-03-0002"
|
||||
; begin lang
|
||||
Var aliasName[0] = "COCOA"
|
||||
|
|
@ -1813,7 +1833,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-03-01-0002.Button
|
||||
Var PD_STAGE_2 = $12-03-02-0002.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-03-{XSlotPrefix}2-0002.Button
|
||||
Var PD_STAGE_3 = $12-03-03-0002.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1830,7 +1850,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-03-02-0002"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-03-02-0002"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-03-22-0002"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-03-01-0002"
|
||||
|
|
@ -1910,7 +1935,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-03-02-0002.Button </State>
|
||||
<State> @AutoVar $12-03-{XSlotPrefix}2-0002.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1920,8 +1945,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-02-0002.Button </State>
|
||||
<Value> StringFmt( $12-03-02-0002.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-03-{XSlotPrefix}2-0002.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-03-{XSlotPrefix}2-0002.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1948,7 +1973,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120301000212030200021203030002 = "Disable" Then
|
||||
If $Sum12030100021203X200021203030002 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -1968,9 +1993,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120301000212030200021203030002 = "Disable" Then
|
||||
If $Sum12030100021203X200021203030002 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-03-01-0002.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-03-02-0002.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-{XSlotPrefix}2-0002.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0002.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -2005,7 +2030,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120301000212030200021203030002 </State>
|
||||
<State> $Sum12030100021203X200021203030002 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -2013,15 +2038,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; 12-03-01-0022 12-03-02-0022 12-03-03-0022
|
||||
; 12-03-01-0022 12-03-02-0022|12-03-22-0022 12-03-03-0022
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-01-0022.Button,12-03-02-0022.Button,12-03-03-0022.Button,$Sum120301002212030200221203030022) </State>
|
||||
<State> Flag( 12-03-01-0022.Button,@Slot 12-03-02-0022.Button or 12-03-22-0022.Button,12-03-03-0022.Button,$Sum12030100221203X200221203030022) </State>
|
||||
<Button>
|
||||
<State> $Sum120301002212030200221203030022 </State>
|
||||
<State> $Sum12030100221203X200221203030022 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_Melon_smoothie.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_Melon_smoothie.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_Melon_smoothie.png" </FilenameDisable>
|
||||
|
|
@ -2031,10 +2056,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_Melon_smoothie.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-03-01-0022.Price
|
||||
Var PriceD2 = $12-03-02-0022.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-03-{XSlotPrefix}2-0022.Price
|
||||
Var PriceD3 = $12-03-03-0022.Price
|
||||
Var PD_CODE1 = "12-03-01-0022"
|
||||
Var PD_CODE2 = "12-03-02-0022"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-03-{XSlotPrefix}2-0022"
|
||||
Var PD_CODE3 = "12-03-03-0022"
|
||||
; begin lang
|
||||
Var aliasName[0] = "MELON MILK"
|
||||
|
|
@ -2087,7 +2112,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-03-01-0022.Button
|
||||
Var PD_STAGE_2 = $12-03-02-0022.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-03-{XSlotPrefix}2-0022.Button
|
||||
Var PD_STAGE_3 = $12-03-03-0022.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -2104,7 +2129,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-03-02-0022"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-03-02-0022"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-03-22-0022"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-03-01-0022"
|
||||
|
|
@ -2184,7 +2214,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-03-02-0022.Button </State>
|
||||
<State> @AutoVar $12-03-{XSlotPrefix}2-0022.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -2194,8 +2224,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-02-0022.Button </State>
|
||||
<Value> StringFmt( $12-03-02-0022.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-03-{XSlotPrefix}2-0022.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-03-{XSlotPrefix}2-0022.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -2222,7 +2252,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120301002212030200221203030022 = "Disable" Then
|
||||
If $Sum12030100221203X200221203030022 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -2242,9 +2272,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120301002212030200221203030022 = "Disable" Then
|
||||
If $Sum12030100221203X200221203030022 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-03-01-0022.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-03-02-0022.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-{XSlotPrefix}2-0022.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0022.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -2279,7 +2309,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120301002212030200221203030022 </State>
|
||||
<State> $Sum12030100221203X200221203030022 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -3097,15 +3127,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; - 12-05-02-0041 12-05-03-0041
|
||||
; - 12-05-02-0041|12-05-22-0041 12-05-03-0041
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0041.Button,12-05-03-0041.Button,$Sum12050200411205030041) </State>
|
||||
<State> Flag( @Slot 12-05-02-0041.Button or 12-05-22-0041.Button,12-05-03-0041.Button,$Sum1205X200411205030041) </State>
|
||||
<Button>
|
||||
<State> $Sum12050200411205030041 </State>
|
||||
<State> $Sum1205X200411205030041 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_iced_strawberry_soda.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_iced_strawberry_soda.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_iced_strawberry_soda.png" </FilenameDisable>
|
||||
|
|
@ -3115,10 +3145,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_iced_strawberry_soda.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0041.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0041.Price
|
||||
Var PriceD3 = $12-05-03-0041.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0041"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-05-{XSlotPrefix}2-0041"
|
||||
Var PD_CODE3 = "12-05-03-0041"
|
||||
; begin lang
|
||||
Var aliasName[0] = "STRAWBERRY SODA"
|
||||
|
|
@ -3171,7 +3201,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0041.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0041.Button
|
||||
Var PD_STAGE_3 = $12-05-03-0041.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -3188,7 +3218,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-05-02-0041"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-05-02-0041"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-05-22-0041"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
|
|
@ -3268,7 +3303,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-05-02-0041.Button </State>
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0041.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -3278,8 +3313,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-02-0041.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0041.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0041.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-05-{XSlotPrefix}2-0041.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -3322,9 +3357,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum12050200411205030041 = "Disable" Then
|
||||
If $Sum1205X200411205030041 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0041.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-{XSlotPrefix}2-0041.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0041.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -3359,7 +3394,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum12050200411205030041 </State>
|
||||
<State> $Sum1205X200411205030041 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -3367,15 +3402,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; - 12-05-02-0008 12-05-03-0008
|
||||
; - 12-05-02-0008|12-05-22-0008 12-05-03-0008
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0008.Button,12-05-03-0008.Button,$Sum12050200081205030008) </State>
|
||||
<State> Flag( @Slot 12-05-02-0008.Button or 12-05-22-0008.Button,12-05-03-0008.Button,$Sum1205X200081205030008) </State>
|
||||
<Button>
|
||||
<State> $Sum12050200081205030008 </State>
|
||||
<State> $Sum1205X200081205030008 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_sala_soda.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_sala_soda.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_sala_soda.png" </FilenameDisable>
|
||||
|
|
@ -3385,10 +3420,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_sala_soda.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0008.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0008.Price
|
||||
Var PriceD3 = $12-05-03-0008.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0008"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-05-{XSlotPrefix}2-0008"
|
||||
Var PD_CODE3 = "12-05-03-0008"
|
||||
; begin lang
|
||||
Var aliasName[0] = "SALAK SODA"
|
||||
|
|
@ -3441,7 +3476,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0008.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0008.Button
|
||||
Var PD_STAGE_3 = $12-05-03-0008.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -3458,7 +3493,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-05-02-0008"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-05-02-0008"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-05-22-0008"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
|
|
@ -3538,7 +3578,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-05-02-0008.Button </State>
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0008.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -3548,8 +3588,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-02-0008.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0008.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0008.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-05-{XSlotPrefix}2-0008.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -3592,9 +3632,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum12050200081205030008 = "Disable" Then
|
||||
If $Sum1205X200081205030008 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0008.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-{XSlotPrefix}2-0008.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0008.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -3629,7 +3669,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum12050200081205030008 </State>
|
||||
<State> $Sum1205X200081205030008 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -3637,15 +3677,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; - 12-05-02-0044 -
|
||||
; - 12-05-02-0044|12-05-22-0044 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0044.Button,$Sum1205020044) </State>
|
||||
<State> Flag( @Slot 12-05-02-0044.Button or 12-05-22-0044.Button,$Sum1205X20044) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020044 </State>
|
||||
<State> $Sum1205X20044 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_iced_melon_soda.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_iced_melon_soda.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_iced_melon_soda.png" </FilenameDisable>
|
||||
|
|
@ -3655,10 +3695,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_iced_melon_soda.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0044.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0044.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0044"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-05-{XSlotPrefix}2-0044"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "MELON SODA"
|
||||
|
|
@ -3711,7 +3751,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0044.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0044.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -3728,7 +3768,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-05-02-0044"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-05-02-0044"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-05-22-0044"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
|
|
@ -3808,7 +3853,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-05-02-0044.Button </State>
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0044.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -3818,8 +3863,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-02-0044.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0044.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0044.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-05-{XSlotPrefix}2-0044.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -3862,9 +3907,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020044 = "Disable" Then
|
||||
If $Sum1205X20044 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0044.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-{XSlotPrefix}2-0044.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -3899,7 +3944,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020044 </State>
|
||||
<State> $Sum1205X20044 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -3907,15 +3952,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; - 12-05-02-0045 -
|
||||
; - 12-05-02-0045|12-05-22-0045 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0045.Button,$Sum1205020045) </State>
|
||||
<State> Flag( @Slot 12-05-02-0045.Button or 12-05-22-0045.Button,$Sum1205X20045) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020045 </State>
|
||||
<State> $Sum1205X20045 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_iced_yuzu_soda.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_iced_yuzu_soda.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_iced_yuzu_soda.png" </FilenameDisable>
|
||||
|
|
@ -3925,10 +3970,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_iced_yuzu_soda.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0045.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0045.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0045"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-05-{XSlotPrefix}2-0045"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "YUZU SODA"
|
||||
|
|
@ -3981,7 +4026,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0045.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0045.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -3998,7 +4043,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-05-02-0045"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-05-02-0045"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-05-22-0045"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
|
|
@ -4078,7 +4128,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-05-02-0045.Button </State>
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0045.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -4088,8 +4138,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-02-0045.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0045.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0045.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-05-{XSlotPrefix}2-0045.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -4132,9 +4182,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020045 = "Disable" Then
|
||||
If $Sum1205X20045 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0045.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-{XSlotPrefix}2-0045.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -4169,7 +4219,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020045 </State>
|
||||
<State> $Sum1205X20045 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
|
|||
|
|
@ -622,15 +622,15 @@
|
|||
;dummy_layout.inc
|
||||
; menu_new_list 10
|
||||
; ==================> Len = 3
|
||||
; - 12-05-02-0045 -
|
||||
; - 12-05-02-0045|12-05-22-0045 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0045.Button,$Sum1205020045) </State>
|
||||
<State> Flag( @Slot 12-05-02-0045.Button or 12-05-22-0045.Button,$Sum1205X20045) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020045 </State>
|
||||
<State> $Sum1205X20045 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_iced_yuzu_soda.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_iced_yuzu_soda.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_iced_yuzu_soda.png" </FilenameDisable>
|
||||
|
|
@ -640,10 +640,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_iced_yuzu_soda.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0045.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0045.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0045"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-05-{XSlotPrefix}2-0045"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "YUZU SODA"
|
||||
|
|
@ -696,7 +696,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0045.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0045.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -713,7 +713,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-05-02-0045"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-05-02-0045"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-05-22-0045"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
|
|
@ -794,7 +799,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-05-02-0045.Button </State>
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0045.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -804,8 +809,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-02-0045.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0045.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0045.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-05-{XSlotPrefix}2-0045.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -848,9 +853,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020045 = "Disable" Then
|
||||
If $Sum1205X20045 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0045.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-{XSlotPrefix}2-0045.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -885,7 +890,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020045 </State>
|
||||
<State> $Sum1205X20045 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -893,15 +898,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; 12-03-01-0025 12-03-02-0025 12-03-03-0025
|
||||
; 12-03-01-0025 12-03-02-0025|12-03-22-0025 12-03-03-0025
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-01-0025.Button,12-03-02-0025.Button,12-03-03-0025.Button,$Sum120301002512030200251203030025) </State>
|
||||
<State> Flag( 12-03-01-0025.Button,@Slot 12-03-02-0025.Button or 12-03-22-0025.Button,12-03-03-0025.Button,$Sum12030100251203X200251203030025) </State>
|
||||
<Button>
|
||||
<State> $Sum120301002512030200251203030025 </State>
|
||||
<State> $Sum12030100251203X200251203030025 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_ChocoYuzu_milk.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_ChocoYuzu_milk.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_ChocoYuzu_milk.png" </FilenameDisable>
|
||||
|
|
@ -911,10 +916,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_ChocoYuzu_milk.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-03-01-0025.Price
|
||||
Var PriceD2 = $12-03-02-0025.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-03-{XSlotPrefix}2-0025.Price
|
||||
Var PriceD3 = $12-03-03-0025.Price
|
||||
Var PD_CODE1 = "12-03-01-0025"
|
||||
Var PD_CODE2 = "12-03-02-0025"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-03-{XSlotPrefix}2-0025"
|
||||
Var PD_CODE3 = "12-03-03-0025"
|
||||
; begin lang
|
||||
Var aliasName[0] = "COCOA YUZU"
|
||||
|
|
@ -967,7 +972,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-03-01-0025.Button
|
||||
Var PD_STAGE_2 = $12-03-02-0025.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-03-{XSlotPrefix}2-0025.Button
|
||||
Var PD_STAGE_3 = $12-03-03-0025.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -984,7 +989,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-03-02-0025"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-03-02-0025"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-03-22-0025"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-03-01-0025"
|
||||
|
|
@ -1065,7 +1075,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-03-02-0025.Button </State>
|
||||
<State> @AutoVar $12-03-{XSlotPrefix}2-0025.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1075,8 +1085,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-02-0025.Button </State>
|
||||
<Value> StringFmt( $12-03-02-0025.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-03-{XSlotPrefix}2-0025.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-03-{XSlotPrefix}2-0025.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1103,7 +1113,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120301002512030200251203030025 = "Disable" Then
|
||||
If $Sum12030100251203X200251203030025 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -1123,9 +1133,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120301002512030200251203030025 = "Disable" Then
|
||||
If $Sum12030100251203X200251203030025 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-03-01-0025.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-03-02-0025.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-{XSlotPrefix}2-0025.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0025.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -1160,7 +1170,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120301002512030200251203030025 </State>
|
||||
<State> $Sum12030100251203X200251203030025 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -1168,15 +1178,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; 12-02-01-0040 12-02-02-0040 12-02-03-0040
|
||||
; 12-02-01-0040 12-02-02-0040|12-02-22-0040 12-02-03-0040
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0040.Button,12-02-02-0040.Button,12-02-03-0040.Button,$Sum120201004012020200401202030040) </State>
|
||||
<State> Flag( 12-02-01-0040.Button,@Slot 12-02-02-0040.Button or 12-02-22-0040.Button,12-02-03-0040.Button,$Sum12020100401202X200401202030040) </State>
|
||||
<Button>
|
||||
<State> $Sum120201004012020200401202030040 </State>
|
||||
<State> $Sum12020100401202X200401202030040 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_limeblack_tea_SingPark.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_limeblack_tea_SingPark.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_limeblack_tea_SingPark.png" </FilenameDisable>
|
||||
|
|
@ -1186,10 +1196,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_limeblack_tea_SingPark.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0040.Price
|
||||
Var PriceD2 = $12-02-02-0040.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-02-{XSlotPrefix}2-0040.Price
|
||||
Var PriceD3 = $12-02-03-0040.Price
|
||||
Var PD_CODE1 = "12-02-01-0040"
|
||||
Var PD_CODE2 = "12-02-02-0040"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-02-{XSlotPrefix}2-0040"
|
||||
Var PD_CODE3 = "12-02-03-0040"
|
||||
; begin lang
|
||||
Var aliasName[0] = "LIME TEA"
|
||||
|
|
@ -1242,7 +1252,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-02-01-0040.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0040.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-02-{XSlotPrefix}2-0040.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0040.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1259,7 +1269,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-02-02-0040"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-02-02-0040"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-02-22-0040"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0040"
|
||||
|
|
@ -1340,7 +1355,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-02-02-0040.Button </State>
|
||||
<State> @AutoVar $12-02-{XSlotPrefix}2-0040.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1350,8 +1365,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-02-0040.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0040.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-02-{XSlotPrefix}2-0040.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-02-{XSlotPrefix}2-0040.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1378,7 +1393,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201004012020200401202030040 = "Disable" Then
|
||||
If $Sum12020100401202X200401202030040 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -1398,9 +1413,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120201004012020200401202030040 = "Disable" Then
|
||||
If $Sum12020100401202X200401202030040 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0040.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0040.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-{XSlotPrefix}2-0040.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0040.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -1435,7 +1450,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120201004012020200401202030040 </State>
|
||||
<State> $Sum12020100401202X200401202030040 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -1443,15 +1458,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; - 12-05-02-0025 12-05-03-0025
|
||||
; - 12-05-02-0025|12-05-22-0025 12-05-03-0025
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0025.Button,12-05-03-0025.Button,$Sum12050200251205030025) </State>
|
||||
<State> Flag( @Slot 12-05-02-0025.Button or 12-05-22-0025.Button,12-05-03-0025.Button,$Sum1205X200251205030025) </State>
|
||||
<Button>
|
||||
<State> $Sum12050200251205030025 </State>
|
||||
<State> $Sum1205X200251205030025 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_iced_ume_lime_soda.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_iced_ume_lime_soda.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_iced_ume_lime_soda.png" </FilenameDisable>
|
||||
|
|
@ -1461,10 +1476,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_iced_ume_lime_soda.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0025.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0025.Price
|
||||
Var PriceD3 = $12-05-03-0025.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0025"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-05-{XSlotPrefix}2-0025"
|
||||
Var PD_CODE3 = "12-05-03-0025"
|
||||
; begin lang
|
||||
Var aliasName[0] = "PLUM \nLIMENADE SODA"
|
||||
|
|
@ -1517,7 +1532,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0025.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0025.Button
|
||||
Var PD_STAGE_3 = $12-05-03-0025.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1534,7 +1549,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-05-02-0025"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-05-02-0025"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-05-22-0025"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
|
|
@ -1615,7 +1635,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-05-02-0025.Button </State>
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0025.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1625,8 +1645,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-02-0025.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0025.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0025.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-05-{XSlotPrefix}2-0025.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1669,9 +1689,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum12050200251205030025 = "Disable" Then
|
||||
If $Sum1205X200251205030025 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0025.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-{XSlotPrefix}2-0025.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0025.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -1706,7 +1726,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum12050200251205030025 </State>
|
||||
<State> $Sum1205X200251205030025 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -1714,15 +1734,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; 12-01-01-0017 12-01-02-0017 -
|
||||
; 12-01-01-0017 12-01-02-0017|12-01-22-0017 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0017.Button,12-01-02-0017.Button,$Sum12010100171201020017) </State>
|
||||
<State> Flag( 12-01-01-0017.Button,@Slot 12-01-02-0017.Button or 12-01-22-0017.Button,$Sum12010100171201X20017) </State>
|
||||
<Button>
|
||||
<State> $Sum12010100171201020017 </State>
|
||||
<State> $Sum12010100171201X20017 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_hot_lychee_espresso.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_hot_lychee_espresso.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_hot_lychee_espresso.png" </FilenameDisable>
|
||||
|
|
@ -1732,10 +1752,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_hot_lychee_espresso.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-01-01-0017.Price
|
||||
Var PriceD2 = $12-01-02-0017.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-01-{XSlotPrefix}2-0017.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "12-01-01-0017"
|
||||
Var PD_CODE2 = "12-01-02-0017"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-01-{XSlotPrefix}2-0017"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "LYCHEECANO"
|
||||
|
|
@ -1788,7 +1808,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-01-01-0017.Button
|
||||
Var PD_STAGE_2 = $12-01-02-0017.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-01-{XSlotPrefix}2-0017.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1805,7 +1825,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-01-02-0017"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-01-02-0017"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-01-22-0017"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-01-01-0017"
|
||||
|
|
@ -1886,7 +1911,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-01-02-0017.Button </State>
|
||||
<State> @AutoVar $12-01-{XSlotPrefix}2-0017.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1896,8 +1921,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-01-02-0017.Button </State>
|
||||
<Value> StringFmt( $12-01-02-0017.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-01-{XSlotPrefix}2-0017.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-01-{XSlotPrefix}2-0017.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1924,7 +1949,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum12010100171201020017 = "Disable" Then
|
||||
If $Sum12010100171201X20017 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -1944,9 +1969,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum12010100171201020017 = "Disable" Then
|
||||
If $Sum12010100171201X20017 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-01-01-0017.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-01-02-0017.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-01-{XSlotPrefix}2-0017.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -1981,7 +2006,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum12010100171201020017 </State>
|
||||
<State> $Sum12010100171201X20017 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -1989,15 +2014,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; 12-21-01-0017 12-21-02-0017 -
|
||||
; 12-21-01-0017 12-21-02-0017|12-21-22-0017 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-21-01-0017.Button,12-21-02-0017.Button,$Sum12210100171221020017) </State>
|
||||
<State> Flag( 12-21-01-0017.Button,@Slot 12-21-02-0017.Button or 12-21-22-0017.Button,$Sum12210100171221X20017) </State>
|
||||
<Button>
|
||||
<State> $Sum12210100171221020017 </State>
|
||||
<State> $Sum12210100171221X20017 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_hot_lychee_espresso.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_hot_lychee_espresso.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_hot_lychee_espresso.png" </FilenameDisable>
|
||||
|
|
@ -2007,10 +2032,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_hot_lychee_espresso.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-21-01-0017.Price
|
||||
Var PriceD2 = $12-21-02-0017.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-21-{XSlotPrefix}2-0017.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "12-21-01-0017"
|
||||
Var PD_CODE2 = "12-21-02-0017"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-21-{XSlotPrefix}2-0017"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "LYCHEECANO"
|
||||
|
|
@ -2063,7 +2088,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-21-01-0017.Button
|
||||
Var PD_STAGE_2 = $12-21-02-0017.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-21-{XSlotPrefix}2-0017.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -2080,7 +2105,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-21-02-0017"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-21-02-0017"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-21-22-0017"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-21-01-0017"
|
||||
|
|
@ -2161,7 +2191,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-21-02-0017.Button </State>
|
||||
<State> @AutoVar $12-21-{XSlotPrefix}2-0017.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -2171,8 +2201,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-21-02-0017.Button </State>
|
||||
<Value> StringFmt( $12-21-02-0017.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-21-{XSlotPrefix}2-0017.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-21-{XSlotPrefix}2-0017.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -2199,7 +2229,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum12210100171221020017 = "Disable" Then
|
||||
If $Sum12210100171221X20017 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -2219,9 +2249,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum12210100171221020017 = "Disable" Then
|
||||
If $Sum12210100171221X20017 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-21-01-0017.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-21-02-0017.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-21-{XSlotPrefix}2-0017.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -2256,7 +2286,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum12210100171221020017 </State>
|
||||
<State> $Sum12210100171221X20017 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -2264,15 +2294,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; - 12-05-02-0033 12-05-03-0033
|
||||
; - 12-05-02-0033|12-05-22-0033 12-05-03-0033
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0033.Button,12-05-03-0033.Button,$Sum12050200331205030033) </State>
|
||||
<State> Flag( @Slot 12-05-02-0033.Button or 12-05-22-0033.Button,12-05-03-0033.Button,$Sum1205X200331205030033) </State>
|
||||
<Button>
|
||||
<State> $Sum12050200331205030033 </State>
|
||||
<State> $Sum1205X200331205030033 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_iced_Lychee_soda.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_iced_Lychee_soda.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_iced_Lychee_soda.png" </FilenameDisable>
|
||||
|
|
@ -2282,10 +2312,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_iced_Lychee_soda.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0033.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0033.Price
|
||||
Var PriceD3 = $12-05-03-0033.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0033"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-05-{XSlotPrefix}2-0033"
|
||||
Var PD_CODE3 = "12-05-03-0033"
|
||||
; begin lang
|
||||
Var aliasName[0] = "LYCHEE SODA"
|
||||
|
|
@ -2338,7 +2368,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0033.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0033.Button
|
||||
Var PD_STAGE_3 = $12-05-03-0033.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -2355,7 +2385,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-05-02-0033"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-05-02-0033"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-05-22-0033"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
|
|
@ -2436,7 +2471,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-05-02-0033.Button </State>
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0033.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -2446,8 +2481,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-02-0033.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0033.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0033.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-05-{XSlotPrefix}2-0033.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -2490,9 +2525,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum12050200331205030033 = "Disable" Then
|
||||
If $Sum1205X200331205030033 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0033.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-{XSlotPrefix}2-0033.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0033.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -2527,7 +2562,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum12050200331205030033 </State>
|
||||
<State> $Sum1205X200331205030033 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -2535,15 +2570,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; 12-03-01-0022 12-03-02-0022 12-03-03-0022
|
||||
; 12-03-01-0022 12-03-02-0022|12-03-22-0022 12-03-03-0022
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-01-0022.Button,12-03-02-0022.Button,12-03-03-0022.Button,$Sum120301002212030200221203030022) </State>
|
||||
<State> Flag( 12-03-01-0022.Button,@Slot 12-03-02-0022.Button or 12-03-22-0022.Button,12-03-03-0022.Button,$Sum12030100221203X200221203030022) </State>
|
||||
<Button>
|
||||
<State> $Sum120301002212030200221203030022 </State>
|
||||
<State> $Sum12030100221203X200221203030022 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_Melon_smoothie.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_Melon_smoothie.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_Melon_smoothie.png" </FilenameDisable>
|
||||
|
|
@ -2553,10 +2588,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_Melon_smoothie.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-03-01-0022.Price
|
||||
Var PriceD2 = $12-03-02-0022.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-03-{XSlotPrefix}2-0022.Price
|
||||
Var PriceD3 = $12-03-03-0022.Price
|
||||
Var PD_CODE1 = "12-03-01-0022"
|
||||
Var PD_CODE2 = "12-03-02-0022"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-03-{XSlotPrefix}2-0022"
|
||||
Var PD_CODE3 = "12-03-03-0022"
|
||||
; begin lang
|
||||
Var aliasName[0] = "MELON MILK"
|
||||
|
|
@ -2609,7 +2644,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-03-01-0022.Button
|
||||
Var PD_STAGE_2 = $12-03-02-0022.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-03-{XSlotPrefix}2-0022.Button
|
||||
Var PD_STAGE_3 = $12-03-03-0022.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -2626,7 +2661,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-03-02-0022"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-03-02-0022"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-03-22-0022"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-03-01-0022"
|
||||
|
|
@ -2707,7 +2747,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-03-02-0022.Button </State>
|
||||
<State> @AutoVar $12-03-{XSlotPrefix}2-0022.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -2717,8 +2757,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-02-0022.Button </State>
|
||||
<Value> StringFmt( $12-03-02-0022.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-03-{XSlotPrefix}2-0022.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-03-{XSlotPrefix}2-0022.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -2745,7 +2785,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120301002212030200221203030022 = "Disable" Then
|
||||
If $Sum12030100221203X200221203030022 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -2765,9 +2805,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120301002212030200221203030022 = "Disable" Then
|
||||
If $Sum12030100221203X200221203030022 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-03-01-0022.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-03-02-0022.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-{XSlotPrefix}2-0022.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0022.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -2802,7 +2842,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120301002212030200221203030022 </State>
|
||||
<State> $Sum12030100221203X200221203030022 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -3081,15 +3121,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; - 12-05-02-0076 -
|
||||
; - 12-05-02-0076|12-05-22-0076 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0076.Button,$Sum1205020076) </State>
|
||||
<State> Flag( @Slot 12-05-02-0076.Button or 12-05-22-0076.Button,$Sum1205X20076) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020076 </State>
|
||||
<State> $Sum1205X20076 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_iced_pepsi_yuzu.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_iced_pepsi_yuzu.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_iced_pepsi_yuzu.png" </FilenameDisable>
|
||||
|
|
@ -3099,10 +3139,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_iced_pepsi_yuzu.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0076.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0076.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0076"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-05-{XSlotPrefix}2-0076"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "PEPSI Black YUZU"
|
||||
|
|
@ -3155,7 +3195,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0076.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0076.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -3172,7 +3212,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-05-02-0076"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-05-02-0076"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-05-22-0076"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
|
|
@ -3253,7 +3298,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-05-02-0076.Button </State>
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0076.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -3263,8 +3308,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-02-0076.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0076.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0076.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-05-{XSlotPrefix}2-0076.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -3307,9 +3352,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020076 = "Disable" Then
|
||||
If $Sum1205X20076 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0076.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-{XSlotPrefix}2-0076.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -3344,7 +3389,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020076 </State>
|
||||
<State> $Sum1205X20076 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -3352,15 +3397,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; - 12-05-02-0066 -
|
||||
; - 12-05-02-0066|12-05-22-0066 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0066.Button,$Sum1205020066) </State>
|
||||
<State> Flag( @Slot 12-05-02-0066.Button or 12-05-22-0066.Button,$Sum1205X20066) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020066 </State>
|
||||
<State> $Sum1205X20066 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_Mint_Lychee_lime_soda.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_Mint_Lychee_lime_soda.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_Mint_Lychee_lime_soda.png" </FilenameDisable>
|
||||
|
|
@ -3370,10 +3415,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_Mint_Lychee_lime_soda.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0066.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0066.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0066"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-05-{XSlotPrefix}2-0066"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "MINT LYCHEE\nLEMON SODA"
|
||||
|
|
@ -3426,7 +3471,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0066.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0066.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -3443,7 +3488,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-05-02-0066"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-05-02-0066"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-05-22-0066"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
|
|
@ -3524,7 +3574,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-05-02-0066.Button </State>
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0066.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -3534,8 +3584,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-02-0066.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0066.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0066.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-05-{XSlotPrefix}2-0066.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -3578,9 +3628,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020066 = "Disable" Then
|
||||
If $Sum1205X20066 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0066.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-{XSlotPrefix}2-0066.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -3615,7 +3665,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020066 </State>
|
||||
<State> $Sum1205X20066 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
|
|||
|
|
@ -622,15 +622,15 @@
|
|||
;dummy_layout.inc
|
||||
; menu_new_list 3
|
||||
; ==================> Len = 3
|
||||
; - 12-05-02-0044 -
|
||||
; - 12-05-02-0044|12-05-22-0044 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0044.Button,$Sum1205020044) </State>
|
||||
<State> Flag( @Slot 12-05-02-0044.Button or 12-05-22-0044.Button,$Sum1205X20044) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020044 </State>
|
||||
<State> $Sum1205X20044 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_iced_melon_soda.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_iced_melon_soda.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_iced_melon_soda.png" </FilenameDisable>
|
||||
|
|
@ -640,10 +640,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_iced_melon_soda.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0044.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0044.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0044"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-05-{XSlotPrefix}2-0044"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "MELON SODA"
|
||||
|
|
@ -696,7 +696,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0044.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0044.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -713,7 +713,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-05-02-0044"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-05-02-0044"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-05-22-0044"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
|
|
@ -727,8 +732,6 @@
|
|||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromProMelon = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
|
|
@ -795,7 +798,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-05-02-0044.Button </State>
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0044.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -805,8 +808,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-02-0044.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0044.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0044.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-05-{XSlotPrefix}2-0044.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -849,9 +852,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020044 = "Disable" Then
|
||||
If $Sum1205X20044 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0044.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-{XSlotPrefix}2-0044.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -886,7 +889,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020044 </State>
|
||||
<State> $Sum1205X20044 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -894,15 +897,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; - 12-05-02-0075 -
|
||||
; - 12-05-02-0075|12-05-22-0075 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0075.Button,$Sum1205020075) </State>
|
||||
<State> Flag( @Slot 12-05-02-0075.Button or 12-05-22-0075.Button,$Sum1205X20075) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020075 </State>
|
||||
<State> $Sum1205X20075 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_iced_pepsi_Melon.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_iced_pepsi_Melon.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_iced_pepsi_Melon.png" </FilenameDisable>
|
||||
|
|
@ -912,10 +915,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_iced_pepsi_Melon.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0075.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0075.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0075"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-05-{XSlotPrefix}2-0075"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "PEPSI Black MELON"
|
||||
|
|
@ -968,7 +971,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0075.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0075.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -985,7 +988,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-05-02-0075"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-05-02-0075"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-05-22-0075"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
|
|
@ -999,8 +1007,6 @@
|
|||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromProMelon = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
|
|
@ -1067,7 +1073,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-05-02-0075.Button </State>
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0075.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1077,8 +1083,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-02-0075.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0075.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0075.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-05-{XSlotPrefix}2-0075.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1121,9 +1127,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020075 = "Disable" Then
|
||||
If $Sum1205X20075 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0075.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-{XSlotPrefix}2-0075.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -1158,7 +1164,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020075 </State>
|
||||
<State> $Sum1205X20075 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -1166,15 +1172,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; 12-03-01-0022 12-03-02-0022 12-03-03-0022
|
||||
; 12-03-01-0022 12-03-02-0022|12-03-22-0022 12-03-03-0022
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-01-0022.Button,12-03-02-0022.Button,12-03-03-0022.Button,$Sum120301002212030200221203030022) </State>
|
||||
<State> Flag( 12-03-01-0022.Button,@Slot 12-03-02-0022.Button or 12-03-22-0022.Button,12-03-03-0022.Button,$Sum12030100221203X200221203030022) </State>
|
||||
<Button>
|
||||
<State> $Sum120301002212030200221203030022 </State>
|
||||
<State> $Sum12030100221203X200221203030022 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_Melon_smoothie.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_Melon_smoothie.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_Melon_smoothie.png" </FilenameDisable>
|
||||
|
|
@ -1184,10 +1190,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_Melon_smoothie.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-03-01-0022.Price
|
||||
Var PriceD2 = $12-03-02-0022.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-03-{XSlotPrefix}2-0022.Price
|
||||
Var PriceD3 = $12-03-03-0022.Price
|
||||
Var PD_CODE1 = "12-03-01-0022"
|
||||
Var PD_CODE2 = "12-03-02-0022"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-03-{XSlotPrefix}2-0022"
|
||||
Var PD_CODE3 = "12-03-03-0022"
|
||||
; begin lang
|
||||
Var aliasName[0] = "MELON MILK"
|
||||
|
|
@ -1240,7 +1246,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-03-01-0022.Button
|
||||
Var PD_STAGE_2 = $12-03-02-0022.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-03-{XSlotPrefix}2-0022.Button
|
||||
Var PD_STAGE_3 = $12-03-03-0022.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1257,7 +1263,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-03-02-0022"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-03-02-0022"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-03-22-0022"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-03-01-0022"
|
||||
|
|
@ -1271,7 +1282,6 @@
|
|||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromProMelon = 1
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
|
|
@ -1338,7 +1348,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-03-02-0022.Button </State>
|
||||
<State> @AutoVar $12-03-{XSlotPrefix}2-0022.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1348,8 +1358,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-02-0022.Button </State>
|
||||
<Value> StringFmt( $12-03-02-0022.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-03-{XSlotPrefix}2-0022.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-03-{XSlotPrefix}2-0022.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1376,7 +1386,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120301002212030200221203030022 = "Disable" Then
|
||||
If $Sum12030100221203X200221203030022 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -1396,9 +1406,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120301002212030200221203030022 = "Disable" Then
|
||||
If $Sum12030100221203X200221203030022 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-03-01-0022.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-03-02-0022.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-{XSlotPrefix}2-0022.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0022.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -1433,7 +1443,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120301002212030200221203030022 </State>
|
||||
<State> $Sum12030100221203X200221203030022 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
|
|||
|
|
@ -622,15 +622,15 @@
|
|||
;dummy_layout.inc
|
||||
; menu_new_list 7
|
||||
; ==================> Len = 3
|
||||
; 12-02-01-0024 12-02-02-0024 12-02-03-0024
|
||||
; 12-02-01-0024 12-02-02-0024|12-02-22-0024 12-02-03-0024
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0024.Button,12-02-02-0024.Button,12-02-03-0024.Button,$Sum120201002412020200241202030024) </State>
|
||||
<State> Flag( 12-02-01-0024.Button,@Slot 12-02-02-0024.Button or 12-02-22-0024.Button,12-02-03-0024.Button,$Sum12020100241202X200241202030024) </State>
|
||||
<Button>
|
||||
<State> $Sum120201002412020200241202030024 </State>
|
||||
<State> $Sum12020100241202X200241202030024 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_hot_thai_milk_tea_tacc.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_hot_thai_milk_tea_tacc.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_hot_thai_milk_tea_tacc.png" </FilenameDisable>
|
||||
|
|
@ -640,10 +640,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_hot_thai_milk_tea_tacc.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0024.Price
|
||||
Var PriceD2 = $12-02-02-0024.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-02-{XSlotPrefix}2-0024.Price
|
||||
Var PriceD3 = $12-02-03-0024.Price
|
||||
Var PD_CODE1 = "12-02-01-0024"
|
||||
Var PD_CODE2 = "12-02-02-0024"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-02-{XSlotPrefix}2-0024"
|
||||
Var PD_CODE3 = "12-02-03-0024"
|
||||
; begin lang
|
||||
Var aliasName[0] = "THAI MILK TEA"
|
||||
|
|
@ -696,7 +696,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-02-01-0024.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0024.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-02-{XSlotPrefix}2-0024.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0024.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -713,7 +713,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-02-02-0024"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-02-02-0024"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-02-22-0024"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0024"
|
||||
|
|
@ -794,7 +799,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-02-02-0024.Button </State>
|
||||
<State> @AutoVar $12-02-{XSlotPrefix}2-0024.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -804,8 +809,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-02-0024.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0024.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-02-{XSlotPrefix}2-0024.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-02-{XSlotPrefix}2-0024.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -832,7 +837,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201002412020200241202030024 = "Disable" Then
|
||||
If $Sum12020100241202X200241202030024 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -852,9 +857,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120201002412020200241202030024 = "Disable" Then
|
||||
If $Sum12020100241202X200241202030024 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0024.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0024.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-{XSlotPrefix}2-0024.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0024.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -889,7 +894,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120201002412020200241202030024 </State>
|
||||
<State> $Sum12020100241202X200241202030024 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -897,15 +902,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; 12-02-01-0039 12-02-02-0039 12-02-03-0039
|
||||
; 12-02-01-0039 12-02-02-0039|12-02-22-0039 12-02-03-0039
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0039.Button,12-02-02-0039.Button,12-02-03-0039.Button,$Sum120201003912020200391202030039) </State>
|
||||
<State> Flag( 12-02-01-0039.Button,@Slot 12-02-02-0039.Button or 12-02-22-0039.Button,12-02-03-0039.Button,$Sum12020100391202X200391202030039) </State>
|
||||
<Button>
|
||||
<State> $Sum120201003912020200391202030039 </State>
|
||||
<State> $Sum12020100391202X200391202030039 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_thai_milk_tea_SingPark.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_thai_milk_tea_SingPark.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_thai_milk_tea_SingPark.png" </FilenameDisable>
|
||||
|
|
@ -915,10 +920,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_thai_milk_tea_SingPark.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0039.Price
|
||||
Var PriceD2 = $12-02-02-0039.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-02-{XSlotPrefix}2-0039.Price
|
||||
Var PriceD3 = $12-02-03-0039.Price
|
||||
Var PD_CODE1 = "12-02-01-0039"
|
||||
Var PD_CODE2 = "12-02-02-0039"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-02-{XSlotPrefix}2-0039"
|
||||
Var PD_CODE3 = "12-02-03-0039"
|
||||
; begin lang
|
||||
Var aliasName[0] = "THAI MILK TEA"
|
||||
|
|
@ -971,7 +976,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-02-01-0039.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0039.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-02-{XSlotPrefix}2-0039.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0039.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -988,7 +993,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-02-02-0039"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-02-02-0039"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-02-22-0039"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0039"
|
||||
|
|
@ -1069,7 +1079,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-02-02-0039.Button </State>
|
||||
<State> @AutoVar $12-02-{XSlotPrefix}2-0039.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1079,8 +1089,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-02-0039.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0039.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-02-{XSlotPrefix}2-0039.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-02-{XSlotPrefix}2-0039.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1107,7 +1117,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201003912020200391202030039 = "Disable" Then
|
||||
If $Sum12020100391202X200391202030039 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -1127,9 +1137,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120201003912020200391202030039 = "Disable" Then
|
||||
If $Sum12020100391202X200391202030039 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0039.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0039.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-{XSlotPrefix}2-0039.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0039.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -1164,7 +1174,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120201003912020200391202030039 </State>
|
||||
<State> $Sum12020100391202X200391202030039 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -1172,15 +1182,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; 12-02-01-0047 12-02-02-0047 -
|
||||
; 12-02-01-0047 12-02-02-0047|12-02-22-0047 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0047.Button,12-02-02-0047.Button,$Sum12020100471202020047) </State>
|
||||
<State> Flag( 12-02-01-0047.Button,@Slot 12-02-02-0047.Button or 12-02-22-0047.Button,$Sum12020100471202X20047) </State>
|
||||
<Button>
|
||||
<State> $Sum12020100471202020047 </State>
|
||||
<State> $Sum12020100471202X20047 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_thai_black_tea_SingPark.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_thai_black_tea_SingPark.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_thai_black_tea_SingPark.png" </FilenameDisable>
|
||||
|
|
@ -1190,10 +1200,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_thai_black_tea_SingPark.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0047.Price
|
||||
Var PriceD2 = $12-02-02-0047.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-02-{XSlotPrefix}2-0047.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "12-02-01-0047"
|
||||
Var PD_CODE2 = "12-02-02-0047"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-02-{XSlotPrefix}2-0047"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "THAI BLACK TEA"
|
||||
|
|
@ -1246,7 +1256,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-02-01-0047.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0047.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-02-{XSlotPrefix}2-0047.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1263,7 +1273,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-02-02-0047"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-02-02-0047"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-02-22-0047"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0047"
|
||||
|
|
@ -1344,7 +1359,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-02-02-0047.Button </State>
|
||||
<State> @AutoVar $12-02-{XSlotPrefix}2-0047.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1354,8 +1369,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-02-0047.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0047.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-02-{XSlotPrefix}2-0047.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-02-{XSlotPrefix}2-0047.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1382,7 +1397,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum12020100471202020047 = "Disable" Then
|
||||
If $Sum12020100471202X20047 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -1402,9 +1417,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum12020100471202020047 = "Disable" Then
|
||||
If $Sum12020100471202X20047 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0047.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0047.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-{XSlotPrefix}2-0047.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -1439,7 +1454,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum12020100471202020047 </State>
|
||||
<State> $Sum12020100471202X20047 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -1447,15 +1462,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; 12-02-01-0007 12-02-02-0007 12-02-03-0007
|
||||
; 12-02-01-0007 12-02-02-0007|12-02-22-0007 12-02-03-0007
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0007.Button,12-02-02-0007.Button,12-02-03-0007.Button,$Sum120201000712020200071202030007) </State>
|
||||
<State> Flag( 12-02-01-0007.Button,@Slot 12-02-02-0007.Button or 12-02-22-0007.Button,12-02-03-0007.Button,$Sum12020100071202X200071202030007) </State>
|
||||
<Button>
|
||||
<State> $Sum120201000712020200071202030007 </State>
|
||||
<State> $Sum12020100071202X200071202030007 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_hot_lime_tea.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_hot_lime_tea.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_hot_lime_tea.png" </FilenameDisable>
|
||||
|
|
@ -1465,10 +1480,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_hot_lime_tea.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0007.Price
|
||||
Var PriceD2 = $12-02-02-0007.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-02-{XSlotPrefix}2-0007.Price
|
||||
Var PriceD3 = $12-02-03-0007.Price
|
||||
Var PD_CODE1 = "12-02-01-0007"
|
||||
Var PD_CODE2 = "12-02-02-0007"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-02-{XSlotPrefix}2-0007"
|
||||
Var PD_CODE3 = "12-02-03-0007"
|
||||
; begin lang
|
||||
Var aliasName[0] = "LIME TEA"
|
||||
|
|
@ -1521,7 +1536,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-02-01-0007.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0007.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-02-{XSlotPrefix}2-0007.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0007.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1538,7 +1553,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-02-02-0007"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-02-02-0007"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-02-22-0007"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0007"
|
||||
|
|
@ -1619,7 +1639,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-02-02-0007.Button </State>
|
||||
<State> @AutoVar $12-02-{XSlotPrefix}2-0007.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1629,8 +1649,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-02-0007.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0007.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-02-{XSlotPrefix}2-0007.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-02-{XSlotPrefix}2-0007.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1657,7 +1677,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201000712020200071202030007 = "Disable" Then
|
||||
If $Sum12020100071202X200071202030007 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -1677,9 +1697,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120201000712020200071202030007 = "Disable" Then
|
||||
If $Sum12020100071202X200071202030007 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0007.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0007.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-{XSlotPrefix}2-0007.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0007.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -1714,7 +1734,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120201000712020200071202030007 </State>
|
||||
<State> $Sum12020100071202X200071202030007 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -1722,15 +1742,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; 12-02-01-0040 12-02-02-0040 12-02-03-0040
|
||||
; 12-02-01-0040 12-02-02-0040|12-02-22-0040 12-02-03-0040
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0040.Button,12-02-02-0040.Button,12-02-03-0040.Button,$Sum120201004012020200401202030040) </State>
|
||||
<State> Flag( 12-02-01-0040.Button,@Slot 12-02-02-0040.Button or 12-02-22-0040.Button,12-02-03-0040.Button,$Sum12020100401202X200401202030040) </State>
|
||||
<Button>
|
||||
<State> $Sum120201004012020200401202030040 </State>
|
||||
<State> $Sum12020100401202X200401202030040 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_limeblack_tea_SingPark.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_limeblack_tea_SingPark.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_limeblack_tea_SingPark.png" </FilenameDisable>
|
||||
|
|
@ -1740,10 +1760,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_limeblack_tea_SingPark.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0040.Price
|
||||
Var PriceD2 = $12-02-02-0040.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-02-{XSlotPrefix}2-0040.Price
|
||||
Var PriceD3 = $12-02-03-0040.Price
|
||||
Var PD_CODE1 = "12-02-01-0040"
|
||||
Var PD_CODE2 = "12-02-02-0040"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-02-{XSlotPrefix}2-0040"
|
||||
Var PD_CODE3 = "12-02-03-0040"
|
||||
; begin lang
|
||||
Var aliasName[0] = "LIME TEA"
|
||||
|
|
@ -1796,7 +1816,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-02-01-0040.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0040.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-02-{XSlotPrefix}2-0040.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0040.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1813,7 +1833,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-02-02-0040"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-02-02-0040"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-02-22-0040"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0040"
|
||||
|
|
@ -1894,7 +1919,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-02-02-0040.Button </State>
|
||||
<State> @AutoVar $12-02-{XSlotPrefix}2-0040.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1904,8 +1929,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-02-0040.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0040.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-02-{XSlotPrefix}2-0040.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-02-{XSlotPrefix}2-0040.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1932,7 +1957,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201004012020200401202030040 = "Disable" Then
|
||||
If $Sum12020100401202X200401202030040 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -1952,9 +1977,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120201004012020200401202030040 = "Disable" Then
|
||||
If $Sum12020100401202X200401202030040 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0040.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0040.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-{XSlotPrefix}2-0040.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0040.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -1989,7 +2014,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120201004012020200401202030040 </State>
|
||||
<State> $Sum12020100401202X200401202030040 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -1997,15 +2022,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; 12-01-01-0055 12-01-02-0055 12-01-03-0055
|
||||
; 12-01-01-0055 12-01-02-0055|12-01-22-0055 12-01-03-0055
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0055.Button,12-01-02-0055.Button,12-01-03-0055.Button,$Sum120101005512010200551201030055) </State>
|
||||
<State> Flag( 12-01-01-0055.Button,@Slot 12-01-02-0055.Button or 12-01-22-0055.Button,12-01-03-0055.Button,$Sum12010100551201X200551201030055) </State>
|
||||
<Button>
|
||||
<State> $Sum120101005512010200551201030055 </State>
|
||||
<State> $Sum12010100551201X200551201030055 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_hot_coffee_thai_milk_tea_SingPark.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_hot_coffee_thai_milk_tea_SingPark.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_hot_coffee_thai_milk_tea_SingPark.png" </FilenameDisable>
|
||||
|
|
@ -2015,10 +2040,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_hot_coffee_thai_milk_tea_SingPark.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-01-01-0055.Price
|
||||
Var PriceD2 = $12-01-02-0055.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-01-{XSlotPrefix}2-0055.Price
|
||||
Var PriceD3 = $12-01-03-0055.Price
|
||||
Var PD_CODE1 = "12-01-01-0055"
|
||||
Var PD_CODE2 = "12-01-02-0055"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-01-{XSlotPrefix}2-0055"
|
||||
Var PD_CODE3 = "12-01-03-0055"
|
||||
; begin lang
|
||||
Var aliasName[0] = "THAI TEA\nCAFÉ LATTE"
|
||||
|
|
@ -2071,7 +2096,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-01-01-0055.Button
|
||||
Var PD_STAGE_2 = $12-01-02-0055.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-01-{XSlotPrefix}2-0055.Button
|
||||
Var PD_STAGE_3 = $12-01-03-0055.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -2088,7 +2113,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-01-02-0055"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-01-02-0055"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-01-22-0055"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-01-01-0055"
|
||||
|
|
@ -2169,7 +2199,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-01-02-0055.Button </State>
|
||||
<State> @AutoVar $12-01-{XSlotPrefix}2-0055.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -2179,8 +2209,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-01-02-0055.Button </State>
|
||||
<Value> StringFmt( $12-01-02-0055.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-01-{XSlotPrefix}2-0055.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-01-{XSlotPrefix}2-0055.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -2207,7 +2237,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120101005512010200551201030055 = "Disable" Then
|
||||
If $Sum12010100551201X200551201030055 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -2227,9 +2257,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120101005512010200551201030055 = "Disable" Then
|
||||
If $Sum12010100551201X200551201030055 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-01-01-0055.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-01-02-0055.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-01-{XSlotPrefix}2-0055.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-01-03-0055.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -2264,7 +2294,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120101005512010200551201030055 </State>
|
||||
<State> $Sum12010100551201X200551201030055 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -2272,15 +2302,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; 12-21-01-0055 12-21-02-0055 12-21-03-0055
|
||||
; 12-21-01-0055 12-21-02-0055|12-21-22-0055 12-21-03-0055
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-21-01-0055.Button,12-21-02-0055.Button,12-21-03-0055.Button,$Sum122101005512210200551221030055) </State>
|
||||
<State> Flag( 12-21-01-0055.Button,@Slot 12-21-02-0055.Button or 12-21-22-0055.Button,12-21-03-0055.Button,$Sum12210100551221X200551221030055) </State>
|
||||
<Button>
|
||||
<State> $Sum122101005512210200551221030055 </State>
|
||||
<State> $Sum12210100551221X200551221030055 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_hot_coffee_thai_milk_tea_SingPark.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_hot_coffee_thai_milk_tea_SingPark.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_hot_coffee_thai_milk_tea_SingPark.png" </FilenameDisable>
|
||||
|
|
@ -2290,10 +2320,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_hot_coffee_thai_milk_tea_SingPark.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-21-01-0055.Price
|
||||
Var PriceD2 = $12-21-02-0055.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-21-{XSlotPrefix}2-0055.Price
|
||||
Var PriceD3 = $12-21-03-0055.Price
|
||||
Var PD_CODE1 = "12-21-01-0055"
|
||||
Var PD_CODE2 = "12-21-02-0055"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-21-{XSlotPrefix}2-0055"
|
||||
Var PD_CODE3 = "12-21-03-0055"
|
||||
; begin lang
|
||||
Var aliasName[0] = "THAI TEA\nCAFÉ LATTE"
|
||||
|
|
@ -2346,7 +2376,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-21-01-0055.Button
|
||||
Var PD_STAGE_2 = $12-21-02-0055.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-21-{XSlotPrefix}2-0055.Button
|
||||
Var PD_STAGE_3 = $12-21-03-0055.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -2363,7 +2393,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-21-02-0055"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-21-02-0055"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-21-22-0055"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-21-01-0055"
|
||||
|
|
@ -2444,7 +2479,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-21-02-0055.Button </State>
|
||||
<State> @AutoVar $12-21-{XSlotPrefix}2-0055.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -2454,8 +2489,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-21-02-0055.Button </State>
|
||||
<Value> StringFmt( $12-21-02-0055.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-21-{XSlotPrefix}2-0055.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-21-{XSlotPrefix}2-0055.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -2482,7 +2517,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum122101005512210200551221030055 = "Disable" Then
|
||||
If $Sum12210100551221X200551221030055 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -2502,9 +2537,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum122101005512210200551221030055 = "Disable" Then
|
||||
If $Sum12210100551221X200551221030055 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-21-01-0055.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-21-02-0055.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-21-{XSlotPrefix}2-0055.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-21-03-0055.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -2539,7 +2574,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum122101005512210200551221030055 </State>
|
||||
<State> $Sum12210100551221X200551221030055 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -2547,15 +2582,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; 12-01-01-0029 12-01-02-0029 12-01-03-0029
|
||||
; 12-01-01-0029 12-01-02-0029|12-01-22-0029 12-01-03-0029
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0029.Button,12-01-02-0029.Button,12-01-03-0029.Button,$Sum120101002912010200291201030029) </State>
|
||||
<State> Flag( 12-01-01-0029.Button,@Slot 12-01-02-0029.Button or 12-01-22-0029.Button,12-01-03-0029.Button,$Sum12010100291201X200291201030029) </State>
|
||||
<Button>
|
||||
<State> $Sum120101002912010200291201030029 </State>
|
||||
<State> $Sum12010100291201X200291201030029 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_hot_coffee_thai_milk_tea.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_hot_coffee_thai_milk_tea.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_hot_coffee_thai_milk_tea.png" </FilenameDisable>
|
||||
|
|
@ -2565,10 +2600,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_hot_coffee_thai_milk_tea.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-01-01-0029.Price
|
||||
Var PriceD2 = $12-01-02-0029.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-01-{XSlotPrefix}2-0029.Price
|
||||
Var PriceD3 = $12-01-03-0029.Price
|
||||
Var PD_CODE1 = "12-01-01-0029"
|
||||
Var PD_CODE2 = "12-01-02-0029"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-01-{XSlotPrefix}2-0029"
|
||||
Var PD_CODE3 = "12-01-03-0029"
|
||||
; begin lang
|
||||
Var aliasName[0] = "THAI TEA\nCAFÉ LATTE"
|
||||
|
|
@ -2621,7 +2656,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-01-01-0029.Button
|
||||
Var PD_STAGE_2 = $12-01-02-0029.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-01-{XSlotPrefix}2-0029.Button
|
||||
Var PD_STAGE_3 = $12-01-03-0029.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -2638,7 +2673,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-01-02-0029"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-01-02-0029"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-01-22-0029"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-01-01-0029"
|
||||
|
|
@ -2719,7 +2759,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-01-02-0029.Button </State>
|
||||
<State> @AutoVar $12-01-{XSlotPrefix}2-0029.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -2729,8 +2769,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-01-02-0029.Button </State>
|
||||
<Value> StringFmt( $12-01-02-0029.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-01-{XSlotPrefix}2-0029.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-01-{XSlotPrefix}2-0029.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -2757,7 +2797,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120101002912010200291201030029 = "Disable" Then
|
||||
If $Sum12010100291201X200291201030029 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -2777,9 +2817,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120101002912010200291201030029 = "Disable" Then
|
||||
If $Sum12010100291201X200291201030029 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-01-01-0029.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-01-02-0029.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-01-{XSlotPrefix}2-0029.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-01-03-0029.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -2814,7 +2854,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120101002912010200291201030029 </State>
|
||||
<State> $Sum12010100291201X200291201030029 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -2822,15 +2862,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; 12-21-01-0029 12-21-02-0029 12-21-03-0029
|
||||
; 12-21-01-0029 12-21-02-0029|12-21-22-0029 12-21-03-0029
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-21-01-0029.Button,12-21-02-0029.Button,12-21-03-0029.Button,$Sum122101002912210200291221030029) </State>
|
||||
<State> Flag( 12-21-01-0029.Button,@Slot 12-21-02-0029.Button or 12-21-22-0029.Button,12-21-03-0029.Button,$Sum12210100291221X200291221030029) </State>
|
||||
<Button>
|
||||
<State> $Sum122101002912210200291221030029 </State>
|
||||
<State> $Sum12210100291221X200291221030029 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_hot_coffee_thai_milk_tea.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_hot_coffee_thai_milk_tea.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_hot_coffee_thai_milk_tea.png" </FilenameDisable>
|
||||
|
|
@ -2840,10 +2880,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_hot_coffee_thai_milk_tea.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-21-01-0029.Price
|
||||
Var PriceD2 = $12-21-02-0029.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-21-{XSlotPrefix}2-0029.Price
|
||||
Var PriceD3 = $12-21-03-0029.Price
|
||||
Var PD_CODE1 = "12-21-01-0029"
|
||||
Var PD_CODE2 = "12-21-02-0029"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-21-{XSlotPrefix}2-0029"
|
||||
Var PD_CODE3 = "12-21-03-0029"
|
||||
; begin lang
|
||||
Var aliasName[0] = "THAI TEA\nCAFÉ LATTE"
|
||||
|
|
@ -2896,7 +2936,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-21-01-0029.Button
|
||||
Var PD_STAGE_2 = $12-21-02-0029.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-21-{XSlotPrefix}2-0029.Button
|
||||
Var PD_STAGE_3 = $12-21-03-0029.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -2913,7 +2953,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-21-02-0029"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-21-02-0029"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-21-22-0029"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-21-01-0029"
|
||||
|
|
@ -2994,7 +3039,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-21-02-0029.Button </State>
|
||||
<State> @AutoVar $12-21-{XSlotPrefix}2-0029.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -3004,8 +3049,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-21-02-0029.Button </State>
|
||||
<Value> StringFmt( $12-21-02-0029.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-21-{XSlotPrefix}2-0029.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-21-{XSlotPrefix}2-0029.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -3032,7 +3077,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum122101002912210200291221030029 = "Disable" Then
|
||||
If $Sum12210100291221X200291221030029 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -3052,9 +3097,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum122101002912210200291221030029 = "Disable" Then
|
||||
If $Sum12210100291221X200291221030029 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-21-01-0029.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-21-02-0029.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-21-{XSlotPrefix}2-0029.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-21-03-0029.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -3089,7 +3134,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum122101002912210200291221030029 </State>
|
||||
<State> $Sum12210100291221X200291221030029 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
|
|||
|
|
@ -622,15 +622,15 @@
|
|||
;dummy_layout.inc
|
||||
; menu_new_list 6
|
||||
; ==================> Len = 3
|
||||
; 12-01-01-0040 12-01-02-0040 -
|
||||
; 12-01-01-0040 12-01-02-0040|12-01-22-0040 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0040.Button,12-01-02-0040.Button,$Sum12010100401201020040) </State>
|
||||
<State> Flag( 12-01-01-0040.Button,@Slot 12-01-02-0040.Button or 12-01-22-0040.Button,$Sum12010100401201X20040) </State>
|
||||
<Button>
|
||||
<State> $Sum12010100401201020040 </State>
|
||||
<State> $Sum12010100401201X20040 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_Yuzu_americano.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_Yuzu_americano.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_Yuzu_americano.png" </FilenameDisable>
|
||||
|
|
@ -640,10 +640,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_Yuzu_americano.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-01-01-0040.Price
|
||||
Var PriceD2 = $12-01-02-0040.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-01-{XSlotPrefix}2-0040.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "12-01-01-0040"
|
||||
Var PD_CODE2 = "12-01-02-0040"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-01-{XSlotPrefix}2-0040"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "YUZUCANO"
|
||||
|
|
@ -696,7 +696,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-01-01-0040.Button
|
||||
Var PD_STAGE_2 = $12-01-02-0040.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-01-{XSlotPrefix}2-0040.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -713,7 +713,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-01-02-0040"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-01-02-0040"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-01-22-0040"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-01-01-0040"
|
||||
|
|
@ -794,7 +799,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-01-02-0040.Button </State>
|
||||
<State> @AutoVar $12-01-{XSlotPrefix}2-0040.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -804,8 +809,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-01-02-0040.Button </State>
|
||||
<Value> StringFmt( $12-01-02-0040.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-01-{XSlotPrefix}2-0040.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-01-{XSlotPrefix}2-0040.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -832,7 +837,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum12010100401201020040 = "Disable" Then
|
||||
If $Sum12010100401201X20040 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -852,9 +857,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum12010100401201020040 = "Disable" Then
|
||||
If $Sum12010100401201X20040 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-01-01-0040.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-01-02-0040.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-01-{XSlotPrefix}2-0040.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -889,7 +894,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum12010100401201020040 </State>
|
||||
<State> $Sum12010100401201X20040 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -897,15 +902,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; 12-21-01-0040 12-21-02-0040 -
|
||||
; 12-21-01-0040 12-21-02-0040|12-21-22-0040 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-21-01-0040.Button,12-21-02-0040.Button,$Sum12210100401221020040) </State>
|
||||
<State> Flag( 12-21-01-0040.Button,@Slot 12-21-02-0040.Button or 12-21-22-0040.Button,$Sum12210100401221X20040) </State>
|
||||
<Button>
|
||||
<State> $Sum12210100401221020040 </State>
|
||||
<State> $Sum12210100401221X20040 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_Yuzu_americano.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_Yuzu_americano.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_Yuzu_americano.png" </FilenameDisable>
|
||||
|
|
@ -915,10 +920,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_Yuzu_americano.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-21-01-0040.Price
|
||||
Var PriceD2 = $12-21-02-0040.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-21-{XSlotPrefix}2-0040.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "12-21-01-0040"
|
||||
Var PD_CODE2 = "12-21-02-0040"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-21-{XSlotPrefix}2-0040"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "YUZUCANO"
|
||||
|
|
@ -971,7 +976,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-21-01-0040.Button
|
||||
Var PD_STAGE_2 = $12-21-02-0040.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-21-{XSlotPrefix}2-0040.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -988,7 +993,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-21-02-0040"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-21-02-0040"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-21-22-0040"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-21-01-0040"
|
||||
|
|
@ -1069,7 +1079,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-21-02-0040.Button </State>
|
||||
<State> @AutoVar $12-21-{XSlotPrefix}2-0040.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1079,8 +1089,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-21-02-0040.Button </State>
|
||||
<Value> StringFmt( $12-21-02-0040.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-21-{XSlotPrefix}2-0040.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-21-{XSlotPrefix}2-0040.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1107,7 +1117,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum12210100401221020040 = "Disable" Then
|
||||
If $Sum12210100401221X20040 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -1127,9 +1137,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum12210100401221020040 = "Disable" Then
|
||||
If $Sum12210100401221X20040 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-21-01-0040.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-21-02-0040.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-21-{XSlotPrefix}2-0040.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -1164,7 +1174,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum12210100401221020040 </State>
|
||||
<State> $Sum12210100401221X20040 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -1172,15 +1182,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; 12-02-01-0038 12-02-02-0038 -
|
||||
; 12-02-01-0038 12-02-02-0038|12-02-22-0038 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0038.Button,12-02-02-0038.Button,$Sum12020100381202020038) </State>
|
||||
<State> Flag( 12-02-01-0038.Button,@Slot 12-02-02-0038.Button or 12-02-22-0038.Button,$Sum12020100381202X20038) </State>
|
||||
<Button>
|
||||
<State> $Sum12020100381202020038 </State>
|
||||
<State> $Sum12020100381202X20038 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_hot_yuzu_tea.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_hot_yuzu_tea.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_hot_yuzu_tea.png" </FilenameDisable>
|
||||
|
|
@ -1190,10 +1200,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_hot_yuzu_tea.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0038.Price
|
||||
Var PriceD2 = $12-02-02-0038.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-02-{XSlotPrefix}2-0038.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "12-02-01-0038"
|
||||
Var PD_CODE2 = "12-02-02-0038"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-02-{XSlotPrefix}2-0038"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "YUZU TEA"
|
||||
|
|
@ -1246,7 +1256,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-02-01-0038.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0038.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-02-{XSlotPrefix}2-0038.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1263,7 +1273,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-02-02-0038"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-02-02-0038"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-02-22-0038"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0038"
|
||||
|
|
@ -1344,7 +1359,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-02-02-0038.Button </State>
|
||||
<State> @AutoVar $12-02-{XSlotPrefix}2-0038.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1354,8 +1369,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-02-0038.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0038.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-02-{XSlotPrefix}2-0038.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-02-{XSlotPrefix}2-0038.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1382,7 +1397,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum12020100381202020038 = "Disable" Then
|
||||
If $Sum12020100381202X20038 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -1402,9 +1417,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum12020100381202020038 = "Disable" Then
|
||||
If $Sum12020100381202X20038 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0038.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0038.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-{XSlotPrefix}2-0038.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -1439,7 +1454,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum12020100381202020038 </State>
|
||||
<State> $Sum12020100381202X20038 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -1447,15 +1462,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; - 12-05-02-0045 -
|
||||
; - 12-05-02-0045|12-05-22-0045 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0045.Button,$Sum1205020045) </State>
|
||||
<State> Flag( @Slot 12-05-02-0045.Button or 12-05-22-0045.Button,$Sum1205X20045) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020045 </State>
|
||||
<State> $Sum1205X20045 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_iced_yuzu_soda.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_iced_yuzu_soda.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_iced_yuzu_soda.png" </FilenameDisable>
|
||||
|
|
@ -1465,10 +1480,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_iced_yuzu_soda.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0045.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0045.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0045"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-05-{XSlotPrefix}2-0045"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "YUZU SODA"
|
||||
|
|
@ -1521,7 +1536,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0045.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0045.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1538,7 +1553,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-05-02-0045"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-05-02-0045"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-05-22-0045"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
|
|
@ -1619,7 +1639,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-05-02-0045.Button </State>
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0045.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1629,8 +1649,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-02-0045.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0045.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0045.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-05-{XSlotPrefix}2-0045.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1673,9 +1693,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020045 = "Disable" Then
|
||||
If $Sum1205X20045 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0045.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-{XSlotPrefix}2-0045.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -1710,7 +1730,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020045 </State>
|
||||
<State> $Sum1205X20045 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -1718,15 +1738,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; - 12-05-02-0053 -
|
||||
; - 12-05-02-0053|12-05-22-0053 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0053.Button,$Sum1205020053) </State>
|
||||
<State> Flag( @Slot 12-05-02-0053.Button or 12-05-22-0053.Button,$Sum1205X20053) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020053 </State>
|
||||
<State> $Sum1205X20053 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_iced_pepsi_yuzu.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_iced_pepsi_yuzu.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_iced_pepsi_yuzu.png" </FilenameDisable>
|
||||
|
|
@ -1736,10 +1756,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_iced_pepsi_yuzu.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0053.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0053.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0053"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-05-{XSlotPrefix}2-0053"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "PEPSI YUZU"
|
||||
|
|
@ -1792,7 +1812,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0053.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0053.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1809,7 +1829,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-05-02-0053"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-05-02-0053"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-05-22-0053"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
|
|
@ -1890,7 +1915,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-05-02-0053.Button </State>
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0053.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1900,8 +1925,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-02-0053.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0053.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0053.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-05-{XSlotPrefix}2-0053.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -1944,9 +1969,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020053 = "Disable" Then
|
||||
If $Sum1205X20053 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0053.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-{XSlotPrefix}2-0053.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -1981,7 +2006,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020053 </State>
|
||||
<State> $Sum1205X20053 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -1989,15 +2014,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; - 12-05-02-0076 -
|
||||
; - 12-05-02-0076|12-05-22-0076 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0076.Button,$Sum1205020076) </State>
|
||||
<State> Flag( @Slot 12-05-02-0076.Button or 12-05-22-0076.Button,$Sum1205X20076) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020076 </State>
|
||||
<State> $Sum1205X20076 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_iced_pepsi_yuzu.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_iced_pepsi_yuzu.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_iced_pepsi_yuzu.png" </FilenameDisable>
|
||||
|
|
@ -2007,10 +2032,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_iced_pepsi_yuzu.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0076.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0076.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0076"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-05-{XSlotPrefix}2-0076"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "PEPSI Black YUZU"
|
||||
|
|
@ -2063,7 +2088,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0076.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0076.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -2080,7 +2105,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-05-02-0076"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-05-02-0076"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-05-22-0076"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
|
|
@ -2161,7 +2191,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-05-02-0076.Button </State>
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0076.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -2171,8 +2201,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-02-0076.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0076.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0076.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-05-{XSlotPrefix}2-0076.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -2215,9 +2245,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020076 = "Disable" Then
|
||||
If $Sum1205X20076 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0076.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-{XSlotPrefix}2-0076.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -2252,7 +2282,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020076 </State>
|
||||
<State> $Sum1205X20076 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -2260,15 +2290,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; - 12-05-02-0064 -
|
||||
; - 12-05-02-0064|12-05-22-0064 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0064.Button,$Sum1205020064) </State>
|
||||
<State> Flag( @Slot 12-05-02-0064.Button or 12-05-22-0064.Button,$Sum1205X20064) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020064 </State>
|
||||
<State> $Sum1205X20064 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_Mint_Yuzu_Soda.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_Mint_Yuzu_Soda.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_Mint_Yuzu_Soda.png" </FilenameDisable>
|
||||
|
|
@ -2278,10 +2308,10 @@
|
|||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_Mint_Yuzu_Soda.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0064.Price
|
||||
Var PriceD2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0064.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0064"
|
||||
Var PD_CODE2 !assigned @AutoVar "12-05-{XSlotPrefix}2-0064"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "YUZU MINT SODA"
|
||||
|
|
@ -2334,7 +2364,7 @@
|
|||
Var DescLang[2][5] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0064.Button
|
||||
Var PD_STAGE_2 !assigned @AutoVar $12-05-{XSlotPrefix}2-0064.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -2351,7 +2381,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-05-02-0064"
|
||||
If XSlot = 1 Then
|
||||
Topping "Load" "12-05-02-0064"
|
||||
EndIf
|
||||
If XSlot = 2 Then
|
||||
Topping "Load" "12-05-22-0064"
|
||||
EndIf
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
|
|
@ -2432,7 +2467,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-05-02-0064.Button </State>
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0064.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -2442,8 +2477,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-02-0064.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0064.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> @AutoVar $12-05-{XSlotPrefix}2-0064.Button </State>
|
||||
<Value> @AutoVar StringFmt( $12-05-{XSlotPrefix}2-0064.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
|
|
@ -2486,9 +2521,9 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020064 = "Disable" Then
|
||||
If $Sum1205X20064 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0064.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-{XSlotPrefix}2-0064.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
|
|
@ -2523,7 +2558,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020064 </State>
|
||||
<State> $Sum1205X20064 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
|
|||
|
|
@ -286,6 +286,10 @@
|
|||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
|
||||
DEBUGVAR text_price_d1
|
||||
DEBUGVAR text_price_d2
|
||||
DEBUGVAR text_price_d3
|
||||
|
||||
Var img_cold = "/bt_cold_no.png"
|
||||
Var img_cold_sel = "/bt_cold_selected_no.png"
|
||||
Var img_cold_dis = "/bt_cold_disable_no.png"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
; ensure
|
||||
Var CountSecureOpenPro = 0
|
||||
If SeasonPassMode = 1 Then
|
||||
|
||||
|
||||
If Season1 = "false" Then
|
||||
Var CountSecureOpenPro = CountSecureOpenPro + 1
|
||||
EndIf
|
||||
|
|
@ -37,10 +37,11 @@ If OpenFromPageBoard = 1 Then
|
|||
|
||||
OpenInst 2 SeasonFile
|
||||
Else
|
||||
OpenInst 2 "ROOT/taobin_project/inter/sgp/xml/page_catalog_group_recommend.lxml"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
OpenInst 2 "ROOT/taobin_project/inter/sgp/xml/page_catalog_group_recommend.lxml"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
Else
|
||||
|
||||
If SeasonPassMode = 1 Then
|
||||
|
|
@ -50,7 +51,7 @@ Else
|
|||
|
||||
Open SeasonFile
|
||||
Else
|
||||
Open "ROOT/taobin_project/inter/sgp/xml/page_catalog_group_recommend.lxml"
|
||||
Open "ROOT/taobin_project/inter/sgp/xml/page_catalog_group_recommend.lxml"
|
||||
EndIf
|
||||
EndIf
|
||||
Var OpenFromPageBoard = 0
|
||||
|
|
|
|||
|
|
@ -578,6 +578,47 @@
|
|||
|
||||
out_xml( '</Text>\r\n')
|
||||
|
||||
# feature: alert sms
|
||||
out_xml('\t<Button>\r\n')
|
||||
out_xml( '\t<X> TextPriceMenuBlendX </X>\r\n')
|
||||
out_xml( '\t<Y> 0 </Y>\r\n')
|
||||
out_xml('\t<State> eval(\r\n')
|
||||
out_xml(f'\t\tIf $Sum{str_con_var} = "Disable" Then\r\n')
|
||||
out_xml('\t\t\tIf EnableSMSDrinkReady = "true" Then\r\n')
|
||||
out_xml('\t\t\t\tVar return = "Enable"\r\n')
|
||||
out_xml('\t\t\tElse\r\n')
|
||||
out_xml('\t\t\t\tVar return = "Invisible"\r\n')
|
||||
out_xml('\t\t\tEndIf\r\n')
|
||||
out_xml('\t\tElse\"\r\n')
|
||||
out_xml('\t\t\tVar return = "Invisible"\r\n')
|
||||
out_xml('\t\tEndIf\r\n')
|
||||
out_xml('\t) </State>\r\n')
|
||||
out_xml( '\t<Filename> "ROOT/taobin_project/image/feature/alert_sms/bn_alert_customer.png" </Filename>\r\n')
|
||||
out_xml( '\t<FilenamePress> "ROOT/taobin_project/image/feature/alert_sms/bn_alert_customer.png" </FilenamePress>\r\n')
|
||||
|
||||
|
||||
out_xml('\t<EventOnClick>\r\n')
|
||||
|
||||
alert_names = '\r\n'.join(
|
||||
f'\t\tVar AlertProductName[{x}] = "{spl[ idx_name][ x + 1]}"'
|
||||
for x in range(max_can_have_lang)
|
||||
if x < len( spl[ idx_name])
|
||||
)
|
||||
|
||||
# alert script part
|
||||
out_xml(f"""{alert_names}
|
||||
\t\t\tVar AlertProductCode[0] = "{str_hot_product_code}"
|
||||
\t\t\tVar AlertProductCode[1] = "{str_cold_product_code}"
|
||||
\t\t\tVar AlertProductCode[2] = "{str_blend_product_code}"
|
||||
\t\t\tDEBUGVAR "alert!!!"
|
||||
\t\t\tTabMenuVisibleInst 99
|
||||
\t\t\tRootLayoutVisible 13 "hide"
|
||||
\t\t\tOpenInst 2 "ROOT/taobin_project/xml/features/alert_sms/page_enter_num.lxml"\r\n""")
|
||||
|
||||
out_xml('\t</EventOnClick>\r\n')
|
||||
|
||||
out_xml('\t</Button>\r\n')
|
||||
|
||||
out_xml( '</Block>\r\n')
|
||||
|
||||
|
||||
|
|
@ -706,13 +747,19 @@
|
|||
print( '==>\t; '+ spl[ idx_name][ idx_hot_product_code] + ' ' + spl[ idx_name][ idx_cold_product_code] + ' ' + spl[ idx_name][ idx_blend_product_code] + ' \r\n')
|
||||
|
||||
if "," in spl[ idx_name][ idx_hot_product_code] and "," in spl[ idx_name][ idx_cold_product_code] and "," in spl[ idx_name][ idx_blend_product_code]:
|
||||
#print(" hot = " + spl[ idx_name][ idx_hot_product_code])
|
||||
print(" hot = " + spl[ idx_name][ idx_hot_product_code])
|
||||
hot_pd = spl[ idx_name][ idx_hot_product_code].split(',')
|
||||
print("ok hot")
|
||||
cold_pd = spl[ idx_name][ idx_cold_product_code].split(',')
|
||||
print("ok cold")
|
||||
blend_pd = spl[ idx_name][ idx_blend_product_code].split(',')
|
||||
date_time_start = spl[idx_name][idx_date_time_start]
|
||||
date_time_end = spl[idx_name][idx_date_time_end]
|
||||
product_var = spl[idx_name][idx_product_var]
|
||||
print("ok blend")
|
||||
date_time_start = spl[idx_name][idx_date_time_start] if len(spl[idx_name]) > 17 else "-"
|
||||
print("ok datetime")
|
||||
date_time_end = spl[idx_name][idx_date_time_end] if len(spl[idx_name]) > 17 else "-"
|
||||
print("ok datetime end")
|
||||
product_var = spl[idx_name][idx_product_var] if len(spl[idx_name]) > 17 else "-"
|
||||
print("ok pd")
|
||||
# if len(spl) > idx_name and len(spl[idx_name]) > max(idx_date_time_start, idx_date_time_end, idx_product_var):
|
||||
# date_time_start = spl[idx_name][idx_date_time_start]
|
||||
# date_time_end = spl[idx_name][idx_date_time_end]
|
||||
|
|
|
|||
|
|
@ -0,0 +1,238 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
;<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/inc/video_page_board.inc"
|
||||
|
||||
|
||||
; button-click
|
||||
<Button>
|
||||
<X> 212 </X>
|
||||
<Y> 1481 </Y>
|
||||
<State> ShowButtonClick_WTC </State>
|
||||
;<Color> "0x00BDFF" </Color>
|
||||
<Filename> img_rest_main_page </Filename>
|
||||
<FilenamePress> img_press_main_page </FilenamePress>
|
||||
;<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
SAVELOG "click ShowButtonClick WTC"
|
||||
TRY "ROOT/taobin_project/inter/whatthecup/common/xml/feature.page_board_fullscreen/show_button_click_script.ev"
|
||||
</EventClick>
|
||||
|
||||
<Button>
|
||||
<X> 2 </X>
|
||||
<Y> 609 </Y>
|
||||
<State> ShowButtonClickFull_WTC </State>
|
||||
;<Color> "0x00BDFF" </Color>
|
||||
<Width> 1070 </Width>
|
||||
<Height> 1310 </Height>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
SAVELOG "click ShowButtonClickFull WTC"
|
||||
TRY "ROOT/taobin_project/inter/whatthecup/common/xml/feature.page_board_fullscreen/show_button_click_script.ev"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
; button-click-full
|
||||
|
||||
<Button>
|
||||
<X> btnRemoveCupX </X>
|
||||
<Y> btnRemoveCupY </Y>
|
||||
<State> buttonRemoveCup </State>
|
||||
;<Color> "0x00BDFF" </Color>
|
||||
<Interval> 500 </Interval>
|
||||
<Filename> bnRemoveCup </Filename>
|
||||
<Filename> bpRemoveCup </Filename>
|
||||
<EventClick>
|
||||
Machine RemoveCup
|
||||
Machine DoorLidOpen
|
||||
|
||||
Var CheckCupStateDoorCupClose = "reset"
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 0 </X>
|
||||
<Y> 1870 </Y>
|
||||
<State> ShowNetworkProblem </State>
|
||||
<Color> "0xFF0000" </Color>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 60 </Height>
|
||||
<EventClick>
|
||||
If IgnoreNetCore = "true" Then
|
||||
|
||||
Var NextPage = "-"
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.lxml"
|
||||
|
||||
|
||||
TopView "show"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 0 </X>
|
||||
<Y> 608 </Y>
|
||||
<State> "Enable" </State>
|
||||
<Width> 120 </Width>
|
||||
<Height> 120 </Height>
|
||||
<EventClick>
|
||||
|
||||
Var NextPage = "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
If CupOnArm = "true" Then
|
||||
|
||||
Else
|
||||
__CMD "CLI" "arm_id=3,arm_position=posi_espresso_ii" "-" "-"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
Var OpenFromPageBoard = 1
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
|
||||
If CountryName = "Thailand" Then
|
||||
SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
Else ; show language icon
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||
TRY OpenFileXML
|
||||
EndIf
|
||||
Else
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
Else
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Machine DoorClose
|
||||
|
||||
TopView "show"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Text>
|
||||
<State> ShowNetworkProblem </State>
|
||||
<X> 5 </X>
|
||||
<Y> 1880 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> RobotoRegular </Font>
|
||||
<Color> 0xFFFFFF </Color>
|
||||
<Value> ShowNetworkProblemText </Value>
|
||||
</Text>
|
||||
|
||||
<Button>
|
||||
<X> 0 </X>
|
||||
<Y> 1870 </Y>
|
||||
<State> eval(
|
||||
If LangProcess = "LoadConfig" Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
) </State>
|
||||
<Color> "0xFFFF00" </Color>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 60 </Height>
|
||||
<EventClick>
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Text>
|
||||
<State> eval(
|
||||
If LangProcess = "LoadConfig" Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
) </State>
|
||||
<X> 5 </X>
|
||||
<Y> 1880 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> RobotoRegular </Font>
|
||||
<Color> 0x000000 </Color>
|
||||
<Value> eval(
|
||||
If LangProcess = "LoadConfig" Then
|
||||
Var return = "Loading ..."
|
||||
Else
|
||||
Var return = ""
|
||||
EndIf
|
||||
) </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
; add-vending-info-access-button
|
||||
<Image>
|
||||
<X> 670 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 400 </Width>
|
||||
<Height> 400 </Height>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClickLong>
|
||||
OpenInst 0 "//mnt/sdcard/coffeevending/taobin_project/xml/vending_info.xml"
|
||||
</EventClickLong>
|
||||
<EventClick>
|
||||
Var ClickCountMainTe = ClickCountMainTe + 1
|
||||
|
||||
DEBUGVAR ClickCountMainTe
|
||||
|
||||
If ClickCountMainTe = 2 Then
|
||||
RootLayoutVisible 2 "hide"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/vending_info.xml"
|
||||
EndIf
|
||||
|
||||
;OpenInst 0 "//mnt/sdcard/coffeevending/taobin_project/xml/page_remove_cup.xml"
|
||||
</EventClick>
|
||||
</Image>
|
||||
|
||||
|
||||
</Popup>
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
;OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
Else
|
||||
|
||||
If SpiralOnline = "true" Then
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.lxml"
|
||||
EndIf
|
||||
Else
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_with_vending.xml"
|
||||
EndIf
|
||||
Else
|
||||
If InternationalEnable = 1 Then
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.lxml"
|
||||
Else
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.xml"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
TopView "show"
|
||||
|
|
@ -24,7 +24,9 @@
|
|||
|
||||
Var PreScaleCanculate = 100
|
||||
DEBUGVAR VendingCashless
|
||||
CashlessReq FAIL ""
|
||||
|
||||
Var WaitForStableCashlessState = 0
|
||||
DEBUGVAR WaitForStableCashlessState
|
||||
|
||||
|
||||
Var CashlessPayFlag = 0
|
||||
|
|
@ -478,6 +480,9 @@
|
|||
Var CancelContinue = 0
|
||||
|
||||
Var QR_POPUP = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_payment/img_tap_card_5_sec.png"
|
||||
|
||||
Var CountDownAllowCancel = 5
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<EventActionOk>
|
||||
|
|
@ -706,6 +711,7 @@
|
|||
|
||||
If VendingCashless = "OK" Then
|
||||
DEBUGVAR CashlessCode
|
||||
DEBUGVAR "Ok make::drink"
|
||||
Var Timeout = 0
|
||||
|
||||
Var QRErrorState = "Invisible"
|
||||
|
|
@ -728,7 +734,9 @@
|
|||
DEBUGVAR UserChoosePayment
|
||||
Var UserChoosePayment = ""
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
|
||||
Else
|
||||
DEBUGVAR "VendingCashless get ActOk not ok"
|
||||
DEBUGVAR VendingCashless
|
||||
EndIf
|
||||
|
||||
</EventActionOk>
|
||||
|
|
@ -805,37 +813,37 @@
|
|||
DEBUGVAR UserChoosePayment
|
||||
DEBUGVAR VendingCashless
|
||||
|
||||
If UserChoosePayment = "CreditCashless" Then
|
||||
If VendingCashless = "READY" Then
|
||||
Var QRCODE99 = ""
|
||||
Var Timeout = 0
|
||||
Var QRErrorState = "Invisible"
|
||||
Var QR_POPUP = "ROOT/taobin_project/image/page_payment_en/page_payment/img_popup8-2.png"
|
||||
Var VendingCashless = "-"
|
||||
Var LOADING_STATE = "Enable"
|
||||
Var alphaState = "Enable"
|
||||
Var RemainAmountX = PayAmount - Seeker.IntVendingCampaign
|
||||
CashlessPay RemainAmountX CreditCardRef
|
||||
Var CashlessPayFlag = 1
|
||||
If UserChoosePayment = "CreditCashless" Then
|
||||
If VendingCashless = "READY" Then
|
||||
Var QRCODE99 = ""
|
||||
Var Timeout = 0
|
||||
Var QRErrorState = "Invisible"
|
||||
Var QR_POPUP = "ROOT/taobin_project/image/page_payment_en/page_payment/img_popup8-2.png"
|
||||
Var VendingCashless = "-"
|
||||
Var LOADING_STATE = "Enable"
|
||||
Var alphaState = "Enable"
|
||||
Var RemainAmountX = PayAmount - Seeker.IntVendingCampaign
|
||||
CashlessPay RemainAmountX CreditCardRef
|
||||
Var CashlessPayFlag = 1
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If UserChoosePayment = "" Then
|
||||
If VendingCashless = "READY" Then
|
||||
Var QRCODE99 = ""
|
||||
Var Timeout = 0
|
||||
Var QRErrorState = "Invisible"
|
||||
Var QR_POPUP = "ROOT/taobin_project/image/page_payment_en/page_payment/img_popup8-2.png"
|
||||
Var VendingCashless = "-"
|
||||
Var LOADING_STATE = "Enable"
|
||||
Var alphaState = "Enable"
|
||||
Var RemainAmountX = PayAmount - Seeker.IntVendingCampaign
|
||||
CashlessPay RemainAmountX CreditCardRef
|
||||
Var CashlessPayFlag = 1
|
||||
If UserChoosePayment = "" Then
|
||||
If VendingCashless = "READY" Then
|
||||
Var QRCODE99 = ""
|
||||
Var Timeout = 0
|
||||
Var QRErrorState = "Invisible"
|
||||
Var QR_POPUP = "ROOT/taobin_project/image/page_payment_en/page_payment/img_popup8-2.png"
|
||||
Var VendingCashless = "-"
|
||||
Var LOADING_STATE = "Enable"
|
||||
Var alphaState = "Enable"
|
||||
Var RemainAmountX = PayAmount - Seeker.IntVendingCampaign
|
||||
CashlessPay RemainAmountX CreditCardRef
|
||||
Var CashlessPayFlag = 1
|
||||
|
||||
Var UserChoosePayment = "CreditCashless"
|
||||
Var UserChoosePayment = "CreditCashless"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -859,7 +867,11 @@
|
|||
<EventTimeout>
|
||||
|
||||
DEBUGVAR VendingCashless
|
||||
DEBUGVAR CountDownAllowCancel
|
||||
|
||||
If CountDownAllowCancel > 0 Then
|
||||
Var CountDownAllowCancel = CountDownAllowCancel - 1
|
||||
EndIf
|
||||
|
||||
If ReadyForBrew = "false" Then
|
||||
SAVELOG "Back to main1"
|
||||
|
|
@ -1633,6 +1645,7 @@ If alphaState = "Invisible" Then
|
|||
DEBUGVAR QR_POPUP
|
||||
Refresh
|
||||
Var alphaState = "Enable"
|
||||
Var CountDownAllowCancel = 5
|
||||
Coin CARD
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -1844,7 +1857,13 @@ EndIf
|
|||
<Button>
|
||||
<X> 438 </X>
|
||||
<Y> 1345 </Y>
|
||||
<State> alphaState </State>
|
||||
<State> eval(
|
||||
If CountDownAllowCancel > 0 Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = alphaState
|
||||
EndIf
|
||||
) </State>
|
||||
<Filename> Var( DirImage + "/bn_cancel.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_cancel.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
|
|
|
|||
|
|
@ -343,7 +343,7 @@
|
|||
Var SugarPressPicLv5 = "ROOT/taobin_project/inter/whatthecup/sgp/image/topping2_en/bp_sugarlevel_sg5.png"
|
||||
Var SugarPressPicLv6 = "ROOT/taobin_project/inter/whatthecup/sgp/image/topping2_en/bp_sugarlevel_sg6.png"
|
||||
|
||||
|
||||
CashlessReq FAIL ""
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
|
|
|
|||
34
xml/features/alert_sms/check_disable.ev
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
READ_FILE "/mnt/sdcard/coffeevending/lock_sms" EnableSMSDrinkReady
|
||||
READ_FILE "/mnt/sdcard/coffeevending/current_alert_times" AlertTime
|
||||
|
||||
If EnableSMSDrinkReady = "" Then
|
||||
; first-time?
|
||||
Var EnableSMSDrinkReady = "true"
|
||||
Else
|
||||
If EnableSMSDrinkReady = "1" Then
|
||||
Var EnableSMSDrinkReady = "false"
|
||||
Else
|
||||
Var EnableSMSDrinkReady = "true"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If AlertTime = "" Then
|
||||
Var AlertTime = 0
|
||||
EndIf
|
||||
|
||||
INT AlertTime
|
||||
|
||||
If AlertTime >= 3 Then
|
||||
|
||||
; lock-sms-feature
|
||||
WRITE_FILE "/mnt/sdcard/coffeevending/lock_sms" "1"
|
||||
Var EnableSMSDrinkReady = "false"
|
||||
|
||||
EndIf
|
||||
|
||||
;Var EnableSMSDrinkReady = "true"
|
||||
|
||||
DEBUGVAR EnableSMSDrinkReady
|
||||
DEBUGVAR LastSmsUUID
|
||||
DEBUGVAR NotifyRet
|
||||
DEBUGVAR NotifyJobError
|
||||
554
xml/features/alert_sms/page_enter_num.lxml
Normal file
|
|
@ -0,0 +1,554 @@
|
|||
<Popup>
|
||||
<Width> 1080</Width>
|
||||
<Height> 1920 </Height>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
Var ShowTextNumber = "Enable"
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumber = ""
|
||||
Var TelephoneNumberX = ""
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/collect_point1_en"
|
||||
;Play "ROOT/taobin_project/sound_eng/Reward_final.mp3"
|
||||
|
||||
Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2_eng.png"
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/collect_point1"
|
||||
;Play "ROOT/taobin_project/sound_thai/dontforget_number.mp3"
|
||||
|
||||
Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/collect_point1_mmr"
|
||||
EndIf
|
||||
|
||||
Var CurrentAlertName = AlertProductName[LanguageShowByIndex]
|
||||
Var CurrentAlertProductCode = ""
|
||||
|
||||
; concat-all
|
||||
If AlertProductCode[0] = "-" Then
|
||||
|
||||
Else
|
||||
Var CurrentAlertProductCode = CurrentAlertProductCode + AlertProductCode[0]
|
||||
|
||||
EndIf
|
||||
|
||||
Var CurrentAlertProductCode = CurrentAlertProductCode + ","
|
||||
|
||||
If AlertProductCode[1] = "-" Then
|
||||
|
||||
Else
|
||||
Var CurrentAlertProductCode = CurrentAlertProductCode + AlertProductCode[1]
|
||||
|
||||
EndIf
|
||||
|
||||
Var CurrentAlertProductCode = CurrentAlertProductCode + ","
|
||||
|
||||
If AlertProductCode[2] = "-" Then
|
||||
|
||||
Else
|
||||
Var CurrentAlertProductCode = CurrentAlertProductCode + AlertProductCode[2]
|
||||
|
||||
EndIf
|
||||
|
||||
Var CurrentAlertProductCode = CurrentAlertProductCode + ","
|
||||
|
||||
|
||||
DEBUGVAR CurrentAlertName
|
||||
DEBUGVAR CurrentAlertProductCode
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
EndIf
|
||||
|
||||
DEBUGVAR Timeout
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
TabMenuVisibleInst 99
|
||||
|
||||
RootLayoutVisible 13 "hide"
|
||||
|
||||
Var AlertSMSButtonPause = "false"
|
||||
|
||||
Var OpenFromMulti = 1
|
||||
OpenInst 2 "ROOT/taobin_project/inter/tha/xml/multi/page_catalog.lxml"
|
||||
EndIf
|
||||
|
||||
If Timeout = 18 Then
|
||||
Var date_time_str = ""
|
||||
STRDATETIME date_time_str
|
||||
Var date_time_str = "/mnt/sdcard/scn_" + date_time_str
|
||||
Var date_time_str = date_time_str + ".png"
|
||||
DEBUGVAR date_time_str
|
||||
SCREEN_CAP date_time_str
|
||||
EndIf
|
||||
|
||||
If Timeout = 9 Then
|
||||
;RefreshAll
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 665 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1086 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumber = TelephoneNumber + "1"
|
||||
Trim TelephoneNumber MaxPhoneNumber
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
|
||||
If TelNumLen >= MinPhoneNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1086 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumber = TelephoneNumber + "2"
|
||||
Trim TelephoneNumber MaxPhoneNumber
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
|
||||
If TelNumLen >= MinPhoneNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1086 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumber = TelephoneNumber + "3"
|
||||
Trim TelephoneNumber MaxPhoneNumber
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
|
||||
If TelNumLen >= MinPhoneNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1230 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumber = TelephoneNumber + "4"
|
||||
Trim TelephoneNumber MaxPhoneNumber
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
|
||||
If TelNumLen >= MinPhoneNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1230 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumber = TelephoneNumber + "5"
|
||||
Trim TelephoneNumber MaxPhoneNumber
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
|
||||
If TelNumLen >= MinPhoneNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1230 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumber = TelephoneNumber + "6"
|
||||
Trim TelephoneNumber MaxPhoneNumber
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
|
||||
If TelNumLen >= MinPhoneNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1373 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumber = TelephoneNumber + "7"
|
||||
Trim TelephoneNumber MaxPhoneNumber
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
|
||||
If TelNumLen >= MinPhoneNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1373 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumber = TelephoneNumber + "8"
|
||||
Trim TelephoneNumber MaxPhoneNumber
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
|
||||
If TelNumLen >= MinPhoneNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1373 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumber = TelephoneNumber + "9"
|
||||
Trim TelephoneNumber MaxPhoneNumber
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
|
||||
If TelNumLen >= MinPhoneNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1517 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumber = TelephoneNumber + "0"
|
||||
Trim TelephoneNumber MaxPhoneNumber
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
|
||||
If TelNumLen >= MinPhoneNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1517 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Trim TelephoneNumber -1
|
||||
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
|
||||
If TelNumLen < 10 Then
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
If TelNumLen = 0 Then
|
||||
Var ShowTextNumber = "Enable"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 873 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Align> Center </Align>
|
||||
<Size> 62 </Size>
|
||||
<Font> RobotoBlack </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> TelephoneNumber </Value>
|
||||
<Format> Telnum-mask-1 </Format>
|
||||
</Text>
|
||||
|
||||
<Button>
|
||||
<X> 218 </X>
|
||||
<Y> 1671 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_cancel2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_cancel2.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
TabMenuVisibleInst 99
|
||||
|
||||
RootLayoutVisible 13 "hide"
|
||||
|
||||
Var AlertSMSButtonPause = "false"
|
||||
|
||||
Var OpenFromMulti = 1
|
||||
OpenInst 2 "ROOT/taobin_project/inter/tha/xml/multi/page_catalog.lxml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 577 </X>
|
||||
<Y> 1671 </Y>
|
||||
<State> Tel_Confirm_State </State>
|
||||
<Filename> Var( DirImage + "/bn_positive.png") </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_positive.png") </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bn_positive.png") </FilenameDisable>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
|
||||
|
||||
Var Tel2DFlag = 0
|
||||
|
||||
TRY "ROOT/taobin_project/xml/verify_number.ev"
|
||||
|
||||
|
||||
If Tel2DFlag = 1 Then
|
||||
|
||||
|
||||
Var StepGetPoint = 1
|
||||
|
||||
Var PdpaAsk = 0
|
||||
|
||||
Var OperatorTemp = ""
|
||||
Var CreditAmount = 0
|
||||
Var OperatorStatus = ""
|
||||
Var AccountType = ""
|
||||
|
||||
SAVELOG "report_alert_sms"
|
||||
Var TelephoneNumberX = TelephoneNumber
|
||||
;GetAccInfo TelephoneNumber OperatorTemp CreditAmount OperatorStatus AccountType GetScore tc
|
||||
DEBUGVAR TelephoneNumber
|
||||
|
||||
; do-smth
|
||||
SAVELOG "Open show send sms for menu name"
|
||||
DEBUGVAR CurrentAlertName
|
||||
DEBUGVAR CurrentAlertProductCode
|
||||
|
||||
Var AlertTime = AlertTime + 1
|
||||
WRITE_FILE "/mnt/sdcard/coffeevending/current_alert_times" AlertTime
|
||||
|
||||
TabMenuVisibleInst 99
|
||||
|
||||
RootLayoutVisible 13 "hide"
|
||||
|
||||
Var AlertSMSButtonPause = "false"
|
||||
|
||||
Var OpenFromMulti = 1
|
||||
OpenInst 2 "ROOT/taobin_project/xml/features/alert_sms/page_send_sms.lxml"
|
||||
|
||||
|
||||
Else
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/collectiing_en"
|
||||
Else
|
||||
Var DirImage2 = "ROOT/taobin_project/image/collectiing"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/collectiing_mmr"
|
||||
EndIf
|
||||
|
||||
Var text_show_error = DirImage2 + "/text_show_error5.png"
|
||||
|
||||
Var ShowErrorText = "Enable"
|
||||
;Var TelephoneNumber = ""
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
Refresh
|
||||
EndIf
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
; title text
|
||||
; TODO-will-apply-lang
|
||||
<Image>
|
||||
<X> 188 </X>
|
||||
<Y> 699 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/feature/alert_sms/text_1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
; Border Edit
|
||||
<Image>
|
||||
<X> 217 </X>
|
||||
<Y> 866 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collect_point1/img3.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 157 </X>
|
||||
<Y> 868 </Y>
|
||||
<State> ShowTextNumber </State>
|
||||
<Filename> Var( DirImage + "/text_edit.png") </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 236 </X>
|
||||
<Y> 699 </Y>
|
||||
<State> eval(
|
||||
If FromProThaiTea = 1 Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
If FromProYuzu = 1 Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
) </State>
|
||||
<Filename> Var( DirImage + "/edit.png") </Filename>
|
||||
</Image>
|
||||
|
||||
</Popup>
|
||||
91
xml/features/alert_sms/page_send_sms.lxml
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
;<Refresh> "Partial" </Refresh>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||
EndIf
|
||||
|
||||
|
||||
DEBUGVAR CurrentAlertName
|
||||
DEBUGVAR CurrentAlertProductCode
|
||||
DEBUGVAR TelephoneNumberX
|
||||
|
||||
NotifyCustomerMenuReady TelephoneNumberX CurrentAlertProductCode CurrentAlertName
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<EventActionOk>
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
</EventActionError>
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 10 Then
|
||||
TabMenuVisibleInst 99
|
||||
|
||||
RootLayoutVisible 13 "hide"
|
||||
|
||||
Var AlertSMSButtonPause = "false"
|
||||
|
||||
Var OpenFromMulti = 1
|
||||
OpenInst 2 "ROOT/taobin_project/inter/tha/xml/multi/page_catalog.lxml"
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 665 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
; ---------------------
|
||||
|
||||
<Image>
|
||||
<X> 189 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/feature/alert_sms/Success.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Button>
|
||||
<X> 248 </X>
|
||||
<Y> 1600 </Y>
|
||||
<Filename> Var( DirImage + "/bn_back3.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_back3.png" )</FilenamePress>
|
||||
<EventClick>
|
||||
TabMenuVisibleInst 99
|
||||
|
||||
RootLayoutVisible 13 "hide"
|
||||
|
||||
Var AlertSMSButtonPause = "false"
|
||||
|
||||
Var OpenFromMulti = 1
|
||||
OpenInst 2 "ROOT/taobin_project/inter/tha/xml/multi/page_catalog.lxml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
</Popup>
|
||||
4
xml/features/alert_sms/reset_lock.ev
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
; do-not-call
|
||||
|
||||
WRITE_FILE "/mnt/sdcard/coffeevending/lock_sms" "0"
|
||||
WRITE_FILE "/mnt/sdcard/coffeevending/current_alert_times" 0
|
||||
|
|
@ -129,6 +129,9 @@
|
|||
Var ShowButtonClickFull = "Invisible"
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
|
||||
Var ShowButtonClick_WTC = "Invisible"
|
||||
Var ShowButtonClickFull_WTC = "Invisible"
|
||||
|
||||
;SAVELOG DisplayType
|
||||
|
||||
If DisplayType = "2" Then
|
||||
|
|
@ -210,9 +213,9 @@
|
|||
STRCONTAIN "1037" MaterialAvailable 7UpSyrupEnable
|
||||
STRCONTAIN "1038" MaterialAvailable PepsiHighYSyrupEnable
|
||||
STRCONTAIN "1052" MaterialAvailable CollagenPowderEnable
|
||||
|
||||
|
||||
STRCONTAIN "1062" MaterialAvailable MatchaPowderEnable
|
||||
|
||||
|
||||
STRCONTAIN "1065" MaterialAvailable HaveIngredientOvaltine
|
||||
|
||||
;Var AppFastEnable = "false"
|
||||
|
|
@ -284,7 +287,7 @@
|
|||
If TermTemOnline = "false" Then
|
||||
; TODO
|
||||
Machine Initial
|
||||
Open "/ROOT/xml/outservice.xml"
|
||||
OpenInst 0 "/ROOT/xml/outservice.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -547,7 +550,7 @@
|
|||
EndIf
|
||||
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_network_down_pos_machine.xml"
|
||||
OpenInst 0 "ROOT/taobin_project/xml/page_network_down_pos_machine.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -652,6 +655,7 @@
|
|||
DEBUGVAR EventTurnOn
|
||||
|
||||
Var UsePepsiTheme = 0
|
||||
Var PepsiFullScreenPageBoard = "ROOT/taobin_project/inter/whatthecup/common/xml/feature.page_board_fullscreen/page_board_wtc.lxml"
|
||||
|
||||
Var NoTrickPriceProfile = 0
|
||||
Var NeedRefreshProfile = 0
|
||||
|
|
@ -663,6 +667,11 @@
|
|||
READ_FILE "/mnt/sdcard/enable_load_lang_fast" ENABLE_LOAD_LANG_V2
|
||||
STRCONTAIN "1" ENABLE_LOAD_LANG_V2 UseLoadLangV2
|
||||
|
||||
; very-big-btn-init
|
||||
Var UseVeryBigRemoveCupButton = "false"
|
||||
|
||||
Var EnablePepsiFullscreen = 0
|
||||
|
||||
|
||||
;inter-page-board
|
||||
If CountryName = "Malaysia" Then
|
||||
|
|
@ -738,6 +747,25 @@
|
|||
|
||||
STRCONTAIN "1215" MaterialAvailable SugarZeroCalEnable
|
||||
|
||||
STRCONTAIN "9502" MaterialAvailable CupPlastic9502Enable
|
||||
STRCONTAIN "9512" MaterialAvailable CupPaper9512Enable
|
||||
|
||||
DEBUGVAR MaterialAvailable
|
||||
DEBUGVAR CupPlastic9502Enable
|
||||
DEBUGVAR CupPaper9512Enable
|
||||
|
||||
If CupPlastic9502Enable = "true" Then
|
||||
SET-MENU-SHOW 1
|
||||
Else
|
||||
If CupPaper9512Enable = "true" Then
|
||||
SET-MENU-SHOW 2
|
||||
EndIf
|
||||
Endif
|
||||
|
||||
DEBUGVAR XSlot
|
||||
|
||||
|
||||
|
||||
Var MinPhoneNumber = 10
|
||||
Var MaxPhoneNumber = 11
|
||||
|
||||
|
|
@ -978,7 +1006,9 @@
|
|||
; Var = "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
|
||||
;OpenInst 2 PepsiFullScreenPageBoard
|
||||
|
||||
;Var EnablePepsiFullscreen = 1
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -1061,7 +1091,7 @@
|
|||
EnableLanguage "ENG"
|
||||
EnableLanguage "MSC"
|
||||
EnableLanguage "MTC"
|
||||
Var LanguageShow = "ENG"
|
||||
Var LanguageShow = "ENG"
|
||||
SetLanguage "ENG"
|
||||
LanguageControl "UpdateList" "-"
|
||||
|
||||
|
|
@ -1342,7 +1372,7 @@
|
|||
RootLayoutVisible 3 "hide"
|
||||
|
||||
If SELLSTATUS = "DEACTIVE" Then
|
||||
Open "/ROOT/xml/offline.xml"
|
||||
OpenInst 0 "/ROOT/xml/offline.xml"
|
||||
EndIf
|
||||
|
||||
Var CheckCupStateDoorCupClose = ""
|
||||
|
|
@ -1356,8 +1386,6 @@
|
|||
Var btnRemoveCupY = 630
|
||||
Var btnRemoveCupYNotPageBoard = 500
|
||||
|
||||
Var UseVeryBigRemoveCupButton = "false"
|
||||
|
||||
If UseVeryBigRemoveCupButton = "true" Then
|
||||
Var btnRemoveCupX = 580
|
||||
Var btnRemoveCupY = 530
|
||||
|
|
@ -1511,12 +1539,21 @@
|
|||
|
||||
If UsePepsiTheme = 1 Then
|
||||
Var ShowButtonClickFull = "Enable"
|
||||
|
||||
If EnablePepsiFullscreen = 1 Then
|
||||
Var ShowButtonClickFull = "Invisible"
|
||||
Var ShowButtonClickFull_WTC = "Enable"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
Else
|
||||
Var ShowButtonClick = "Invisible"
|
||||
Var ShowButtonClickFull = "Invisible"
|
||||
|
||||
Var ShowButtonClick_WTC = "Invisible"
|
||||
Var ShowButtonClickFull_WTC = "Invisible"
|
||||
EndIf
|
||||
|
||||
Var onResume = "false"
|
||||
|
|
@ -1526,6 +1563,18 @@
|
|||
Machine NewPaymentOpenBrewingXMLEnable
|
||||
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
|
||||
|
||||
If EnablePepsiFullscreen = 1 Then
|
||||
DEBUGVAR EnablePepsiFullscreen
|
||||
TopView "hide"
|
||||
RootLayoutVisible 2 "show"
|
||||
|
||||
Var ShowButtonClick_WTC = "Enable"
|
||||
Var ShowButtonClickFull_WTC = "Enable"
|
||||
|
||||
OpenInst 2 PepsiFullScreenPageBoard
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<EventActionOk>
|
||||
|
|
@ -1755,14 +1804,14 @@ PRICE "Reset" "-"
|
|||
If CNTDOWN_PROTECT_SCREEN_BLANK = 0 Then
|
||||
|
||||
SAVELOG "CNTDOWN_PROTECT_SCREEN_BLANK"
|
||||
Open "ROOT/taobin_project/xml/page_board.xml"
|
||||
OpenInst 0 "ROOT/taobin_project/xml/page_board.xml"
|
||||
EndIf
|
||||
|
||||
If IgnoreNetCore = "true" Then
|
||||
|
||||
Else
|
||||
If SELLSTATUS = "DEACTIVE" Then
|
||||
Open "/ROOT/xml/offline.xml"
|
||||
OpenInst 0 "/ROOT/xml/offline.xml"
|
||||
EndIf
|
||||
|
||||
If NoWaitMachineEnable = 1 Then
|
||||
|
|
@ -1842,7 +1891,7 @@ PRICE "Reset" "-"
|
|||
EndIf
|
||||
|
||||
If MachineStage = "remove-cup" Then
|
||||
Open "ROOT/taobin_project/xml/page_remove_cup.xml"
|
||||
OpenInst 0 "ROOT/taobin_project/xml/page_remove_cup.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -1896,6 +1945,12 @@ PRICE "Reset" "-"
|
|||
|
||||
If UsePepsiTheme = 1 Then
|
||||
Var ShowButtonClickFull = "Enable"
|
||||
|
||||
If EnablePepsiFullScreen = "true" Then
|
||||
Var ShowButtonClickFull = "Invisible"
|
||||
Var ShowButtonClickFull_WTC = "Enable"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
|
|
@ -1914,6 +1969,11 @@ PRICE "Reset" "-"
|
|||
|
||||
If UsePepsiTheme = 1 Then
|
||||
Var ShowButtonClickFull = "Enable"
|
||||
|
||||
If EnablePepsiFullScreen = "true" Then
|
||||
Var ShowButtonClickFull = "Invisible"
|
||||
Var ShowButtonClickFull_WTC = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -1929,15 +1989,18 @@ PRICE "Reset" "-"
|
|||
DEBUGVAR CountDownPauseVideo2
|
||||
If CountDownPauseVideo = 2 Then
|
||||
|
||||
|
||||
TapScreen 30 638
|
||||
If EnablePepsiFullscreen = 0 Then
|
||||
TapScreen 30 638
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
If CountDownPauseVideo = 1 Then
|
||||
|
||||
TapScreen 860 1004
|
||||
If EnablePepsiFullscreen = 0 Then
|
||||
TapScreen 860 1004
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -1988,7 +2051,7 @@ PRICE "Reset" "-"
|
|||
Machine DoorClose
|
||||
|
||||
TopView "show"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -8,14 +8,14 @@ If InternationalEnable = 1 Then
|
|||
Else
|
||||
|
||||
If CountryName = "Singapore" Then
|
||||
Open "ROOT/taobin_project/inter/sgp/xml/page_show_error.lxml"
|
||||
OpenInst 0 "ROOT/taobin_project/inter/sgp/xml/page_show_error.lxml"
|
||||
EndIf
|
||||
|
||||
If CountryName = "UnitedArabEmirates Dubai" Then
|
||||
Open "ROOT/taobin_project/inter/uae_dubai/xml/page_show_error.lxml"
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_show_error.lxml"
|
||||
OpenInst 0 "ROOT/taobin_project/xml/page_show_error.lxml"
|
||||
|
||||
EndIf
|
||||
Else
|
||||
|
|
|
|||
|
|
@ -161,16 +161,28 @@
|
|||
|
||||
DEBUGVAR LanguageButtonEnable
|
||||
|
||||
Var CheckDisableTimeout = 0
|
||||
|
||||
TRY "ROOT/taobin_project/xml/features/alert_sms/check_disable.ev"
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
;DEBUGVAR Top2Timeout
|
||||
Var Top2Timeout = Top2Timeout + 1
|
||||
|
||||
Var CheckDisableTimeout = CheckDisableTimeout + 1
|
||||
|
||||
If Top2Timeout = 15 Then
|
||||
Open "ROOT/taobin_project/xml/topview2.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
If CheckDisableTimeout > 5 Then
|
||||
TRY "ROOT/taobin_project/xml/features/alert_sms/check_disable.ev"
|
||||
Var CheckDisableTimeout = 0
|
||||
Endif
|
||||
|
||||
If TimeForClose > 0 Then
|
||||
Var TimeForClose = TimeForClose - 1
|
||||
DEBUGVAR TimeForClose
|
||||
|
|
|
|||