GBR: Here come!!! new country!!! United Kingdom👑
This commit is contained in:
parent
b6ebc2f523
commit
c0360a3819
2107 changed files with 277091 additions and 6 deletions
172
inter/gbr/xml/page_remove_cup.lxml
Normal file
172
inter/gbr/xml/page_remove_cup.lxml
Normal file
|
|
@ -0,0 +1,172 @@
|
|||
<Page>
|
||||
<X> 0 </X>
|
||||
<Y> 608 </Y>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1312 </Height>
|
||||
<Background> "0xEFEDEA" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
Var countClick = 0
|
||||
Var countClick2 = 0
|
||||
|
||||
Var CountryName = "United kingdom"
|
||||
|
||||
DEBUGVAR "GBR Remove Cup"
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/inter/common/image/user_take_cup_en/"
|
||||
|
||||
LED LedDoorDoor 5 255 255 255 255
|
||||
|
||||
;include=ROOT/taobin_project/inc/remove_cup_event_open.inc
|
||||
|
||||
Var ShowMenuNameAndImage = "Invisible"
|
||||
Var RemoveCupOnArmID = -1
|
||||
Var remove_cup_name = ""
|
||||
Var remove_cup_image = ""
|
||||
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
;SAVELOG MachineErrorDetail
|
||||
Var MachineErrorDetailAll = MachineErrorDetail + " / "
|
||||
Var MachineErrorDetailAll = MachineErrorDetailAll + MachineErrorDetailEng
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
Var MachineErrorDetailAll = MachineErrorDetailEng
|
||||
EndIf
|
||||
|
||||
|
||||
; Add haveCup false for block display abnormal. Alternate between page_board.xml and this file.
|
||||
If HaveCup = "false" Then
|
||||
If MachineStage = "show-menu" Then
|
||||
Open "ROOT/taobin_project/xml/page_board.xml"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
If CupOnArm = "true" Then
|
||||
If MachineStage = "show-menu" Then
|
||||
Open "ROOT/taobin_project/xml/page_board.xml"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If MachineStage = "close-maintenance" Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
;include=ROOT/taobin_project/inc/remove_cup_step.inc
|
||||
|
||||
|
||||
Var RemoveCupOnArmID = 0
|
||||
If RemoveCupOnArmID > 0 Then
|
||||
If DoorCupPosition = "bottom" Then
|
||||
Var ShowMenuNameAndImage = "Invisible"
|
||||
Var RemoveCupOnArmID = -1
|
||||
Else
|
||||
DEBUGVAR RemoveCupOnArmID
|
||||
DEBUGVAR DrinkImageOnArm[RemoveCupOnArmID]
|
||||
DEBUGVAR DrinkNameOnArm[RemoveCupOnArmID]
|
||||
|
||||
Var remove_cup_image = DrinkImageOnArm[RemoveCupOnArmID]
|
||||
Var remove_cup_name = DrinkNameOnArm[RemoveCupOnArmID]
|
||||
Var ShowMenuNameAndImage = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> 852 </Y>
|
||||
<Width> 1000 </Width>
|
||||
<Height> 300 </Height>
|
||||
<Language>
|
||||
<ID> 000409 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> 1200 </Y>
|
||||
<Width> 1000 </Width>
|
||||
<Height> 200 </Height>
|
||||
<Language>
|
||||
<ID> 000410 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
<Button>
|
||||
<X> 212 </X>
|
||||
<Y> 1661 </Y>
|
||||
<Filename> Var( DirImage + "/bn_door_open.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_door_open.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<State> buttonRemoveCup </State>
|
||||
<EventClick>
|
||||
;include=ROOT/taobin_project/inc/remove_cup_button.inc
|
||||
</EventClick>
|
||||
<Language>
|
||||
<ID> 000411 </ID>
|
||||
<X> 80 </X>
|
||||
<Y> 40 </Y>
|
||||
<Width> 500 </Width>
|
||||
<Height> 50 <Height>
|
||||
</Language>
|
||||
</Button>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 125 </X>
|
||||
<Y> 1700 </Y>
|
||||
<Height> 300 </Height>
|
||||
<Width> 320 </Width>
|
||||
<State> ShowMenuNameAndImage </State>
|
||||
<Filename> remove_cup_image </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 300 </X>
|
||||
<Y> 1750 </Y>
|
||||
<State> ShowMenuNameAndImage </State>
|
||||
<Width> 1080 </Width>
|
||||
<Align> Center </Align>
|
||||
<Font> KanitLightTTF </Font>
|
||||
<Size> 48 </Size>
|
||||
<Color> HeadlineColor </Color>
|
||||
<Value>
|
||||
eval(
|
||||
STRCONTAIN "size" remove_cup_name SizeFromSheet
|
||||
If SizeFromSheet = "true" Then
|
||||
SPLIT Seeker.showname "###" 1 PureName
|
||||
Var return = PureName
|
||||
Else
|
||||
Var return = Seeker.showname
|
||||
EndIf
|
||||
)
|
||||
</Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 5 </X>
|
||||
<Y> 1868 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> RobotoRegular </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> MachineErrorDetailAll </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
</Page>
|
||||
Loading…
Add table
Add a link
Reference in a new issue