edit spiral_new_product

This commit is contained in:
worawut 2022-12-19 10:17:57 +07:00
parent 173cc445f5
commit 10b6919d06
7 changed files with 144 additions and 53 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View file

@ -9,7 +9,7 @@
<Background> "0xeae6e1" </Background> <Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<EventOpen> <EventOpen>
Var SpiralSoftwareVersion = "1.02" Var SpiralSoftwareVersion = "1.03"
Var ColorBrown = 0x746253 Var ColorBrown = 0x746253
Var ColorBrown2 = 0x513C2F Var ColorBrown2 = 0x513C2F
@ -1850,39 +1850,39 @@
</Block> </Block>
; button i=1 01-00-00-0010 ; button i=1 03-02-01-0010
<Block> <Block>
<MarginLeft> 33 </MarginLeft> <MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop> <MarginTop> 22 </MarginTop>
<Width> 225 </Width> <Width> 225 </Width>
<Height> 296 </Height> <Height> 296 </Height>
<State> $01-00-00-0010.Button </State> <State> $03-02-01-0010.Button </State>
<Button> <Button>
<State> $01-00-00-0010.Button </State> <State> $03-02-01-0010.Button </State>
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $01-00-00-0010.image ) </Filename> <Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-02-01-0010.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $01-00-00-0010.image ) " </FilenamePress> <FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-0010.image ) " </FilenamePress>
;<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_disable/" + $01-00-00-0010.image ) " </FilenameDisable> <FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-0010.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound> <Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<EventOnClick> <EventOnClick>
Var SpiralSelectdetail1 = $01-00-00-0010.detail1 Var SpiralSelectdetail1 = $03-02-01-0010.detail1
Var SpiralSelectheader2 = $01-00-00-0010.header2 Var SpiralSelectheader2 = $03-02-01-0010.header2
Var SpiralSelectdetail2 = $01-00-00-0010.detail2 Var SpiralSelectdetail2 = $03-02-01-0010.detail2
Var SpiralSelectdetail1E = $01-00-00-0010.detail1E Var SpiralSelectdetail1E = $03-02-01-0010.detail1E
Var SpiralSelectheader2E = $01-00-00-0010.header2E Var SpiralSelectheader2E = $03-02-01-0010.header2E
Var SpiralSelectdetail2E = $01-00-00-0010.detail2E Var SpiralSelectdetail2E = $03-02-01-0010.detail2E
Var ServiceCredit = "01-00-00-0010" Var ServiceCredit = "03-02-01-0010"
Var SelectDrink = $01-00-00-0010.Self Var SelectDrink = $03-02-01-0010.Self
Var NameDrink = $01-00-00-0010.NameE Var NameDrink = $03-02-01-0010.NameE
Var NameDrinkTH = $01-00-00-0010.Name Var NameDrinkTH = $03-02-01-0010.Name
Var DrinkDescriptionTH = $01-00-00-0010.description Var DrinkDescriptionTH = $03-02-01-0010.description
;Var DrinkDescription = $01-00-00-0010.descriptionE ;Var DrinkDescription = $03-02-01-0010.descriptionE
Var PriceDrink = $01-00-00-0010.Price Var PriceDrink = $03-02-01-0010.Price
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $01-00-00-0010.image Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-0010.image
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $01-00-00-0010.image Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-0010.image
SAVELOG NameDrink SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink Var PriceShowValue = charOfBaht + PriceDrink
@ -1893,6 +1893,36 @@
</EventOnClick> </EventOnClick>
</Button> </Button>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $03-02-01-0010.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-0010.Button </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
<Image> <Image>
<X> 10 </X> <X> 10 </X>
<Y> 251 </Y> <Y> 251 </Y>
@ -1911,7 +1941,7 @@
<Size> 17 </Size> <Size> 17 </Size>
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> ColorBrown2 </Color> <Color> ColorBrown2 </Color>
<Value> $01-00-00-0010.Price </Value> <Value> $03-02-01-0010.Price </Value>
</Text> </Text>
<Text> <Text>
@ -1936,7 +1966,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> ColorBlack1 </Color> <Color> ColorBlack1 </Color>
<State> showthaiText </State> <State> showthaiText </State>
<Value> $01-00-00-0010.Name </Value> <Value> $03-02-01-0010.Name </Value>
</Text> </Text>
<Text> <Text>
@ -1947,7 +1977,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> ColorBrown </Color> <Color> ColorBrown </Color>
<State> showthaiText </State> <State> showthaiText </State>
<Value> $01-00-00-0010.description </Value> <Value> $03-02-01-0010.description </Value>
</Text> </Text>
<Text> <Text>
@ -1959,7 +1989,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> ColorBlack1 </Color> <Color> ColorBlack1 </Color>
<State> showengText </State> <State> showengText </State>
<Value> $01-00-00-0010.NameE </Value> <Value> $03-02-01-0010.NameE </Value>
</Text> </Text>
<Text> <Text>
@ -1970,44 +2000,44 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> ColorBrown </Color> <Color> ColorBrown </Color>
<State> showengText </State> <State> showengText </State>
<Value> $01-00-00-0010.descriptionE </Value> <Value> $03-02-01-0010.descriptionE </Value>
</Text> </Text>
</Block> </Block>
; button i=1 01-00-00-0011 ; button i=1 03-02-01-0011
<Block> <Block>
<MarginLeft> 33 </MarginLeft> <MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop> <MarginTop> 22 </MarginTop>
<Width> 225 </Width> <Width> 225 </Width>
<Height> 296 </Height> <Height> 296 </Height>
<State> $01-00-00-0011.Button </State> <State> $03-02-01-0011.Button </State>
<Button> <Button>
<State> $01-00-00-0011.Button </State> <State> $03-02-01-0011.Button </State>
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $01-00-00-0011.image ) </Filename> <Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-02-01-0011.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $01-00-00-0011.image ) " </FilenamePress> <FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-0011.image ) " </FilenamePress>
;<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_disable/" + $01-00-00-0011.image ) " </FilenameDisable> <FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-0011.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound> <Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<EventOnClick> <EventOnClick>
Var SpiralSelectdetail1 = $01-00-00-0011.detail1 Var SpiralSelectdetail1 = $03-02-01-0011.detail1
Var SpiralSelectheader2 = $01-00-00-0011.header2 Var SpiralSelectheader2 = $03-02-01-0011.header2
Var SpiralSelectdetail2 = $01-00-00-0011.detail2 Var SpiralSelectdetail2 = $03-02-01-0011.detail2
Var SpiralSelectdetail1E = $01-00-00-0011.detail1E Var SpiralSelectdetail1E = $03-02-01-0011.detail1E
Var SpiralSelectheader2E = $01-00-00-0011.header2E Var SpiralSelectheader2E = $03-02-01-0011.header2E
Var SpiralSelectdetail2E = $01-00-00-0011.detail2E Var SpiralSelectdetail2E = $03-02-01-0011.detail2E
Var ServiceCredit = "01-00-00-0011" Var ServiceCredit = "03-02-01-0011"
Var SelectDrink = $01-00-00-0011.Self Var SelectDrink = $03-02-01-0011.Self
Var NameDrink = $01-00-00-0011.NameE Var NameDrink = $03-02-01-0011.NameE
Var NameDrinkTH = $01-00-00-0011.Name Var NameDrinkTH = $03-02-01-0011.Name
Var DrinkDescriptionTH = $01-00-00-0011.description Var DrinkDescriptionTH = $03-02-01-0011.description
;Var DrinkDescription = $01-00-00-0011.descriptionE ;Var DrinkDescription = $03-02-01-0011.descriptionE
Var PriceDrink = $01-00-00-0011.Price Var PriceDrink = $03-02-01-0011.Price
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $01-00-00-0011.image Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-0011.image
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $01-00-00-0011.image Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-0011.image
SAVELOG NameDrink SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink Var PriceShowValue = charOfBaht + PriceDrink
@ -2018,6 +2048,36 @@
</EventOnClick> </EventOnClick>
</Button> </Button>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $03-02-01-0011.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-0011.Button </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
<Image> <Image>
<X> 10 </X> <X> 10 </X>
<Y> 251 </Y> <Y> 251 </Y>
@ -2036,7 +2096,7 @@
<Size> 17 </Size> <Size> 17 </Size>
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> ColorBrown2 </Color> <Color> ColorBrown2 </Color>
<Value> $01-00-00-0011.Price </Value> <Value> $03-02-01-0011.Price </Value>
</Text> </Text>
<Text> <Text>
@ -2061,7 +2121,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> ColorBlack1 </Color> <Color> ColorBlack1 </Color>
<State> showthaiText </State> <State> showthaiText </State>
<Value> $01-00-00-0011.Name </Value> <Value> $03-02-01-0011.Name </Value>
</Text> </Text>
<Text> <Text>
@ -2072,7 +2132,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> ColorBrown </Color> <Color> ColorBrown </Color>
<State> showthaiText </State> <State> showthaiText </State>
<Value> $01-00-00-0011.description </Value> <Value> $03-02-01-0011.description </Value>
</Text> </Text>
<Text> <Text>
@ -2084,7 +2144,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> ColorBlack1 </Color> <Color> ColorBlack1 </Color>
<State> showengText </State> <State> showengText </State>
<Value> $01-00-00-0011.NameE </Value> <Value> $03-02-01-0011.NameE </Value>
</Text> </Text>
<Text> <Text>
@ -2095,7 +2155,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> ColorBrown </Color> <Color> ColorBrown </Color>
<State> showengText </State> <State> showengText </State>
<Value> $01-00-00-0011.descriptionE </Value> <Value> $03-02-01-0011.descriptionE </Value>
</Text> </Text>
</Block> </Block>
@ -2144,6 +2204,37 @@
</EventOnClick> </EventOnClick>
</Button> </Button>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $01-00-00-0012.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> $01-00-00-0012.Button </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
<Image> <Image>
<X> 10 </X> <X> 10 </X>
<Y> 251 </Y> <Y> 251 </Y>