taobin_project/xml/vending_info.xml
2020-12-03 14:21:46 +07:00

269 lines
5.2 KiB
XML

<Page>
<Width> 1080 </Width>
<Height> 1312 </Height>
<Volume> SoundVolume </Volume>
<Background> "ROOT/image/BG1SLOT_TAB.bmp" </Background>
<EventOpen>
; On open
Var info_startX = 11
Var info_1Y = 250
Var info_2Y = 320
Var info_3Y = 390
Var info_4Y = 460
Var info_5Y = 530
Var info_text_startX = info_startX + 22
Var info_text_1Y = info_1Y + 18
Var info_text_2Y = info_2Y + 18
Var info_text_3Y = info_3Y + 18
Var info_text_4Y = info_4Y + 18
Var info_text_5Y = info_5Y + 18
Var info2_startX = 550
Var info2_text_startX = info2_startX + 22
Var temphot = "น้ำร้อน องศา "
Var temphot = temphot + BrewTemp
Var temphot = temphot + " C"
Var tempice = "น้าแข็ง องศา "
Var tempice = tempice + IceTemp
Var tempice = tempice + " C "
If IceFull = 0 Then
Var tempice = tempice + " ไม่เต็ม "
Else
Var tempice = tempice + " เต็มถัง "
EndIf
Var configfile = "CFG = " + ConfigNumer
Var ice_version_text = " ICE version " + IceVersion
Var brew_version_text = "Main version " + MainboardVersion
Var show_version = brew_version_text + ice_version_text
Var show_boxid = "[ " + BoxID
Var show_boxid = show_boxid + " ]"
Var ShowVersionAll = BrewMachineFirmwareVersion + " | "
Var ShowVersionAll = ShowVersionAll + XMLPageVersion
Var IDCardState = "Invisible"
Var Timeout = 0
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 15 Then
Open "ROOT/xml/page_board.xml"
EndIf
Refresh
TimerReset
</EventTimeout>
<Image>
<X> info_startX </X>
<Y> info_1Y </Y>
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
<EventClick>
Machine DoorOpen
</EventClick>
</Image>
<Image>
<X> info_startX </X>
<Y> info_2Y </Y>
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
<EventClick>
Machine Lid
</EventClick>
</Image>
<Image>
<X> info_startX </X>
<Y> info_3Y </Y>
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
<EventClick>
Machine Straw
</EventClick>
</Image>
<Image>
<X> info_startX </X>
<Y> info_4Y </Y>
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
</Image>
<Image>
<X> info_startX </X>
<Y> info_5Y </Y>
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
</Image>
<Image>
<X> info2_startX </X>
<Y> info_1Y </Y>
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
</Image>
<Image>
<X> info2_startX </X>
<Y> info_2Y </Y>
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
</Image>
<Image>
<X> info2_startX </X>
<Y> info_3Y </Y>
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
</Image>
<Image>
<X> info2_startX </X>
<Y> info_4Y </Y>
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
</Image>
<Image>
<X> info2_startX </X>
<Y> info_5Y </Y>
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
<EventClick>
Open "ROOT/xml/test_coin.xml"
</EventClick>
</Image>
<Text>
<X> info2_text_startX </X>
<Y> info_text_5Y </Y>
<Size> 30 </Size>
<Font> fontType1 </Font>
<Color> 0x000000 </Color>
<Value> "Test coin and bill" </Value>
</Text>
<Text>
<X> info2_text_startX </X>
<Y> info_text_1Y </Y>
<Size> 30 </Size>
<Font> fontType1 </Font>
<Color> 0x000000 </Color>
<Value> ShowVersionAll </Value>
</Text>
<Text>
<X> info2_text_startX </X>
<Y> info_text_2Y </Y>
<Size> 30 </Size>
<Font> fontType1 </Font>
<Color> 0x000000 </Color>
<Value> MainBoardStatus </Value>
</Text>
<Text>
<X> info2_text_startX </X>
<Y> info_text_3Y </Y>
<Size> 30 </Size>
<Font> fontType1 </Font>
<Color> 0x000000 </Color>
<Value> IceBoardStatus </Value>
</Text>
<Text>
<X> info_text_startX </X>
<Y> info_text_1Y </Y>
<Size> 30 </Size>
<Font> fontType1 </Font>
<Color> 0x000000 </Color>
<Value> temphot </Value>
</Text>
<Text>
<X> info_text_startX </X>
<Y> info_text_2Y </Y>
<Size> 30 </Size>
<Font> fontType1 </Font>
<Color> 0x000000 </Color>
<Value> tempice </Value>
</Text>
<Text>
<X> info_text_startX </X>
<Y> info_text_3Y </Y>
<Size> 30 </Size>
<Font> fontType1 </Font>
<Color> 0x000000 </Color>
<Value> configfile </Value>
</Text>
<Text>
<X> info_text_startX </X>
<Y> info_text_4Y </Y>
<Size> 30 </Size>
<Font> fontType1 </Font>
<Color> 0x000000 </Color>
<Value> show_version </Value>
</Text>
<Text>
<X> info_text_startX </X>
<Y> info_text_5Y </Y>
<Size> 30 </Size>
<Font> fontType1 </Font>
<Color> 0x000000 </Color>
<Value> show_boxid </Value>
</Text>
<Text>
<X> info2_text_startX </X>
<Y> info_text_4Y </Y>
<Size> 30 </Size>
<State> IDCardState </State>
<Font> fontType1 </Font>
<Color> 0x000000 </Color>
<Value> IDFullNameEng</Value>
</Text>
<Button>
<X> 431 </X>
<Y> 805 </Y>
<Filename> "ROOT/taobin_project/image//bp_cancel.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/bp_cancel.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_board.xml"
</EventClick>
</Button>
<EventIDCard>
Var IDCardState = "Enable"
SAVELOG IDFullNameEng
</EventIDCard>
</Page>