This commit is contained in:
wanlop run 2024-03-24 14:37:28 +07:00
parent 41e92f542d
commit 655633a57e
10 changed files with 125 additions and 49 deletions

2
adv/last-cmd Normal file
View file

@ -0,0 +1,2 @@
mkdir /mnt/sdcard/coffeevending/taobin_project/sound_thai/lipit

View file

@ -352,38 +352,6 @@ IGNORE เต่าติมโฮจิฉะ Tao Tim Hojicha ไอศคร
Name=AppFast,file=page_catalog_group_appfast.skt Name=AppFast,file=page_catalog_group_appfast.skt
แอพ ฟาสท์ \nวานิลลา (Original) APP FAST ORIGINAL โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์ Plant-based protein with \nessential nutrients - 12-04-02-1018 - bn_protein_original_BDMS.png - - - posi1 - ฿90.00 - NN NN แอพ ฟาสท์ \nวานิลลา (Original) APP FAST ORIGINAL โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์ Plant-based protein with \nessential nutrients - 12-04-02-1018 - bn_protein_original_BDMS.png - - - posi1 - ฿90.00 - NN NN
แอพ ฟาสท์ กาแฟ APP FAST ESPRESSO โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์ Plant-based protein with \nessential nutrients - 12-04-02-1019 - bn_protein_espresso_BDMS.png - - - posi1 - ฿90.00 - NN NN แอพ ฟาสท์ กาแฟ APP FAST ESPRESSO โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์ Plant-based protein with \nessential nutrients - 12-04-02-1019 - bn_protein_espresso_BDMS.png - - - posi1 - ฿90.00 - NN NN
@ -600,15 +568,32 @@ Name=Tea Time Festival
Name=Free fire Name=Free fire
คาเพลล่าสวีทดริ๊งค์ Kapella's Sweet Drinks น้ำเชื่อมสตอเบอร์รี่ นม น้ำตาล \n Oreo Strawberry Syrup, Milk,\nSugar, Oreo - - 12-99-03-0027 คาเพลล่าสวีทดริ๊งค์ Kapella's Sweet Drinks น้ำเชื่อมสตอเบอร์รี่ นม น้ำตาล \n Oreo Strawberry Syrup, Milk,\nSugar, Oreo - - 12-99-03-0027
แม๊กซิมบูสเตอร์ Maxim's Booster เป๊ปซี่ โกโก้ นม และโอริโอ้ Pepsi, Cocoa, Milk, Oreo and Ice - - 12-99-03-0067 แม๊กซิมบูสเตอร์ Maxim's Booster เป๊ปซี่ โกโก้ นม และโอริโอ้ Pepsi, Cocoa, Milk, Oreo and Ice - - 12-99-03-0067
สูตรลับเคลลี่ Kelly's secret recipe เป๊ปซี่ นม และโอริโอ้ pepsi, Milk,\nSugar, Oreo - - 12-99-03-0066 สูตรลับเคลลี่ Kelly's secret recipe เป๊ปซี่ นม และโอริโอ้ pepsi, Milk,\nSugar, Oreo - - 12-99-03-0066
Name= buble tea
ลาเต้ LATTE กาแฟ นม และ ฟองนม Espresso, Milk, Foamed milk - 12-21-62-0002 12-21-63-0002
มอคค่า MOCHA กาแฟ นม โกโก้ และ น้ำตาล Espresso, Cocoa, Milk, Sugar - 12-21-62-0003 12-21-63-0003
คาราเมลลาเต้ CARAMEL LATTE กาแฟ นม และ นม\nน้ำเชื่อมคาราเมล Espresso, Milk,\nCaramel Syrup - 12-21-62-0004 12-21-63-0004
โกโก้ COCOA โกโก้ นมและน้ำตาล Milk, Cocoa, Sugar - 12-03-62-0002 12-03-63-0002
นม MILK นม Milk - 12-03-62-0005 12-03-63-0005
นมชมพู PINK MILK น้ำแดงกลิ่นสละ นม \nน้ำตาล Salak Syrup, Milk,\nSugar - 12-03-62-0006 12-03-63-0006
เป๊ปซี่น้ำแข็ง PEPSI เป๊ปซี่ Pepsi, Ice - 12-05-62-0007 12-03-63-0009
น้ำแดงมะนาวโซดา LIME\nSALAK SODA น้ำแดงกลิ่นสละ มะนาว โซดา Salak Syrup, Limenade, \nSoda & Ice - 12-05-62-0009 12-05-63-0007
บ๊วยมะนาวโซดา PLUM \nLIMENADE SODA น้ำเชื่อมบ๊วย มะนาว โซดา Ume Syrup, Limenade, Soda - 12-05-62-0025 12-05-63-0009
เต่าทรงพลังโซดา TAO POWER \nDRINK SODA เครื่องดื่มเต่าทรงพลัง โซดา Medicine drink, Soda - 12-05-62-0035 12-05-63-0025
เป๊ปซี่บ๊วย PEPSI PLUM เป๊ปซี่ น้ำเชื่อมบ๊วย โซดา Pepsi, Ume Syrup & Ice - 12-05-62-0046 12-05-63-0046
มัทฉะลาเต้ MATCHA LATTE ชาเชียว นม Green Tea, Milk, Sugar, Ice - 12-02-62-0026 12-03-63-0026
ชานมไทย THAI MILK TEA ชาไทย และ นม Thai tea, Sugar, milk - 12-02-62-0039 12-03-63-0039
ชานมมะลิ JASMINE MILK TEA ชามะลิ และนม Jasmine & Milk - 12-02-62-0047 12-03-63-0047
Name=CockTail,file=page_catalog_group_cocktail.skt Name=CockTail,file=page_catalog_group_cocktail.skt
STX On The Beach STX On The Beach Pineapple juice, Limeade, \nSoda, Ice, Malibu Pineapple juice, Limeade, \nSoda, Ice, Malibu - 11-99-05-0001 - bn_Alcohol_ILYSB.png - - - posi1 - #N/A - #N/A #N/A STX On The Beach STX On The Beach Pineapple juice, Limeade, \nSoda, Ice, Malibu Pineapple juice, Limeade, \nSoda, Ice, Malibu - 11-99-05-0001 - bn_Alcohol_ILYSB.png - - - posi1 - #N/A - #N/A #N/A
Noxious Nitrous Noxious Nitrous Mint syrup, Limeade, Ice, Rum Mint syrup, Limeade, Ice, Rum - 11-99-05-0002 - bn_Alcohol_Gale_Jail.png - - - posi1 - #N/A - #N/A #N/A Noxious Nitrous Noxious Nitrous Mint syrup, Limeade, Ice, Rum Mint syrup, Limeade, Ice, Rum - 11-99-05-0002 - bn_Alcohol_Gale_Jail.png - - - posi1 - #N/A - #N/A #N/A

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

View file

@ -827,7 +827,7 @@
810003 Low ใกล้หมด 810003 Low ใกล้หมด
810004 Normal ปกติ 810004 Normal ปกติ
810005 810005
810006 ice cream level : ระดับไอศครีม 810006 ice cream level : ระดับไอศครีม:
810007 Supply current for freeze กระแสไฟสำหรับแช่แข็ง 810007 Supply current for freeze กระแสไฟสำหรับแช่แข็ง
810008 Supply current for PAY กระแสไฟสำหรับการจ่าย 810008 Supply current for PAY กระแสไฟสำหรับการจ่าย
810009 Supply Current จ่ายกระแสไฟ 810009 Supply Current จ่ายกระแสไฟ
@ -842,3 +842,12 @@
900001 Clean Espresso path? ล้าง espresso เส้นไหน ? 900001 Clean Espresso path? ล้าง espresso เส้นไหน ?
900002 Clean esp drop at station 2 ลงชุดชง 2 900002 Clean esp drop at station 2 ลงชุดชง 2
900003 Clean esp drop at station 3 ลงชุดชง 3 900003 Clean esp drop at station 3 ลงชุดชง 3
900004 Please select whipper. กรุณาเลือกหัวชง
900005 Whipper clean 1 ล้างหัวชง 1 (ฝั่งในตู้)
900006 Whipper clean 2 ล้างหัวชง 2
900007 Whipper clean 3 ล้างหัวชง 3 (ฝั่งนอกตู้)
900008 Grinder 1 บด 1
900009 Grinder 2 บด 2
900010 Espress clean station 2 ล้างกาแฟ 2
900011 Espress clean station 3 ล้างกาแฟ 3 (ฝั่งนอกตู้)
900012 Please select espresso path กรุณาเลือกสายของกาแฟ

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

Binary file not shown.

View file

@ -22,3 +22,7 @@ If EventTurnOn = 1 Then
Var ShowButtonClickFull = "Invisible" Var ShowButtonClickFull = "Invisible"
Var VideoMainPage = "ROOT/taobin_project/video/main_page_event.mp4" Var VideoMainPage = "ROOT/taobin_project/video/main_page_event.mp4"
EndIf EndIf
DEBUGVAR VideoMainPage

27
webs/index.htm Normal file
View file

@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<script>
function readFile(filePath) {
var result = null;
var xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", filePath, false);
xmlhttp.send();
if (xmlhttp.status==200) {
result = xmlhttp.responseText;
}
xmlhttp.abort();
return result;
}
console.log("Test readFile " + readFile("?test-hurr"))
</script>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>

View file

@ -250,10 +250,11 @@ If BoxID = 105005 Then
EndIf EndIf
If BoxID = 172644 Then If BoxID = 172644 Then
Var ProPeachEnable = 1 Var LipitPro = 1
EndIf EndIf
If BoxID = 173149 Then If BoxID = 173149 Then
Var ProBadValentineEnable = 0 Var ProBadValentineEnable = 0
Var PepsiSecondCup30Enable = 0 Var PepsiSecondCup30Enable = 0
@ -271,9 +272,7 @@ If BoxID = 174758 Then
Var NewFlowPaymentCode = 0 Var NewFlowPaymentCode = 0
EndIf EndIf
If BoxID = 200001 Then Var XMLLiveInfoEnable = 1
Var XMLLiveInfoEnable = 1
EndIf
If BoxID = 173973 Then If BoxID = 173973 Then
Var ProBadValentineEnable = 0 Var ProBadValentineEnable = 0
@ -282,6 +281,7 @@ If BoxID = 173973 Then
Var NewFlowPaymentCode = 0 Var NewFlowPaymentCode = 0
EndIf EndIf
; Exclusive Box ; Exclusive Box
@ -364,5 +364,19 @@ Else
Var FreeEnergyDrink = 0 Var FreeEnergyDrink = 0
EndIf EndIf
If LipitPro = 1 Then
Var VideoMainPage = "ROOT/taobin_project/video/main_page_event_pro1.mp4"
Var CountDownShowButton = 0
;Var MainPageEventWithTimeout = 25
Var ShowButtonClickFull = "Invisible"
Var img_rest_main_page = "ROOT/taobin_project/image/main_page/bn_main_page_start.png"
Var MemberButtonFileNameRest = "ROOT/taobin_project/image/main_page/bn_main_page_member.png"
Var img_reset_topup = "ROOT/taobin_project/image/main_page/bn_main_page_topup.png"
Var WebAppShow = "Invisible"
EndIf
DEBUGVAR FreePowerup DEBUGVAR FreePowerup

View file

@ -4,7 +4,7 @@
<Cache> "Enable" </Cache> <Cache> "Enable" </Cache>
<Width> 1080 </Width> <Width> 1080 </Width>
<Height> 1312 </Height> <Height> 1312 </Height>
<Background> "0xFF0000" </Background> <Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<EventOpen> <EventOpen>
TopView "hide" TopView "hide"
@ -13,6 +13,10 @@
Var img_press_main_page = "ROOT/taobin_project/image/main_page/bp_main_page_start.png" Var img_press_main_page = "ROOT/taobin_project/image/main_page/bp_main_page_start.png"
Var img_rest_main_page = ""
Var MemberButtonFileNameRest = ""
Var img_reset_topup = ""
Var CNTDOWN_PROTECT_SCREEN_BLANK = 120 Var CNTDOWN_PROTECT_SCREEN_BLANK = 120
DEBUGVAR SoundVolume DEBUGVAR SoundVolume
@ -281,6 +285,19 @@
Var SELLONLINE = 1 Var SELLONLINE = 1
EndIf EndIf
If IgnoreNetCore = "true" Then
Var SELLONLINE = 1
Var ButtontoTopupMenu = "Enable"
Var ShowButtonClick2 = "Enable"
; for test press button
Var ShowNetworkProblem = "Enable"
EndIf
If SELLONLINE = 1 Then If SELLONLINE = 1 Then
Var ShowNetworkProblem = "Invisible" Var ShowNetworkProblem = "Invisible"
Var ShowNetworkProblemText = "" Var ShowNetworkProblemText = ""
@ -422,6 +439,7 @@
Var WebAppShow = "Invisible" Var WebAppShow = "Invisible"
EndIf EndIf
DEBUGVAR XMLPageVersionInt DEBUGVAR XMLPageVersionInt
; forever ; forever
@ -542,6 +560,10 @@
Var CountryName = "UnitedArabEmirates Dubai" Var CountryName = "UnitedArabEmirates Dubai"
EndIf EndIf
If StrCountryShort = "" Then
Var CountryName = "Thailand"
EndIf
; ;
@ -870,8 +892,6 @@
WRITE_FILE "/mnt/sdcard/coffeevending/version/xml_page_version.int" StrXMLPageVer WRITE_FILE "/mnt/sdcard/coffeevending/version/xml_page_version.int" StrXMLPageVer
If SELLONLINE = 1 Then If SELLONLINE = 1 Then
Else Else
@ -1317,8 +1337,20 @@
EndIf EndIf
EndIf EndIf
If MainPageEventWithTimeout = "" Then
Else
If MainPageEventWithTimeout > 0 Then
Var MainPageEventWithTimeout = MainPageEventWithTimeout - 1
EndIf
;DEBUGVAR MainPageEventWithTimeout
If MainPageEventWithTimeout = 1 Then
Var CountDownPauseVideo = 4
EndIf
EndIf
DEBUGVAR ShowButtonClick2
Refresh Refresh
@ -1407,6 +1439,7 @@
<Y> 1481 </Y> <Y> 1481 </Y>
<State> ShowButtonClick </State> <State> ShowButtonClick </State>
;<Color> "0x00BDFF" </Color> ;<Color> "0x00BDFF" </Color>
<Filename> img_rest_main_page </Filename>
<FilenamePress> img_press_main_page </FilenamePress> <FilenamePress> img_press_main_page </FilenamePress>
;<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound> ;<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
@ -1442,6 +1475,7 @@
<Y> YButtonMember </Y> <Y> YButtonMember </Y>
<State> ShowButtonClick2 </State> <State> ShowButtonClick2 </State>
;<Color> "0x00BDFF" </Color> ;<Color> "0x00BDFF" </Color>
<Filename> MemberButtonFileNameRest </Filename>
<FilenamePress> MemberButtonFileName </FilenamePress> <FilenamePress> MemberButtonFileName </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound> <Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
@ -1475,6 +1509,7 @@
<Y> 1695 </Y> <Y> 1695 </Y>
<State> ButtontoTopupMenu </State> <State> ButtontoTopupMenu </State>
;<Color> "0x00BDFF" </Color> ;<Color> "0x00BDFF" </Color>
<Filename> img_reset_topup </Filename>
<FilenamePress> "ROOT/taobin_project/image/main_page/bp_main_page_topup.png" </FilenamePress> <FilenamePress> "ROOT/taobin_project/image/main_page/bp_main_page_topup.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound> <Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>

View file

@ -22,14 +22,14 @@
DEBUGVAR SoldCupDigit[8] DEBUGVAR SoldCupDigit[8]
Var ClickCountMainTe = 0 Var ClickCountMainTe = 0
Var Timeout = 0 Var SoldCupTimeout = 0
</EventOpen> </EventOpen>
;include="ROOT/taobin_project/inc/video.inc" ;include="ROOT/taobin_project/inc/video.inc"
<Timeout> 1000 </Timeout> <Timeout> 1000 </Timeout>
<EventTimeout> <EventTimeout>
Var Timeout = Timeout + 1 Var SoldCupTimeout = SoldCupTimeout + 1
SPLIT XMLLiveInfo "/" 2 CurrentTotalCup SPLIT XMLLiveInfo "/" 2 CurrentTotalCup

View file

@ -108,8 +108,8 @@
Var RandomPromotionMyworld = 0 Var RandomPromotionMyworld = 0
Var RandomSalePackage = 0 Var RandomSalePackage = 0
Var XMLPageVersion = "8.28" Var XMLPageVersion = "8.30"
Var XMLPageVersionInt = 828 Var XMLPageVersionInt = 830
;Oreo ;Oreo
Var OreoGuarantee = 0 Var OreoGuarantee = 0
</EventOpen> </EventOpen>