Merge branch 'masterpiece' of ssh://192.168.10.159/1TBHDD/ikong/taobin_project into masterpiece

This commit is contained in:
Ittipat Lusuk 2025-06-24 16:03:31 +07:00
commit 61bfcae6ff
51 changed files with 3341 additions and 2035 deletions

View file

@ -1208,6 +1208,8 @@ Strawberry milk 7Up lime top ovaltine 12-03-03-0083 1 18 19 17 23 41 51 24 13
PEPSI EXTRA 12-05-02-0133 1 23 14 24 100 6:40 32
PEPSI EXTRA 12-05-03-0133 1 23 14 41 24 100 6:40 32
PEPSI EXTRA 12-05-02-0160 1 23 14 24 100 6:40 32
PEPSI EXTRA 12-05-03-0160 1 23 14 41 24 100 6:40 32
เพียงพบสบตารัก 12-03-03-0100 1 19 12 15 51 17 23 41 24 100 6:40 32
วิวาห์หวาน 12-03-03-0101 1 12 51 17 23 41 24 100 6:40 32
ดั่งรักนิรันด์ 12-03-03-0102 1 19 12 51 23 41 24 100 6:40 32

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 729 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 675 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,182 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
Var Timeout = 0
SAVELOG UnitTestType
Var TaobinLevel = 0
Var Seeker.TaobinErrorNetwork = 0
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2_eng.png"
Else
Var DirImage = "ROOT/taobin_project/image/collectiing"
Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2.png"
EndIf
Var CollectPointError = ""
If PayOfflineMode = 1 Then
Var Seeker.TaobinErrorNetwork = 1
Var Seeker.PointTaobinStr = ParamCP
Var TelephoneNumber = TelephoneNumberX
Var Seeker.TNumberTaobinMember= TelephoneNumber
Var CollectPointError = "collect"
Open "ROOT/taobin_project/xml/event/7.7_up_to_35/page_collect_point_pro_7_7_error.xml"
EndIf
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var CountDownBrewing = BREW_CNT
Var ShowCountDownBrewing = CountDownBrewing
Var Timeout = Timeout + 1
If Timeout > 30 Then
Var TaobinLevel = 0
Var CoffeePoint = 1
Var Seeker.TaobinErrorNetwork = 1
Var Seeker.PointTaobinStr = ParamCP
Var TelephoneNumber = TelephoneNumberX
Var Seeker.TNumberTaobinMember= TelephoneNumber
Var CollectPointError = "collect"
Open "ROOT/taobin_project/xml/event/7.7_up_to_35/page_collect_point_pro_7_7_error.xml"
EndIf
TimerReset
Refresh
</EventTimeout>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
<EventActionOk>
If Ext1a = "" Then
Var Seeker.TaobinErrorNetwork = 1
Var Seeker.PointTaobinStr = ParamCP
Var TelephoneNumber = TelephoneNumberX
Var Seeker.TNumberTaobinMember = TelephoneNumber
Var CollectPointError = "collect"
Open "ROOT/taobin_project/xml/event/7.7_up_to_35/page_collect_point_pro_7_7_error.xml"
Else
Var TaobinName = Ext1c
Var TelephoneNumber = TelephoneNumberX
Var TNumberTaobinMemberXXX = TelephoneNumber
If TaobinName = "" Then
Var Seeker.IsLineMember = 0
Else
If TaobinName = "-" Then
Var Seeker.IsLineMember = 0
Else
Var Seeker.IsLineMember = 1
EndIf
EndIf
Var Seeker.PointTaobinStr = ParamCP
Var Seeker.TNumberTaobinMember = TelephoneNumberX
DEBUGVAR Ext1b
Var PointCount = Ext1b
INT PointCount
If PointCount < 6 Then
Var PointCount = PointCount + 1
EndIf
DEBUGVAR PointCount
DEBUGVAR Seeker.PointTaobinStr
DEBUGVAR Seeker.TNumberTaobinMember
Open "ROOT/taobin_project/xml/event/7.7_up_to_35/page_collect_point_pro_7_7_3.xml"
EndIf
</EventActionOk>
<EventActionError>
Var Seeker.TaobinErrorNetwork = 1
Var Seeker.PointTaobinStr = ParamCP
Var TelephoneNumber = TelephoneNumberX
Var Seeker.TNumberTaobinMember= TelephoneNumber
Var CollectPointError = "collect"
Open "ROOT/taobin_project/xml/event/7.7_up_to_35/page_collect_point_pro_7_7_error.xml"
</EventActionError>
<EventMachine>
If MachineStage = "drink-success" Then
Var MachineState_Result = 1
EndIf
If MachineStage = "drink-failed" Then
Var MachineState_Result = 2
EndIf
</EventMachine>
<Image>
<X> 178 </X>
<Y> 680 </Y>
<Filename> Var( DirImage + "/text20.png" ) </Filename>
</Image>
;include="ROOT/taobin_project/inc/video.inc"
<Text>
<X> 0 </X>
<Y> 873 </Y>
<Width> 1080 </Width>
<Align> Center </Align>
<Size> 62 </Size>
<Font> RobotoBlack </Font>
<Color> 0x513C2F </Color>
<Value> TelephoneNumber </Value>
<Format> Telnum-mask-1 </Format>
</Text>
<Image>
<X> 751 </X>
<Y> 413 </Y>
<Filename> IMG_CNT </Filename>
</Image>
<Text>
<X> XPosiShowCountDownBrew </X>
<Y> 470 </Y>
<Align> End </Align>
<Width> 153 </Width>
<Size> 88 </Size>
<Font> RobotoBold </Font>
<Color> 0x513C2F </Color>
<Value> ShowCountDownBrewing </Value>
</Text>
</Popup>

View file

@ -0,0 +1,311 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
Var Timeout = 0
Var BmiYear = "0/0/0/0/0/0/0/0/0/1"
Var PointCrm = "pdpa1"
Var GetScore = ""
Var TelephoneNumber = TelephoneNumberX
Var Seeker.TNumberTaobinMember = TelephoneNumber
Var CoffeePointStr = CoffeePoint
DEBUGVAR TelephoneNumber
DEBUGVAR TelephoneNumberX
Var PointRootDir = "ROOT/taobin_project/image/event/7.7_up_to_35/display_point/"
If show_eng = "true" Then
Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2_eng.png"
Else
Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2.png"
EndIf
Var CheckCoupons = 0
Var MakeDrinkState = 0
Var taobinImgPoint[0] = "/point_1_placeholder.png"
Var taobinImgPoint[1]= "/point_2_placeholder.png"
Var taobinImgPoint[2]= "/point_3_placeholder.png"
Var taobinImgPoint[3]= "/point_4_placeholder.png"
Var taobinImgPoint[4]= "/point_5_placeholder.png"
Var taobinImgPoint[5]= "/point_6_placeholder.png"
DEBUGVAR PointCount
If PointCount >= 1 Then
Var taobinImgPoint[0] = "/point_1.png"
EndIf
If PointCount >= 2 Then
Var taobinImgPoint[1] = "/point_2.png"
EndIf
If PointCount >= 3 Then
Var taobinImgPoint[2] = "/point_3.png"
EndIf
If PointCount >= 4 Then
Var taobinImgPoint[3] = "/point_4.png"
EndIf
If PointCount >= 5 Then
Var taobinImgPoint[4] = "/point_5.png"
EndIf
If PointCount >= 6 Then
Var taobinImgPoint[5] = "/point_6.png"
EndIf
If show_eng = "true" Then
Var memberText = "MEMBERSHIP STATUS"
Var missionText = "7.7 Get up to 35%\ndiscount"
Var message1 = "Collect cups daily to get a discount"
Var message2 = "Miss a day? Progress resets automatically"
Else
Var memberText = "สถานะสมาชิก"
Var missionText = "7.7 รับส่วนลดสูงสุด 35%"
Var message1 = "สะสมแก้วต่อเนื่องทุกวันเพื่อรับส่วนลด"
Var message2 = "*หากไม่มีการสะสมต่อเนื่องระบบจะทำการ reset อัตโนมัติ*"
EndIf
Var CurrentPointSlot = PointCount
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var CountDownBrewing = BREW_CNT
Var ShowCountDownBrewing = CountDownBrewing
Var Timeout = Timeout + 1
If Timeout > 8 Then
Var val1 = "X"
Var val2 = "X"
Var val3 = "X"
AddData 58 TelephoneNumber val1 val2 val3
Open "ROOT/taobin_project/xml/event/7.7_up_to_35/page_send_code.xml"
EndIf
TimerReset
Refresh
</EventTimeout>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
<EventMachine>
If MachineStage = "drink-success" Then
Var MachineState_Result = 1
EndIf
If MachineStage = "drink-failed" Then
Var MachineState_Result = 2
EndIf
</EventMachine>
;include="ROOT/taobin_project/inc/video.inc"
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Filename> "ROOT/taobin_project/image/display_point/alpha.png" </Filename>
</Image>
<Image>
<X> 158 </X>
<Y> 665 </Y>
<Filename> Var( PointRootDir + "/top_bg.png" )</Filename>
</Image>
<Image>
<X> 158 </X>
<Y> 1085 </Y>
<Filename> Var( PointRootDir + "/bottom_bg.png" )</Filename>
</Image>
<Text>
<X> 243 </X>
<Y> 722 </Y>
<Width> 235 </Width>
<Height> 36 </Height>
<Font> KanitMediaTTF </Font>
<Size> 24 </Size>
<Color> 0x746253 </Color>
<Value> memberText </Value>
</Text>
<Text>
<X> 243 </X>
<Y> 758 </Y>
<Width> 480 </Width>
<Height> 42 </Height>
<Font> RobotoBold </Font>
<Size> 36 </Size>
<Color> 0x513C2F </Color>
<Value> TaobinName <Value>
</Text>
<Text>
<X> 243 </X>
<Y> 799 </Y>
<Width> 100 </Width>
<Height> 16 </Height>
<Font> RobotoRegular </Font>
<Color> 0x746253 </Color>
<Value> TNumberTaobinMemberXXX </Value>
<Format> Telnum-mask-1 </Format>
</Text>
<Text>
<X> 243 </X>
<Y> 820 </Y>
<Width> 328 </Width>
<Height> 90 </Height>
<Font> KanitMediaTTF </Font>
<Size> 32 </Size>
<Color> 0x746253 </Color>
<Value> missionText </Value>
</Text>
<Text>
<X> 243 </X>
<Y> 907 </Y>
<Size> 57 </Size>
<Width> 120 </Width>
<Font> RobotoBold </Font>
<Color> 0xDE794E </Color>
<Value> PointCount </Value>
</Text>
<Text>
<X> 243 </X>
<Y> 981 </Y>
<Width> 400 </Width>
<Font> KanitMediaTTF </Font>
<Size> 25 </Size>
<Color> 0xDE794E </Color>
<Value> message1 </Value>
</Text>
<Text>
<X> 243 </X>
<Y> 1017 </Y>
<Width> 500 </Width>
<Font> KanitMediaTTF </Font>
<Size> 20 </Size>
<Color> 0x837365 </Color>
<Value> message2 </Value>
</Text>
<Image>
<X> 269 </X>
<Y> 1147 </Y>
<Filename> Var( PointRootDir + taobinImgPoint[0]) </Filename>
</Image>
<Image>
<X> 478 </X>
<Y> 1147 </Y>
<Filename> Var( PointRootDir + taobinImgPoint[1]) </Filename>
</Image>
<Image>
<X> 687 </X>
<Y> 1147 </Y>
<Filename> Var( PointRootDir + taobinImgPoint[2]) </Filename>
</Image>
<Image>
<X> 269 </X>
<Y> 1404 </Y>
<Filename> Var( PointRootDir + taobinImgPoint[3]) </Filename>
</Image>
<Image>
<X> 478 </X>
<Y> 1404 </Y>
<Filename> Var( PointRootDir + taobinImgPoint[4]) </Filename>
</Image>
<Image>
<X> 687 </X>
<Y> 1404 </Y>
<Filename> Var( PointRootDir + taobinImgPoint[5]) </Filename>
</Image>
<Button>
<X> 425 </X>
<Y> 1660 </Y>
<Filename> Var( PointRootDir + "/bn_close.png" )</Filename>
<FilenamePress> Var( PointRootDir + "/bp_close.png" )</FilenamePress>
<EventClick>
; goto lid straw
Var val1 = "X"
Var val2 = "X"
Var val3 = "X"
AddData 58 TelephoneNumber val1 val2 val3
Open "ROOT/taobin_project/xml/event/7.7_up_to_35/page_send_code.xml"
</EventClick>
</Button>
<Image>
<X> 751 </X>
<Y> 413 </Y>
<Filename> IMG_CNT </Filename>
</Image>
<Text>
<X> XPosiShowCountDownBrew </X>
<Y> 470 </Y>
<Align> End </Align>
<Width> 153 </Width>
<Size> 88 </Size>
<Font> RobotoBold </Font
<Color> 0x513C2F </Color>
<Value> ShowCountDownBrewing </Value>
</Text>
<EventUnitTest2>
Var val2 = "X"
Var val3 = "X"
AddData 58 TelephoneNumber CurrentPointSlot val2 val3
Open "ROOT/taobin_project/xml/event/7.7_up_to_35/page_send_code.xml"
</EventUnitTest2>
<EventUnitTest3>
Var PointState[0] = 1
Var PointState[1] = 1
Var PointState[2] = 1
Var PointState[3] = 1
Var PointState[4] = 1
Var PointState[5] = 1
Open "ROOT/taobin_project/xml/event/7.7_up_to_35/page_collect_point_pro_7_7_3.xml"
</EventUnitTest3>
<EventUnitTest4>
If show_eng = "true" Then
Var show_eng = "false"
Else
Var show_eng = "true"
EndIf
Open "ROOT/taobin_project/xml/event/7.7_up_to_35/page_collect_point_pro_7_7_3.xml"
</EventUnitTest4>
</Popup>

View file

@ -0,0 +1,170 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
Var Timeout = 0
DEBUGVAR show_eng
DEBUGVAR CollectPointError
Var DirImage = "ROOT/taobin_project/image/event/7.7_up_to_35/"
If show_eng = "true" Then
Var confirmButtonIdleImage = "bn_confirm_en.png"
Var confirmButtonPressImage = "bp_confirm_en.png"
Else
Var confirmButtonIdleImage = "bn_confirm.png"
Var confirmButtonPressImage = "bp_confirm.png"
EndIf
If CollectPointError = "collect" Then
If show_eng = "true" Then
Var errorMessage = "Network Disruption!\nRest assured, we'll promptly credit your FABULOUS points.\nWe apologize for any inconvenience."
Else
Var errorMessage = "สัญญาณขัดข้อง เราจะทำการบันทึกแต้มให้คุณภายหลัง\nขออภัยในความไม่สะดวก"
EndIf
EndIf
If CollectPointError = "send_code" Then
If show_eng = "true" Then
Var errorMessage = "Network Disruption!\nRest assured, we'll promptly credit your FABULOUS points.\nWe apologize for any inconvenience."
Else
Var errorMessage = "สัญญาณขัดข้อง เราจะจัดส่งลิ้งค์ลงทะเบียนให้คุณภายหลัง\nขออภัยในความไม่สะดวก"
EndIf
EndIf
Var val1 = "X"
Var val2 = "X"
Var val3 = "X"
AddData 58 TelephoneNumber val1 val2 val3
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var CountDownBrewing = BREW_CNT
Var ShowCountDownBrewing = CountDownBrewing
Var Timeout = Timeout + 1
If Timeout > 5 Then
If Seeker.CodeChannel = 1 Then
If Seeker.CollectPointMain = 1 Then
GETACCEXT Param1 23
Open "ROOT/taobin_project/xml/page_collect_point_2.xml"
Else
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
EndIf
Else
GETACCEXT Param1 23
Open "ROOT/taobin_project/xml/page_collect_point_2.xml"
EndIf
EndIf
TimerReset
Refresh
</EventTimeout>
<EventMachine>
If MachineStage = "drink-success" Then
Var MachineState_Result = 1
EndIf
If MachineStage = "drink-failed" Then
Var MachineState_Result = 2
EndIf
</EventMachine>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Filename> Var( DirImage + "error_bg.png" ) </Filename>
</Image>
<Text>
<X> 0 </X>
<Y> 1500 </Y>
<Width> 1080 </Width>
<Height> 200 </Height>
<Font> KanitRegularTTF </Font>
<Size> 40 </Size>
<Color> 0x513C2F </Color>
<Value> errorMessage </Value>
<Align> center-vertical-horizontal </Align>
</Text>
<Button>
<X> 397 </X>
<Y> 1752 </Y>
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
; goto lid straw
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
</EventClick>
</Button>
;include="ROOT/taobin_project/inc/video.inc"
<Image>
<X> 751 </X>
<Y> 413 </Y>
<Filename> IMG_CNT </Filename>
</Image>
<Text>
<X> XPosiShowCountDownBrew </X>
<Y> 470 </Y>
<Align> End </Align>
<Width> 153 </Width>
<Size> 88 </Size>
<Font> RobotoBold </Font>
<Color> 0x513C2F </Color>
<Value> ShowCountDownBrewing </Value>
</Text>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
<EventUnitTest1>
If show_eng = "true" Then
Var show_eng = "false"
Else
Var show_eng = "true"
EndIf
Open "ROOT/taobin_project/xml/event/7.7_up_to_35/page_collect_point_pro_7_7_error.xml"
</EventUnitTest1>
<EventUnitTest4>
If CollectPointError = "collect" then
Var CollectPointError = "send_code"
Else
Var CollectPointError = "collect"
EndIf
Open "ROOT/taobin_project/xml/event/7.7_up_to_35/page_collect_point_pro_7_7_error.xml"
</EventUnitTest4>
</Popup>

View file

@ -0,0 +1,96 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<EventOpen>
Var Timeout = 0
Var DirImage = "ROOT/taobin_project/image/event/7.7_up_to_35/send_code/"
Var rewardNumber = PointCount
DEBUGVAR rewardNumber
Var rewardImage = DirImage + "/reward_"
Var rewardImage = rewardImage + rewardNumber
If show_eng = "true" Then
Var detailMessageImage = DirImage + "/detail_message_en.png"
Var rewardImage = rewardImage + "_en.png"
Else
Var detailMessageImage = DirImage + "/detail_message.png"
Var rewardImage = rewardImage + ".png"
EndIf
DEBUGVAR rewardImage
</EventOpen>
<EventActionOk>
</EventActionOk>
<EventActionError>
Var Seeker.TaobinErrorNetwork = 1
Var Seeker.PointTaobinStr = ParamCP
Var TelephoneNumber = TelephoneNumberX
Var Seeker.TNumberTaobinMember= TelephoneNumber
Var CollectPointError = "send_code"
Open "ROOT/taobin_project/xml/event/7.7_up_to_35/page_collect_point_pro_7_7_error.xml"
</EventActionError>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout >= 5 Then
If Seeker.CodeChannel = 1 Then
If Seeker.CollectPointMain = 1 Then
GETACCEXT Param1 23
Open "ROOT/taobin_project/xml/page_collect_point_2.xml"
Else
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
EndIf
Else
GETACCEXT Param1 23
Open "ROOT/taobin_project/xml/page_collect_point_2.xml"
EndIf
EndIf
TimerReset
</EventTimeout>
;include="ROOT/taobin_project/inc/video.inc"
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Filename> Var( DirImage + "/send_code_bg.png") </Filename>
</Image>
<Image>
<X> 6 </X>
<Y> 377 </Y>
<Filename> Var( DirImage + "/lid.png") </Filename>
</Image>
<Image>
<X> 619 </X>
<Y> 635 </Y>
<Filename> detailMessageImage </Filename>
</Image>
<Image>
<X> 238 </X>
<Y> 672 </Y>
<Filename> rewardImage </Filename>
</Image>
<Image>
<X> 255 </X>
<Y> 851 </Y>
<Filename> Var( DirImage + "/send_code_decoration.png") </Filename>
</Image>
</Popup>

View file

@ -9,6 +9,7 @@ DEBUGVAR AppleFarmFestivalPro
DEBUGVAR HappyTriosPro
DEBUGVAR TaiwaneseTeaPro
DEBUGVAR AmericanoPro
DEBUGVAR Discount7_7Pro
Var PromotionState1 = "Invisible"
Var PromotionState2 = "Invisible"

View file

@ -98,6 +98,9 @@ Var TaiwaneseTeaPro = 0
; Americano, 1 - 31 July
Var AmericanoPro = 0
;7.7 discount code, 7 - 13 July
Var Discount7_7Pro = 0
Var NewCollectPoint = 1
Var PaymentCodeShouldCollectPromotionPoint = 0
@ -181,6 +184,12 @@ If SystemDateMonthInt = 7 Then
Var AmericanoPro = 1
Var TaiwaneseTeaPro = 1
If SystemDateDayInt >= 7 Then
If SystemDateDayInt <= 13 Then
Var Discount7_7Pro = 1
EndIf
EndIf
EndIf

View file

@ -47,7 +47,7 @@
;banner_shifting
</Script>
;dummy_layout.inc
; menu_new_list 80
; menu_new_list 81
; ==================> Len = 16
; - 12-05-02-0133 12-05-03-0133
<Block>
@ -297,6 +297,257 @@
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 16
; - 12-05-02-0160 12-05-03-0160
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-05-02-0160.Button,12-05-03-0160.Button,DateTimeStart="2025/01/01T00:00:00",$Sum12050201601205030160) </State>
<Button>
<State> $Sum12050201601205030160 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_pepsi_extra_m.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_pepsi_extra_m.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_pepsi_extra_m.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-05-03-0160, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Pepsi Extra"
Var NameDrinkTH = "เป๊ปซี่ (เพิ่มปริมาณ)"
Var DrinkDescriptionTH = "เป๊ปซี่ โซดา และน้ำแข็ง"
Var DrinkDescription = "Pepsi, Soda And Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_pepsi_extra_m.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-05-02-0160.Price
Var PriceD3 = $12-05-03-0160.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-05-02-0160"
Var PD_CODE3 = "12-05-03-0160"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-05-02-0160.Button
Var PD_STAGE_3 = $12-05-03-0160.Button
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0160, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-05-02-0160"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-05-03-0160"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $12-05-02-0160.NameE
Var menu_desc_eng_cold = $12-05-02-0160.descriptionE
Var menu_name_thai_cold = $12-05-02-0160.Name
Var menu_desc_thai_cold = $12-05-02-0160.description
Var menu_name_eng_blender = $12-05-03-0160.NameE
Var menu_desc_eng_blender = $12-05-03-0160.descriptionE
Var menu_name_thai_blender = $12-05-03-0160.Name
Var menu_desc_thai_blender = $12-05-03-0160.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "เป๊ปซี่ (เพิ่มปริมาณ)" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "เป๊ปซี่ โซดา และน้ำแข็ง" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Pepsi Extra" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Pepsi, Soda And Ice" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> "Invisible" </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-05-02-0160.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-05-02-0160.Button </State>
<Value> StringFmt( $12-05-02-0160.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-05-03-0160.Button </State>
</Image>
<Text>
<X> 180 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-05-03-0160.Button </State>
<Value> StringFmt( $12-05-03-0160.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Invisible"
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum12050201601205030160 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-05-02-0160.TAG tag2_is_disable
STRCONTAIN "ERR" $12-05-03-0160.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag2_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag3_is_disable = "true" Then
Var return = "Enable"
EndIf
Else
Var return = "Invisible"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
</Image>
<Text>
<X> 84 </X>
<Y> 266 </Y>
<Size> 10 </Size>
<Font> OpunMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> ice_tab_process_show </State>
<Value> ice_show_open </Value>
</Text>
<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> $Sum12050201601205030160 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 16

View file

@ -40,7 +40,7 @@
;banner_shifting
</Script>
;dummy_layout.inc
; menu_new_list 36
; menu_new_list 37
; ==================> Len = 35
; - 12-05-02-0007 12-05-03-0007
<Block>
@ -541,6 +541,257 @@
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 16
; - 12-05-02-0160 12-05-03-0160
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-05-02-0160.Button,12-05-03-0160.Button,DateTimeStart="2025/01/01T00:00:00",$Sum12050201601205030160) </State>
<Button>
<State> $Sum12050201601205030160 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_pepsi_extra_m.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_pepsi_extra_m.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_pepsi_extra_m.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-05-03-0160, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Pepsi Extra"
Var NameDrinkTH = "เป๊ปซี่ (เพิ่มปริมาณ)"
Var DrinkDescriptionTH = "เป๊ปซี่ โซดา และน้ำแข็ง"
Var DrinkDescription = "Pepsi, Soda And Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_pepsi_extra_m.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-05-02-0160.Price
Var PriceD3 = $12-05-03-0160.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-05-02-0160"
Var PD_CODE3 = "12-05-03-0160"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-05-02-0160.Button
Var PD_STAGE_3 = $12-05-03-0160.Button
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0160, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-05-02-0160"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-05-03-0160"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $12-05-02-0160.NameE
Var menu_desc_eng_cold = $12-05-02-0160.descriptionE
Var menu_name_thai_cold = $12-05-02-0160.Name
Var menu_desc_thai_cold = $12-05-02-0160.description
Var menu_name_eng_blender = $12-05-03-0160.NameE
Var menu_desc_eng_blender = $12-05-03-0160.descriptionE
Var menu_name_thai_blender = $12-05-03-0160.Name
Var menu_desc_thai_blender = $12-05-03-0160.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "เป๊ปซี่ (เพิ่มปริมาณ)" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "เป๊ปซี่ โซดา และน้ำแข็ง" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Pepsi Extra" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Pepsi, Soda And Ice" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> "Invisible" </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-05-02-0160.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-05-02-0160.Button </State>
<Value> StringFmt( $12-05-02-0160.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-05-03-0160.Button </State>
</Image>
<Text>
<X> 180 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-05-03-0160.Button </State>
<Value> StringFmt( $12-05-03-0160.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Invisible"
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum12050201601205030160 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-05-02-0160.TAG tag2_is_disable
STRCONTAIN "ERR" $12-05-03-0160.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag2_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag3_is_disable = "true" Then
Var return = "Enable"
EndIf
Else
Var return = "Invisible"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
</Image>
<Text>
<X> 84 </X>
<Y> 266 </Y>
<Size> 10 </Size>
<Font> OpunMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> ice_tab_process_show </State>
<Value> ice_show_open </Value>
</Text>
<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> $Sum12050201601205030160 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 16

View file

@ -55,9 +55,9 @@
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Solar Gods Explosion"
Var NameDrink = "Solar Gods Explosion (Americano)"
Var NameDrinkTH = "ระเบิดเทพสุริยัน"
Var DrinkDescriptionTH = "กาแฟ และน้ำ"
Var DrinkDescriptionTH = "กาแฟ และน้ำ (อเมริกาโน)"
Var DrinkDescription = "Espresso, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_america_no_Banner.png"
Var OpenFromXML = CurrentXMLFileName2
@ -139,7 +139,8 @@
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ และน้ำ" </Value>
<Value> "กาแฟ และน้ำ
(อเมริกาโน)" </Value>
</Text>
<Text>
<X> 16 </X>
@ -151,7 +152,7 @@
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Solar Gods
Explosion" </Value>
Explosion (Americano)" </Value>
</Text>
<Text>
<X> 16 </X>
@ -309,9 +310,9 @@ Explosion" </Value>
<Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( 12-21-01-0003, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "Solar Gods Explosion"
Var NameDrink = "Solar Gods Explosion (Americano)"
Var NameDrinkTH = "ระเบิดเทพสุริยัน"
Var DrinkDescriptionTH = "กาแฟ และน้ำ"
Var DrinkDescriptionTH = "กาแฟ และน้ำ (อเมริกาโน)"
Var DrinkDescription = "Espresso, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_america_no_Banner.png"
Var OpenFromXML = CurrentXMLFileName2
@ -393,7 +394,8 @@ Explosion" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ และน้ำ" </Value>
<Value> "กาแฟ และน้ำ
(อเมริกาโน)" </Value>
</Text>
<Text>
<X> 16 </X>
@ -405,7 +407,7 @@ Explosion" </Value>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Solar Gods
Explosion" </Value>
Explosion (Americano)" </Value>
</Text>
<Text>
<X> 16 </X>
@ -3103,9 +3105,9 @@ Punches" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Lions Mountain Slayer"
Var NameDrink = "Lions Mountain Slayer (Black Coffee)"
Var NameDrinkTH = "สิงหลโค่นภูผา"
Var DrinkDescriptionTH = "กาแฟ และน้ำ"
Var DrinkDescriptionTH = "กาแฟ และน้ำ (กาแฟดำ)"
Var DrinkDescription = "Dark shot Espresso, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_blackcoffee_Banner.png"
Var OpenFromXML = CurrentXMLFileName2
@ -3187,7 +3189,7 @@ Punches" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ และน้ำ" </Value>
<Value> "กาแฟ และน้ำ (กาแฟดำ)" </Value>
</Text>
<Text>
<X> 16 </X>
@ -3199,7 +3201,7 @@ Punches" </Value>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Lions Mountain
Slayer" </Value>
Slayer (Black Coffee)" </Value>
</Text>
<Text>
<X> 16 </X>
@ -3357,9 +3359,9 @@ Slayer" </Value>
<Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( 12-21-01-0081, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "Lions Mountain Slayer"
Var NameDrink = "Lions Mountain Slayer (Black Coffee)"
Var NameDrinkTH = "สิงหลโค่นภูผา"
Var DrinkDescriptionTH = "กาแฟ และน้ำ"
Var DrinkDescriptionTH = "กาแฟ และน้ำ (กาแฟดำ)"
Var DrinkDescription = "Dark shot Espresso, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_blackcoffee_Banner.png"
Var OpenFromXML = CurrentXMLFileName2
@ -3441,7 +3443,7 @@ Slayer" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ และน้ำ" </Value>
<Value> "กาแฟ และน้ำ (กาแฟดำ)" </Value>
</Text>
<Text>
<X> 16 </X>
@ -3453,7 +3455,7 @@ Slayer" </Value>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Lions Mountain
Slayer" </Value>
Slayer (Black Coffee)" </Value>
</Text>
<Text>
<X> 16 </X>
@ -3612,9 +3614,9 @@ Slayer" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "100 Hp Snow White"
Var NameDrink = "100 Hp Snow White (Apple Americano)"
Var NameDrinkTH = "สโนไวท์ร้อยแรงม้า"
Var DrinkDescriptionTH = "กาแฟ แอปเปิ้ล"
Var DrinkDescriptionTH = "กาแฟ แอปเปิ้ล (อเมริกาโนแอปเปิ้ล)"
Var DrinkDescription = "Coffee Apple"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Apple_Americano_Banner.png"
Var OpenFromXML = CurrentXMLFileName2
@ -3696,7 +3698,8 @@ Slayer" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ แอปเปิ้ล" </Value>
<Value> "กาแฟ แอปเปิ้ล
(อเมริกาโนแอปเปิ้ล)" </Value>
</Text>
<Text>
<X> 16 </X>
@ -3707,7 +3710,8 @@ Slayer" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "100 Hp Snow White" </Value>
<Value> "100 Hp Snow White
(Apple Americano)" </Value>
</Text>
<Text>
<X> 16 </X>
@ -3865,9 +3869,9 @@ Slayer" </Value>
<Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( 12-21-01-0088, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "100 Hp Snow White"
Var NameDrink = "100 Hp Snow White (Apple Americano)"
Var NameDrinkTH = "สโนไวท์ร้อยแรงม้า"
Var DrinkDescriptionTH = "กาแฟ แอปเปิ้ล"
Var DrinkDescriptionTH = "กาแฟ แอปเปิ้ล (อเมริกาโนแอปเปิ้ล)"
Var DrinkDescription = "Coffee Apple"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Apple_Americano_Banner.png"
Var OpenFromXML = CurrentXMLFileName2
@ -3949,7 +3953,8 @@ Slayer" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ แอปเปิ้ล" </Value>
<Value> "กาแฟ แอปเปิ้ล
(อเมริกาโนแอปเปิ้ล)" </Value>
</Text>
<Text>
<X> 16 </X>
@ -3960,7 +3965,8 @@ Slayer" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "100 Hp Snow White" </Value>
<Value> "100 Hp Snow White
(Apple Americano)" </Value>
</Text>
<Text>
<X> 16 </X>
@ -4119,9 +4125,9 @@ Slayer" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Firestorm of Colors"
Var NameDrink = "Firestorm of Colors (Apple Frop Longback)"
Var NameDrinkTH = "อัคคาสาดสี"
Var DrinkDescriptionTH = "กาแฟ แอปเปิ้ล"
Var DrinkDescriptionTH = "กาแฟ แอปเปิ้ล (ลองแบล็คแอปเปิ้ลฟรอฟ)"
Var DrinkDescription = "Coffee Apple"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Apple_Frop_Longback_Banner.png"
Var OpenFromXML = CurrentXMLFileName2
@ -4203,7 +4209,8 @@ Slayer" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ แอปเปิ้ล" </Value>
<Value> "กาแฟ แอปเปิ้ล
(ลองแบล็คแอปเปิ้ลฟรอฟ)" </Value>
</Text>
<Text>
<X> 16 </X>
@ -4214,7 +4221,8 @@ Slayer" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Firestorm of Colors" </Value>
<Value> "Firestorm of Colors
(Apple Frop Longback)" </Value>
</Text>
<Text>
<X> 16 </X>
@ -4368,9 +4376,9 @@ Slayer" </Value>
<Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( 12-21-02-0091, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "Firestorm of Colors"
Var NameDrink = "Firestorm of Colors (Apple Frop Longback)"
Var NameDrinkTH = "อัคคาสาดสี"
Var DrinkDescriptionTH = "กาแฟ แอปเปิ้ล"
Var DrinkDescriptionTH = "กาแฟ แอปเปิ้ล (ลองแบล็คแอปเปิ้ลฟรอฟ)"
Var DrinkDescription = "Coffee Apple"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Apple_Frop_Longback_Banner.png"
Var OpenFromXML = CurrentXMLFileName2
@ -4452,7 +4460,8 @@ Slayer" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ แอปเปิ้ล" </Value>
<Value> "กาแฟ แอปเปิ้ล
(ลองแบล็คแอปเปิ้ลฟรอฟ)" </Value>
</Text>
<Text>
<X> 16 </X>
@ -4463,7 +4472,8 @@ Slayer" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Firestorm of Colors" </Value>
<Value> "Firestorm of Colors
(Apple Frop Longback)" </Value>
</Text>
<Text>
<X> 16 </X>

View file

@ -5917,6 +5917,261 @@ Premium" </Value>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 21
; 12-02-01-0011 12-02-02-0011 12-02-03-0011
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0011.Button,12-02-02-0011.Button,12-02-03-0011.Button,$Sum120201001112020200111202030011) </State>
<Button>
<State> $Sum120201001112020200111202030011 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_matcha_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_matcha_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_matcha_tea.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-01-0011, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Matcha"
Var NameDrinkTH = "ชาเขียวญี่ปุ่น "
Var DrinkDescriptionTH = "ชาเขียว และน้ำ"
Var DrinkDescription = "Matcha & Water "
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_matcha_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0011.Price
Var PriceD2 = $12-02-02-0011.Price
Var PriceD3 = $12-02-03-0011.Price
Var PD_CODE1 = "12-02-01-0011"
Var PD_CODE2 = "12-02-02-0011"
Var PD_CODE3 = "12-02-03-0011"
Var PD_STAGE_1 = $12-02-01-0011.Button
Var PD_STAGE_2 = $12-02-02-0011.Button
Var PD_STAGE_3 = $12-02-03-0011.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0011, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-02-02-0011"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0011"
Else
Topping "Load" "12-02-03-0011"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0011.NameE
Var menu_desc_eng_hot = $12-02-01-0011.descriptionE
Var menu_name_thai_hot = $12-02-01-0011.Name
Var menu_desc_thai_hot = $12-02-01-0011.description
Var menu_name_eng_cold = $12-02-02-0011.NameE
Var menu_desc_eng_cold = $12-02-02-0011.descriptionE
Var menu_name_thai_cold = $12-02-02-0011.Name
Var menu_desc_thai_cold = $12-02-02-0011.description
Var menu_name_eng_blender = $12-02-03-0011.NameE
Var menu_desc_eng_blender = $12-02-03-0011.descriptionE
Var menu_name_thai_blender = $12-02-03-0011.Name
Var menu_desc_thai_blender = $12-02-03-0011.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "ชาเขียวญี่ปุ่น " </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "ชาเขียว และน้ำ" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Matcha" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Matcha & Water " </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> $12-02-01-0011.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0011.Button </State>
<Value> StringFmt( $12-02-01-0011.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-02-02-0011.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0011.Button </State>
<Value> StringFmt( $12-02-02-0011.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-02-03-0011.Button </State>
</Image>
<Text>
<X> 180 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0011.Button </State>
<Value> StringFmt( $12-02-03-0011.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201001112020200111202030011 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum120201001112020200111202030011 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0011.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0011.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0011.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag2_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag3_is_disable = "true" Then
Var return = "Enable"
EndIf
Else
Var return = "Invisible"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
</Image>
<Text>
<X> 84 </X>
<Y> 266 </Y>
<Size> 10 </Size>
<Font> OpunMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> ice_tab_process_show </State>
<Value> ice_show_open </Value>
</Text>
<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> $Sum120201001112020200111202030011 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 16
@ -13309,261 +13564,6 @@ Limenade" </Value>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 21
; 12-02-01-0011 12-02-02-0011 12-02-03-0011
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0011.Button,12-02-02-0011.Button,12-02-03-0011.Button,$Sum120201001112020200111202030011) </State>
<Button>
<State> $Sum120201001112020200111202030011 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_matcha_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_matcha_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_matcha_tea.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-01-0011, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Matcha"
Var NameDrinkTH = "ชาเขียวญี่ปุ่น "
Var DrinkDescriptionTH = "ชาเขียว และน้ำ"
Var DrinkDescription = "Matcha & Water "
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_matcha_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0011.Price
Var PriceD2 = $12-02-02-0011.Price
Var PriceD3 = $12-02-03-0011.Price
Var PD_CODE1 = "12-02-01-0011"
Var PD_CODE2 = "12-02-02-0011"
Var PD_CODE3 = "12-02-03-0011"
Var PD_STAGE_1 = $12-02-01-0011.Button
Var PD_STAGE_2 = $12-02-02-0011.Button
Var PD_STAGE_3 = $12-02-03-0011.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0011, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-02-02-0011"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0011"
Else
Topping "Load" "12-02-03-0011"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0011.NameE
Var menu_desc_eng_hot = $12-02-01-0011.descriptionE
Var menu_name_thai_hot = $12-02-01-0011.Name
Var menu_desc_thai_hot = $12-02-01-0011.description
Var menu_name_eng_cold = $12-02-02-0011.NameE
Var menu_desc_eng_cold = $12-02-02-0011.descriptionE
Var menu_name_thai_cold = $12-02-02-0011.Name
Var menu_desc_thai_cold = $12-02-02-0011.description
Var menu_name_eng_blender = $12-02-03-0011.NameE
Var menu_desc_eng_blender = $12-02-03-0011.descriptionE
Var menu_name_thai_blender = $12-02-03-0011.Name
Var menu_desc_thai_blender = $12-02-03-0011.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "ชาเขียวญี่ปุ่น " </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "ชาเขียว และน้ำ" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Matcha" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Matcha & Water " </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> $12-02-01-0011.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0011.Button </State>
<Value> StringFmt( $12-02-01-0011.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-02-02-0011.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0011.Button </State>
<Value> StringFmt( $12-02-02-0011.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-02-03-0011.Button </State>
</Image>
<Text>
<X> 180 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0011.Button </State>
<Value> StringFmt( $12-02-03-0011.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201001112020200111202030011 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum120201001112020200111202030011 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0011.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0011.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0011.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag2_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag3_is_disable = "true" Then
Var return = "Enable"
EndIf
Else
Var return = "Invisible"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
</Image>
<Text>
<X> 84 </X>
<Y> 266 </Y>
<Size> 10 </Size>
<Font> OpunMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> ice_tab_process_show </State>
<Value> ice_show_open </Value>
</Text>
<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> $Sum120201001112020200111202030011 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 21

View file

@ -190,6 +190,14 @@
Var Param1 = TelephoneNumber + "/"
Var Param1 = Param1 + ParamCP
If Seeker.CodeChannel = 0 Then
If Discount7_7Pro = 1 Then
SAVELOG "7.7 Discount level collect point"
GETACCEXT TelephoneNumber 44
Open "ROOT/taobin_project/xml/event/7.7_up_to_35/page_collect_point_pro_7_7_2.xml"
EndIf
EndIf
GETACCEXT Param1 23
Open "ROOT/taobin_project/xml/page_collect_point_2.xml"
@ -217,6 +225,13 @@
Var Param1 = TelephoneNumber + "/"
Var Param1 = Param1 + ParamCP
If Seeker.CodeChannel = 0 Then
If Discount7_7Pro = 1 Then
SAVELOG "7.7 Discount level collect point"
GETACCEXT TelephoneNumber 44
Open "ROOT/taobin_project/xml/event/7.7_up_to_35/page_collect_point_pro_7_7_2.xml"
EndIf
EndIf
GETACCEXT Param1 23
Open "ROOT/taobin_project/xml/page_collect_point_2.xml"
@ -677,6 +692,14 @@
Var Param1 = TelephoneNumber + "/"
Var Param1 = Param1 + ParamCP
If Seeker.CodeChannel = 0 Then
If Discount7_7Pro = 1 Then
SAVELOG "7.7 Discount level collect point"
GETACCEXT TelephoneNumber 44
Open "ROOT/taobin_project/xml/event/7.7_up_to_35/page_collect_point_pro_7_7_2.xml"
EndIf
EndIf
GETACCEXT Param1 23
Open "ROOT/taobin_project/xml/page_collect_point_2.xml"