Merge branch 'master' of forthrd.ddns.net:/1TBHDD/ikong/taobin_project

This commit is contained in:
miggaze 2021-03-19 14:41:54 +07:00
commit b8b768a500
54 changed files with 162 additions and 87 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
video/taobin_adv2_1.mp4 Normal file

Binary file not shown.

BIN
video/taobin_adv3.mp4 Normal file

Binary file not shown.

View file

@ -35,7 +35,7 @@
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/video/taobin_adv2.mp4" </Filename>
<Filename> "ROOT/taobin_project/video/taobin_adv2_1.mp4" </Filename>
</Video>
; under line

View file

@ -11,7 +11,7 @@
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/topview_button_back_main.xml"
Var FileNumber = 1
Var taobin_version = "1.26"
Var taobin_version = "1.32"
; 1.00 is
; On open
@ -110,8 +110,8 @@
Var TimerFirst = "true"
; TODO: remove when release
;Var IgnoreNetCore = "true"
Var buttonRemoveCup = "Invisible"
</EventOpen>
@ -200,7 +200,7 @@
DEBUGVAR CountUpReloadAll
If CountUpReloadAll > 24 Then
If CountUpReloadAll > 180 Then
Var StartUpExt = "-"
Var CountUpReloadAll = 0
@ -209,8 +209,12 @@
EndIf
EndIf
If CupOnArm = "true" Then
Var buttonRemoveCup = "Enable"
Else
Var buttonRemoveCup = "Invisible"
EndIf
TimerReset
</EventTimeout>
@ -219,8 +223,8 @@
;SAVELOG ShowButtonClick
Var CountDownShowButton = 35
Var CountDownPauseVideo = 6
Open CurrentXMLFileName0
TouchTapClose
Open CurrentXMLFileName0
Refresh
</EventEnd>
@ -340,9 +344,22 @@
TopView "show"
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
</EventClick>
</Button>
<Button>
<X> 868 </X>
<Y> 634 </Y>
<State> buttonRemoveCup </State>
;<Color> "0x00BDFF" </Color>
<Interval> 300 </Interval>
<Filename> "ROOT/taobin_project/image/main_page/bn_remove_cup.png" </Filename>
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
<EventClick>
Machine RemoveCup
</EventClick>
</Button>
</Page>

View file

@ -7,7 +7,7 @@
<EventOpen>
; On open move from page_brewing3.xml
Var LidState = "Enable"
;Var LidState = "Enable"
Var StarwState = "Enable"
Var countClick2 = 0
@ -190,7 +190,9 @@
Var Timeout = Timeout + 1
Var CountDownBrewing = CountDownBrewing - 1
If CountDownBrewing > 0 Then
Var CountDownBrewing = CountDownBrewing - 1
EndIf
If Simulation = "true" Then
If CountDownBrewing = 0 Then

View file

@ -84,7 +84,7 @@
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/video/taobin_adv2.mp4" </Filename>
<Filename> "ROOT/taobin_project/video/taobin_adv2_1.mp4" </Filename>
</Video>
; under line

View file

@ -84,7 +84,7 @@
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/video/taobin_adv2.mp4" </Filename>
<Filename> "ROOT/taobin_project/video/taobin_adv2_1.mp4" </Filename>
</Video>
; under line

View file

@ -47,6 +47,8 @@
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;DEBUGVAR $12-01-01-0012.Button
If show_eng = "true" Then
Var showthaiText = "Invisible"

View file

@ -10,6 +10,8 @@
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
DEBUGVAR $12-01-01-0012.Button
If show_eng = "true" Then
Var showthaiText = "Invisible"
@ -84,7 +86,7 @@
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/video/taobin_adv2.mp4" </Filename>
<Filename> "ROOT/taobin_project/video/taobin_adv2_1.mp4" </Filename>
</Video>
; under line

View file

@ -83,7 +83,7 @@
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/video/taobin_adv2.mp4" </Filename>
<Filename> "ROOT/taobin_project/video/taobin_adv2_1.mp4" </Filename>
</Video>
; under line

View file

@ -83,7 +83,7 @@
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/video/taobin_adv2.mp4" </Filename>
<Filename> "ROOT/taobin_project/video/taobin_adv2_1.mp4" </Filename>
</Video>
; under line

View file

@ -83,7 +83,7 @@
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/video/taobin_adv2.mp4" </Filename>
<Filename> "ROOT/taobin_project/video/taobin_adv2_1.mp4" </Filename>
</Video>
; under line

View file

@ -82,7 +82,7 @@
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/video/taobin_adv2.mp4" </Filename>
<Filename> "ROOT/taobin_project/video/taobin_adv2_1.mp4" </Filename>
</Video>
; under line

View file

@ -81,7 +81,7 @@
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/video/taobin_adv2.mp4" </Filename>
<Filename> "ROOT/taobin_project/video/taobin_adv2_1.mp4" </Filename>
</Video>
; under line

View file

@ -82,7 +82,7 @@
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/video/taobin_adv2.mp4" </Filename>
<Filename> "ROOT/taobin_project/video/taobin_adv2_1.mp4" </Filename>
</Video>
; under line

View file

@ -6,7 +6,7 @@
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;Var LidState = "Invisible"
Var LidState = Lid1Status
;Lid1Status
Var StarwState = "Enable"
Var LidStrawCountDown = 15
@ -84,7 +84,7 @@
EndIf
DEBUGVAR StrawAutoRelease1
Var UserPressButton = "false"
</EventOpen>
@ -181,6 +181,7 @@
EndIf
If StrawAutoRelease1 = "true" Then
Var StrawAutoRelease1 = "false"
Var StarwState = "Press"
EndIf

View file

@ -60,7 +60,7 @@
If ReadyForBrew = "false" Then
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
Var ReadyForBrew = "false"
EndIf
If MachineStage = "remove-cup" Then

View file

@ -1070,33 +1070,34 @@
EndIf
If countClick2 = 5 Then
If IgnoreNetCore = "true" Then
;Var MachineStage = "make-drink"
; make drink
MakeDrinkV1 SelectDrink ExtendData
Open "ROOT/taobin_project/xml/page_thankyou.xml"
;Var UnitTestType = "1"
Var UnitTestType = "2"
;Open "ROOT/taobin_project/xml/page_show_consent2.xml"
;Open "ROOT/taobin_project/xml/page_payment_code.xml"
;Open "ROOT/taobin_project/xml/page_thankyou.xml"
Var MachineStage = "make-drink"
; make drink
MakeDrinkV1 SelectDrink ExtendData
Open "ROOT/taobin_project/xml/page_thankyou.xml"
;Var UnitTestType = "1"
Var UnitTestType = "2"
;Open "ROOT/taobin_project/xml/page_show_consent2.xml"
;Open "ROOT/taobin_project/xml/page_payment_code.xml"
;Open "ROOT/taobin_project/xml/page_thankyou.xml"
;Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
; show consent
;Open "ROOT/taobin_project/xml/page_show_consent.xml"
;Open "ROOT/taobin_project/xml/page_drinkok.xml"
;Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
; show consent
;Open "ROOT/taobin_project/xml/page_show_consent.xml"
;Open "ROOT/taobin_project/xml/page_drinkok.xml"
;Var CoffeePoint = 11
;Open "ROOT/taobin_project/xml/page_collect_point_3.xml"
;Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_back_to_error.xml"
;Var CoffeePoint = 11
;Open "ROOT/taobin_project/xml/page_collect_point_3.xml"
;Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_back_to_error.xml"
EndIf
EndIf
Refresh
</EventClick>

View file

@ -93,26 +93,26 @@
</EventClick>
</Button>
<Text>
<X> 0 </X>
<Y> 1860 </Y>
<Size> 20 </Size>
<Width> 1080</Width>
<Align> Start </Align>
<Font> RobotoBlack </Font>
<Color> 0x513C2F </Color>
<Value> countClick </Value>
</Text>
<Text>
<X> 0 </X>
<Y> 1876 </Y>
<Size> 20 </Size>
<Width> 1080</Width>
<Align> end </Align>
<Font> RobotoBlack </Font>
<Color> 0x513C2F </Color>
<Value> countClick2 </Value>
</Text>
;<Text>
;<X> 0 </X>
;<Y> 1860 </Y>
;<Size> 20 </Size>
;<Width> 1080</Width>
;<Align> Start </Align>
;<Font> RobotoBlack </Font>
;<Color> 0x513C2F </Color>
;<Value> countClick </Value>
;</Text>
;<Text>
;<X> 0 </X>
;<Y> 1876 </Y>
;<Size> 20 </Size>
;<Width> 1080</Width>
;<Align> end </Align>
;<Font> RobotoBlack </Font>
;<Color> 0x513C2F </Color>
;<Value> countClick2 </Value>
;</Text>
<Text>

View file

@ -3,30 +3,28 @@
<Scale> "ALL" </Scale>
<Width> HeadScreenWidth </Width>
<Height> HeadScreenHeight </Height>
<Video>
;<Volume> 0 </Volume>
<Filename> "/mnt/sdcard/coffeevending/taobin_project/video/taobin_adv1.mp4" </Filename>
</Video>
<EventOpen>
Int VideoAdvIndex
Var VideoAdvIndex = VideoAdvIndex + 1
If VideoAdvIndex = 1 Then
Var HeadVideoFilename = "/mnt/sdcard/coffeevending/taobin_project/video/taobin_adv1.mp4"
EndIf
If VideoAdvIndex = 2 Then
Var HeadVideoFilename = "/mnt/sdcard/coffeevending/taobin_project/video/taobin_adv3.mp4"
EndIf
DEBUGVAR VideoAdvIndex
If VideoAdvIndex > 1 Then
Var VideoAdvIndex = 0
EndIf
Open "ROOT/taobin_project/xml/video_loop2.xml"
</EventOpen>
<Timeout> 14000 </Timeout>
<EventTimeout>
Var AdvImageFile = "/mnt/sdcard/coffeevending/taobin_project/image/adv_img_"
Var AdvImageFile = AdvImageFile + FileNumber
Var AdvImageFile = AdvImageFile + ".png"
Var AdvImageTimeout = 8000
Open "/mnt/sdcard/coffeevending/taobin_project/xml/adv_play.xml"
</EventTimeout>
<EventEnd>
Var AdvImageFile = "/mnt/sdcard/coffeevending/taobin_project/image/adv_img_"
Var AdvImageFile = AdvImageFile + FileNumber
Var AdvImageFile = AdvImageFile + ".png"
Var AdvImageTimeout = 8000
Open "/mnt/sdcard/coffeevending/taobin_project/xml/adv_play.xml"
</EventEnd>
<Timeout> 5000 </Timeout>
<EventSecurity>
Open "/mnt/sdcard/coffeevending/xml/security_alarm.xml"
</EventSecurity>

View file

@ -62,6 +62,9 @@
Var ShowVersionAll = ShowVersionAll + " | "
Var ShowVersionAll = ShowVersionAll + taobin_version
Var ShowVersionAll = ShowVersionAll + " | "
Var ShowVersionAll = ShowVersionAll + JXMLVersion
Var IDCardState = "Invisible"
Var Timeout = 0

49
xml/video_loop2.xml Normal file
View file

@ -0,0 +1,49 @@
<Page>
<Scale> "ALL" </Scale>
<Width> HeadScreenWidth </Width>
<Height> HeadScreenHeight </Height>
<Video>
;<Volume> 0 </Volume>
<Filename> HeadVideoFilename </Filename>
</Video>
<EventOpen>
</EventOpen>
<Timeout> 14000 </Timeout>
<EventTimeout>
Var AdvImageFile = "/mnt/sdcard/coffeevending/taobin_project/image/adv_img_"
Var AdvImageFile = AdvImageFile + FileNumber
Var AdvImageFile = AdvImageFile + ".png"
Var AdvImageTimeout = 8000
Open "/mnt/sdcard/coffeevending/taobin_project/xml/adv_play.xml"
</EventTimeout>
<EventEnd>
Var AdvImageFile = "/mnt/sdcard/coffeevending/taobin_project/image/adv_img_"
Var AdvImageFile = AdvImageFile + FileNumber
Var AdvImageFile = AdvImageFile + ".png"
Var AdvImageTimeout = 8000
Open "/mnt/sdcard/coffeevending/taobin_project/xml/adv_play.xml"
</EventEnd>
<EventSecurity>
Open "/mnt/sdcard/coffeevending/xml/security_alarm.xml"
</EventSecurity>
<Button>
<X> 870 </X>
<Y> 0 </Y>
<Width> 200 </Width>
<Height> 200 </Height>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 0 "//mnt/sdcard/coffeevending/taobin_project/xml/vending_info.xml"
;OpenInst 0 "//mnt/sdcard/coffeevending/taobin_project/xml/page_remove_cup.xml"
</EventClick>
</Page>