Merge branch 'masterpiece' of ssh://forthrd.ddns.net:2222/1TBHDD/ikong/taobin_project into masterpiece

This commit is contained in:
wanlop run 2025-04-30 21:31:53 +07:00
commit 3ab9585a58
61 changed files with 3500 additions and 26 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 37 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Before After
Before After

View file

@ -17,6 +17,7 @@ TextID Note English Thai
000010 Healthier\nChoice ทางเลือกสุขภาพ\n[\nคุมจำนวน ไขมัน น้ำตาล โซเดียม\nแคลอรี่ต่ำ###Font=KanitRegular,Size=12,Align=Center]
000011 Kid Menu เมนูเด็ก
000012 App Fast แอพ ฟาสท์
000025 Dessert ของหวาน
Menu
Font=Kanit,Type=Regular,Size=16,Color=0x5A5A5A,Align=center-vertical-horizontal Font=Kanit,Type=Regular,Size=32,Color=0x5A5A5A,Align=center-vertical-horizontal
@ -38,6 +39,8 @@ TextID Note English Thai
000024 Cocktail ค็อกเทล
page_toopping_select
Font=Kanit,Type=Regular,Size=22,Color=0x513C2F,Align=Center Font=Kanit,Type=Regular,Size=24,Color=0x513C2F,Align=Center
Font=Kanit,Type=Medium,Size=22,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=24,Color=0x513C2F,Align=Center

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

View file

@ -2,6 +2,7 @@ Var MainfileSize = 0
Var EventNewYear = 0
Var EventAO = 0
Var StPatrickEvent = 0
Var HappyEasterEvent = 0

View file

@ -121,7 +121,7 @@
If CountryName = "Australia" Then
Var DirImage2 = "ROOT/taobin_project/image/drink_option_aus/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
Var DirImageAlterMilk = "ROOT/taobin_project/inter/aus/image/page3_2_en/"
Var DirImageAlterAus = "ROOT/taobin_project/inter/aus/image/page3_2_en/"
Var DirImage = "ROOT/taobin_project/image/page3_en"
Var ice_tab_text = "Ice will be ready at "
EndIf
@ -266,8 +266,8 @@
<Button>
<Layout> "linear" </Layout>
<State> Menu4Selected </State>
<Filename> Var( DirImageAlterMilk + "/bn_cho_ca2.png") </Filename>
<FilenamePress> Var( DirImageAlterMilk + "/bp_cho_ca2.png") </FilenamePress>
<Filename> Var( DirImageAlterAus + "/bn_cho_ca2.png") </Filename>
<FilenamePress> Var( DirImageAlterAus + "/bp_cho_ca2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -364,28 +364,23 @@
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu22Selected </State>
<Filename> Var( DirImageAlter + "/bn_health.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_health.png") </FilenamePress>
<Filename> Var( DirImageAlterAus + "/bn_dessert.png") </Filename>
<FilenamePress> Var( DirImageAlterAus + "/bp_dessert.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
;Open "ROOT/taobin_project/xml/page_catalog_group_health.lxml"
;Open "ROOT/taobin_project/xml/page_catalog_group_dessert.lxml"
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_health.lxml"
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_dessert.lxml"
DEBUGVAR CountryRootPath
DEBUGVAR OpenFileXML
If CountryName = "Thailand" Then
Open "ROOT/taobin_project/xml/page_catalog_group_health.lxml"
Else
Open OpenFileXML
EndIf
Open OpenFileXML
</EventClick>
</Button>

View file

@ -523,22 +523,22 @@
<X> 564 </X>
<Y> 1532 </Y>
<State> "Enable" </State>
<Filename> Var(DirImage + "/bn_HealthyOption.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_HealthyOption.png") </FilenamePress>
<Filename> Var(DirImageAUS + "/bn_dessert.png") </Filename>
<FilenamePress> Var(DirImageAUS + "/bp_dessert.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
;Open "ROOT/taobin_project/xml/page_catalog_group_health.lxml"
;Open "ROOT/taobin_project/xml/page_catalog_group_dessert.lxml"
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_health.lxml"
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_dessert.lxml"
Open OpenFileXML
</EventClick>
<Language>
<ID> 000010 </ID>
<ID> 000025 </ID>
<X> 28 </X>
<Y> 202 </Y>
<Width> 241 </Width>

View file

@ -23815,13 +23815,13 @@
<State> Flag( 51-21-01-0081.Button,51-21-02-0081.Button,51-21-03-0081.Button,$Sum512101008151210200815121030081) </State>
<Button>
<State> $Sum512101008151210200815121030081 </State>
<Filename> "ROOT/taobin_project/inter/aus/image/page_drink_n//bn_COCONUT_AMERICANO.png" </Filename>
<FilenamePress> "ROOT/taobin_project/inter/aus/image/page_drink_press_n//bn_COCONUT_AMERICANO.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/inter/aus/image/page_drink_disable_n2//bn_COCONUT_AMERICANO.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/inter/aus/image/page_drink_n//bn_COCONUT_LATTE.png" </Filename>
<FilenamePress> "ROOT/taobin_project/inter/aus/image/page_drink_press_n//bn_COCONUT_LATTE.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/inter/aus/image/page_drink_disable_n2//bn_COCONUT_LATTE.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/inter/aus/image/page_drink_picture2_n/" + "bn_COCONUT_AMERICANO.png"
Var PictureDrink = "ROOT/taobin_project/inter/aus/image/page_drink_picture2_n/" + "bn_COCONUT_LATTE.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $51-21-01-0081.Price
Var PriceD2 = $51-21-02-0081.Price

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,42 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_default_init.lxml"
Var Menu22Selected = "PressForever"
SAVELOG PreviseXMLFileName2
Var Timeout = 0
;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new_menu.lxml"
</EventOpen>
;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new.lxml"
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>
</Popup>

View file

@ -5800,13 +5800,13 @@
<State> Flag( 51-02-01-1038.Button,51-02-02-1038.Button,$Sum51020110385102021038) </State>
<Button>
<State> $Sum51020110385102021038 </State>
<Filename> "ROOT/taobin_project/inter/aus/image/page_drink_n//bn_thai_milk_tea_SingPark_Healthy.png" </Filename>
<FilenamePress> "ROOT/taobin_project/inter/aus/image/page_drink_press_n//bn_thai_milk_tea_SingPark_Healthy.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/inter/aus/image/page_drink_disable_n2//bn_thai_milk_tea_SingPark_Healthy.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/inter/aus/image/page_drink_n//bn_thai_milk_tea_SingPark_pro_valentine_Healthy.png" </Filename>
<FilenamePress> "ROOT/taobin_project/inter/aus/image/page_drink_press_n//bn_thai_milk_tea_SingPark_pro_valentine_Healthy.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/inter/aus/image/page_drink_disable_n2//bn_thai_milk_tea_SingPark_pro_valentine_Healthy.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/inter/aus/image/page_drink_picture2_n/" + "bn_thai_milk_tea_SingPark_Healthy.png"
Var PictureDrink = "ROOT/taobin_project/inter/aus/image/page_drink_picture2_n/" + "bn_thai_milk_tea_SingPark_pro_valentine_Healthy.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $51-02-01-1038.Price
Var PriceD2 = $51-02-02-1038.Price

View file

@ -392,12 +392,29 @@
DEBUGVAR "BREW_CNT Still not set"
DEBUGVAR BREW_CNT
DEBUGVAR ShowCountDownBrewing
EndIf
Else
If BREW_CNT > InitCNT Then
DEBUGVAR "InitCNT must reset"
Var InitCNT = BREW_CNT
EndIf
EndIf
EndIf
Var XPercent = InitCNT - ShowCountDownBrewing
If ShowCountDownBrewing <= 5 Then
Var XPercent = 95
If SetPercent100 = 1 Then

View file

@ -732,6 +732,14 @@
DEBUGVAR "BREW_CNT Still not set"
DEBUGVAR BREW_CNT
DEBUGVAR ShowCountDownBrewing
EndIf
Else
If BREW_CNT > InitCNT Then
DEBUGVAR "InitCNT must reset"
Var InitCNT = BREW_CNT
EndIf
EndIf
EndIf

101
xml/ledblink.xml Normal file
View file

@ -0,0 +1,101 @@
<Page>
<Width> 1080 </Width>
<Height> 1312 </Height>
<Volume> SoundVolume </Volume>
<Background> "0x2C2F4E" </Background>
<EventOpen>
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Refresh
TimerReset
</EventTimeout>
<Button>
<X> 220 </X>
<Y> 700 </Y>
<Filename> "ROOT/taobin_project/image/sleepmode/bn_press.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/sleepmode/bp_press.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/sleepmode/bd_press.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<State> btnwakeupstate </State>
<EventClick>
LED LedDoorLid On 255 255 255 255
</EventClick>
</Button>
<Text>
<X> 420 </X>
<Y> 740 </Y>
<Size> 55 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0x9597A5 </Color>
<Value> "เปิดเเสงขาว" </Value>
</Text>
<Button>
<X> 220 </X>
<Y> 900 </Y>
<Filename> "ROOT/taobin_project/image/sleepmode/bn_press.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/sleepmode/bp_press.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/sleepmode/bd_press.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<State> btnwakeupstate </State>
<EventClick>
LED LedDoorLid off 255 255 255 255
</EventClick>
</Button>
<Text>
<X> 420 </X>
<Y> 940 </Y>
<Size> 55 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0x9597A5 </Color>
<Value> "ปิดเเสงขาว" </Value>
</Text>
<Button>
<X> 220 </X>
<Y> 1100 </Y>
<Filename> "ROOT/taobin_project/image/sleepmode/bn_press.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/sleepmode/bp_press.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/sleepmode/bd_press.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<State> btnwakeupstate </State>
<EventClick>
Open "ROOT/taobin_project/xml/page_board.xml"
</EventClick>
</Button>
<Text>
<X> 420 </X>
<Y> 1140 </Y>
<Size> 55 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0x9597A5 </Color>
<Value> "ออก" </Value>
</Text>
</Page>

View file

@ -21,6 +21,7 @@
Var EnableTestCoinBank = "Invisible"
EndIf
SAVELOG "VendingPreMain"
</EventOpen>
@ -132,6 +133,7 @@
<Button>
<Filename> "ROOT/taobin_project/image/new_vending_info/test_sys_only.png" </Filename>
<EventOnClick>
WRITE_FILE "/mnt/sdcard/coffeevending/prv_tag" tmpPassPhrase
MainMenu2
</EventOnClick>
@ -147,6 +149,7 @@
<Button>
<Filename> "ROOT/taobin_project/image/new_vending_info/service_ops.png" </Filename>
<EventOnClick>
WRITE_FILE "/mnt/sdcard/coffeevending/prv_tag" tmpPassPhrase
MainMenu2
</EventOnClick>
@ -162,6 +165,7 @@
<Button>
<Filename> "ROOT/taobin_project/image/new_vending_info/maintenance_repair.png" </Filename>
<EventOnClick>
WRITE_FILE "/mnt/sdcard/coffeevending/prv_tag" tmpPassPhrase
MainMenu2
</EventOnClick>
@ -177,6 +181,7 @@
<Button>
<Filename> "ROOT/taobin_project/image/new_vending_info/configure_machine.png" </Filename>
<EventOnClick>
WRITE_FILE "/mnt/sdcard/coffeevending/prv_tag" tmpPassPhrase
MainMenu2
</EventOnClick>