220 lines
6.4 KiB
XML
220 lines
6.4 KiB
XML
<?xml version="1.0"?>
|
|
<info locale="device_locale_strings.xml">
|
|
<device canfd="1">
|
|
<value>3</value>
|
|
<meta>
|
|
<visible>false</visible>
|
|
<type>options.int32</type>
|
|
<desc>设备索引</desc>
|
|
<options>
|
|
<option type="int32" value="0" desc="0"></option>
|
|
<option type="int32" value="1" desc="1"></option>
|
|
<option type="int32" value="2" desc="2"></option>
|
|
<option type="int32" value="3" desc="3"></option>
|
|
<option type="int32" value="4" desc="4"></option>
|
|
<option type="int32" value="5" desc="5"></option>
|
|
<option type="int32" value="6" desc="6"></option>
|
|
<option type="int32" value="7" desc="7"></option>
|
|
<option type="int32" value="8" desc="8"></option>
|
|
<option type="int32" value="9" desc="9"></option>
|
|
<option type="int32" value="10" desc="10"></option>
|
|
<option type="int32" value="11" desc="11"></option>
|
|
<option type="int32" value="12" desc="12"></option>
|
|
<option type="int32" value="13" desc="13"></option>
|
|
<option type="int32" value="14" desc="14"></option>
|
|
<option type="int32" value="15" desc="15"></option>
|
|
<option type="int32" value="16" desc="16"></option>
|
|
<option type="int32" value="17" desc="17"></option>
|
|
<option type="int32" value="18" desc="18"></option>
|
|
<option type="int32" value="19" desc="19"></option>
|
|
<option type="int32" value="20" desc="20"></option>
|
|
<option type="int32" value="21" desc="21"></option>
|
|
<option type="int32" value="22" desc="22"></option>
|
|
<option type="int32" value="23" desc="23"></option>
|
|
<option type="int32" value="24" desc="24"></option>
|
|
<option type="int32" value="25" desc="25"></option>
|
|
<option type="int32" value="26" desc="26"></option>
|
|
<option type="int32" value="27" desc="27"></option>
|
|
<option type="int32" value="28" desc="28"></option>
|
|
<option type="int32" value="29" desc="29"></option>
|
|
<option type="int32" value="30" desc="30"></option>
|
|
<option type="int32" value="31" desc="31"></option>
|
|
</options>
|
|
</meta>
|
|
</device>
|
|
<channel>
|
|
<value>0</value>
|
|
<meta>
|
|
<visible>false</visible>
|
|
<type>options.int32</type>
|
|
<desc>通道号</desc>
|
|
<options>
|
|
<option type="int32" value="0" desc="Channel 0"></option>
|
|
<option type="int32" value="1" desc="Channel 1"></option>
|
|
</options>
|
|
</meta>
|
|
<channel_0 stream="channel_0" case="parent-value=0">
|
|
<protocol flag="0x0052" at_initcan="pre">
|
|
<value>1</value>
|
|
<meta>
|
|
<type>options.int32</type>
|
|
<desc>协议</desc>
|
|
<options>
|
|
<option type="int32" value="0" desc="CAN"></option>
|
|
<option type="int32" value="1" desc="CANFD"></option>
|
|
</options>
|
|
</meta>
|
|
</protocol>
|
|
<canfd_exp>
|
|
<value>1</value>
|
|
<meta>
|
|
<type>options.int32</type>
|
|
<desc>CANFD加速</desc>
|
|
<visible>$/info/channel/channel_0/protocol != 0</visible>
|
|
<options>
|
|
<option type="int32" value="0" desc="str_no"></option>
|
|
<option type="int32" value="1" desc="str_yes"></option>
|
|
</options>
|
|
</meta>
|
|
</canfd_exp>
|
|
<auto_send flag="0x0015">
|
|
<value>0</value>
|
|
<meta>
|
|
<visible>false</visible>
|
|
<type>string</type>
|
|
<desc>定时发送CAN</desc>
|
|
</meta>
|
|
</auto_send>
|
|
<auto_send_canfd flag="0x0016">
|
|
<value>1</value>
|
|
<meta>
|
|
<visible>false</visible>
|
|
<type>string</type>
|
|
<desc>定时发送CANFD</desc>
|
|
</meta>
|
|
</auto_send_canfd>
|
|
<clear_auto_send flag="0x0018">
|
|
<value>1</value>
|
|
<meta>
|
|
<visible>false</visible>
|
|
<type>string</type>
|
|
<desc>清空定时发送</desc>
|
|
</meta>
|
|
</clear_auto_send>
|
|
<apply_auto_send flag="0x0017">
|
|
<value>1</value>
|
|
<meta>
|
|
<visible>false</visible>
|
|
<type>string</type>
|
|
<desc>应用定时发送</desc>
|
|
</meta>
|
|
</apply_auto_send>
|
|
<set_tx_echo_enable flag="0x001A">
|
|
<value>1</value>
|
|
<meta>
|
|
<visible>false</visible>
|
|
<type>uint32</type>
|
|
<desc>设置设备发送是否启动回显</desc>
|
|
</meta>
|
|
</set_tx_echo_enable>
|
|
<get_tx_timestamp flag="0x001B">
|
|
<value>1</value>
|
|
<meta>
|
|
<visible>false</visible>
|
|
<type>string</type>
|
|
<desc>回显数据数量</desc>
|
|
</meta>
|
|
</get_tx_timestamp>
|
|
<get_bus_usage flag="0x001C">
|
|
<value>1</value>
|
|
<meta>
|
|
<visible>false</visible>
|
|
<type>string</type>
|
|
<desc>获取总线利用率</desc>
|
|
</meta>
|
|
</get_bus_usage>
|
|
</channel_0>
|
|
<channel_1 stream="channel_1" case="parent-value=1">
|
|
<protocol flag="0x0152" at_initcan="pre">
|
|
<value>1</value>
|
|
<meta>
|
|
<type>options.int32</type>
|
|
<desc>协议</desc>
|
|
<options>
|
|
<option type="int32" value="0" desc="CAN"></option>
|
|
<option type="int32" value="1" desc="CANFD"></option>
|
|
</options>
|
|
</meta>
|
|
</protocol>
|
|
<canfd_exp>
|
|
<value>1</value>
|
|
<meta>
|
|
<type>options.int32</type>
|
|
<desc>CANFD加速</desc>
|
|
<visible>$/info/channel/channel_0/protocol != 0</visible>
|
|
<options>
|
|
<option type="int32" value="0" desc="str_no"></option>
|
|
<option type="int32" value="1" desc="str_yes"></option>
|
|
</options>
|
|
</meta>
|
|
</canfd_exp>
|
|
<auto_send flag="0x0115">
|
|
<value>0</value>
|
|
<meta>
|
|
<visible>false</visible>
|
|
<type>string</type>
|
|
<desc>定时发送CAN</desc>
|
|
</meta>
|
|
</auto_send>
|
|
<auto_send_canfd flag="0x0116">
|
|
<value>1</value>
|
|
<meta>
|
|
<visible>false</visible>
|
|
<type>string</type>
|
|
<desc>定时发送CANFD</desc>
|
|
</meta>
|
|
</auto_send_canfd>
|
|
<clear_auto_send flag="0x0118">
|
|
<value>1</value>
|
|
<meta>
|
|
<visible>false</visible>
|
|
<type>string</type>
|
|
<desc>清空定时发送</desc>
|
|
</meta>
|
|
</clear_auto_send>
|
|
<apply_auto_send flag="0x0117">
|
|
<value>1</value>
|
|
<meta>
|
|
<visible>false</visible>
|
|
<type>string</type>
|
|
<desc>应用定时发送</desc>
|
|
</meta>
|
|
</apply_auto_send>
|
|
<set_tx_echo_enable flag="0x011A">
|
|
<value>1</value>
|
|
<meta>
|
|
<visible>false</visible>
|
|
<type>uint32</type>
|
|
<desc>设置设备发送是否启动回显</desc>
|
|
</meta>
|
|
</set_tx_echo_enable>
|
|
<get_tx_timestamp flag="0x011B">
|
|
<value>1</value>
|
|
<meta>
|
|
<visible>false</visible>
|
|
<type>string</type>
|
|
<desc>回显数据数量</desc>
|
|
</meta>
|
|
</get_tx_timestamp>
|
|
<get_bus_usage flag="0x011C">
|
|
<value>1</value>
|
|
<meta>
|
|
<visible>false</visible>
|
|
<type>string</type>
|
|
<desc>获取总线利用率</desc>
|
|
</meta>
|
|
</get_bus_usage>
|
|
</channel_1>
|
|
</channel>
|
|
</info>
|