add vddieo and adv
This commit is contained in:
parent
4ec0a2876a
commit
1e0ea8fc4b
66 changed files with 42827 additions and 18689 deletions
|
|
@ -178,6 +178,17 @@ Var ToppingNewUINewSystem = 0
|
|||
If BoxID = 123456 Then
|
||||
Var ToppingNewUINewSystem = 1
|
||||
EndIf
|
||||
If BoxID = 201714 Then
|
||||
Var ToppingNewUINewSystem = 1
|
||||
EndIf
|
||||
|
||||
If BoxID = 176757 Then
|
||||
Var ToppingNewUINewSystem = 1
|
||||
EndIf
|
||||
|
||||
; override again
|
||||
;Var ToppingNewUINewSystem = 0
|
||||
|
||||
|
||||
Var XMLLiveInfoEnable = 1
|
||||
|
||||
|
|
|
|||
|
|
@ -739,15 +739,11 @@
|
|||
EndIf
|
||||
EndIf
|
||||
If Timeout = 9 Then
|
||||
If OpenFromCollectPoint3 = 0 Then
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sounds/music1.mp3"
|
||||
EndIf
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sounds/music1.mp3"
|
||||
EndIf
|
||||
Else
|
||||
If Timeout = 4 Then
|
||||
If OpenFromCollectPoint3 = 0 Then
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sounds/music1.mp3"
|
||||
EndIf
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sounds/music1.mp3"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -53,8 +53,8 @@
|
|||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Coconut Milk Ice Cream"
|
||||
Var NameDrinkTH = "เต่าบินไอติมถัง กะทิ"
|
||||
Var NameDrink = "Kati Shake"
|
||||
Var NameDrinkTH = "กะทิเชค"
|
||||
Var DrinkDescriptionTH = "มะพร้าว, คาราเมล, นม, น้ำตาล และ น้ำแข็ง"
|
||||
Var DrinkDescription = "Coconut, Caramel, Milk, Sugar And Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Coconut_Milk_Smoothie.png"
|
||||
|
|
@ -127,8 +127,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "เต่าบินไอติมถัง
|
||||
กะทิ" </Value>
|
||||
<Value> "กะทิเชค" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -150,8 +149,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Coconut Milk
|
||||
Ice Cream" </Value>
|
||||
<Value> "Kati Shake" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -308,8 +306,8 @@ And Ice" </Value>
|
|||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Coconut Milk Strawberry Ice Cream"
|
||||
Var NameDrinkTH = "เต่าบินไอติมถัง สตรอเบอรี"
|
||||
Var NameDrink = "Kati Shake Strawberry"
|
||||
Var NameDrinkTH = "กะทิเชคสตรอเบอรี"
|
||||
Var DrinkDescriptionTH = "มะพร้าว, คาราเมล, สตรอเบอรี, นม, น้ำตาล และ น้ำแข็ง"
|
||||
Var DrinkDescription = "Coconut, Caramel, Strawberry, Milk, Sugar And Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Coconut_Milk_Strawberry_Smoothie.png"
|
||||
|
|
@ -382,8 +380,7 @@ And Ice" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "เต่าบินไอติมถัง
|
||||
สตรอเบอรี" </Value>
|
||||
<Value> "กะทิเชคสตรอเบอรี" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -405,8 +402,7 @@ And Ice" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Coconut Milk
|
||||
Strawberry Ice Cream" </Value>
|
||||
<Value> "Kati Shake Strawberry" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -563,8 +559,8 @@ Milk, Sugar And Ice" </Value>
|
|||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Coconut Milk Cocoa Ice Cream"
|
||||
Var NameDrinkTH = "เต่าบินไอติมถัง โกโก้"
|
||||
Var NameDrink = "Kati Shake Cocoa"
|
||||
Var NameDrinkTH = "กะทิเชคโกโก้"
|
||||
Var DrinkDescriptionTH = "มะพร้าว, คาราเมล, โกโก้, นม, น้ำตาล และ น้ำแข็ง"
|
||||
Var DrinkDescription = "Coconut, Caramel, Cocoa, Milk, Sugar And Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Coconut_Milk_Cocoa_Smoothie.png"
|
||||
|
|
@ -637,8 +633,7 @@ Milk, Sugar And Ice" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "เต่าบินไอติมถัง
|
||||
โกโก้" </Value>
|
||||
<Value> "กะทิเชคโกโก้" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -660,8 +655,7 @@ Milk, Sugar And Ice" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Coconut Milk
|
||||
Cocoa Ice Cream" </Value>
|
||||
<Value> "Kati Shake Cocoa" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -818,8 +812,8 @@ Sugar And Ice" </Value>
|
|||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Coconut Milk Matcha Ice Cream"
|
||||
Var NameDrinkTH = "เต่าบินไอติมถัง มัทฉะญี่ปุ่น"
|
||||
Var NameDrink = "Kati Shake Matcha"
|
||||
Var NameDrinkTH = "กะทิเชคมัทฉะญี่ปุ่น"
|
||||
Var DrinkDescriptionTH = "มะพร้าว, คาราเมล, มัทฉะ, นม, น้ำตาล และ น้ำแข็ง"
|
||||
Var DrinkDescription = "Coconut, Caramel, Matcha, Milk, Sugar And Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Coconut_Milk_Matcha_Smoothie.png"
|
||||
|
|
@ -892,8 +886,7 @@ Sugar And Ice" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "เต่าบินไอติมถัง
|
||||
มัทฉะญี่ปุ่น" </Value>
|
||||
<Value> "กะทิเชคมัทฉะญี่ปุ่น" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -915,8 +908,7 @@ Sugar And Ice" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Coconut Milk
|
||||
Matcha Ice Cream" </Value>
|
||||
<Value> "Kati Shake Matcha" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -1073,8 +1065,8 @@ Sugar And Ice" </Value>
|
|||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Coconut Milk Coffee Ice Cream"
|
||||
Var NameDrinkTH = "เต่าบินไอติมถัง กาแฟ"
|
||||
Var NameDrink = "Kati Shake Coffee"
|
||||
Var NameDrinkTH = "กะทิเชคกาแฟ"
|
||||
Var DrinkDescriptionTH = "มะพร้าว, คาราเมล, กาแฟ, นม, น้ำตาล และ น้ำแข็ง"
|
||||
Var DrinkDescription = "Coconut, Caramel, Coffee, Milk, Sugar And Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Coconut_Milk_Coffee_Smoothie.png"
|
||||
|
|
@ -1147,8 +1139,7 @@ Sugar And Ice" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "เต่าบินไอติมถัง
|
||||
กาแฟ" </Value>
|
||||
<Value> "กะทิเชคกาแฟ" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -1170,8 +1161,7 @@ Sugar And Ice" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Coconut Milk
|
||||
Coffee Ice Cream" </Value>
|
||||
<Value> "Kati Shake Coffee" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -1326,8 +1316,8 @@ Sugar And Ice" </Value>
|
|||
<Volume> SoundVolume </Volume>
|
||||
<OverlayImage> xmlpro( 12-21-03-0090, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Coconut Milk Coffee Ice Cream"
|
||||
Var NameDrinkTH = "เต่าบินไอติมถัง กาแฟ"
|
||||
Var NameDrink = "Kati Shake Coffee"
|
||||
Var NameDrinkTH = "กะทิเชคกาแฟ"
|
||||
Var DrinkDescriptionTH = "มะพร้าว, คาราเมล, กาแฟ, นม, น้ำตาล และ น้ำแข็ง"
|
||||
Var DrinkDescription = "Coconut, Caramel, Coffee, Milk, Sugar And Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Coconut_Milk_Coffee_Smoothie.png"
|
||||
|
|
@ -1400,8 +1390,7 @@ Sugar And Ice" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "เต่าบินไอติมถัง
|
||||
กาแฟ" </Value>
|
||||
<Value> "กะทิเชคกาแฟ" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -1423,8 +1412,7 @@ Sugar And Ice" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Coconut Milk
|
||||
Coffee Ice Cream" </Value>
|
||||
<Value> "Kati Shake Coffee" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
|
|||
|
|
@ -810,8 +810,8 @@
|
|||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Coconut Milk Matcha Ice Cream"
|
||||
Var NameDrinkTH = "เต่าบินไอติมถัง มัทฉะญี่ปุ่น"
|
||||
Var NameDrink = "Kati Shake Matcha"
|
||||
Var NameDrinkTH = "กะทิเชคมัทฉะญี่ปุ่น"
|
||||
Var DrinkDescriptionTH = "มะพร้าว, คาราเมล, มัทฉะ, นม, น้ำตาล และ น้ำแข็ง"
|
||||
Var DrinkDescription = "Coconut, Caramel, Matcha, Milk, Sugar And Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Coconut_Milk_Matcha_Smoothie.png"
|
||||
|
|
@ -884,8 +884,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "เต่าบินไอติมถัง
|
||||
มัทฉะญี่ปุ่น" </Value>
|
||||
<Value> "กะทิเชคมัทฉะญี่ปุ่น" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -907,8 +906,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Coconut Milk
|
||||
Matcha Ice Cream" </Value>
|
||||
<Value> "Kati Shake Matcha" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1669,12 +1669,24 @@
|
|||
Var SpecialMix = "Enable"
|
||||
Var CustomSyrup = "Enable"
|
||||
|
||||
Var showOreoAddEnable = "Enable"
|
||||
Var showOvaltineEnable = "Enable"
|
||||
Var showCocoaEnable = "Enable"
|
||||
If toppingID6index2 = 321 Then
|
||||
Var showOreoAddEnable = "Enable"
|
||||
EndIf
|
||||
If toppingID6index3 = 322 Then
|
||||
Var showCocoaEnable = "Enable"
|
||||
EndIf
|
||||
|
||||
Var showStrawberryEnable = "Enable"
|
||||
Var showYuzuEnable = "Enable"
|
||||
If toppingID6index4 = 323 Then
|
||||
Var showOvaltineEnable = "Enable"
|
||||
EndIf
|
||||
|
||||
If toppingID6index5 = 324 Then
|
||||
Var showStrawberryEnable = "Enable"
|
||||
EndIf
|
||||
|
||||
If toppingID6index6 = 325 Then
|
||||
Var showYuzuEnable = "Enable"
|
||||
EndIf
|
||||
|
||||
Var showText8 = "Invisible"
|
||||
|
||||
|
|
@ -2047,8 +2059,15 @@
|
|||
EndIf
|
||||
|
||||
If cold_button_state = "PressForever" Then
|
||||
Var showStrawberryEnable = "Enable"
|
||||
Var showYuzuEnable = "Enable"
|
||||
|
||||
If toppingID6index5 = 324 Then
|
||||
Var showStrawberryEnable = "Enable"
|
||||
EndIf
|
||||
|
||||
If toppingID6index6 = 325 Then
|
||||
Var showYuzuEnable = "Enable"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -9092,11 +9111,24 @@
|
|||
|
||||
|
||||
If showStrawberryEnable = "Press" Then
|
||||
Var showStrawberryEnable = "Enable"
|
||||
Var showYuzuEnable = "Enable"
|
||||
|
||||
If toppingID6index5 = 324 Then
|
||||
Var showStrawberryEnable = "Enable"
|
||||
EndIf
|
||||
|
||||
If toppingID6index6 = 325 Then
|
||||
Var showYuzuEnable = "Enable"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
Var showStrawberryEnable = "Press"
|
||||
Var showYuzuEnable = "Disable"
|
||||
|
||||
If toppingID6index5 = 324 Then
|
||||
Var showStrawberryEnable = "Press"
|
||||
EndIf
|
||||
|
||||
If toppingID6index6 = 325 Then
|
||||
Var showYuzuEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -9123,12 +9155,26 @@
|
|||
<EventClick>
|
||||
SAVELOG " Press add Strawberry "
|
||||
|
||||
|
||||
If showStrawberryEnable = "Press" Then
|
||||
Var showStrawberryEnable = "Enable"
|
||||
Var showYuzuEnable = "Enable"
|
||||
|
||||
If toppingID6index5 = 324 Then
|
||||
Var showStrawberryEnable = "Enable"
|
||||
EndIf
|
||||
|
||||
If toppingID6index6 = 325 Then
|
||||
Var showYuzuEnable = "Enable"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
Var showStrawberryEnable = "Press"
|
||||
Var showYuzuEnable = "Disable"
|
||||
|
||||
If toppingID6index5 = 324 Then
|
||||
Var showStrawberryEnable = "Press"
|
||||
EndIf
|
||||
|
||||
If toppingID6index6 = 325 Then
|
||||
Var showYuzuEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -9191,14 +9237,27 @@
|
|||
SAVELOG "Press add Yuzu"
|
||||
|
||||
If showYuzuEnable = "Press" Then
|
||||
Var showYuzuEnable = "Enable"
|
||||
Var showStrawberryEnable = "Enable"
|
||||
If toppingID6index5 = 324 Then
|
||||
Var showStrawberryEnable = "Enable"
|
||||
EndIf
|
||||
|
||||
If toppingID6index6 = 325 Then
|
||||
Var showYuzuEnable = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var showYuzuEnable = "Press"
|
||||
Var showStrawberryEnable = "Disable"
|
||||
|
||||
If toppingID6index5 = 324 Then
|
||||
Var showStrawberryEnable = "Disable"
|
||||
EndIf
|
||||
|
||||
If toppingID6index6 = 325 Then
|
||||
Var showYuzuEnable = "Press"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
Var SelectSyrupType = 1
|
||||
|
||||
Function 2
|
||||
|
|
@ -9227,12 +9286,24 @@
|
|||
|
||||
SAVELOG "Press add Yuzu"
|
||||
|
||||
|
||||
If showYuzuEnable = "Press" Then
|
||||
Var showYuzuEnable = "Enable"
|
||||
Var showStrawberryEnable = "Enable"
|
||||
If toppingID6index5 = 324 Then
|
||||
Var showStrawberryEnable = "Enable"
|
||||
EndIf
|
||||
|
||||
If toppingID6index6 = 325 Then
|
||||
Var showYuzuEnable = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var showYuzuEnable = "Press"
|
||||
Var showStrawberryEnable = "Disable"
|
||||
|
||||
If toppingID6index5 = 324 Then
|
||||
Var showStrawberryEnable = "Disable"
|
||||
EndIf
|
||||
|
||||
If toppingID6index6 = 325 Then
|
||||
Var showYuzuEnable = "Press"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -9338,76 +9409,6 @@
|
|||
|
||||
|
||||
|
||||
; add cart
|
||||
<Button>
|
||||
<State> btnAddCart </State>
|
||||
<X> 285 </X>
|
||||
<Y> 1785 </Y>
|
||||
<Filename> Var( DirImage + "/bn_add.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_add.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Var PriceDrink = PriceDrinkTmp
|
||||
SAVELOG "USER press next ( topping ) - new"
|
||||
DEBUGVAR topping1
|
||||
DEBUGVAR topping2
|
||||
DEBUGVAR topping3
|
||||
|
||||
DEBUGVAR LidState
|
||||
DEBUGVAR StrawState
|
||||
DEBUGVAR UserSelectProductCode
|
||||
DEBUGVAR HAVE_UV_DOOR_LID
|
||||
|
||||
|
||||
If StrawState = "Press" Then
|
||||
Machine StrawOrder
|
||||
Var LedLidBlink = "true"
|
||||
EndIf
|
||||
|
||||
If LidState = "Press" Then
|
||||
Machine LidOrder
|
||||
Var LedLidBlink = "true"
|
||||
EndIf
|
||||
|
||||
Var StrawState = "Enable"
|
||||
Var LidState = "Enable"
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
Var SelectDrink = UserSelectProductCode
|
||||
; Set drink
|
||||
Topping "Select" UserSelectProductCode
|
||||
|
||||
; Set option toppinng and pack
|
||||
Topping "Select1-ID" topping1
|
||||
Topping "Select2-ID" topping2
|
||||
Topping "Select3-ID" topping3
|
||||
|
||||
; Pack
|
||||
Topping "Pack" ExtendData
|
||||
|
||||
Var Seeker.ExtendData = ExtendData
|
||||
|
||||
If CART1_STATUS = "EMPTY" Then
|
||||
Cart "AddMenuID" 1
|
||||
Else
|
||||
If CART2_STATUS = "EMPTY" Then
|
||||
Cart "AddMenuID" 2
|
||||
Else
|
||||
If CART3_STATUS = "EMPTY" Then
|
||||
Cart "AddMenuID" 3
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Var CartUpdate = "true"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 277 </X>
|
||||
<Y> 1772 </Y>
|
||||
|
|
@ -9420,238 +9421,6 @@
|
|||
</Button>
|
||||
|
||||
|
||||
; liveness + camera + IDcard
|
||||
<Button>
|
||||
<State> DiscountWithIdentifyState </State>
|
||||
<X> 285 </X>
|
||||
<Y> 1785 </Y>
|
||||
<Filename> Var( DirImage + "/bn_price5baht.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_price5baht.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
;Var Seeker = "curr"
|
||||
|
||||
|
||||
DEBUGVAR PriceDrinkTmp
|
||||
|
||||
;Var Seeker.PriceDrink = PriceDrinkTmp
|
||||
|
||||
Var PriceDrink = PriceDrinkTmp
|
||||
|
||||
SAVELOG "USER press next ( topping ) - new"
|
||||
|
||||
If SugarState1 = "PressForever" Then
|
||||
If ShiftSugarStep = 1 Then
|
||||
Var topping1 = toppingID1index1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SugarState2 = "PressForever" Then
|
||||
If ShiftSugarStep = 1 Then
|
||||
Var topping1 = toppingID1index2
|
||||
EndIf
|
||||
If ShiftSugarStep = 2 Then
|
||||
Var topping1 = toppingID1index1
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If SugarState3 = "PressForever" Then
|
||||
If ShiftSugarStep = 1 Then
|
||||
Var topping1 = toppingID1index3
|
||||
EndIf
|
||||
If ShiftSugarStep = 2 Then
|
||||
Var topping1 = toppingID1index2
|
||||
EndIf
|
||||
If ShiftSugarStep = 3 Then
|
||||
Var topping1 = toppingID1index1
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If SugarState3 = "PressForever" Then
|
||||
If ShiftSugarStep = 1 Then
|
||||
Var topping1 = toppingID1index3
|
||||
EndIf
|
||||
If ShiftSugarStep = 2 Then
|
||||
Var topping1 = toppingID1index2
|
||||
EndIf
|
||||
If ShiftSugarStep = 3 Then
|
||||
Var topping1 = toppingID1index1
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If SugarState4 = "PressForever" Then
|
||||
If ShiftSugarStep = 1 Then
|
||||
Var topping1 = toppingID1index4
|
||||
EndIf
|
||||
If ShiftSugarStep = 2 Then
|
||||
Var topping1 = toppingID1index3
|
||||
EndIf
|
||||
If ShiftSugarStep = 3 Then
|
||||
Var topping1 = toppingID1index2
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If SugarState5 = "PressForever" Then
|
||||
If ShiftSugarStep = 1 Then
|
||||
Var topping1 = toppingID1index5
|
||||
EndIf
|
||||
If ShiftSugarStep = 2 Then
|
||||
Var topping1 = toppingID1index4
|
||||
EndIf
|
||||
If ShiftSugarStep = 3 Then
|
||||
Var topping1 = toppingID1index3
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
Var Seeker.topping1 = topping1
|
||||
Var Seeker.topping2 = topping2
|
||||
Var Seeker.topping3 = topping3
|
||||
Var Seeker.topping6 = topping6
|
||||
|
||||
Var Seeker.get_a_straw = StrawState
|
||||
Var Seeker.get_a_lid = LidState
|
||||
|
||||
|
||||
DEBUGVAR Seeker.topping1
|
||||
DEBUGVAR Seeker.topping2
|
||||
DEBUGVAR Seeker.topping3
|
||||
DEBUGVAR Seeker.topping6
|
||||
DEBUGVAR Seeker.get_a_straw
|
||||
DEBUGVAR Seeker.get_a_lid
|
||||
|
||||
DEBUGVAR LidState
|
||||
DEBUGVAR StrawState
|
||||
DEBUGVAR UserSelectProductCode
|
||||
|
||||
|
||||
If StrawState = "Press" Then
|
||||
Machine StrawOrder
|
||||
Var LedLidBlink = "true"
|
||||
EndIf
|
||||
|
||||
If LidState = "Press" Then
|
||||
Machine LidOrder
|
||||
Var LedLidBlink = "true"
|
||||
Var bg_lidProblem_ST = "Enable"
|
||||
Else
|
||||
If LidState = "Disable" Then
|
||||
Var bg_lidProblem_ST = "Disable"
|
||||
Else
|
||||
Var bg_lidProblem_ST = "Invisible"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SelectDrinkType = 0 Then
|
||||
|
||||
Else
|
||||
Var StrawState = "Enable"
|
||||
Var LidState = "Enable"
|
||||
EndIf
|
||||
;
|
||||
|
||||
Var PromotionIDCurrentOrder = 0
|
||||
|
||||
|
||||
Var SelectDrink = UserSelectProductCode
|
||||
|
||||
Var Seeker.selected_a_drink = UserSelectProductCode
|
||||
DEBUGVAR Seeker.selected_a_drink
|
||||
|
||||
; Set drink
|
||||
|
||||
If Seeker = "curr" Then
|
||||
Topping "Select" UserSelectProductCode
|
||||
|
||||
; Set option toppinng and pack
|
||||
Topping "Select1-ID" topping1
|
||||
Topping "Select2-ID" topping2
|
||||
Topping "Select3-ID" topping3
|
||||
Topping "Select6-ID" topping6
|
||||
|
||||
; Pack
|
||||
Topping "Pack" ExtendDataCurr
|
||||
|
||||
Else
|
||||
Topping "SetNextOrder" UserSelectProductCode
|
||||
|
||||
|
||||
Topping "__select" UserSelectProductCode
|
||||
; Set option toppinng and pack
|
||||
Topping "__select1-id" topping1
|
||||
Topping "__select2-id" topping2
|
||||
Topping "__select3-id" topping3
|
||||
Topping "__select6-id" topping6
|
||||
; Pack
|
||||
Topping "__pack" ExtendDataNext
|
||||
|
||||
Var NextUserSelectDrinkFromPaid = UserSelectProductCode
|
||||
Var NextUserSelecttopping1Paid = topping1
|
||||
Var NextUserSelecttopping2Paid = topping2
|
||||
Var NextUserSelecttopping3Paid = topping3
|
||||
Var NextUserSelecttopping6Paid = topping6
|
||||
|
||||
|
||||
|
||||
EndIf
|
||||
DEBUGVAR Seeker
|
||||
DEBUGVAR Seeker.ExtendData
|
||||
|
||||
Var Seeker.PictureDrink = PictureDrink
|
||||
Var Seeker.showname = showname
|
||||
|
||||
DEBUGVAR MenuCautionImageStage0
|
||||
DEBUGVAR CustomerFilterEnable
|
||||
DEBUGVAR CustomerFilterType
|
||||
|
||||
|
||||
GetLongTimeInMinute LastTimeClickOrder
|
||||
|
||||
If CART_COUNT = 0 Then
|
||||
If UserSelectProductCode = "-" Then
|
||||
|
||||
Else
|
||||
|
||||
If SelectDrinkType = 1 Then
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
|
||||
Open "ROOT/taobin_project/xml/page_identity_verification.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SelectDrinkType = 0 Then
|
||||
Var high_light_drink_type = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
|
||||
If CART1_STATUS = "EMPTY" Then
|
||||
Cart "AddMenuID" 1
|
||||
Else
|
||||
If CART2_STATUS = "EMPTY" Then
|
||||
Cart "AddMenuID" 2
|
||||
Else
|
||||
If CART3_STATUS = "EMPTY" Then
|
||||
Cart "AddMenuID" 3
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Var CartUpdate = "true"
|
||||
Var ButtonNext = "true"
|
||||
|
||||
EndIf
|
||||
|
||||
Var LastTimeClickOrder = 0
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
; next
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue