add straw takke pic

This commit is contained in:
nattapon tachawong 2025-02-28 13:33:49 +07:00
parent 294622e43a
commit feace8f996
3 changed files with 124 additions and 0 deletions

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

@ -891,6 +891,28 @@
<Value> "Enable CreditCard" </Value>
</Text>
<Image>
<X> 10 </X>
<Y> info_13Y </Y>
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
<EventClick>
Open "/mnt/sdcard/coffeevending/taobin_project/xml/ledblink.xml"
</EventClick>
</Image>
<Text>
<X> 40 </X>
<Y> info_text_13Y </Y>
<Size> 30 </Size>
<Font> fontType1 </Font>
<Color> 0x000000 </Color>
<Value> "LEDBLINK" </Value>
</Text>
;EnableNewBrewUI
<Image>
<X> info2_startX </X>

View file

@ -11,6 +11,7 @@
CameraService "filter-remove-all"
CameraService "add-filter=mClass=9,mSubclass=4"
CameraService "add-filter=mClass=0,mSubclass=0"
CameraService "add-filter=USB Camera"
CameraService "Start"