<ROOT>
<THROUGHPUT>
<PBUFLEN64>
<ITEMS>
<Date>2018-7-9</Date>
<TestItem>Dual port throughput and latency test</TestItem>
<TestModule>2C2T</TestModule>
<PktLen>64</PktLen>
<Throughput>1.2</Throughput>
<RxMinLatency>2</RxMinLatency>
<RxAvgLatency>123</RxAvgLatency>
<RxMaxLatency>1212</RxMaxLatency>
<Reference>1.5</Reference>
<RxAvgReference>133.00</RxAvgReference>
</ITEMS>
<ITEMS>
<Date>2018-7-10</Date>
<TestItem>Dual port throughput and latency test</TestItem>
<TestModule>2C2T</TestModule>
<PktLen>64</PktLen>
<Throughput>1.2</Throughput>
<RxMinLatency>2</RxMinLatency>
<RxAvgLatency>123</RxAvgLatency>
<RxMaxLatency>1212</RxMaxLatency>
<Reference>1.5</Reference>
<RxAvgReference>133.00</RxAvgReference>
</ITEMS>
</PBUFLEN64>
<PBUFLEN128>
<ITEMS>
<Date>2018-7-9</Date>
<TestItem>Dual port throughput and latency test</TestItem>
<TestModule>2C2T</TestModule>
<PktLen>128</PktLen>
<Throughput>1.2</Throughput>
<RxMinLatency>2</RxMinLatency>
<RxAvgLatency>123</RxAvgLatency>
<RxMaxLatency>1212</RxMaxLatency>
<Reference>1.5</Reference>
<RxAvgReference>133.00</RxAvgReference>
</ITEMS>
<ITEMS>
<Date>2018-7-10</Date>
<TestItem>Dual port throughput and latency test</TestItem>
<TestModule>2C2T</TestModule>
<PktLen>128</PktLen>
<Throughput>1.2</Throughput>
<RxMinLatency>2</RxMinLatency>
<RxAvgLatency>123</RxAvgLatency>
<RxMaxLatency>1212</RxMaxLatency>
<Reference>1.5</Reference>
<RxAvgReference>133.00</RxAvgReference>
</ITEMS>
</PBUFLEN128>
</THROUGHPUT>
<CYCLE>
<PORT0PBUFLEN64>
<ITEMS>
<Date>2018-7-10</Date>
<TestItem>Port receive and send packet cycle test</TestItem>
<TestModule>2C2T</TestModule>
<PortId>0</PortId>
<PktLen>64</PktLen>
<Rx>123</Rx>
<Tx>123</Tx>
<RxReference>133.00</RxReference>
<TxReference>133.50</TxReference>
</ITEMS>
<ITEMS>
<Date>2018-7-10</Date>
<TestItem>Port receive and send packet cycle test</TestItem>
<TestModule>2C2T</TestModule>
<PortId>0</PortId>
<PktLen>64</PktLen>
<Rx>123</Rx>
<Tx>123</Tx>
<RxReference>133.00</RxReference>
<TxReference>133.50</TxReference>
</ITEMS>
</PORT0PBUFLEN64>
<PORT1PBUFLEN64>
<ITEMS>
<Date>2018-7-10</Date>
<TestItem>Port receive and send packet cycle test</TestItem>
<TestModule>2C2T</TestModule>
<PortId>1</PortId>
<PktLen>64</PktLen>
<Rx>123</Rx>
<Tx>123</Tx>
<RxReference>133.00</RxReference>
<TxReference>133.50</TxReference>
</ITEMS>
<ITEMS>
<Date>2018-7-10</Date>
<TestItem>Port receive and send packet cycle test</TestItem>
<TestModule>2C2T</TestModule>
<PortId>1</PortId>
<PktLen>64</PktLen>
<Rx>123</Rx>
<Tx>123</Tx>
<RxReference>133.00</RxReference>
<TxReference>133.50</TxReference>
</ITEMS>
</PORT1PBUFLEN64>
<PORT0PBUFLEN128>
<ITEMS>
<Date>2018-7-10</Date>
<TestItem>Port receive and send packet cycle test</TestItem>
<TestModule>2C2T</TestModule>
<PortId>0</PortId>
<PktLen>128</PktLen>
<Rx>123</Rx>
<Tx>123</Tx>
<RxReference>133.00</RxReference>
<TxReference>133.50</TxReference>
</ITEMS>
<ITEMS>
<Date>2018-7-10</Date>
<TestItem>Port receive and send packet cycle test</TestItem>
<TestModule>2C2T</TestModule>
<PortId>0</PortId>
<PktLen>128</PktLen>
<Rx>123</Rx>
<Tx>123</Tx>
<RxReference>133.00</RxReference>
<TxReference>133.50</TxReference>
</ITEMS>
</PORT0PBUFLEN128>
<PORT1PBUFLEN128>
<ITEMS>
<Date>2018-7-10</Date>
<TestItem>Port receive and send packet cycle test</TestItem>
<TestModule>2C2T</TestModule>
<PortId>1</PortId>
<PktLen>128</PktLen>
<Rx>123</Rx>
<Tx>123</Tx>
<RxReference>133.00</RxReference>
<TxReference>133.50</TxReference>
</ITEMS>
<ITEMS>
<Date>2018-7-11</Date>
<TestItem>Port receive and send packet cycle test</TestItem>
<TestModule>2C2T</TestModule>
<PortId>1</PortId>
<PktLen>128</PktLen>
<Rx>123</Rx>
<Tx>123</Tx>
<RxReference>133.00</RxReference>
<TxReference>133.50</TxReference>
</ITEMS>
</PORT1PBUFLEN128>
</CYCLE>
</ROOT>
第一组,Throughput,Reference的数据获取组成一个折线型,取遍所有ITEMS;PBUFLEN64和PBUFLEN128取值为BufLen 64字节、128字节,作为控件,图形数据切换
第二组,RxAvgLatency,RxAvgReference的数据获取组成一个折线型,与第一组相似要求
第三组,控件为RX/TX,BufLen为64/128,PortId 0/1切换,如Rx,64,0,那就取值PortId" value="0",PktLen" value="64"的Rx和RxRxReference值,取遍所有item,如上item为两个,画出折线形