- add led v4 animations - extend timeout page test color - add elock

button for newui
This commit is contained in:
Pakin 2025-07-03 14:55:55 +07:00
parent 3b1cda6b64
commit 05543413ec
26 changed files with 705 additions and 406 deletions

View file

@ -851,6 +851,10 @@
Var CountDownBrewing = BREW_CNT Var CountDownBrewing = BREW_CNT
Var ShowCountDownBrewing = CountDownBrewing Var ShowCountDownBrewing = CountDownBrewing
If FrontDoorVersionInt > 19999 Then
TRY "ROOT/taobin_project/xml/process/ledv4_process.ev"
EndIf
If BREW_CNT = 0 Then If BREW_CNT = 0 Then
If CountUpWhenBREW_CNT > 56 Then If CountUpWhenBREW_CNT > 56 Then
Var CountUpWhenBREW_CNT = 0 Var CountUpWhenBREW_CNT = 0

View file

@ -308,6 +308,10 @@
Var ShowCountDownBrewing = CountDownBrewing Var ShowCountDownBrewing = CountDownBrewing
If FrontDoorVersionInt > 19999 Then
TRY "ROOT/taobin_project/xml/process/ledv4_process.ev"
EndIf
If CountDownBrewing = 0 Then If CountDownBrewing = 0 Then
Var ShowCountDownBrewing = ArrayCharWhenTImeZero[IndexCharWhenTImeZero] Var ShowCountDownBrewing = ArrayCharWhenTImeZero[IndexCharWhenTImeZero]

View file

@ -196,6 +196,10 @@
EndIf EndIf
If FrontDoorVersionInt = "" Then
__CMD "mcu-version" "-" "-" "-"
EndIf
If BoxID = 105005 Then If BoxID = 105005 Then
Var XMLProfile = "Plus5AndInclude20Percent-taobin_notopup-taobin_nopro-taobin_notopping" Var XMLProfile = "Plus5AndInclude20Percent-taobin_notopup-taobin_nopro-taobin_notopping"
Var XMLProfile = "DiscountFromBO-MachineShedule" Var XMLProfile = "DiscountFromBO-MachineShedule"
@ -1863,6 +1867,15 @@
Var buttonRemoveCupOnArm = "Invisible" Var buttonRemoveCupOnArm = "Invisible"
Var CountDownFailErrorHappendClear = 8 Var CountDownFailErrorHappendClear = 8
If FrontDoorVersionInt > 19999 Then
LEDv2 LedV4All On 100 20 0 255 10
SAVELOG "LEDv4.SlowBrinkVertical"
; turn-off-horizontal
TRY "ROOT/taobin_project/xml/process/temp_ledv4_offall_horizontal.ev"
EndIf
</EventOpen> </EventOpen>
<EventActionOk> <EventActionOk>
@ -2638,9 +2651,19 @@ PRICE "Reset" "-"
EndIf EndIf
Else Else
If InternationalEnable = 1 Then If InternationalEnable = 1 Then
If FrontDoorVersionInt > 19999 Then
TRY "ROOT/taobin_project/xml/process/temp_ledv4_blinkall_horizontal.ev"
EndIf
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml" OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.lxml" OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.lxml"
Else Else
If FrontDoorVersionInt > 19999 Then
TRY "ROOT/taobin_project/xml/process/temp_ledv4_blinkall_horizontal.ev"
EndIf
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.xml" OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.xml"
EndIf EndIf
@ -2745,9 +2768,17 @@ PRICE "Reset" "-"
EndIf EndIf
Else Else
If InternationalEnable = 1 Then If InternationalEnable = 1 Then
If FrontDoorVersionInt > 19999 Then
TRY "ROOT/taobin_project/xml/process/temp_ledv4_blinkall_horizontal.ev"
EndIf
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml" OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.lxml" OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.lxml"
Else Else
If FrontDoorVersionInt > 19999 Then
TRY "ROOT/taobin_project/xml/process/temp_ledv4_blinkall_horizontal.ev"
EndIf
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.xml" OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.xml"
EndIf EndIf
EndIf EndIf

View file

@ -931,6 +931,10 @@
Var ShowCountDownBrewing = CountDownBrewing Var ShowCountDownBrewing = CountDownBrewing
If FrontDoorVersionInt > 19999 Then
LEDv2 LED_POS On 100 20 0 LED_TIMES LED_DIM_TIMES
EndIf
DEBUGVAR EnableDoubleCupNoError DEBUGVAR EnableDoubleCupNoError
DEBUGVAR HURR_FOREVER DEBUGVAR HURR_FOREVER
If EnableDoubleCupNoError = 1 Then If EnableDoubleCupNoError = 1 Then

View file

@ -396,6 +396,12 @@
Var ShowCountDownBrewing = CountDownBrewing Var ShowCountDownBrewing = CountDownBrewing
If FrontDoorVersionInt > 19999 Then
TRY "ROOT/taobin_project/xml/process/ledv4_process.ev"
LEDv2 LED_POS On 100 20 0 LED_TIMES LED_DIM_TIMES
EndIf
If Timeout > 540 Then If Timeout > 540 Then
SAVELOG "back_to_main from line > 217." SAVELOG "back_to_main from line > 217."
Open "ROOT/taobin_project/xml/page_drinkfail2.xml" Open "ROOT/taobin_project/xml/page_drinkfail2.xml"

View file

@ -49,6 +49,10 @@
Var ShowCountDownBrewing = CountDownBrewing Var ShowCountDownBrewing = CountDownBrewing
DEBUGVAR Timeout DEBUGVAR Timeout
If FrontDoorVersionInt > 19999 Then
TRY "ROOT/taobin_project/xml/process/ledv4_process.ev"
EndIf
Var Timeout = Timeout + 1 Var Timeout = Timeout + 1
If Timeout > 5 Then If Timeout > 5 Then

View file

@ -153,6 +153,9 @@
Var ShowCountDownBrewing = CountDownBrewing Var ShowCountDownBrewing = CountDownBrewing
If FrontDoorVersionInt > 19999 Then
TRY "ROOT/taobin_project/xml/process/ledv4_process.ev"
EndIf
StrLen TelephoneNumber TelNumLen StrLen TelephoneNumber TelNumLen
If TelNumLen > 0 Then If TelNumLen > 0 Then

View file

@ -253,6 +253,10 @@
Var ShowCountDownBrewing = CountDownBrewing Var ShowCountDownBrewing = CountDownBrewing
If FrontDoorVersionInt > 19999 Then
TRY "ROOT/taobin_project/xml/process/ledv4_process.ev"
EndIf
StrLen TelephoneNumber TelNumLen StrLen TelephoneNumber TelNumLen
If TelNumLen > 0 Then If TelNumLen > 0 Then

View file

@ -76,6 +76,10 @@
Var ShowCountDownBrewing = CountDownBrewing Var ShowCountDownBrewing = CountDownBrewing
If FrontDoorVersionInt > 19999 Then
TRY "ROOT/taobin_project/xml/process/ledv4_process.ev"
EndIf
Var Timeout = Timeout + 1 Var Timeout = Timeout + 1
If Timeout > 30 Then If Timeout > 30 Then

View file

@ -974,6 +974,10 @@
Var ShowCountDownBrewing = CountDownBrewing Var ShowCountDownBrewing = CountDownBrewing
If FrontDoorVersionInt > 19999 Then
TRY "ROOT/taobin_project/xml/process/ledv4_process.ev"
EndIf
Var Timeout = Timeout + 1 Var Timeout = Timeout + 1
@ -1570,4 +1574,3 @@
</Popup> </Popup>

View file

@ -958,6 +958,10 @@
Var ShowCountDownBrewing = CountDownBrewing Var ShowCountDownBrewing = CountDownBrewing
If FrontDoorVersionInt > 19999 Then
TRY "ROOT/taobin_project/xml/process/ledv4_process.ev"
EndIf
Var Timeout = Timeout + 1 Var Timeout = Timeout + 1

View file

@ -1057,6 +1057,10 @@
Var ShowCountDownBrewing = CountDownBrewing Var ShowCountDownBrewing = CountDownBrewing
If FrontDoorVersionInt > 19999 Then
TRY "ROOT/taobin_project/xml/process/ledv4_process.ev"
EndIf
Var Timeout = Timeout + 1 Var Timeout = Timeout + 1

View file

@ -94,7 +94,9 @@
Var ShowCountDownBrewing = CountDownBrewing Var ShowCountDownBrewing = CountDownBrewing
If FrontDoorVersionInt > 19999 Then
TRY "ROOT/taobin_project/xml/process/ledv4_process.ev"
EndIf
Var Timeout = Timeout + 1 Var Timeout = Timeout + 1
If Timeout > 5 Then If Timeout > 5 Then

View file

@ -318,6 +318,11 @@
Var ShowNameMysteryName = Seeker.shownameMystery Var ShowNameMysteryName = Seeker.shownameMystery
EndIf EndIf
If FrontDoorVersionInt > 19999 Then
LEDv4Playlist "reset" "-" "-"
TRY "ROOT/taobin_project/xml/process/temp_ledv4_page_drinkok.ev"
EndIf
</EventOpen> </EventOpen>
<Timeout> 500 </Timeout> <Timeout> 500 </Timeout>
<EventTimeout> <EventTimeout>

View file

@ -225,6 +225,7 @@
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If RedButtonState = "Enable" Then If RedButtonState = "Enable" Then
Var RedButtonState = "Press" Var RedButtonState = "Press"
@ -264,6 +265,7 @@
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If BlueButtonState = "Enable" Then If BlueButtonState = "Enable" Then
Var RedButtonState = "Enable" Var RedButtonState = "Enable"
Var BlueButtonState = "Press" Var BlueButtonState = "Press"
@ -301,6 +303,7 @@
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If OrangeButtonState = "Enable" Then If OrangeButtonState = "Enable" Then
Var RedButtonState = "Enable" Var RedButtonState = "Enable"
Var BlueButtonState = "Enable" Var BlueButtonState = "Enable"
@ -338,6 +341,7 @@
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If IndigoButtonState = "Enable" Then If IndigoButtonState = "Enable" Then
Var RedButtonState = "Enable" Var RedButtonState = "Enable"
Var BlueButtonState = "Enable" Var BlueButtonState = "Enable"
@ -375,6 +379,7 @@
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If YellowButtonState = "Enable" Then If YellowButtonState = "Enable" Then
Var RedButtonState = "Enable" Var RedButtonState = "Enable"
Var BlueButtonState = "Enable" Var BlueButtonState = "Enable"
@ -412,6 +417,7 @@
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If VioletButtonState = "Enable" Then If VioletButtonState = "Enable" Then
Var RedButtonState = "Enable" Var RedButtonState = "Enable"
Var BlueButtonState = "Enable" Var BlueButtonState = "Enable"
@ -449,6 +455,7 @@
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If GreenButtonState = "Enable" Then If GreenButtonState = "Enable" Then
Var RedButtonState = "Enable" Var RedButtonState = "Enable"
Var BlueButtonState = "Enable" Var BlueButtonState = "Enable"
@ -485,6 +492,7 @@
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If WhiteButtonState = "Enable" Then If WhiteButtonState = "Enable" Then
Var RedButtonState = "Enable" Var RedButtonState = "Enable"
Var BlueButtonState = "Enable" Var BlueButtonState = "Enable"
@ -511,49 +519,6 @@
</EventClick> </EventClick>
</Button> </Button>
<Button>
<X> 680 </X>
<Y> LEDv4VerticalY </Y>
<State> LEDv4Toggle[42] </State>
<Filename> bn_toggle_off </Filename>
<FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode>
<EventClick>
If LEDv4Toggle[42] = "Enable" Then
Var LEDv4Toggle[42] = "Press"
If CurrentColor = "Red" Then
LEDv2 LedV4#142 On 255 0 0 255 0
EndIf
If CurrentColor = "Orange" Then
LEDv2 LedV4#142 On 255 127 0 255 0
EndIf
If CurrentColor = "Yellow" Then
LEDv2 LedV4#142 On 255 255 0 255 0
EndIf
If CurrentColor = "Green" Then
LEDv2 LedV4#142 On 0 255 0 255 0
EndIf
If CurrentColor = "Blue" Then
LEDv2 LedV4#142 On 0 0 255 255 0
EndIf
If CurrentColor = "Indigo" Then
LEDv2 LedV4#142 On 75 0 130 255 0
EndIf
If CurrentColor = "Violet" Then
LEDv2 LedV4#142 On 145 0 211 255 0
EndIf
If CurrentColor = "White" Then
LEDv2 LedV4#142 On 255 255 255 255 0
EndIf
Else
Var LEDv4Toggle[42] = "Enable"
LEDv2 LedV4#142 Off 0 0 0 1 0
EndIf
TimerReset
Refresh
</EventClick>
</Button>
<Button> <Button>
<X> 680 </X> <X> 680 </X>
<Y> LEDv4VerticalY2 </Y> <Y> LEDv4VerticalY2 </Y>
@ -562,6 +527,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[41] = "Enable" Then If LEDv4Toggle[41] = "Enable" Then
Var LEDv4Toggle[41] = "Press" Var LEDv4Toggle[41] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -605,6 +571,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[40] = "Enable" Then If LEDv4Toggle[40] = "Enable" Then
Var LEDv4Toggle[40] = "Press" Var LEDv4Toggle[40] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -648,6 +615,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[39] = "Enable" Then If LEDv4Toggle[39] = "Enable" Then
Var LEDv4Toggle[39] = "Press" Var LEDv4Toggle[39] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -691,6 +659,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[38] = "Enable" Then If LEDv4Toggle[38] = "Enable" Then
Var LEDv4Toggle[38] = "Press" Var LEDv4Toggle[38] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -734,6 +703,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[37] = "Enable" Then If LEDv4Toggle[37] = "Enable" Then
Var LEDv4Toggle[37] = "Press" Var LEDv4Toggle[37] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -777,6 +747,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[36] = "Enable" Then If LEDv4Toggle[36] = "Enable" Then
Var LEDv4Toggle[36] = "Press" Var LEDv4Toggle[36] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -820,6 +791,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[35] = "Enable" Then If LEDv4Toggle[35] = "Enable" Then
Var LEDv4Toggle[35] = "Press" Var LEDv4Toggle[35] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -863,6 +835,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[34] = "Enable" Then If LEDv4Toggle[34] = "Enable" Then
Var LEDv4Toggle[34] = "Press" Var LEDv4Toggle[34] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -906,6 +879,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[33] = "Enable" Then If LEDv4Toggle[33] = "Enable" Then
Var LEDv4Toggle[33] = "Press" Var LEDv4Toggle[33] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -949,6 +923,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[32] = "Enable" Then If LEDv4Toggle[32] = "Enable" Then
Var LEDv4Toggle[32] = "Press" Var LEDv4Toggle[32] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -992,6 +967,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[31] = "Enable" Then If LEDv4Toggle[31] = "Enable" Then
Var LEDv4Toggle[31] = "Press" Var LEDv4Toggle[31] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1035,6 +1011,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[30] = "Enable" Then If LEDv4Toggle[30] = "Enable" Then
Var LEDv4Toggle[30] = "Press" Var LEDv4Toggle[30] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1078,6 +1055,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[29] = "Enable" Then If LEDv4Toggle[29] = "Enable" Then
Var LEDv4Toggle[29] = "Press" Var LEDv4Toggle[29] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1121,6 +1099,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[28] = "Enable" Then If LEDv4Toggle[28] = "Enable" Then
Var LEDv4Toggle[28] = "Press" Var LEDv4Toggle[28] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1164,6 +1143,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[27] = "Enable" Then If LEDv4Toggle[27] = "Enable" Then
Var LEDv4Toggle[27] = "Press" Var LEDv4Toggle[27] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1207,6 +1187,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[26] = "Enable" Then If LEDv4Toggle[26] = "Enable" Then
Var LEDv4Toggle[26] = "Press" Var LEDv4Toggle[26] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1250,6 +1231,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[25] = "Enable" Then If LEDv4Toggle[25] = "Enable" Then
Var LEDv4Toggle[25] = "Press" Var LEDv4Toggle[25] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1293,6 +1275,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[24] = "Enable" Then If LEDv4Toggle[24] = "Enable" Then
Var LEDv4Toggle[24] = "Press" Var LEDv4Toggle[24] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1336,6 +1319,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[23] = "Enable" Then If LEDv4Toggle[23] = "Enable" Then
Var LEDv4Toggle[23] = "Press" Var LEDv4Toggle[23] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1379,6 +1363,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[22] = "Enable" Then If LEDv4Toggle[22] = "Enable" Then
Var LEDv4Toggle[22] = "Press" Var LEDv4Toggle[22] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1422,6 +1407,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[21] = "Enable" Then If LEDv4Toggle[21] = "Enable" Then
Var LEDv4Toggle[21] = "Press" Var LEDv4Toggle[21] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1465,6 +1451,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[20] = "Enable" Then If LEDv4Toggle[20] = "Enable" Then
Var LEDv4Toggle[20] = "Press" Var LEDv4Toggle[20] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1508,6 +1495,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[19] = "Enable" Then If LEDv4Toggle[19] = "Enable" Then
Var LEDv4Toggle[19] = "Press" Var LEDv4Toggle[19] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1552,6 +1540,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[18] = "Enable" Then If LEDv4Toggle[18] = "Enable" Then
Var LEDv4Toggle[18] = "Press" Var LEDv4Toggle[18] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1595,6 +1584,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[17] = "Enable" Then If LEDv4Toggle[17] = "Enable" Then
Var LEDv4Toggle[17] = "Press" Var LEDv4Toggle[17] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1638,6 +1628,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[16] = "Enable" Then If LEDv4Toggle[16] = "Enable" Then
Var LEDv4Toggle[16] = "Press" Var LEDv4Toggle[16] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1681,6 +1672,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[15] = "Enable" Then If LEDv4Toggle[15] = "Enable" Then
Var LEDv4Toggle[15] = "Press" Var LEDv4Toggle[15] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1725,6 +1717,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[14] = "Enable" Then If LEDv4Toggle[14] = "Enable" Then
Var LEDv4Toggle[14] = "Press" Var LEDv4Toggle[14] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1772,6 +1765,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[3] = "Enable" Then If LEDv4Toggle[3] = "Enable" Then
Var LEDv4Toggle[3] = "Press" Var LEDv4Toggle[3] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1815,6 +1809,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[4] = "Enable" Then If LEDv4Toggle[4] = "Enable" Then
Var LEDv4Toggle[4] = "Press" Var LEDv4Toggle[4] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1858,6 +1853,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[5] = "Enable" Then If LEDv4Toggle[5] = "Enable" Then
Var LEDv4Toggle[5] = "Press" Var LEDv4Toggle[5] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1901,6 +1897,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[6] = "Enable" Then If LEDv4Toggle[6] = "Enable" Then
Var LEDv4Toggle[6] = "Press" Var LEDv4Toggle[6] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1944,6 +1941,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[7] = "Enable" Then If LEDv4Toggle[7] = "Enable" Then
Var LEDv4Toggle[7] = "Press" Var LEDv4Toggle[7] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -1987,6 +1985,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[8] = "Enable" Then If LEDv4Toggle[8] = "Enable" Then
Var LEDv4Toggle[8] = "Press" Var LEDv4Toggle[8] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -2030,6 +2029,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[9] = "Enable" Then If LEDv4Toggle[9] = "Enable" Then
Var LEDv4Toggle[9] = "Press" Var LEDv4Toggle[9] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -2073,6 +2073,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[10] = "Enable" Then If LEDv4Toggle[10] = "Enable" Then
Var LEDv4Toggle[10] = "Press" Var LEDv4Toggle[10] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -2116,6 +2117,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[11] = "Enable" Then If LEDv4Toggle[11] = "Enable" Then
Var LEDv4Toggle[11] = "Press" Var LEDv4Toggle[11] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -2159,6 +2161,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[12] = "Enable" Then If LEDv4Toggle[12] = "Enable" Then
Var LEDv4Toggle[12] = "Press" Var LEDv4Toggle[12] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then
@ -2202,6 +2205,7 @@
<FilenamePress> bn_toggle_on </FilenamePress> <FilenamePress> bn_toggle_on </FilenamePress>
<Mode> "No" </Mode> <Mode> "No" </Mode>
<EventClick> <EventClick>
Var Timeout = 0
If LEDv4Toggle[13] = "Enable" Then If LEDv4Toggle[13] = "Enable" Then
Var LEDv4Toggle[13] = "Press" Var LEDv4Toggle[13] = "Press"
If CurrentColor = "Red" Then If CurrentColor = "Red" Then

View file

@ -206,12 +206,23 @@
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/sometime/script_thankyou.ev" TRY "/mnt/sdcard/coffeevending/taobin_project/xml/sometime/script_thankyou.ev"
SAVELOG "============================================== Thankyou.xml =====================================" SAVELOG "============================================== Thankyou.xml ====================================="
Var TimeoutThankyou = 0 Var TimeoutThankyou = 0
Var StartLEDBrewingAnimation = 0
Var LEDv4CountDownValue = 9999999
If FrontDoorVersionInt > 19999 Then
TRY "ROOT/taobin_project/xml/process/temp_ledv4_page_thankyou.ev"
EndIf
</EventOpen> </EventOpen>
<Timeout> 1000 </Timeout> <Timeout> 1000 </Timeout>
<EventTimeout> <EventTimeout>
Var CountDownBrewing = BREW_CNT Var CountDownBrewing = BREW_CNT
TRY "ROOT/taobin_project/xml/process/ledv4_process.ev"
Var TimeoutThankyou = TimeoutThankyou + 1 Var TimeoutThankyou = TimeoutThankyou + 1
If TimeoutThankyou = TimeoutToNext Then If TimeoutThankyou = TimeoutToNext Then

View file

@ -16,6 +16,9 @@
Var CountUpBrewing = 0 Var CountUpBrewing = 0
SAVELOG BrewTime SAVELOG BrewTime
Var ShowCountDownBrewing = CountDownBrewing Var ShowCountDownBrewing = CountDownBrewing
TRY "ROOT/taobin_project/xml/process/ledv4_process.ev"
Var Timeout = 0 Var Timeout = 0
Var ChangeFlag = 0 Var ChangeFlag = 0
Var ErrTimeout = 0 Var ErrTimeout = 0
@ -343,6 +346,9 @@
SAVELOG BrewTime SAVELOG BrewTime
Var ShowCountDownBrewing = CountDownBrewing Var ShowCountDownBrewing = CountDownBrewing
TRY "ROOT/taobin_project/xml/process/ledv4_process.ev"
Var MachineState_Result = 0 Var MachineState_Result = 0
If FailErrorHappend = 1 Then If FailErrorHappend = 1 Then
@ -409,6 +415,8 @@
Var ShowCountDownBrewing = CountDownBrewing Var ShowCountDownBrewing = CountDownBrewing
TRY "ROOT/taobin_project/xml/process/ledv4_process.ev"
;include=ROOT/taobin_project/inc/remove_cup_step.inc ;include=ROOT/taobin_project/inc/remove_cup_step.inc

View file

@ -12,6 +12,8 @@
Var CountUpBrewing = 0 Var CountUpBrewing = 0
SAVELOG BrewTime SAVELOG BrewTime
Var ShowCountDownBrewing = CountDownBrewing Var ShowCountDownBrewing = CountDownBrewing
TRY "ROOT/taobin_project/xml/process/ledv4_process.ev"
Var Timeout = 0 Var Timeout = 0
Var ChangeFlag = 0 Var ChangeFlag = 0
Var ErrTimeout = 0 Var ErrTimeout = 0
@ -133,11 +135,16 @@
SAVELOG BrewTime SAVELOG BrewTime
Var ShowCountDownBrewing = CountDownBrewing Var ShowCountDownBrewing = CountDownBrewing
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 EndIf
Var ShowCountDownBrewing = CountDownBrewing Var ShowCountDownBrewing = CountDownBrewing
TRY "ROOT/taobin_project/xml/process/ledv4_process.ev"
Refresh Refresh
TimerReset TimerReset
</EventTimeout> </EventTimeout>

View file

@ -0,0 +1,43 @@
DEBUGVAR FrontDoorVersionInt
If FrontDoorVersionInt > 19999 Then
DEBUGVAR StartLEDBrewingAnimation
If StartLEDBrewingAnimation = 0 Then
LEDv4Playlist "new" Seeker.selected_a_drink CountDownBrewing
Var StartLEDBrewingAnimation = 1
EndIf
DEBUGVAR StartLEDBrewingAnimation
DEBUGVAR LEDv4CountDownValue
DEBUGVAR LEDv4PlaylistStatus
If CountDownBrewing < LEDv4CountDownValue Then
If LEDv4PlaylistStatus = "Ready" Then
LEDv4Playlist "play" "-" "-"
Else
;
If LEDv4PlaylistStatus = "Running" Then
Else
LEDv4Playlist "pause" "processEv" "_notReady"
EndIf
EndIf
Else
If CountDownBrewing = LEDv4CountDownValue Then
If LEDv4PlaylistStatus = "Ready" Then
LEDv4Playlist "play" "-" "-"
Else
If LEDv4PlaylistStatus = "Running" Then
Else
LEDv4Playlist "pause" "processEv" "_notReady"
EndIf
EndIf
Else
; pause
LEDv4Playlist "pause" processEv" "_GetCntDownExcMax"
EndIf
EndIf
EndIf

View file

@ -0,0 +1,16 @@
If FrontDoorVersionInt > 19999 Then
LEDv2 LedV4#103 On 200 20 0 255 10
LEDv2 LedV4#104 On 200 20 0 255 10
LEDv2 LedV4#105 On 200 20 0 255 10
LEDv2 LedV4#106 On 200 20 0 255 10
LEDv2 LedV4#107 On 200 20 0 255 10
LEDv2 LedV4#108 On 200 20 0 255 10
LEDv2 LedV4#109 On 200 20 0 255 10
LEDv2 LedV4#110 On 200 20 0 255 10
LEDv2 LedV4#111 On 200 20 0 255 10
LEDv2 LedV4#112 On 200 20 0 255 10
LEDv2 LedV4#113 On 200 20 0 255 10
SAVELOG "LEDv4.SlowBrinkHorizontal"
EndIf

View file

@ -0,0 +1,16 @@
DEBUGVAR "AllOffv4"
If FrontDoorVersionInt > 19999 Then
LEDv2 LedV4#103 Off 0 0 0 1 0
LEDv2 LedV4#104 Off 0 0 0 1 0
LEDv2 LedV4#105 Off 0 0 0 1 0
LEDv2 LedV4#106 Off 0 0 0 1 0
LEDv2 LedV4#107 Off 0 0 0 1 0
LEDv2 LedV4#108 Off 0 0 0 1 0
LEDv2 LedV4#109 Off 0 0 0 1 0
LEDv2 LedV4#110 Off 0 0 0 1 0
LEDv2 LedV4#111 Off 0 0 0 1 0
LEDv2 LedV4#112 Off 0 0 0 1 0
LEDv2 LedV4#113 Off 0 0 0 1 0
SAVELOG "LEDv4.AllOffHorizontal"
EndIf

View file

@ -0,0 +1,19 @@
If FrontDoorVersionInt > 19999 Then
LEDv2 LedV4All On 100 20 0 255 0
LEDv2 LedV4#103 On 200 20 0 255 10
LEDv2 LedV4#104 On 200 20 0 255 10
LEDv2 LedV4#105 On 200 20 0 255 10
LEDv2 LedV4#106 On 200 20 0 255 10
LEDv2 LedV4#107 On 200 20 0 255 10
LEDv2 LedV4#108 On 200 20 0 255 10
LEDv2 LedV4#109 On 200 20 0 255 10
LEDv2 LedV4#110 On 200 20 0 255 10
LEDv2 LedV4#111 On 200 20 0 255 10
LEDv2 LedV4#112 On 200 20 0 255 10
LEDv2 LedV4#113 On 200 20 0 255 10
SAVELOG "LEDv4.PageDrinkOk"
EndIf

View file

@ -0,0 +1,23 @@
If FrontDoorVersionInt > 19999 Then
LEDv2 LedV4Top Blink 100 20 0 4 10
LEDv2 LedV4Mid Blink 100 20 0 4 10
LEDv2 LedV4Bottom On 100 20 0 255 0
LEDv2 LedV4#103 Blink 200 20 0 4 10
LEDv2 LedV4#104 Blink 200 20 0 4 10
LEDv2 LedV4#105 Blink 200 20 0 4 10
LEDv2 LedV4#106 Blink 200 20 0 4 10
LEDv2 LedV4#107 Blink 200 20 0 4 10
LEDv2 LedV4#108 Blink 200 20 0 4 10
LEDv2 LedV4#109 Blink 200 20 0 4 10
LEDv2 LedV4#110 Blink 200 20 0 4 10
LEDv2 LedV4#111 Blink 200 20 0 4 10
LEDv2 LedV4#112 Blink 200 20 0 4 10
LEDv2 LedV4#113 Blink 200 20 0 4 10
SAVELOG "LEDv4.PageThankYou"
Var
EndIf

View file

@ -186,6 +186,9 @@
Var CountTouchButton = 0 Var CountTouchButton = 0
DEBUGVAR FrontDoorVersionInt DEBUGVAR FrontDoorVersionInt
If FrontDoorVersionInt = "" Then
__CMD "mcu-version" "-" "-" "-"
EndIf
; front_more_than_20000 ; front_more_than_20000
If FrontDoorVersionInt > 19999 Then If FrontDoorVersionInt > 19999 Then
@ -194,6 +197,8 @@
Var EnableTestRGB = "Invisible" Var EnableTestRGB = "Invisible"
EndIf EndIf
</EventOpen> </EventOpen>
<Timeout> 1000 </Timeout> <Timeout> 1000 </Timeout>
<EventTimeout> <EventTimeout>
@ -306,6 +311,17 @@
Var GPRSStr = GPRSStr + GPRSState Var GPRSStr = GPRSStr + GPRSState
DEBUGVAR FrontDoorVersionInt
If FrontDoorVersionInt = "" Then
__CMD "mcu-version" "-" "-" "-"
EndIf
; front_more_than_20000
If FrontDoorVersionInt > 19999 Then
Var EnableTestRGB = "Enable"
Else
Var EnableTestRGB = "Invisible"
EndIf

View file

@ -184,10 +184,9 @@
Var sleepmodeEnable = "false" Var sleepmodeEnable = "false"
Var AlphaState = "Invisible" Var AlphaState = "Invisible"
Var LoginReadyState = "Enable"
If NewUiBSM = "" Then Var NewUiBSM = "Offline"
Var NewUiBSM = "Offline"
EndIf
If EnableBrewIPC = "" Then If EnableBrewIPC = "" Then
Var EnableBrewIPC = "false" Var EnableBrewIPC = "false"
@ -195,7 +194,7 @@
If EnableBrewIPC = "true" Then If EnableBrewIPC = "true" Then
StartBrewNewUiLoginService StartBrewIPCService
EndIf EndIf
@ -206,6 +205,15 @@
DEBUGVAR Timeout DEBUGVAR Timeout
DEBUGVAR WhileRetryCounter DEBUGVAR WhileRetryCounter
DEBUGVAR NewUiBSM DEBUGVAR NewUiBSM
DEBUGVAR LoginReadyState
If NewUiBSM = "Online" Then
Var LoginReadyState = "Enable"
Else
If EnableBrewIPC = "true" Then
Var LoginReadyState = "Invisible"
EndIf
EndIf
If WaitPopup = "Enable" Then If WaitPopup = "Enable" Then
Var AlphaState = "Enable" Var AlphaState = "Enable"
@ -575,6 +583,7 @@
<FilenamePress> "ROOT/taobin_project/image/new_vending_info/get_acc_btn.png" </FilenamePress> <FilenamePress> "ROOT/taobin_project/image/new_vending_info/get_acc_btn.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound> <Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<State> LoginReadyState </State>
<EventClick> <EventClick>
DEBUGVAR ShowVersionAll DEBUGVAR ShowVersionAll

View file

@ -14,6 +14,14 @@
Var EnableCheckin = "Enable" Var EnableCheckin = "Enable"
Var EnableTestCoinBank = "Enable" Var EnableTestCoinBank = "Enable"
If EnableBrewIPC = "true" Then
Var EnableElockFromXML = "Enable"
Var EnableElockByCMD = "Invisible"
Else
Var EnableElockFromXML = "Invisible"
Var EnableElockByCMD = "Enable"
EndIf
Var Timeout = 0 Var Timeout = 0
If InternationalEnable = 1 Then If InternationalEnable = 1 Then
@ -224,6 +232,43 @@
</EventOnClick> </EventOnClick>
</Button> </Button>
</Block> </Block>
<Block>
<MarginLeft> 0 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 560 </Width>
<Height> 142 </Height>
<State> EnableElockFromXML </State>
<Button>
<Filename> "ROOT/taobin_project/image/new_vending_info/unlock_elock.png" </Filename>
<EventOnClick>
UnlockElock
;StatusLog "UnlockElock"
SAVELOG "Unlock Elock by xml"
</EventOnClick>
</Button>
</Block>
<Block>
<MarginLeft> 0 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 560 </Width>
<Height> 142 </Height>
<State> EnableElockByCMD </State>
<Button>
<Filename> "ROOT/taobin_project/image/new_vending_info/unlock_elock.png" </Filename>
<EventOnClick>
__CMD "UnlockElock" "-" "-" "-"
;StatusLog "UnlockElock"
SAVELOG "Unlock Elock by xml cmd"
</EventOnClick>
</Button>
</Block>
</FrameScroll> </FrameScroll>