awtk/t1.xml
2020-07-28 14:47:50 +08:00

138 lines
10 KiB
XML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml ruler_y="-184" ruler_x="9"?>
<window style:normal:bg_image="BG" v-model="dashboard" name="dashboard">
<image name="high_beam" v-data:visible="{highBeam}" x="9" y="0" w="38" h="38" draw_type="icon" image="high_beam" style:normal:bg_image="" style:normal:text_align_h="none">
<property name="style:normal:text_align_v">
<![CDATA[none]]>
</property>
</image>
<image name="low_beam" v-data:visible="{lowBeam}" x="61" y="0" w="38" h="38" draw_type="icon" image="low_beam" style:normal:bg_image="" style:normal:text_align_h="none">
<property name="style:normal:text_align_v">
<![CDATA[none]]>
</property>
</image>
<image name="left" v-data:visible="{left}" x="223" y="0" w="38" h="38" draw_type="icon" image="left" style:normal:bg_image="" style:normal:text_align_h="none">
<property name="style:normal:text_align_v">
<![CDATA[none]]>
</property>
</image>
<image name="right" v-data:visible="{right}" x="539" y="0" w="38" h="38" draw_type="icon" image="right" style:normal:bg_image="" style:normal:text_align_h="none">
<property name="style:normal:text_align_v">
<![CDATA[none]]>
</property>
</image>
<label name="temperature" v-data:text='$temperature+"℃"' x="647" y="3" w="59" h="28" style:normal:text_color="#FFFFFF" style:normal:border="none" style:normal:font_size="40" text="22℃"/>
<label name="time" x="729" v-data:text='$hour+":"+$min' y="3" w="59" h="28" style:normal:text_color="#FFFFFF" style:normal:border="none" style:normal:font_size="40" text="12:23"/>
<image_value name="music_icon" v-data:value="{musicIcon}" x="9" y="44" w="38" h="38" image="music_" format="%d" value="1" max="1"/>
<label name="music_index" v-data:text='$musicIndex+"/"+$musicTotal' x="50" y="44" w="59" h="28" style:normal:text_color="#FFFFFF" style:normal:border="none" style:normal:font_size="40" text="1/8"/>
<hscroll_label name="song_name" v-data:text="{songName}" x="114" y="44" w="118" h="28" style:normal:text_color="#FFFFFF" style:normal:font_size="40" loop="true" text="爱在元西"/>
<label name="radio_unit" v-data:text='$radioUnit==0?"FM":"AM"' x="556" y="44" w="49" h="28" style:normal:text_color="#FFFFFF" style:normal:border="none" style:normal:font_size="40" text="FM"/>
<hscroll_label name="radio_freq" v-data:text='{fformat("%.1f",$radioFreq)+($radioUnit==0?"mHz":"kHz")}' x="615" y="44" w="134" h="28" style:normal:text_color="#FFFFFF" style:normal:font_size="40" loop="true" text="87.5 mHz"/>
<image_value name="fm_icon" v-data:value="{fmIcon}" x="753" y="44" w="38" h="38" image="fm_" format="%d" value="0" max="1"/>
<image name="power_icon" x="29" y="103" w="29" h="17" draw_type="default" image="power" style:normal:icon=""/>
<label name="power_percent" v-data:text='$powerPercent+"%"' x="69" y="96" w="59" h="28" style:normal:text_color="#FFFFFF" style:normal:border="none" style:normal:font_size="40" text="60%"/>
<image name="volatage_icon" x="684" y="103" w="29" h="17" draw_type="default" image="volatage" style:normal:icon=""/>
<label name="volatage_value" v-data:text='{fformat("%.1fV",$volatageValue)}' x="726" y="95" w="59" h="28" style:normal:text_color="#FFFFFF" style:normal:border="none" style:normal:font_size="40" text="13.1V"/>
<label name="current_value" v-data:text='{fformat("%.1fA",$currentValue)}' x="720" y="123" w="59" h="28" style:normal:text_color="#FFFFFF" style:normal:border="none" style:normal:font_size="40" text="1.2A"/>
<image name="power_progress" v-data:image='"power_"+$powerProgress' x="27" y="155" w="90" h="258" image="power_10" style:normal:bg_image="" style:normal:text_align_h="none" style:normal:text_align_v="none"/>
<image name="speed_progress" v-data:image='"speed_"+$speedProgress' x="158" y="42" w="484" h="362" image="speed_35" style:normal:bg_image="" style:normal:text_align_h="none" style:normal:text_align_v="none">
<property name="disg:hide">
<![CDATA[true]]>
</property>
</image>
<image_value name="volatage_progress" v-data:value="{volatageProgress}" x="683" y="156" w="90" h="258" image="volatage_" format="%d" value="8" max="8"/>
<image_value name="speed" v-data:value="{speed}" x="305" y="207" w="188" h="53" image="s" format="%02d" value="100" max="9"/>
<label name="speed_unit" x="375" y="271" w="59" h="28" style:normal:text_color="#FFFFFF" style:normal:border="none" style:normal:font_size="56" text="km/h"/>
<image name="sport" v-data:visible="{sport}" x="50" y="419" w="84" h="22" draw_type="icon" image="sport" style:normal:bg_image="" style:normal:text_align_h="none">
<property name="style:normal:text_align_v">
<![CDATA[none]]>
</property>
</image>
<image name="comfort" v-data:visible="{comfort}" x="666" y="419" w="84" h="22" draw_type="icon" image="comfort" style:normal:bg_image="" style:normal:text_align_h="none">
<property name="style:normal:text_align_v">
<![CDATA[none]]>
</property>
</image>
<image_value name="gear_p" v-data:value="{$gear == 4 ? 1 : 0}" x="339" y="337" w="20" h="35" image="gear_p_" format="%d" value="0" max="1"/>
<image_value name="gear_s" v-data:value="{$gear == 0 ? 1 : 0}" x="367" y="337" w="20" h="35" image="gear_s_" format="%d" value="0" max="1"/>
<image_value name="gear_3" v-data:value="{$gear == 3 ? 1 : 0}" x="395" y="337" w="20" h="35" image="gear_3_" format="%d" value="1" max="1"/>
<image_value name="gear_2" v-data:value="{$gear == 2 ? 1 : 0}" x="423" y="337" w="20" h="35" image="gear_2_" format="%d" value="0" max="1"/>
<image_value name="gear_1" v-data:value="{$gear == 1 ? 1 : 0}" x="451" y="337" w="20" h="35" image="gear_1_" format="%d" value="0" max="1"/>
<image name="brake" x="269" v-data:visible="{brake}" y="402" w="38" h="38" draw_type="icon" image="brake" style:normal:bg_image="" style:normal:text_align_h="none">
<property name="style:normal:text_align_v">
<![CDATA[none]]>
</property>
</image>
<image name="speedlimit" v-data:visible="{speedlimit}" x="314" y="402" w="38" h="38" draw_type="icon" image="speedlimit" style:normal:bg_image="" style:normal:text_align_h="none">
<property name="style:normal:text_align_v">
<![CDATA[none]]>
</property>
</image>
<image name="reverse" v-data:visible="{reverse}" x="358" y="402" w="38" h="38" draw_type="icon" image="reverse" style:normal:bg_image="" style:normal:text_align_h="none">
<property name="style:normal:text_align_v">
<![CDATA[none]]>
</property>
</image>
<image name="overcurrent" v-data:visible="{overcurrent}" x="403" y="402" w="38" h="38" draw_type="icon" image="overcurrent" style:normal:bg_image="" style:normal:text_align_h="none">
<property name="style:normal:text_align_v">
<![CDATA[none]]>
</property>
</image>
<image name="stall" v-data:visible="{stall}" x="447" y="402" w="38" h="38" draw_type="icon" image="stall" style:normal:bg_image="" style:normal:text_align_h="none">
<property name="style:normal:text_align_v">
<![CDATA[none]]>
</property>
</image>
<image name="bt" v-data:visible="{bt}" x="492" y="402" w="38" h="38" draw_type="icon" image="bt" style:normal:bg_image="" style:normal:text_align_h="none">
<property name="style:normal:text_align_v">
<![CDATA[none]]>
</property>
</image>
<image name="hallfault" v-data:visible="{hallfault}" x="225" y="442" w="38" h="38" draw_type="icon" image="hallfault" style:normal:bg_image="" style:normal:text_align_h="none">
<property name="style:normal:text_align_v">
<![CDATA[none]]>
</property>
</image>
<image name="faultyhandle" v-data:visible="{faultyhandle}" x="269" y="442" w="38" h="38" draw_type="icon" image="faultyhandle" style:normal:bg_image="" style:normal:text_align_h="none">
<property name="style:normal:text_align_v">
<![CDATA[none]]>
</property>
</image>
<image name="cruise" v-data:visible="{cruise}" x="314" y="442" w="38" h="38" draw_type="icon" image="cruise" style:normal:bg_image="" style:normal:text_align_h="none">
<property name="style:normal:text_align_v">
<![CDATA[none]]>
</property>
</image>
<image name="controllerfailure" v-data:visible="{controllerfailure}" x="358" y="442" w="38" h="38" draw_type="icon" image="controllerfailure" style:normal:bg_image="" style:normal:text_align_h="none">
<property name="style:normal:text_align_v">
<![CDATA[none]]>
</property>
</image>
<image name="undervoltage" v-data:visible="{undervoltage}" x="403" y="442" w="38" h="38" draw_type="icon" image="undervoltage" style:normal:bg_image="" style:normal:text_align_h="none">
<property name="style:normal:text_align_v">
<![CDATA[none]]>
</property>
</image>
<image name="boost" x="447" v-data:visible="{boost}" y="442" w="38" h="38" draw_type="icon" image="boost" style:normal:bg_image="" style:normal:text_align_h="none">
<property name="style:normal:text_align_v">
<![CDATA[none]]>
</property>
</image>
<image name="motorfailure" v-data:visible="{motofailure}" x="492" y="442" w="38" h="38" draw_type="icon" image="motorfailure" style:normal:bg_image="" style:normal:text_align_h="none">
<property name="style:normal:text_align_v">
<![CDATA[none]]>
</property>
</image>
<image name="charge" v-data:visible="{charge}" x="536" y="442" w="38" h="38" draw_type="icon" image="charge" style:normal:bg_image="" style:normal:text_align_h="none">
<property name="style:normal:text_align_v">
<![CDATA[none]]>
</property>
</image>
<label name="trip" x="15" y="447" w="59" h="28" style:normal:text_color="#FFFFFF" style:normal:border="none" style:normal:font_size="30" text="TRIP:"/>
<label name="trip_value" v-data:text='{fformat("%.1fkm",$tripValue)}' x="75" y="447" w="102" h="28" style:normal:text_color="#FFFFFF" style:normal:border="none" style:normal:font_size="30" style:normal:text_align_h="left">
<property name="text">
<![CDATA[160.0km]]>
</property>
</label>
<label name="ODO" x="631" y="447" w="59" h="28" style:normal:text_color="#FFFFFF" style:normal:border="none" style:normal:font_size="30" text="ODO:"/>
<hscroll_label name="ODO_value" v-data:text='{fformat("%.1fkm",$odoValue)}' x="691" y="447" w="99" h="28" style:normal:text_color="#FFFFFF" style:normal:font_size="30" loop="true" text="166666km"/>
</window>