edit spiral_new_product
This commit is contained in:
parent
2a91ec9758
commit
c4b2afca6d
2 changed files with 226 additions and 189 deletions
|
|
@ -1,84 +0,0 @@
|
|||
{
|
||||
"products": [
|
||||
{
|
||||
"id": 1,
|
||||
"code": "03-02-01-0001",
|
||||
"name": "ขนมปังอบกรอบ\nรสเนย",
|
||||
"nameE": "After You the nugget",
|
||||
"desc": "After You (อาฟเตอร์ ยู)",
|
||||
"descE": "After You Dessert Cafe",
|
||||
"image": "03-02-01-0001.png",
|
||||
"detail1": "ขนมปังอบกรอบรสเนย",
|
||||
"header2": "ข้อมูลสำหรับผู้แพ้อาหาร:",
|
||||
"detail2": "มีแป้งสาลี นม ถั่วเหลือง และอาจมีถั่วเปลือกแข็ง ถั่วลิสง ไข่ ข้าวโอ๊ต เมล็ดงา ปลา ซัลไฟต์",
|
||||
"detail1E": "After You the nugget ",
|
||||
"header2E": "Allergen Contains:",
|
||||
"detail2E": "Gluten, milk, Soybean May Contains: egg, oat, treenuts, peanuts, sesame seeds, fish, sulphites",
|
||||
"price": 100
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"code": "03-02-01-0002",
|
||||
"name": "ขนมปังอบกรอบ\nรสซาวครีมและหัวหอม",
|
||||
"nameE": "Sour cream and\nonion nuggets",
|
||||
"desc": "After You (อาฟเตอร์ ยู)",
|
||||
"descE": "After You Dessert Cafe",
|
||||
"image": "03-02-01-0002.png",
|
||||
"detail1": "ขนมปังอบกรอบรสซาวครีมและหัวหอม",
|
||||
"header2": "ข้อมูลสำหรับผู้แพ้อาหาร:",
|
||||
"detail2": "มีแป้งสาลี นม ถั่วเหลือง ไข่ และอาจมีถั่วเปลือกแข็ง ถั่วลิสง ข้าวโอ๊ต เมล็ดงา ปลา ซัลไฟต์",
|
||||
"detail1E": "Sour cream and onion nuggets",
|
||||
"header2E": "Allergen Contains:",
|
||||
"detail2E": "Gluten, milk, Soybean, egg May Contains: oat, treenuts, peanuts, sesame seeds, fish, sulphites",
|
||||
"price": 115
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"code": "03-02-01-0003",
|
||||
"name": "ขนมปังอบกรอบ\nรสไข่เค็ม",
|
||||
"nameE": "Salted egg nugget",
|
||||
"desc": "After You (อาฟเตอร์ ยู)",
|
||||
"descE": "After You Dessert Cafe",
|
||||
"image": "03-02-01-0003.png",
|
||||
"detail1": "ขนมปังอบกรอบรสไข่เค็ม",
|
||||
"header2": "ข้อมูลสำหรับผู้แพ้อาหาร:",
|
||||
"detail2": "มีแป้งสาลี นม ถั่วเหลือง ไข่ และอาจมีถั่วเปลือกแข็ง ถั่วลิสง ข้าวโอ๊ต เมล็ดงา ปลา ซัลไฟต์",
|
||||
"detail1E": "Salted egg nugget",
|
||||
"header2E": "Allergen Contains:",
|
||||
"detail2E": "Gluten, milk, Soybean, egg May Contains: oat, treenuts, peanuts, sesame seeds, fish, sulphites",
|
||||
"price": 115
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"code": "03-02-01-0004",
|
||||
"name": "คุกกี้ธัญพืช",
|
||||
"nameE": "After You cornflake\ncookie",
|
||||
"desc": "After You (อาฟเตอร์ ยู)",
|
||||
"descE": "After You Dessert Cafe",
|
||||
"image": "03-02-01-0004.png",
|
||||
"detail1": "คุกกี้ธัญพืช",
|
||||
"header2": "ข้อมูลสำหรับผู้แพ้อาหาร:",
|
||||
"detail2": "มีแป้งสาลี นม ไข่ และอาจมีถั่วเหลือง ถั่วเปลือกแข็ง ถั่วลิสง ข้าวโอ๊ต เมล็ดงา ปลา ซัลไฟต์",
|
||||
"detail1E": "After You cornflake cookie",
|
||||
"header2E": "Allergen Contains:",
|
||||
"detail2E": "Gluten, milk, egg May Contains: Soybean, treenuts, peanuts, oat, sesame seeds, fish, sulphites",
|
||||
"price": 85
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"code": "03-02-01-0005",
|
||||
"name": "เมอแรงค์ถั่วแมค\nคาเดเมีย",
|
||||
"nameE": "Macadamia\nMeringue",
|
||||
"desc": "After You (อาฟเตอร์ ยู)",
|
||||
"descE": "After You Dessert Cafe",
|
||||
"image": "03-02-01-0005.png",
|
||||
"detail1": "เมอแรงค์ถั่วแมคคาเดเมีย",
|
||||
"header2": "ข้อมูลสำหรับผู้แพ้อาหาร:",
|
||||
"detail2": "มีไข่ ถั่วเปลือกแข็ง และอาจมีแป้งสาลี นม ถั่วเหลือง ถั่วลิสง ข้าวโอ๊ต เมล็ดงา ปลา ซัลไฟต์",
|
||||
"detail1E": "Macadamia Meringue",
|
||||
"header2E": "Allergen Contains:",
|
||||
"detail2E": "egg, treenuts, May Contains: Gluten, milk, Soybean, peanuts, oat, sesame seeds, fish, sulphites",
|
||||
"price": 120
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
Var SpiralSoftwareVersion = "1.01"
|
||||
Var SpiralSoftwareVersion = "1.02"
|
||||
Var ColorBrown = 0x746253
|
||||
Var ColorBrown2 = 0x513C2F
|
||||
|
||||
|
|
@ -1217,38 +1217,38 @@
|
|||
|
||||
</Block>
|
||||
|
||||
; button i=1 01-00-00-0006
|
||||
; button i=1 03-02-01-0006
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> $01-00-00-0006.Button </State>
|
||||
<State> $03-02-01-0006.Button </State>
|
||||
<Button>
|
||||
<State> $01-00-00-0006.Button </State>
|
||||
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $01-00-00-0006.image ) </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $01-00-00-0006.image ) " </FilenamePress>
|
||||
;<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_disable/" + $01-00-00-0006.image ) " </FilenameDisable>
|
||||
<State> $03-02-01-0006.Button </State>
|
||||
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-02-01-0006.image ) </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-0006.image ) " </FilenamePress>
|
||||
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-0006.image ) " </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var SpiralSelectdetail1 = $01-00-00-0006.detail1
|
||||
Var SpiralSelectheader2 = $01-00-00-0006.header2
|
||||
Var SpiralSelectdetail2 = $01-00-00-0006.detail2
|
||||
Var SpiralSelectdetail1 = $03-02-01-0006.detail1
|
||||
Var SpiralSelectheader2 = $03-02-01-0006.header2
|
||||
Var SpiralSelectdetail2 = $03-02-01-0006.detail2
|
||||
|
||||
Var SpiralSelectdetail1E = $01-00-00-0006.detail1E
|
||||
Var SpiralSelectheader2E = $01-00-00-0006.header2E
|
||||
Var SpiralSelectdetail2E = $01-00-00-0006.detail2E
|
||||
Var SpiralSelectdetail1E = $03-02-01-0006.detail1E
|
||||
Var SpiralSelectheader2E = $03-02-01-0006.header2E
|
||||
Var SpiralSelectdetail2E = $03-02-01-0006.detail2E
|
||||
|
||||
Var ServiceCredit = "01-00-00-0006"
|
||||
Var SelectDrink = $01-00-00-0006.Self
|
||||
Var NameDrink = $01-00-00-0006.NameE
|
||||
Var NameDrinkTH = $01-00-00-0006.Name
|
||||
Var DrinkDescriptionTH = $01-00-00-0006.description
|
||||
;Var DrinkDescription = $01-00-00-0006.descriptionE
|
||||
Var PriceDrink = $01-00-00-0006.Price
|
||||
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $01-00-00-0006.image
|
||||
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $01-00-00-0006.image
|
||||
Var ServiceCredit = "03-02-01-0006"
|
||||
Var SelectDrink = $03-02-01-0006.Self
|
||||
Var NameDrink = $03-02-01-0006.NameE
|
||||
Var NameDrinkTH = $03-02-01-0006.Name
|
||||
Var DrinkDescriptionTH = $03-02-01-0006.description
|
||||
;Var DrinkDescription = $03-02-01-0006.descriptionE
|
||||
Var PriceDrink = $03-02-01-0006.Price
|
||||
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-0006.image
|
||||
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-0006.image
|
||||
|
||||
SAVELOG NameDrink
|
||||
Var PriceShowValue = charOfBaht + PriceDrink
|
||||
|
|
@ -1259,6 +1259,37 @@
|
|||
</EventOnClick>
|
||||
</Button>
|
||||
|
||||
<Image>
|
||||
<X> 49 </X>
|
||||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $03-02-01-0006.Button = "Disable" Then
|
||||
Var return = "Enable"
|
||||
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 48 </X>
|
||||
<Y> 116 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $03-02-01-0006.Button </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 10 </X>
|
||||
<Y> 251 </Y>
|
||||
|
|
@ -1277,7 +1308,7 @@
|
|||
<Size> 17 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> ColorBrown2 </Color>
|
||||
<Value> $01-00-00-0006.Price </Value>
|
||||
<Value> $03-02-01-0006.Price </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
|
|
@ -1302,7 +1333,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> ColorBlack1 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $01-00-00-0006.Name </Value>
|
||||
<Value> $03-02-01-0006.Name </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
|
|
@ -1313,7 +1344,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> ColorBrown </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $01-00-00-0006.description </Value>
|
||||
<Value> $03-02-01-0006.description </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
|
|
@ -1325,7 +1356,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> ColorBlack1 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $01-00-00-0006.NameE </Value>
|
||||
<Value> $03-02-01-0006.NameE </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
|
|
@ -1336,44 +1367,44 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> ColorBrown </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $01-00-00-0006.descriptionE </Value>
|
||||
<Value> $03-02-01-0006.descriptionE </Value>
|
||||
</Text>
|
||||
|
||||
</Block>
|
||||
|
||||
|
||||
; button i=1 01-00-00-0007
|
||||
; button i=1 03-02-01-0007
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> $01-00-00-0007.Button </State>
|
||||
<State> $03-02-01-0007.Button </State>
|
||||
<Button>
|
||||
<State> $01-00-00-0007.Button </State>
|
||||
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $01-00-00-0007.image ) </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $01-00-00-0007.image ) " </FilenamePress>
|
||||
;<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_disable/" + $01-00-00-0007.image ) " </FilenameDisable>
|
||||
<State> $03-02-01-0007.Button </State>
|
||||
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-02-01-0007.image ) </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-0007.image ) " </FilenamePress>
|
||||
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-0007.image ) " </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var SpiralSelectdetail1 = $01-00-00-0007.detail1
|
||||
Var SpiralSelectheader2 = $01-00-00-0007.header2
|
||||
Var SpiralSelectdetail2 = $01-00-00-0007.detail2
|
||||
Var SpiralSelectdetail1 = $03-02-01-0007.detail1
|
||||
Var SpiralSelectheader2 = $03-02-01-0007.header2
|
||||
Var SpiralSelectdetail2 = $03-02-01-0007.detail2
|
||||
|
||||
Var SpiralSelectdetail1E = $01-00-00-0007.detail1E
|
||||
Var SpiralSelectheader2E = $01-00-00-0007.header2E
|
||||
Var SpiralSelectdetail2E = $01-00-00-0007.detail2E
|
||||
Var SpiralSelectdetail1E = $03-02-01-0007.detail1E
|
||||
Var SpiralSelectheader2E = $03-02-01-0007.header2E
|
||||
Var SpiralSelectdetail2E = $03-02-01-0007.detail2E
|
||||
|
||||
Var ServiceCredit = "01-00-00-0007"
|
||||
Var SelectDrink = $01-00-00-0007.Self
|
||||
Var NameDrink = $01-00-00-0007.NameE
|
||||
Var NameDrinkTH = $01-00-00-0007.Name
|
||||
Var DrinkDescriptionTH = $01-00-00-0007.description
|
||||
;Var DrinkDescription = $01-00-00-0007.descriptionE
|
||||
Var PriceDrink = $01-00-00-0007.Price
|
||||
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $01-00-00-0007.image
|
||||
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $01-00-00-0007.image
|
||||
Var ServiceCredit = "03-02-01-0007"
|
||||
Var SelectDrink = $03-02-01-0007.Self
|
||||
Var NameDrink = $03-02-01-0007.NameE
|
||||
Var NameDrinkTH = $03-02-01-0007.Name
|
||||
Var DrinkDescriptionTH = $03-02-01-0007.description
|
||||
;Var DrinkDescription = $03-02-01-0007.descriptionE
|
||||
Var PriceDrink = $03-02-01-0007.Price
|
||||
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-0007.image
|
||||
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-0007.image
|
||||
|
||||
SAVELOG NameDrink
|
||||
Var PriceShowValue = charOfBaht + PriceDrink
|
||||
|
|
@ -1384,6 +1415,36 @@
|
|||
</EventOnClick>
|
||||
</Button>
|
||||
|
||||
<Image>
|
||||
<X> 49 </X>
|
||||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $03-02-01-0007.Button = "Disable" Then
|
||||
Var return = "Enable"
|
||||
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 48 </X>
|
||||
<Y> 116 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $03-02-01-0007.Button </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
||||
<Image>
|
||||
<X> 10 </X>
|
||||
<Y> 251 </Y>
|
||||
|
|
@ -1402,7 +1463,7 @@
|
|||
<Size> 17 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> ColorBrown2 </Color>
|
||||
<Value> $01-00-00-0007.Price </Value>
|
||||
<Value> $03-02-01-0007.Price </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
|
|
@ -1427,7 +1488,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> ColorBlack1 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $01-00-00-0007.Name </Value>
|
||||
<Value> $03-02-01-0007.Name </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
|
|
@ -1438,7 +1499,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> ColorBrown </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $01-00-00-0007.description </Value>
|
||||
<Value> $03-02-01-0007.description </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
|
|
@ -1450,7 +1511,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> ColorBlack1 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $01-00-00-0007.NameE </Value>
|
||||
<Value> $03-02-01-0007.NameE </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
|
|
@ -1461,45 +1522,45 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> ColorBrown </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $01-00-00-0007.descriptionE </Value>
|
||||
<Value> $03-02-01-0007.descriptionE </Value>
|
||||
</Text>
|
||||
|
||||
</Block>
|
||||
|
||||
|
||||
|
||||
; button i=1 01-00-00-0008
|
||||
; button i=1 03-02-01-0008
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> $01-00-00-0008.Button </State>
|
||||
<State> $03-02-01-0008.Button </State>
|
||||
<Button>
|
||||
<State> $01-00-00-0008.Button </State>
|
||||
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $01-00-00-0008.image ) </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $01-00-00-0008.image ) " </FilenamePress>
|
||||
;<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_disable/" + $01-00-00-0008.image ) " </FilenameDisable>
|
||||
<State> $03-02-01-0008.Button </State>
|
||||
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-02-01-0008.image ) </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-0008.image ) " </FilenamePress>
|
||||
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-0008.image ) " </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var SpiralSelectdetail1 = $01-00-00-0008.detail1
|
||||
Var SpiralSelectheader2 = $01-00-00-0008.header2
|
||||
Var SpiralSelectdetail2 = $01-00-00-0008.detail2
|
||||
Var SpiralSelectdetail1 = $03-02-01-0008.detail1
|
||||
Var SpiralSelectheader2 = $03-02-01-0008.header2
|
||||
Var SpiralSelectdetail2 = $03-02-01-0008.detail2
|
||||
|
||||
Var SpiralSelectdetail1E = $01-00-00-0008.detail1E
|
||||
Var SpiralSelectheader2E = $01-00-00-0008.header2E
|
||||
Var SpiralSelectdetail2E = $01-00-00-0008.detail2E
|
||||
Var SpiralSelectdetail1E = $03-02-01-0008.detail1E
|
||||
Var SpiralSelectheader2E = $03-02-01-0008.header2E
|
||||
Var SpiralSelectdetail2E = $03-02-01-0008.detail2E
|
||||
|
||||
Var ServiceCredit = "01-00-00-0008"
|
||||
Var SelectDrink = $01-00-00-0008.Self
|
||||
Var NameDrink = $01-00-00-0008.NameE
|
||||
Var NameDrinkTH = $01-00-00-0008.Name
|
||||
Var DrinkDescriptionTH = $01-00-00-0008.description
|
||||
;Var DrinkDescription = $01-00-00-0008.descriptionE
|
||||
Var PriceDrink = $01-00-00-0008.Price
|
||||
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $01-00-00-0008.image
|
||||
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $01-00-00-0008.image
|
||||
Var ServiceCredit = "03-02-01-0008"
|
||||
Var SelectDrink = $03-02-01-0008.Self
|
||||
Var NameDrink = $03-02-01-0008.NameE
|
||||
Var NameDrinkTH = $03-02-01-0008.Name
|
||||
Var DrinkDescriptionTH = $03-02-01-0008.description
|
||||
;Var DrinkDescription = $03-02-01-0008.descriptionE
|
||||
Var PriceDrink = $03-02-01-0008.Price
|
||||
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-0008.image
|
||||
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-0008.image
|
||||
|
||||
SAVELOG NameDrink
|
||||
Var PriceShowValue = charOfBaht + PriceDrink
|
||||
|
|
@ -1510,6 +1571,36 @@
|
|||
</EventOnClick>
|
||||
</Button>
|
||||
|
||||
<Image>
|
||||
<X> 49 </X>
|
||||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $03-02-01-0008.Button = "Disable" Then
|
||||
Var return = "Enable"
|
||||
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 48 </X>
|
||||
<Y> 116 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $03-02-01-0008.Button </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
||||
<Image>
|
||||
<X> 10 </X>
|
||||
<Y> 251 </Y>
|
||||
|
|
@ -1528,7 +1619,7 @@
|
|||
<Size> 17 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> ColorBrown2 </Color>
|
||||
<Value> $01-00-00-0008.Price </Value>
|
||||
<Value> $03-02-01-0008.Price </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
|
|
@ -1553,7 +1644,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> ColorBlack1 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $01-00-00-0008.Name </Value>
|
||||
<Value> $03-02-01-0008.Name </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
|
|
@ -1564,7 +1655,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> ColorBrown </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $01-00-00-0008.description </Value>
|
||||
<Value> $03-02-01-0008.description </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
|
|
@ -1576,7 +1667,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> ColorBlack1 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $01-00-00-0008.NameE </Value>
|
||||
<Value> $03-02-01-0008.NameE </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
|
|
@ -1587,7 +1678,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> ColorBrown </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $01-00-00-0008.descriptionE </Value>
|
||||
<Value> $03-02-01-0008.descriptionE </Value>
|
||||
</Text>
|
||||
|
||||
</Block>
|
||||
|
|
@ -1595,38 +1686,38 @@
|
|||
|
||||
|
||||
|
||||
; button i=1 01-00-00-0009
|
||||
; button i=1 03-02-01-0009
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> $01-00-00-0009.Button </State>
|
||||
<State> $03-02-01-0009.Button </State>
|
||||
<Button>
|
||||
<State> $01-00-00-0009.Button </State>
|
||||
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $01-00-00-0009.image ) </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $01-00-00-0009.image ) " </FilenamePress>
|
||||
;<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_disable/" + $01-00-00-0009.image ) " </FilenameDisable>
|
||||
<State> $03-02-01-0009.Button </State>
|
||||
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-02-01-0009.image ) </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-0009.image ) " </FilenamePress>
|
||||
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-0009.image ) " </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var SpiralSelectdetail1 = $01-00-00-0009.detail1
|
||||
Var SpiralSelectheader2 = $01-00-00-0009.header2
|
||||
Var SpiralSelectdetail2 = $01-00-00-0009.detail2
|
||||
Var SpiralSelectdetail1 = $03-02-01-0009.detail1
|
||||
Var SpiralSelectheader2 = $03-02-01-0009.header2
|
||||
Var SpiralSelectdetail2 = $03-02-01-0009.detail2
|
||||
|
||||
Var SpiralSelectdetail1E = $01-00-00-0009.detail1E
|
||||
Var SpiralSelectheader2E = $01-00-00-0009.header2E
|
||||
Var SpiralSelectdetail2E = $01-00-00-0009.detail2E
|
||||
Var SpiralSelectdetail1E = $03-02-01-0009.detail1E
|
||||
Var SpiralSelectheader2E = $03-02-01-0009.header2E
|
||||
Var SpiralSelectdetail2E = $03-02-01-0009.detail2E
|
||||
|
||||
Var ServiceCredit = "01-00-00-0009"
|
||||
Var SelectDrink = $01-00-00-0009.Self
|
||||
Var NameDrink = $01-00-00-0009.NameE
|
||||
Var NameDrinkTH = $01-00-00-0009.Name
|
||||
Var DrinkDescriptionTH = $01-00-00-0009.description
|
||||
;Var DrinkDescription = $01-00-00-0009.descriptionE
|
||||
Var PriceDrink = $01-00-00-0009.Price
|
||||
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $01-00-00-0009.image
|
||||
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $01-00-00-0009.image
|
||||
Var ServiceCredit = "03-02-01-0009"
|
||||
Var SelectDrink = $03-02-01-0009.Self
|
||||
Var NameDrink = $03-02-01-0009.NameE
|
||||
Var NameDrinkTH = $03-02-01-0009.Name
|
||||
Var DrinkDescriptionTH = $03-02-01-0009.description
|
||||
;Var DrinkDescription = $03-02-01-0009.descriptionE
|
||||
Var PriceDrink = $03-02-01-0009.Price
|
||||
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-0009.image
|
||||
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-0009.image
|
||||
|
||||
SAVELOG NameDrink
|
||||
Var PriceShowValue = charOfBaht + PriceDrink
|
||||
|
|
@ -1637,6 +1728,36 @@
|
|||
</EventOnClick>
|
||||
</Button>
|
||||
|
||||
<Image>
|
||||
<X> 49 </X>
|
||||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $03-02-01-0009.Button = "Disable" Then
|
||||
Var return = "Enable"
|
||||
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 48 </X>
|
||||
<Y> 116 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $03-02-01-0009.Button </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
||||
<Image>
|
||||
<X> 10 </X>
|
||||
<Y> 251 </Y>
|
||||
|
|
@ -1655,7 +1776,7 @@
|
|||
<Size> 17 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> ColorBrown2 </Color>
|
||||
<Value> $01-00-00-0009.Price </Value>
|
||||
<Value> $03-02-01-0009.Price </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
|
|
@ -1680,7 +1801,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> ColorBlack1 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $01-00-00-0009.Name </Value>
|
||||
<Value> $03-02-01-0009.Name </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
|
|
@ -1691,7 +1812,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> ColorBrown </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $01-00-00-0009.description </Value>
|
||||
<Value> $03-02-01-0009.description </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
|
|
@ -1703,7 +1824,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> ColorBlack1 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $01-00-00-0009.NameE </Value>
|
||||
<Value> $03-02-01-0009.NameE </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
|
|
@ -1714,7 +1835,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> ColorBrown </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $01-00-00-0009.descriptionE </Value>
|
||||
<Value> $03-02-01-0009.descriptionE </Value>
|
||||
</Text>
|
||||
|
||||
</Block>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue