shoppy webapp
This commit is contained in:
commit
7f833e0842
93 changed files with 507 additions and 84 deletions
|
|
@ -193,6 +193,8 @@
|
|||
|
||||
LED LedDoorLid Off 255 255 255 255
|
||||
|
||||
DEBUGVAR AdvertiseProfile
|
||||
|
||||
SPLIT AdvertiseProfile "/" 1 AdvertiseProfile1
|
||||
SPLIT AdvertiseProfile "/" 2 AdvertiseProfile2
|
||||
SPLIT AdvertiseProfile "/" 3 AdvertiseProfile3
|
||||
|
|
|
|||
|
|
@ -382,9 +382,11 @@
|
|||
<Y> 1769 </Y>
|
||||
<State> showCart </State>
|
||||
<Filename> cart_image_bn </Filename>
|
||||
<Filename> cart_image_bp </Filename>
|
||||
<FilenamePress> cart_image_bp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Interval> 400</Interval>
|
||||
<EventClick>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,10 @@
|
|||
product_code.append('12-01-02-0009')
|
||||
product_code.append('12-01-02-0017')
|
||||
|
||||
product_code.append('11-01-02-0009')
|
||||
#product_code.append('11-01-02-0009')
|
||||
|
||||
product_code.append('12-01-02-0006')
|
||||
|
||||
#product_code.append('')
|
||||
|
||||
menu_count = len( product_code)
|
||||
|
|
|
|||
|
|
@ -3981,33 +3981,33 @@
|
|||
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
||||
</Image>
|
||||
</Block>
|
||||
; button i=36 11-01-02-0009
|
||||
; button i=36 12-01-02-0006
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> $11-01-02-0009.Button </State>
|
||||
<State> $12-01-02-0006.Button </State>
|
||||
<Button>
|
||||
<State> $11-01-02-0009.Button </State>
|
||||
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-01-02-0009.image ) </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-01-02-0009.image ) " </FilenamePress>
|
||||
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $11-01-02-0009.image ) " </FilenameDisable>
|
||||
<State> $12-01-02-0006.Button </State>
|
||||
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $12-01-02-0006.image ) </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $12-01-02-0006.image ) " </FilenamePress>
|
||||
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $12-01-02-0006.image ) " </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var SelectDrink = $11-01-02-0009.Self
|
||||
Var NameDrink = $11-01-02-0009.NameE
|
||||
Var NameDrinkTH = $11-01-02-0009.Name
|
||||
Var DrinkDescriptionTH = $11-01-02-0009.description
|
||||
Var DrinkDescription = $11-01-02-0009.descriptionE
|
||||
Var PriceDrink = $11-01-02-0009.Price
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $11-01-02-0009.image
|
||||
Var SelectDrink = $12-01-02-0006.Self
|
||||
Var NameDrink = $12-01-02-0006.NameE
|
||||
Var NameDrinkTH = $12-01-02-0006.Name
|
||||
Var DrinkDescriptionTH = $12-01-02-0006.description
|
||||
Var DrinkDescription = $12-01-02-0006.descriptionE
|
||||
Var PriceDrink = $12-01-02-0006.Price
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $12-01-02-0006.image
|
||||
Topping "Load" SelectDrink
|
||||
SAVELOG NameDrink
|
||||
Var PriceShowValue = charOfBaht + PriceDrink
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
STRCONTAIN "Smoothie" $11-01-02-0009.Button IsSmoRet
|
||||
STRCONTAIN "Smoothie" $12-01-02-0006.Button IsSmoRet
|
||||
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
|
|
@ -4020,7 +4020,7 @@
|
|||
<Size> 27 </Size>
|
||||
<Font> KanitTTF </Font>
|
||||
<Color> 0xB78F24 </Color>
|
||||
<Value> $11-01-02-0009.Price </Value>
|
||||
<Value> $12-01-02-0006.Price </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 164 </X>
|
||||
|
|
@ -4041,7 +4041,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $11-01-02-0009.Name </Value>
|
||||
<Value> $12-01-02-0006.Name </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -4051,7 +4051,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $11-01-02-0009.description </Value>
|
||||
<Value> $12-01-02-0006.description </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -4062,7 +4062,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $11-01-02-0009.NameE </Value>
|
||||
<Value> $12-01-02-0006.NameE </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -4072,12 +4072,12 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $11-01-02-0009.descriptionE </Value>
|
||||
<Value> $12-01-02-0006.descriptionE </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 2 </X>
|
||||
<Y> 2 </Y>
|
||||
<State> eval( STRCONTAIN "Smoothie" $11-01-02-0009.Button SmoRet
|
||||
<State> eval( STRCONTAIN "Smoothie" $12-01-02-0006.Button SmoRet
|
||||
If SmoRet = "true" Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
|
|
|
|||
|
|
@ -19,6 +19,9 @@
|
|||
|
||||
product_code.append('12-03-02-0004')
|
||||
product_code.append('12-03-02-0006')
|
||||
product_code.append('12-03-02-0011')
|
||||
product_code.append('12-03-02-0010')
|
||||
|
||||
product_code.append('12-03-02-0005')
|
||||
#product_code.append('12-03-02-0002')
|
||||
product_code.append('12-03-02-0007')
|
||||
|
|
|
|||
|
|
@ -1328,7 +1328,219 @@
|
|||
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
||||
</Image>
|
||||
</Block>
|
||||
; button i=11 12-03-02-0005
|
||||
; button i=11 12-03-02-0011
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> $12-03-02-0011.Button </State>
|
||||
<Button>
|
||||
<State> $12-03-02-0011.Button </State>
|
||||
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $12-03-02-0011.image ) </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $12-03-02-0011.image ) " </FilenamePress>
|
||||
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $12-03-02-0011.image ) " </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var SelectDrink = $12-03-02-0011.Self
|
||||
Var NameDrink = $12-03-02-0011.NameE
|
||||
Var NameDrinkTH = $12-03-02-0011.Name
|
||||
Var DrinkDescriptionTH = $12-03-02-0011.description
|
||||
Var DrinkDescription = $12-03-02-0011.descriptionE
|
||||
Var PriceDrink = $12-03-02-0011.Price
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $12-03-02-0011.image
|
||||
Topping "Load" SelectDrink
|
||||
SAVELOG NameDrink
|
||||
Var PriceShowValue = charOfBaht + PriceDrink
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
STRCONTAIN "Smoothie" $12-03-02-0011.Button IsSmoRet
|
||||
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 182 </X>
|
||||
<Y> 12 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Align> "Hurr" </Align>
|
||||
<Width>150</Width>
|
||||
<Size> 27 </Size>
|
||||
<Font> KanitTTF </Font>
|
||||
<Color> 0xB78F24 </Color>
|
||||
<Value> $12-03-02-0011.Price </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 164 </X>
|
||||
<Y> 12 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Width>20</Width>
|
||||
<Size> 27 </Size>
|
||||
<Font> KanitTTF </Font>
|
||||
<Color> 0xB78F24 </Color>
|
||||
<Value> "฿"" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 190 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $12-03-02-0011.Name </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 246 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $12-03-02-0011.description </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 190 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $12-03-02-0011.NameE </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 246 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $12-03-02-0011.descriptionE </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 2 </X>
|
||||
<Y> 2 </Y>
|
||||
<State> eval( STRCONTAIN "Smoothie" $12-03-02-0011.Button SmoRet
|
||||
If SmoRet = "true" Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
) </State>
|
||||
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
||||
</Image>
|
||||
</Block>
|
||||
; button i=12 12-03-02-0010
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> $12-03-02-0010.Button </State>
|
||||
<Button>
|
||||
<State> $12-03-02-0010.Button </State>
|
||||
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $12-03-02-0010.image ) </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $12-03-02-0010.image ) " </FilenamePress>
|
||||
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $12-03-02-0010.image ) " </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var SelectDrink = $12-03-02-0010.Self
|
||||
Var NameDrink = $12-03-02-0010.NameE
|
||||
Var NameDrinkTH = $12-03-02-0010.Name
|
||||
Var DrinkDescriptionTH = $12-03-02-0010.description
|
||||
Var DrinkDescription = $12-03-02-0010.descriptionE
|
||||
Var PriceDrink = $12-03-02-0010.Price
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $12-03-02-0010.image
|
||||
Topping "Load" SelectDrink
|
||||
SAVELOG NameDrink
|
||||
Var PriceShowValue = charOfBaht + PriceDrink
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
STRCONTAIN "Smoothie" $12-03-02-0010.Button IsSmoRet
|
||||
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 182 </X>
|
||||
<Y> 12 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Align> "Hurr" </Align>
|
||||
<Width>150</Width>
|
||||
<Size> 27 </Size>
|
||||
<Font> KanitTTF </Font>
|
||||
<Color> 0xB78F24 </Color>
|
||||
<Value> $12-03-02-0010.Price </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 164 </X>
|
||||
<Y> 12 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Width>20</Width>
|
||||
<Size> 27 </Size>
|
||||
<Font> KanitTTF </Font>
|
||||
<Color> 0xB78F24 </Color>
|
||||
<Value> "฿"" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 190 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $12-03-02-0010.Name </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 246 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $12-03-02-0010.description </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 190 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $12-03-02-0010.NameE </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 246 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $12-03-02-0010.descriptionE </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 2 </X>
|
||||
<Y> 2 </Y>
|
||||
<State> eval( STRCONTAIN "Smoothie" $12-03-02-0010.Button SmoRet
|
||||
If SmoRet = "true" Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
) </State>
|
||||
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
||||
</Image>
|
||||
</Block>
|
||||
; button i=13 12-03-02-0005
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
|
|
@ -1434,7 +1646,7 @@
|
|||
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
||||
</Image>
|
||||
</Block>
|
||||
; button i=12 12-03-02-0007
|
||||
; button i=14 12-03-02-0007
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
|
|
@ -1540,7 +1752,7 @@
|
|||
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
||||
</Image>
|
||||
</Block>
|
||||
; button i=13 12-03-03-0009
|
||||
; button i=15 12-03-03-0009
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
product_code.append('12-04-02-0009')
|
||||
product_code.append('12-04-02-0010')
|
||||
product_code.append('12-04-02-0011')
|
||||
product_code.append('12-04-02-0014')
|
||||
|
||||
|
||||
menu_count = len( product_code)
|
||||
|
|
|
|||
|
|
@ -1539,6 +1539,112 @@
|
|||
) </State>
|
||||
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
||||
</Image>
|
||||
</Block>
|
||||
; button i=13 12-04-02-0014
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> $12-04-02-0014.Button </State>
|
||||
<Button>
|
||||
<State> $12-04-02-0014.Button </State>
|
||||
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $12-04-02-0014.image ) </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $12-04-02-0014.image ) " </FilenamePress>
|
||||
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $12-04-02-0014.image ) " </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var SelectDrink = $12-04-02-0014.Self
|
||||
Var NameDrink = $12-04-02-0014.NameE
|
||||
Var NameDrinkTH = $12-04-02-0014.Name
|
||||
Var DrinkDescriptionTH = $12-04-02-0014.description
|
||||
Var DrinkDescription = $12-04-02-0014.descriptionE
|
||||
Var PriceDrink = $12-04-02-0014.Price
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $12-04-02-0014.image
|
||||
Topping "Load" SelectDrink
|
||||
SAVELOG NameDrink
|
||||
Var PriceShowValue = charOfBaht + PriceDrink
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
STRCONTAIN "Smoothie" $12-04-02-0014.Button IsSmoRet
|
||||
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 182 </X>
|
||||
<Y> 12 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Align> "Hurr" </Align>
|
||||
<Width>150</Width>
|
||||
<Size> 27 </Size>
|
||||
<Font> KanitTTF </Font>
|
||||
<Color> 0xB78F24 </Color>
|
||||
<Value> $12-04-02-0014.Price </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 164 </X>
|
||||
<Y> 12 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Width>20</Width>
|
||||
<Size> 27 </Size>
|
||||
<Font> KanitTTF </Font>
|
||||
<Color> 0xB78F24 </Color>
|
||||
<Value> "฿"" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 190 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $12-04-02-0014.Name </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 246 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $12-04-02-0014.description </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 190 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $12-04-02-0014.NameE </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 246 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $12-04-02-0014.descriptionE </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 2 </X>
|
||||
<Y> 2 </Y>
|
||||
<State> eval( STRCONTAIN "Smoothie" $12-04-02-0014.Button SmoRet
|
||||
If SmoRet = "true" Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
) </State>
|
||||
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
||||
</Image>
|
||||
</Block>
|
||||
</FrameScroll>
|
||||
; Cart
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@
|
|||
Var countClick2 = 0
|
||||
|
||||
|
||||
;DEBUGVAR MachineStage
|
||||
;DEBUGVAR stop_now
|
||||
DEBUGVAR MachineStage
|
||||
DEBUGVAR stop_now
|
||||
|
||||
Var show_error_normal = "Invisible"
|
||||
Var show_error_sp1 = "Enable"
|
||||
|
|
@ -55,6 +55,26 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
If MachineStage = "drink-failed" Then
|
||||
If stop_now = "true" Then
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en/"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error"
|
||||
EndIf
|
||||
Else
|
||||
Var show_error_normal = "Enable"
|
||||
Var show_error_sp1 = "Invisible"
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/close_en/"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/close_th"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
StopLongPlay
|
||||
|
||||
|
|
@ -78,7 +98,7 @@
|
|||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 5000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
|
@ -100,6 +120,23 @@
|
|||
|
||||
EndIf
|
||||
|
||||
If MachineStage = "drink-failed" Then
|
||||
Var FirstOpen = 1
|
||||
Var LEDSet = "true"
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
If FirstOpen = 1 Then
|
||||
Var FirstOpen = 0
|
||||
If MachineStage = "close-maintenance" Then
|
||||
|
||||
Var LEDSet = "true"
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@
|
|||
<EventOpen>
|
||||
Var y_topping_bg = 912
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select3.xml"
|
||||
|
||||
DEBUGVAR BrewVersionInt
|
||||
If BrewVersionInt >= 419 Then
|
||||
If ConfigNumer >= 380 Then
|
||||
|
|
|
|||
|
|
@ -88,9 +88,11 @@
|
|||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 15 Then
|
||||
Open "ROOT/xml/page_board.xml"
|
||||
Open "ROOT/taobin_project/xml/page_board.xml"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR AdvertiseProfile
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue