This commit is contained in:
kong 2021-09-22 20:37:09 +07:00
parent 854945c955
commit 2e259a3d0a
31 changed files with 153 additions and 26 deletions

View file

@ -147,6 +147,20 @@ ESPRESSO BLUE DADDY 12-01-01-0020 1 2 36 3 4 5 24 66 1:06 32
Coke 12-05-02-0019 1 23 37 13 24 49 0:49 23 Coke 12-05-02-0019 1 23 37 13 24 49 0:49 23
OREO SMOOTHIE VOLCANO 12-03-03-0009 1 17 23 24 110 1:50 53
Espresso 14-01-01-0001 1 2 3 4 5 24 66 1:06 16 Espresso 14-01-01-0001 1 2 3 4 5 24 66 1:06 16
double espresso 14-11-01-0001 1 2 3 4 5 116 1:56 28 double espresso 14-11-01-0001 1 2 3 4 5 116 1:56 28

1 name New Code เล่น 4 วินาที ขั้นตอน 1 ขั้นตอน 2 ขั้นตอน 3 ขั้นตอน 4 ขั้นตอน 5 ขั้นตอน 6 ขั้นตอน 7 ขั้นตอน 8 จบ Time (sec) นาทีและวินาที ความยาวการเล่นของแต่ละขั้นตอน
147
148 Coke 12-05-02-0019 1 23 37 13 24 49 0:49 23
149
150 OREO SMOOTHIE VOLCANO 12-03-03-0009 1 17 23 24 110 1:50 53
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165 Espresso 14-01-01-0001 1 2 3 4 5 24 66 1:06 16
166 double espresso 14-11-01-0001 1 2 3 4 5 116 1:56 28

View file

@ -73,7 +73,6 @@ DRINKING WATER 12-05-02-0016 1 16 24 60 1:00 56
Ice 12-05-02-0017 1 23 24 32 0:32 28 Ice 12-05-02-0017 1 23 24 32 0:32 28
Iced water 12-05-02-0018 1 23 16 24 62 1:02 29 Iced water 12-05-02-0018 1 23 16 24 62 1:02 29
Hot Water 12-05-01-0002 1 16 24 55 0:55 51 Hot Water 12-05-01-0002 1 16 24 55 0:55 51
Coke 12-05-02-0019 0:00 #DIV/0!
Sprite 12-05-02-0020 1 23 18 24 20 0:20 8 Sprite 12-05-02-0020 1 23 18 24 20 0:20 8
7UP 12-05-02-0021 1 23 18 24 20 0:20 8 7UP 12-05-02-0021 1 23 18 24 20 0:20 8
MATCHA SHAKE 12-04-02-0001 1 25 26 9 6 7 23 24 181 3:01 30 MATCHA SHAKE 12-04-02-0001 1 25 26 9 6 7 23 24 181 3:01 30
@ -142,10 +141,11 @@ Iced strawberrry tea 12-02-02-0022 1 10 19 23 24 85 1:25 27
STRAWBERRY SHAKE 12-04-02-0013 1 25 26 19 17 23 24 178 2:58 35 STRAWBERRY SHAKE 12-04-02-0013 1 25 26 19 17 23 24 178 2:58 35
ETHIOPAI BLUE DADDY DIRTY 12-01-02-0020 1 7 36 2 3 4 5 24 100 22:40 32 ETHIOPAI BLUE DADDY DIRTY 12-01-02-0020 1 7 36 2 3 4 5 24 100 22:40 32
HOT AMERICANO BLUE DADDY 12-01-01-0019 1 36 2 3 4 5 16 24 88 1:28 32 HOT AMERICANO BLUE DADDY 12-01-01-0019 1 2 36 3 4 5 16 24 88 1:28 32
ICED AMERICANO BLUE DADDY 12-01-02-0019 1 36 2 3 4 5 23 16 24 133 2:13 32 ICED AMERICANO BLUE DADDY 12-01-02-0019 1 2 36 3 4 5 23 16 24 133 2:13 32
ESPRESSO BLUE DADDY 12-01-01-0020 1 36 2 3 4 5 24 66 1:06 32 ESPRESSO BLUE DADDY 12-01-01-0020 1 2 36 3 4 5 24 66 1:06 32
Coke 12-05-02-0019 1 23 37 13 24 49 0:49 23
Espresso 14-01-01-0001 1 2 3 4 5 24 66 1:06 16 Espresso 14-01-01-0001 1 2 3 4 5 24 66 1:06 16

1 name New Code เล่น 4 วินาที ขั้นตอน 1 ขั้นตอน 2 ขั้นตอน 3 ขั้นตอน 4 ขั้นตอน 5 ขั้นตอน 6 ขั้นตอน 7 ขั้นตอน 8 จบ Time (sec) นาทีและวินาที ความยาวการเล่นของแต่ละขั้นตอน
73 Ice 12-05-02-0017 1 23 24 32 0:32 28
74 Iced water 12-05-02-0018 1 23 16 24 62 1:02 29
75 Hot Water 12-05-01-0002 1 16 24 55 0:55 51
Coke 12-05-02-0019 0:00 #DIV/0!
76 Sprite 12-05-02-0020 1 23 18 24 20 0:20 8
77 7UP 12-05-02-0021 1 23 18 24 20 0:20 8
78 MATCHA SHAKE 12-04-02-0001 1 25 26 9 6 7 23 24 181 3:01 30
141 STRAWBERRY SHAKE 12-04-02-0013 1 25 26 19 17 23 24 178 2:58 35
142
143 ETHIOPAI BLUE DADDY DIRTY 12-01-02-0020 1 7 36 2 3 4 5 24 100 22:40 32
144 HOT AMERICANO BLUE DADDY 12-01-01-0019 1 36 2 2 36 3 4 5 16 24 88 1:28 32
145 ICED AMERICANO BLUE DADDY 12-01-02-0019 1 36 2 2 36 3 4 5 23 16 24 133 2:13 32
146 ESPRESSO BLUE DADDY 12-01-01-0020 1 36 2 2 36 3 4 5 24 66 1:06 32
147
148 Coke 12-05-02-0019 1 23 37 13 24 49 0:49 23
149
150
151 Espresso 14-01-01-0001 1 2 3 4 5 24 66 1:06 16

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 9 KiB

After

Width:  |  Height:  |  Size: 9 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 3 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 3 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Before After
Before After

View file

@ -1,4 +1,5 @@
17/1/21 17/1/21
12-03-03-0009
12-05-02-0019 12-05-02-0019
12-01-01-0019 12-01-01-0019
12-01-02-0019 12-01-02-0019

Can't render this file because it has a wrong number of fields in line 2.

View file

@ -72,6 +72,7 @@
Var bpSodaAndOther = DirImage + "/bp_soda_coke.png" Var bpSodaAndOther = DirImage + "/bp_soda_coke.png"
Var countClick = 0
</EventOpen> </EventOpen>
<Timeout> 1000 </Timeout> <Timeout> 1000 </Timeout>
<EventTimeout> <EventTimeout>
@ -311,8 +312,12 @@
DEBUGVAR countClick DEBUGVAR countClick
If countClick = 5 Then If countClick = 5 Then
Var countClick = 0 If ToppingNewEnable = "false" Then
Open "ROOT/taobin_project/xml/page_tel_number_mask.xml" Var ToppingNewEnable = "true"
Else
Var ToppingNewEnable = "false"
EndIf
Open "ROOT/taobin_project/xml/page_catalog_choose_drink3.xml"
EndIf EndIf
Refresh Refresh

View file

@ -22,6 +22,7 @@
product_code.append('12-03-02-0005') product_code.append('12-03-02-0005')
#product_code.append('12-03-02-0002') #product_code.append('12-03-02-0002')
product_code.append('12-03-02-0007') product_code.append('12-03-02-0007')
product_code.append('12-03-03-0009')
menu_count = len( product_code) menu_count = len( product_code)
?> ?>

View file

@ -1377,6 +1377,99 @@
<State> showengText </State> <State> showengText </State>
<Value> $12-03-02-0007.descriptionE </Value> <Value> $12-03-02-0007.descriptionE </Value>
</Text> </Text>
</Block>
; button i=13 12-03-03-0009
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> $12-03-03-0009.Button </State>
<Button>
<State> $12-03-03-0009.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $12-03-03-0009.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $12-03-03-0009.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $12-03-03-0009.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = $12-03-03-0009.Self
Var NameDrink = $12-03-03-0009.NameE
Var NameDrinkTH = $12-03-03-0009.Name
Var DrinkDescriptionTH = $12-03-03-0009.description
Var DrinkDescription = $12-03-03-0009.descriptionE
Var PriceDrink = $12-03-03-0009.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $12-03-03-0009.image
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Var OpenFromXML = CurrentXMLFileName2
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-03-0009.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-03-0009.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-03-0009.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-03-0009.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-03-0009.descriptionE </Value>
</Text>
</Block> </Block>
</FrameScroll> </FrameScroll>

View file

@ -6,8 +6,13 @@
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<EventOpen> <EventOpen>
Var y_topping_bg = 912 Var y_topping_bg = 912
Open "ROOT/taobin_project/xml/page_topping_select2.xml"
If ToppingNewEnable = "false" Then
Else
Open "ROOT/taobin_project/xml/page_topping_select2.xml"
EndIf
DEBUGVAR video_menu_0 DEBUGVAR video_menu_0
Var DisableUsingCode = "false" Var DisableUsingCode = "false"

View file

@ -9,8 +9,12 @@
DEBUGVAR video_menu_0 DEBUGVAR video_menu_0
DEBUGVAR SelectDrink
Var SaveProductCodeSelect = SelectDrink Var SaveProductCodeSelect = SelectDrink
DEBUGVAR SaveProductCodeSelect Var UserSelectProductCode = SelectDrink
DEBUGVAR UserSelectProductCode
Var blendedState = "Invisible" Var blendedState = "Invisible"
Var DisableUsingCode = "false" Var DisableUsingCode = "false"
@ -65,7 +69,6 @@
Var showdesc = DrinkDescription Var showdesc = DrinkDescription
Var lid_straw_bg_iamge = DirImage + "/block_strawonly.png"
Else Else
@ -124,7 +127,7 @@
Var ToppingGotoPayment = "true" Var ToppingGotoPayment = "true"
DEBUGVAR backGroundAddExtra DEBUGVAR backGroundAddExtra
DEBUGVAR backGroundAddShotPremium
</EventOpen> </EventOpen>
<Timeout> 2000 </Timeout> <Timeout> 2000 </Timeout>
@ -285,6 +288,9 @@
Var blendedState = "Enable" Var blendedState = "Enable"
Var blendedStateShow = "Enable" Var blendedStateShow = "Enable"
Var PriceDiff = SubMenuPrice1 - PriceDrinkNoTop
EndIf EndIf
If IgnoreLidStraw = "true" Then If IgnoreLidStraw = "true" Then
@ -392,6 +398,7 @@
If TOPPING1 = "Sugar Premix 25" Then If TOPPING1 = "Sugar Premix 25" Then
Var BGSugar = "Enable" Var BGSugar = "Enable"
Var ShiftSugarStep = 2 Var ShiftSugarStep = 2
Var SugarState1 = "Disable"
Var SugarState2 = "Enable" Var SugarState2 = "Enable"
Var SugarState3 = "Enable" Var SugarState3 = "Enable"
Var SugarState4 = "Enable" Var SugarState4 = "Enable"
@ -631,7 +638,7 @@
<Width> 986 </Width> <Width> 986 </Width>
<Height> 160 </Height> <Height> 160 </Height>
<MarginTop> 10 </MarginTop> <MarginTop> 20 </MarginTop>
<State> blendedStateShow </State> <State> blendedStateShow </State>
<Image> <Image>
@ -651,27 +658,26 @@
SAVELOG "Press Smoothies" SAVELOG "Press Smoothies"
DEBUGVAR PriceDrinkNoTop DEBUGVAR PriceDrinkNoTop
If blendedState = "Press" Then If blendedState = "Press" Then
Var PriceDrinkTmp = PriceDrinkNoTop Var PriceDrinkTmp = PriceDrinkTmp - PriceDiff
Var blendedState = "Enable" Var blendedState = "Enable"
Var UserSelectProductCode = SaveProductCodeSelect Var UserSelectProductCode = SaveProductCodeSelect
Else Else
Var blendedState = "Press" Var blendedState = "Press"
Var PriceDrinkTmp = SubMenuPrice1 Var PriceDrinkTmp = PriceDrinkTmp + PriceDiff
Var UserSelectProductCode = SubMenuProductCode1 Var UserSelectProductCode = SubMenuProductCode1
EndIf EndIf
DEBUGVAR UserSelectProductCode DEBUGVAR UserSelectProductCode
Var PriceDrinkNoTop = PriceDrinkTmp
Var PriceDrinkTmpShow = charOfBaht + PriceDrinkTmp Var PriceDrinkTmpShow = charOfBaht + PriceDrinkTmp
SAVELOG PriceDrinkTmp
Refresh Refresh</EventClick>
</EventClick>
</Button> </Button>
<Button> <Button>
@ -702,7 +708,7 @@
<Width> 988 </Width> <Width> 988 </Width>
<Height> 156 </Height> <Height> 156 </Height>
<MarginTop> 10 </MarginTop> <MarginTop> 20 </MarginTop>
<State> "Enable" </State> <State> "Enable" </State>
;<State> BGSugar </State> ;<State> BGSugar </State>
; sugar layout ; sugar layout
@ -722,6 +728,7 @@
<State> SugarState1 </Stage> <State> SugarState1 </Stage>
<Filename> Var( DirImage + "/bn_sugar1.png" ) </Filename> <Filename> Var( DirImage + "/bn_sugar1.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_sugar1.png" ) </FilenamePress> <FilenamePress> Var( DirImage + "/bp_sugar1.png" ) </FilenamePress>
<FilenameDisable> Var( DirImage + "/bu_sugar1.png" ) </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound> <Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<EventClick> <EventClick>
@ -748,6 +755,7 @@
<State> SugarState2 </Stage> <State> SugarState2 </Stage>
<Filename> Var( DirImage + "/bn_sugar2.png" ) </Filename> <Filename> Var( DirImage + "/bn_sugar2.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_sugar2.png" ) </FilenamePress> <FilenamePress> Var( DirImage + "/bp_sugar2.png" ) </FilenamePress>
<FilenameDisable> Var( DirImage + "/bu_sugar2.png" ) </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound> <Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<EventClick> <EventClick>
@ -922,7 +930,7 @@
<Block> <Block>
<Width> 986 </Width> <Width> 986 </Width>
<Height> 164 </Height> <Height> 164 </Height>
<MarginTop> 10 </MarginTop> <MarginTop> 20 </MarginTop>
<State> ShotCoffeePremium </State> <State> ShotCoffeePremium </State>
<Image> <Image>
<Filename> backGroundAddShotPremium </Filename> <Filename> backGroundAddShotPremium </Filename>
@ -942,13 +950,13 @@
If showShotEnable = "Press" Then If showShotEnable = "Press" Then
Var showShotEnable = "Enable" Var showShotEnable = "Enable"
Var PriceDrinkTmp = PriceDrinkNoTop - toppingID2price2 Var PriceDrinkTmp = PriceDrinkTmp - toppingID2price2
Var topping2 = toppingID2index1 Var topping2 = toppingID2index1
Var DisableUsingCode = "false" Var DisableUsingCode = "false"
SAVELOG "Deselect add premium shot" SAVELOG "Deselect add premium shot"
Else Else
Var showShotEnable = "Press" Var showShotEnable = "Press"
Var PriceDrinkTmp = PriceDrinkNoTop + toppingID2price2 Var PriceDrinkTmp = PriceDrinkTmp + toppingID2price2
Var topping2 = toppingID2index2 Var topping2 = toppingID2index2
Var DisableUsingCode = "true" Var DisableUsingCode = "true"
SAVELOG "Select add premium shot" SAVELOG "Select add premium shot"
@ -1023,7 +1031,7 @@
<Block> <Block>
<Width> 986 </Width> <Width> 986 </Width>
<Height> 157 </Height> <Height> 157 </Height>
<MarginTop> 10 </MarginTop> <MarginTop> 20 </MarginTop>
<State> ShotCoffeeBG </State> <State> ShotCoffeeBG </State>
<Image> <Image>
<Filename> backGroundAddExtra </Filename> <Filename> backGroundAddExtra </Filename>
@ -1125,7 +1133,7 @@
<Block> <Block>
<Width> 987 </Width> <Width> 987 </Width>
<Height> 188 </Height> <Height> 188 </Height>
<MarginTop> 10 </MarginTop> <MarginTop> 20 </MarginTop>
<State> ShowLidOnly </State> <State> ShowLidOnly </State>
<Image> <Image>
<State> "Enable" </State> <State> "Enable" </State>
@ -1184,7 +1192,7 @@
<Block> <Block>
<Width> 987 </Width> <Width> 987 </Width>
<Height> 188 </Height> <Height> 188 </Height>
<MarginTop> 10 </MarginTop> <MarginTop> 20 </MarginTop>
<State> ShowStrawOnly </State> <State> ShowStrawOnly </State>
<Image> <Image>
<State> "Enable" </State> <State> "Enable" </State>
@ -1244,7 +1252,7 @@
<Block> <Block>
<Width> 986 </Width> <Width> 986 </Width>
<Height> 240 </Height> <Height> 240 </Height>
<MarginTop> 10 </MarginTop> <MarginTop> 20 </MarginTop>
<State> ShowLidStraw </State> <State> ShowLidStraw </State>
<Image> <Image>
<Filename> bg_strawlid </Filename> <Filename> bg_strawlid </Filename>