LEDv4: migrate to brew app instead (Only brewing part)
This commit is contained in:
parent
bbc9525c35
commit
f1ae82df4d
18 changed files with 57 additions and 57 deletions
|
|
@ -26,30 +26,30 @@
|
|||
|
||||
Var MachineState_Result = 0
|
||||
Var ChangeOK = 0
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var ImageDoing = "ROOT/taobin_project/image/page_doing/img2_eng.png"
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var ImageDoing = "ROOT/taobin_project/image/page_doing/img2_eng.png"
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
||||
Var BottomText = PicturePath + "text_bottom_eng.png"
|
||||
|
||||
|
||||
Else
|
||||
Var ImageDoing = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
Var ImageDoing = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||
Var BottomText = PicturePath + "text_bottom_thai2.png"
|
||||
EndIf
|
||||
|
||||
;inter-image
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
|
||||
Var BottomText = PicturePath + "text_bottom_eng.png"
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/page_thankyou_mmr"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MSC" Then
|
||||
If LanguageShow = "MSC" Then
|
||||
|
||||
Var BottomText = PicturePath + "text_bottom_eng.png"
|
||||
|
||||
|
|
@ -60,7 +60,7 @@
|
|||
DEBUGVAR LidState
|
||||
DEBUGVAR BottomText
|
||||
|
||||
|
||||
|
||||
If StarwState = "Press" Then
|
||||
Machine StrawWithDelay
|
||||
LED LedDoorLid Blink 255 255 255 255
|
||||
|
|
@ -72,7 +72,7 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
If CART_INDEX = 2 Then
|
||||
Var showname = CART2_NAME_THAI
|
||||
|
|
@ -87,22 +87,22 @@
|
|||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
<EventTimeout>
|
||||
Var CountDownBrewing = CountDownBrewing - 1
|
||||
Var CountDownThankyou = CountDownThankyou - 1
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout = 3 Then
|
||||
|
||||
If CART_INDEX = 0 Then
|
||||
If CART_INDEX = 0 Then
|
||||
Else
|
||||
;Cart "MakeID" CART_INDEX
|
||||
|
||||
|
||||
Var VideoPath = "/mnt/sdcard/coffeevending/taobin_project/animation01/"
|
||||
Var VideoFileBegin = "TaoBin2_draft02_art"
|
||||
Var VideoFileEnd = ".mp4"
|
||||
|
|
@ -123,22 +123,22 @@
|
|||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
; run test;
|
||||
If CountDownThankyou = 0 Then
|
||||
|
||||
If CountDownThankyou = 0 Then
|
||||
|
||||
Var CountDownBrewing = BrewTime
|
||||
Var CountUpBrewing = 0
|
||||
SAVELOG BrewTime
|
||||
Var ShowCountDownBrewing = CountDownBrewing
|
||||
|
||||
TRY "ROOT/taobin_project/xml/process/ledv4_process.ev"
|
||||
;TRY "ROOT/taobin_project/xml/process/ledv4_process.ev"
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Multi.xml"
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Multi.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
Var ShowCountDownBrewing = CountDownBrewing
|
||||
|
|
@ -147,7 +147,7 @@
|
|||
|
||||
Refresh
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
</EventTimeout>
|
||||
|
||||
;<Image>
|
||||
;<X> 0 </X>
|
||||
|
|
@ -185,8 +185,8 @@
|
|||
|
||||
|
||||
<EventChangeStatus>
|
||||
If ChangeStatus = "payout-end" Then
|
||||
|
||||
If ChangeStatus = "payout-end" Then
|
||||
|
||||
EndIf
|
||||
</EventChangeStatus>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue