未知昵称
2018-05-28 02:59
采纳率: 89.7%
浏览 847

C#读取xml文件指定的值,一级一级往下寻找

手上有一个xml文件,希望能根据提供的xml文件寻找列出指定节点的所有内容,

例如寻找出ELEMENTS下的所有的值uint8,sint32,string,Earea,SRdsSettingInit.........等,
图片说明
就是能实现一级一级往下寻找,

如果存在同一级,列出该同级的所有的值,uint8,sint32,string,Earea,SRdsSettingInit.........等,

也希望能列出我想要的每一级指定的内容的值。
图片说明

xml文件下载地址

  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

7条回答 默认 最新

  • threenewbee 2018-05-28 03:33
    已采纳

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Xml.Linq;

    namespace Q690372
    {
    class Program
    {
    static string getpath(XElement node)
    {
    string s = node.Name.ToString().Replace("{http://autosar.org/schema/r4.0}", "");
    while (node.Parent != null)
    {
    node = node.Parent;
    s = node.Name.ToString().Replace("{http://autosar.org/schema/r4.0}", "") + "/" + s;
    }
    return s;
    }

        static int getlevel(XElement node)
        {
            int n = 1;
            while (node.Parent != null)
            {
                node = node.Parent;
                n++;
            }
            return n;
        }
    
        static void Main(string[] args)
        {
            var doc = XDocument.Load(args[0]);
            foreach (var node in doc.Descendants())
            {
                if (getlevel(node) == 6 && node.Descendants().Count() == 0) //获得第六级的叶子节点
                    Console.WriteLine(getpath(node) + "=" + node.Value);
            }
        }
    }
    

    }

    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/SHORT-NAME=BaseTypes
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/SHORT-NAME=ImplementationDataTypes
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/SHORT-NAME=ApplicationDataTypes
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/SHORT-NAME=CompuMethods
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/SHORT-NAME=Tuner
    Press any key to continue . . .

    已采纳该答案
    打赏 评论
  • threenewbee 2018-05-28 03:20

    不是很清楚你的意思,是寻找所有的叶子节点么?
    我写了个例子:

     using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Xml.Linq;
    
    namespace Q690372
    {
        class Program
        {
            static void Main(string[] args)
            {
                var doc = XDocument.Load(args[0]);
                foreach (var node in doc.Descendants())
                {
                    if (node.Descendants().Count() == 0)
                        Console.WriteLine(node.Name.ToString().Replace("{http://autosar.org/schema/r4.0}", "") + "=" + node.Value);
                }
            }
        }
    }
    
    
    打赏 评论
  • threenewbee 2018-05-28 03:21

    图片说明

    打赏 评论
  • threenewbee 2018-05-28 03:22
     LANGUAGE=EN
    L-10=
    SHORT-NAME=DataTypes
    SHORT-NAME=BaseTypes
    SHORT-NAME=boolean
    CATEGORY=FIXED_LENGTH
    BASE-TYPE-SIZE=8
    MAX-BASE-TYPE-SIZE=0
    BASE-TYPE-ENCODING=NONE
    MEM-ALIGNMENT=0
    NATIVE-DECLARATION=boolean
    SHORT-NAME=uint8
    CATEGORY=FIXED_LENGTH
    BASE-TYPE-SIZE=8
    MAX-BASE-TYPE-SIZE=0
    BASE-TYPE-ENCODING=NONE
    MEM-ALIGNMENT=0
    NATIVE-DECLARATION=uint8
    SHORT-NAME=uint16
    CATEGORY=FIXED_LENGTH
    BASE-TYPE-SIZE=16
    MAX-BASE-TYPE-SIZE=0
    BASE-TYPE-ENCODING=NONE
    MEM-ALIGNMENT=0
    NATIVE-DECLARATION=uint16
    SHORT-NAME=uint32
    CATEGORY=FIXED_LENGTH
    BASE-TYPE-SIZE=32
    MAX-BASE-TYPE-SIZE=0
    BASE-TYPE-ENCODING=NONE
    MEM-ALIGNMENT=0
    NATIVE-DECLARATION=uint32
    SHORT-NAME=uint64
    CATEGORY=FIXED_LENGTH
    BASE-TYPE-SIZE=64
    MAX-BASE-TYPE-SIZE=0
    BASE-TYPE-ENCODING=NONE
    MEM-ALIGNMENT=0
    NATIVE-DECLARATION=uint64
    SHORT-NAME=sint8
    CATEGORY=FIXED_LENGTH
    BASE-TYPE-SIZE=8
    MAX-BASE-TYPE-SIZE=0
    BASE-TYPE-ENCODING=NONE
    MEM-ALIGNMENT=0
    NATIVE-DECLARATION=sint8
    SHORT-NAME=sint16
    CATEGORY=FIXED_LENGTH
    BASE-TYPE-SIZE=16
    MAX-BASE-TYPE-SIZE=0
    BASE-TYPE-ENCODING=NONE
    MEM-ALIGNMENT=0
    NATIVE-DECLARATION=sint16
    SHORT-NAME=sint32
    CATEGORY=FIXED_LENGTH
    BASE-TYPE-SIZE=32
    MAX-BASE-TYPE-SIZE=0
    BASE-TYPE-ENCODING=NONE
    MEM-ALIGNMENT=0
    NATIVE-DECLARATION=sint32
    SHORT-NAME=sint64
    CATEGORY=FIXED_LENGTH
    BASE-TYPE-SIZE=64
    MAX-BASE-TYPE-SIZE=0
    BASE-TYPE-ENCODING=NONE
    MEM-ALIGNMENT=0
    NATIVE-DECLARATION=sint64
    SHORT-NAME=float32
    CATEGORY=FIXED_LENGTH
    BASE-TYPE-SIZE=32
    MAX-BASE-TYPE-SIZE=0
    BASE-TYPE-ENCODING=NONE
    MEM-ALIGNMENT=0
    NATIVE-DECLARATION=float32
    SHORT-NAME=float64
    CATEGORY=FIXED_LENGTH
    BASE-TYPE-SIZE=64
    MAX-BASE-TYPE-SIZE=0
    BASE-TYPE-ENCODING=NONE
    MEM-ALIGNMENT=0
    NATIVE-DECLARATION=float64
    SHORT-NAME=UTF_8_String
    CATEGORY=VARIABLE_LENGTH
    BASE-TYPE-ENCODING=UTF-8
    SHORT-NAME=ImplementationDataTypes
    SHORT-NAME=uint8
    CATEGORY=VALUE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=sint32
    CATEGORY=VALUE
    BASE-TYPE-REF=/DataTypes/BaseTypes/sint32
    SHORT-NAME=string
    CATEGORY=STRING
    SHORT-NAME=Earea
    CATEGORY=VALUE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    COMPU-METHOD-REF=/DataTypes/CompuMethods/Earea
    SHORT-NAME=SRdsSettingInit
    CATEGORY=STRUCTURE
    SHORT-NAME=sw_rds_ta
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=sw_rds_pty
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=sw_rds_af
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=sw_rds_eon
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=sw_rds_reg
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=sw_rds_ct
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=sw_rds
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=SRadioSettingInit
    CATEGORY=STRUCTURE
    SHORT-NAME=area
    CATEGORY=TYPE_REFERENCE
    IMPLEMENTATION-DATA-TYPE-REF=/DataTypes/ImplementationDataTypes/Earea
    SHORT-NAME=n_fm
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=n_am
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=len_list
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=stRdsInit
    CATEGORY=TYPE_REFERENCE
    IMPLEMENTATION-DATA-TYPE-REF=/DataTypes/ImplementationDataTypes/SRdsSettingInit
    SHORT-NAME=SObtainDataInfo
    CATEGORY=STRUCTURE
    SHORT-NAME=szValue
    CATEGORY=ARRAY
    SHORT-NAME=payloadDim1Element
    CATEGORY=TYPE_REFERENCE
    ARRAY-SIZE=36
    ARRAY-SIZE-SEMANTICS=FIXED-SIZE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=uArrayItem
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=uMsgId
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=SActionState
    CATEGORY=STRUCTURE
    SHORT-NAME=szActionName
    CATEGORY=ARRAY
    SHORT-NAME=payloadDim1Element
    CATEGORY=TYPE_REFERENCE
    ARRAY-SIZE=64
    ARRAY-SIZE-SEMANTICS=FIXED-SIZE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=szState
    CATEGORY=ARRAY
    SHORT-NAME=payloadDim1Element
    CATEGORY=TYPE_REFERENCE
    ARRAY-SIZE=32
    ARRAY-SIZE-SEMANTICS=FIXED-SIZE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=SPlayList
    CATEGORY=STRUCTURE
    SHORT-NAME=iBand
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/sint32
    SHORT-NAME=iCurrNum
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/sint32
    SHORT-NAME=iArray
    CATEGORY=ARRAY
    SHORT-NAME=payloadDim1Element
    CATEGORY=TYPE_REFERENCE
    ARRAY-SIZE=36
    ARRAY-SIZE-SEMANTICS=FIXED-SIZE
    BASE-TYPE-REF=/DataTypes/BaseTypes/sint32
    SHORT-NAME=STunerInfo
    CATEGORY=STRUCTURE
    SHORT-NAME=szInfo
    CATEGORY=ARRAY
    SHORT-NAME=payloadDim1Element
    CATEGORY=TYPE_REFERENCE
    ARRAY-SIZE=16
    ARRAY-SIZE-SEMANTICS=FIXED-SIZE
    BASE-TYPE-REF=/DataTypes/BaseTypes/sint8
    SHORT-NAME=iRadioStatus
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/sint32
    SHORT-NAME=iInitFinish
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/sint32
    SHORT-NAME=SRadioStatu
    CATEGORY=STRUCTURE
    SHORT-NAME=flg_seek
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=flg_as
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=flg_scan
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=flg_stereo
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=flg_lacal
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=SRdsInfo
    CATEGORY=STRUCTURE
    SHORT-NAME=flg_ta
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=flg_pty
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=flg_af
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=flg_eon
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=flg_reg
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=flg_tp
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/uint8
    SHORT-NAME=Vector_sint32
    CATEGORY=VECTOR
    SHORT-NAME=payloadDim1Element
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/sint32
    SHORT-NAME=Vector_string
    CATEGORY=VECTOR
    SHORT-NAME=payloadDim1Element
    CATEGORY=TYPE_REFERENCE
    IMPLEMENTATION-DATA-TYPE-REF=/DataTypes/ImplementationDataTypes/string
    SHORT-NAME=Map_sint32_string
    CATEGORY=ASSOCIATIVE_MAP
    SHORT-NAME=keyElement
    CATEGORY=TYPE_REFERENCE
    BASE-TYPE-REF=/DataTypes/BaseTypes/sint32
    SHORT-NAME=valueElement
    CATEGORY=TYPE_REFERENCE
    IMPLEMENTATION-DATA-TYPE-REF=/DataTypes/ImplementationDataTypes/string
    SHORT-NAME=ApplicationDataTypes
    SHORT-NAME=UTF_8_String
    CATEGORY=STRING
    BASE-TYPE-REF=/DataTypes/BaseTypes/UTF_8_String
    SHORT-NAME=CompuMethods
    SHORT-NAME=Earea
    CATEGORY=TEXTTABLE
    LOWER-LIMIT=0
    UPPER-LIMIT=0
    VT=area_China
    LOWER-LIMIT=1
    UPPER-LIMIT=1
    VT=area_USA
    LOWER-LIMIT=2
    UPPER-LIMIT=2
    VT=area_Europe
    LOWER-LIMIT=3
    UPPER-LIMIT=3
    VT=area_Germany
    LOWER-LIMIT=4
    UPPER-LIMIT=4
    VT=area_Japan
    LOWER-LIMIT=5
    UPPER-LIMIT=5
    VT=area_Russia
    LOWER-LIMIT=6
    UPPER-LIMIT=6
    VT=area_Australia
    LOWER-LIMIT=7
    UPPER-LIMIT=7
    VT=area_add
    LOWER-LIMIT=8
    UPPER-LIMIT=8
    VT=area_n
    SHORT-NAME=ServiceInterfaces
    SHORT-NAME=Tuner
    SHORT-NAME=SwitchStateEvent
    TYPE-TREF=/DataTypes/ImplementationDataTypes/string
    SHORT-NAME=ChangModeEvent
    TYPE-TREF=/DataTypes/ImplementationDataTypes/string
    SHORT-NAME=GetFreqEvent
    TYPE-TREF=/DataTypes/ImplementationDataTypes/sint32
    SHORT-NAME=ActionStateEvent
    TYPE-TREF=/DataTypes/ImplementationDataTypes/SActionState
    SHORT-NAME=PlayListEvent
    TYPE-TREF=/DataTypes/ImplementationDataTypes/SPlayList
    SHORT-NAME=GetRtDataEvent
    TYPE-TREF=/DataTypes/ImplementationDataTypes/SObtainDataInfo
    SHORT-NAME=FavoritesListEvent
    TYPE-TREF=/DataTypes/ImplementationDataTypes/SPlayList
    SHORT-NAME=switchRadio
    SHORT-NAME=cmd
    TYPE-TREF=/DataTypes/ImplementationDataTypes/string
    DIRECTION=IN
    SHORT-NAME=setPlayFrequency
    SHORT-NAME=curFreq
    TYPE-TREF=/DataTypes/ImplementationDataTypes/sint32
    DIRECTION=IN
    SHORT-NAME=setRemoteOrLocal
    SHORT-NAME=mode
    TYPE-TREF=/DataTypes/ImplementationDataTypes/string
    DIRECTION=IN
    SHORT-NAME=setStereo
    SHORT-NAME=mode
    TYPE-TREF=/DataTypes/ImplementationDataTypes/string
    DIRECTION=IN
    SHORT-NAME=setPTY
    SHORT-NAME=uPtyValue
    TYPE-TREF=/DataTypes/ImplementationDataTypes/uint8
    DIRECTION=IN
    SHORT-NAME=uPiValue
    TYPE-TREF=/DataTypes/ImplementationDataTypes/uint8
    DIRECTION=IN
    SHORT-NAME=setPI
    SHORT-NAME=uPtyValue
    TYPE-TREF=/DataTypes/ImplementationDataTypes/uint8
    DIRECTION=IN
    SHORT-NAME=uPiValue
    TYPE-TREF=/DataTypes/ImplementationDataTypes/uint8
    DIRECTION=IN
    SHORT-NAME=setStep
    SHORT-NAME=uStep
    TYPE-TREF=/DataTypes/ImplementationDataTypes/uint8
    DIRECTION=IN
    SHORT-NAME=setTA
    SHORT-NAME=uSwitch
    TYPE-TREF=/DataTypes/ImplementationDataTypes/uint8
    DIRECTION=IN
    SHORT-NAME=jumpFreqPoint
    SHORT-NAME=index
    TYPE-TREF=/DataTypes/ImplementationDataTypes/sint32
    DIRECTION=IN
    SHORT-NAME=saveFreqPoint
    SHORT-NAME=index
    TYPE-TREF=/DataTypes/ImplementationDataTypes/sint32
    DIRECTION=IN
    SHORT-NAME=saveFavoriteStation
    SHORT-NAME=mode
    TYPE-TREF=/DataTypes/ImplementationDataTypes/string
    DIRECTION=IN
    SHORT-NAME=curStation
    TYPE-TREF=/DataTypes/ImplementationDataTypes/sint32
    DIRECTION=IN
    SHORT-NAME=clearFavoritesList
    SHORT-NAME=mode
    TYPE-TREF=/DataTypes/ImplementationDataTypes/string
    DIRECTION=IN
    SHORT-NAME=seekAction
    SHORT-NAME=cmd
    TYPE-TREF=/DataTypes/ImplementationDataTypes/string
    DIRECTION=IN
    SHORT-NAME=scanAction
    SHORT-NAME=mode
    TYPE-TREF=/DataTypes/ImplementationDataTypes/sint32
    DIRECTION=IN
    SHORT-NAME=updateAction
    SHORT-NAME=cmd
    TYPE-TREF=/DataTypes/ImplementationDataTypes/string
    DIRECTION=IN
    SHORT-NAME=setVolume
    SHORT-NAME=volume
    TYPE-TREF=/DataTypes/ImplementationDataTypes/sint32
    DIRECTION=IN
    SHORT-NAME=deleteFavoriteStation
    SHORT-NAME=mode
    TYPE-TREF=/DataTypes/ImplementationDataTypes/string
    DIRECTION=IN
    SHORT-NAME=curStation
    TYPE-TREF=/DataTypes/ImplementationDataTypes/sint32
    DIRECTION=IN
    SHORT-NAME=changeModeForRadio
    SHORT-NAME=cmd
    TYPE-TREF=/DataTypes/ImplementationDataTypes/string
    DIRECTION=IN
    SHORT-NAME=getRadioState
    SHORT-NAME=state
    TYPE-TREF=/DataTypes/ImplementationDataTypes/string
    DIRECTION=OUT
    SHORT-NAME=getModeForRadio
    SHORT-NAME=mode
    TYPE-TREF=/DataTypes/ImplementationDataTypes/string
    DIRECTION=OUT
    SHORT-NAME=getCurPlayFrequnecy
    ARGUMENTS=
    SHORT-NAME=getFrequencyList
    SHORT-NAME=mode
    TYPE-TREF=/DataTypes/ImplementationDataTypes/sint32
    DIRECTION=IN
    SHORT-NAME=frequencyList
    TYPE-TREF=/DataTypes/ImplementationDataTypes/Vector_sint32
    DIRECTION=OUT
    SHORT-NAME=currentItem
    TYPE-TREF=/DataTypes/ImplementationDataTypes/sint32
    DIRECTION=OUT
    SHORT-NAME=getFavoritesList
    SHORT-NAME=favoritesList
    TYPE-TREF=/DataTypes/ImplementationDataTypes/string
    DIRECTION=OUT
    SHORT-NAME=getVersion
    SHORT-NAME=version
    TYPE-TREF=/DataTypes/ImplementationDataTypes/string
    DIRECTION=OUT
    SHORT-NAME=getTunerInfo
    SHORT-NAME=tunerInfo
    TYPE-TREF=/DataTypes/ImplementationDataTypes/STunerInfo
    DIRECTION=OUT
    SHORT-NAME=getRadioStatus
    SHORT-NAME=radioStatu
    TYPE-TREF=/DataTypes/ImplementationDataTypes/SRadioStatu
    DIRECTION=OUT
    SHORT-NAME=getRdsInfo
    SHORT-NAME=rdsInfo
    TYPE-TREF=/DataTypes/ImplementationDataTypes/SRdsInfo
    DIRECTION=OUT
    SHORT-NAME=getPtyInfo
    ARGUMENTS=
    SHORT-NAME=getPIInfo
    ARGUMENTS=
    SHORT-NAME=getPSInfo
    ARGUMENTS=
    SHORT-NAME=getPsList
    SHORT-NAME=psList
    TYPE-TREF=/DataTypes/ImplementationDataTypes/Vector_string
    DIRECTION=OUT
    SHORT-NAME=getRdsText
    SHORT-NAME=rdsText
    TYPE-TREF=/DataTypes/ImplementationDataTypes/Vector_string
    DIRECTION=OUT
    SHORT-NAME=getSettingInit
    SHORT-NAME=radioSettingInit
    TYPE-TREF=/DataTypes/ImplementationDataTypes/SRadioSettingInit
    DIRECTION=OUT
    SHORT-NAME=getSettingArea
    SHORT-NAME=settingArea
    TYPE-TREF=/DataTypes/ImplementationDataTypes/Earea
    DIRECTION=OUT
    SHORT-NAME=getSettingFmBandNum
    ARGUMENTS=
    SHORT-NAME=getSettingAmBandNum
    ARGUMENTS=
    SHORT-NAME=getBandFreqPonitNum
    ARGUMENTS=
    SHORT-NAME=getRdsSwitchStatus
    SHORT-NAME=rdsSettingInit
    TYPE-TREF=/DataTypes/ImplementationDataTypes/SRdsSettingInit
    DIRECTION=OUT
    SHORT-NAME=getSettingVersion
    SHORT-NAME=settingVersion
    TYPE-TREF=/DataTypes/ImplementationDataTypes/string
    DIRECTION=OUT
    SHORT-NAME=getHwInfo
    SHORT-NAME=hwInfo
    TYPE-TREF=/DataTypes/ImplementationDataTypes/string
    DIRECTION=OUT
    SHORT-NAME=serviceInit
    SHORT-NAME=record
    TYPE-TREF=/DataTypes/ImplementationDataTypes/sint32
    DIRECTION=IN
    SHORT-NAME=serviceDestroy
    ARGUMENTS=
    SHORT-NAME=setVolumeMute
    SHORT-NAME=mute
    TYPE-TREF=/DataTypes/ImplementationDataTypes/sint32
    DIRECTION=IN
    SHORT-NAME=setAreaInfo
    SHORT-NAME=eArea
    TYPE-TREF=/DataTypes/ImplementationDataTypes/sint32
    DIRECTION=IN
    SHORT-NAME=setFmNum
    SHORT-NAME=num
    TYPE-TREF=/DataTypes/ImplementationDataTypes/sint32
    DIRECTION=IN
    SHORT-NAME=setAmNum
    SHORT-NAME=num
    TYPE-TREF=/DataTypes/ImplementationDataTypes/sint32
    DIRECTION=IN
    SHORT-NAME=setListItemNum
    SHORT-NAME=num
    TYPE-TREF=/DataTypes/ImplementationDataTypes/sint32
    DIRECTION=IN
    SHORT-NAME=setRDSInfo
    SHORT-NAME=rdsSettingInit
    TYPE-TREF=/DataTypes/ImplementationDataTypes/SRdsSettingInit
    DIRECTION=IN
    SHORT-NAME=first
    SYMBOL=com
    SHORT-NAME=second
    SYMBOL=hinge
    Press any key to continue . . .
    
    打赏 评论
  • threenewbee 2018-05-28 03:28

    或者我这样写

     using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Xml.Linq;
    
    namespace Q690372
    {
        class Program
        {
            static string getpath(XElement node)
            {
                string s = node.Name.ToString().Replace("{http://autosar.org/schema/r4.0}", "");
                while (node.Parent != null)
                { 
                    node = node.Parent;
                    s = node.Name.ToString().Replace("{http://autosar.org/schema/r4.0}", "") + "/" + s;
                }
                return s;
            }
    
            static void Main(string[] args)
            {
                var doc = XDocument.Load(args[0]);
                foreach (var node in doc.Descendants())
                {
                    if (node.Descendants().Count() == 0)
                        Console.WriteLine(getpath(node) + "=" + node.Value);
                }
            }
        }
    }
    
    

    AUTOSAR/ADMIN-DATA/LANGUAGE=EN
    AUTOSAR/ADMIN-DATA/USED-LANGUAGES/L-10=
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/SHORT-NAME=DataTypes
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/SHORT-NAME=BaseTypes
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=boolean
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=8
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=boolean
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=uint8
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=8
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=uint8
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=uint16
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=16
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=uint16
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=uint32
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=32
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=uint32
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=uint64
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=64
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=uint64
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=sint8
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=8
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=sint8
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=sint16
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=16
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=sint16
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=sint32
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=32
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=sint32
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=sint64
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=64
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=sint64
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=float32
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=32
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=float32
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=float64
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=64
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=float64
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=UTF_8_String
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=VARIABLE_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=UTF-8
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/SHORT-NAME=ImplementationDataTypes
    中间省略
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=setRDSInfo
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/ARGUMENTS/ARGUMENT-DATA-PROTOTYPE/SHORT-NAME=rdsSettingInit
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/ARGUMENTS/ARGUMENT-DATA-PROTOTYPE/TYPE-TREF=/DataTypes/ImplementationDataTypes/SRdsSettingInit
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/ARGUMENTS/ARGUMENT-DATA-PROTOTYPE/DIRECTION=IN
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/NAMESPACES/SYMBOL-PROPS/SHORT-NAME=first
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/NAMESPACES/SYMBOL-PROPS/SYMBOL=com
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/NAMESPACES/SYMBOL-PROPS/SHORT-NAME=second
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/NAMESPACES/SYMBOL-PROPS/SYMBOL=hinge
    Press any key to continue . . .

    打赏 评论
  • threenewbee 2018-05-28 03:35

    这是第8级

     AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=boolean
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=8
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=boolean
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=uint8
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=8
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=uint8
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=uint16
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=16
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=uint16
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=uint32
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=32
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=uint32
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=uint64
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=64
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=uint64
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=sint8
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=8
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=sint8
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=sint16
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=16
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=sint16
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=sint32
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=32
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=sint32
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=sint64
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=64
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=sint64
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=float32
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=32
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=float32
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=float64
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=FIXED_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-SIZE=64
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MAX-BASE-TYPE-SIZE=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=NONE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/MEM-ALIGNMENT=0
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/NATIVE-DECLARATION=float64
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/SHORT-NAME=UTF_8_String
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/CATEGORY=VARIABLE_LENGTH
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SW-BASE-TYPE/BASE-TYPE-ENCODING=UTF-8
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/SHORT-NAME=uint8
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/CATEGORY=VALUE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/SHORT-NAME=sint32
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/CATEGORY=VALUE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/SHORT-NAME=string
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/CATEGORY=STRING
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/SHORT-NAME=Earea
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/CATEGORY=VALUE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/SHORT-NAME=SRdsSettingInit
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/CATEGORY=STRUCTURE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/SHORT-NAME=SRadioSettingInit
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/CATEGORY=STRUCTURE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/SHORT-NAME=SObtainDataInfo
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/CATEGORY=STRUCTURE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/SHORT-NAME=SActionState
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/CATEGORY=STRUCTURE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/SHORT-NAME=SPlayList
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/CATEGORY=STRUCTURE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/SHORT-NAME=STunerInfo
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/CATEGORY=STRUCTURE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/SHORT-NAME=SRadioStatu
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/CATEGORY=STRUCTURE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/SHORT-NAME=SRdsInfo
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/CATEGORY=STRUCTURE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/SHORT-NAME=Vector_sint32
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/CATEGORY=VECTOR
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/SHORT-NAME=Vector_string
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/CATEGORY=VECTOR
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/SHORT-NAME=Map_sint32_string
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/IMPLEMENTATION-DATA-TYPE/CATEGORY=ASSOCIATIVE_MAP
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/APPLICATION-PRIMITIVE-DATA-TYPE/SHORT-NAME=UTF_8_String
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/APPLICATION-PRIMITIVE-DATA-TYPE/CATEGORY=STRING
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/COMPU-METHOD/SHORT-NAME=Earea
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/AR-PACKAGES/AR-PACKAGE/ELEMENTS/COMPU-METHOD/CATEGORY=TEXTTABLE
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/EVENTS/VARIABLE-DATA-PROTOTYPE/SHORT-NAME=SwitchStateEvent
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/EVENTS/VARIABLE-DATA-PROTOTYPE/TYPE-TREF=/DataTypes/ImplementationDataTypes/string
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/EVENTS/VARIABLE-DATA-PROTOTYPE/SHORT-NAME=ChangModeEvent
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/EVENTS/VARIABLE-DATA-PROTOTYPE/TYPE-TREF=/DataTypes/ImplementationDataTypes/string
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/EVENTS/VARIABLE-DATA-PROTOTYPE/SHORT-NAME=GetFreqEvent
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/EVENTS/VARIABLE-DATA-PROTOTYPE/TYPE-TREF=/DataTypes/ImplementationDataTypes/sint32
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/EVENTS/VARIABLE-DATA-PROTOTYPE/SHORT-NAME=ActionStateEvent
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/EVENTS/VARIABLE-DATA-PROTOTYPE/TYPE-TREF=/DataTypes/ImplementationDataTypes/SActionState
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/EVENTS/VARIABLE-DATA-PROTOTYPE/SHORT-NAME=PlayListEvent
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/EVENTS/VARIABLE-DATA-PROTOTYPE/TYPE-TREF=/DataTypes/ImplementationDataTypes/SPlayList
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/EVENTS/VARIABLE-DATA-PROTOTYPE/SHORT-NAME=GetRtDataEvent
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/EVENTS/VARIABLE-DATA-PROTOTYPE/TYPE-TREF=/DataTypes/ImplementationDataTypes/SObtainDataInfo
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/EVENTS/VARIABLE-DATA-PROTOTYPE/SHORT-NAME=FavoritesListEvent
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/EVENTS/VARIABLE-DATA-PROTOTYPE/TYPE-TREF=/DataTypes/ImplementationDataTypes/SPlayList
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=switchRadio
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=setPlayFrequency
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=setRemoteOrLocal
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=setStereo
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=setPTY
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=setPI
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=setStep
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=setTA
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=jumpFreqPoint
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=saveFreqPoint
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=saveFavoriteStation
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=clearFavoritesList
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=seekAction
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=scanAction
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=updateAction
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=setVolume
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=deleteFavoriteStation
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=changeModeForRadio
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getRadioState
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getModeForRadio
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getCurPlayFrequnecy
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/ARGUMENTS=
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getFrequencyList
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getFavoritesList
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getVersion
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getTunerInfo
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getRadioStatus
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getRdsInfo
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getPtyInfo
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/ARGUMENTS=
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getPIInfo
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/ARGUMENTS=
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getPSInfo
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/ARGUMENTS=
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getPsList
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getRdsText
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getSettingInit
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getSettingArea
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getSettingFmBandNum
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/ARGUMENTS=
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getSettingAmBandNum
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/ARGUMENTS=
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getBandFreqPonitNum
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/ARGUMENTS=
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getRdsSwitchStatus
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getSettingVersion
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=getHwInfo
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=serviceInit
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=serviceDestroy
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/ARGUMENTS=
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=setVolumeMute
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=setAreaInfo
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=setFmNum
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=setAmNum
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=setListItemNum
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/METHODS/CLIENT-SERVER-OPERATION/SHORT-NAME=setRDSInfo
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/NAMESPACES/SYMBOL-PROPS/SHORT-NAME=first
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/NAMESPACES/SYMBOL-PROPS/SYMBOL=com
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/NAMESPACES/SYMBOL-PROPS/SHORT-NAME=second
    AUTOSAR/AR-PACKAGES/AR-PACKAGE/ELEMENTS/SERVICE-INTERFACE/NAMESPACES/SYMBOL-PROPS/SYMBOL=hinge
    Press any key to continue . . .
    
    打赏 评论
  • threenewbee 2018-05-28 06:51

    不替换的话,输出就是这样的。

     {http://autosar.org/schema/r4.0}AUTOSAR/{http://autosar.org/schema/r4.0}AR-PACKAGES/{http://autosar.org/schema/r4.0}AR-PACKAGE/{http://autosar.org/schema/r4.0}ELEMENTS/{http://autosar.org/schema/r4.0}SERVICE-INTERFACE/{http://autosar.org/schema/r4.0}METHODS/{http://autosar.org/schema/r4.0}CLIENT-SERVER-OPERATION/{http://autosar.org/schema/r4.0}SHORT-NAME=setFmNum
    {http://autosar.org/schema/r4.0}AUTOSAR/{http://autosar.org/schema/r4.0}AR-PACKAGES/{http://autosar.org/schema/r4.0}AR-PACKAGE/{http://autosar.org/schema/r4.0}ELEMENTS/{http://autosar.org/schema/r4.0}SERVICE-INTERFACE/{http://autosar.org/schema/r4.0}METHODS/{http://autosar.org/schema/r4.0}CLIENT-SERVER-OPERATION/{http://autosar.org/schema/r4.0}SHORT-NAME=setAmNum
    {http://autosar.org/schema/r4.0}AUTOSAR/{http://autosar.org/schema/r4.0}AR-PACKAGES/{http://autosar.org/schema/r4.0}AR-PACKAGE/{http://autosar.org/schema/r4.0}ELEMENTS/{http://autosar.org/schema/r4.0}SERVICE-INTERFACE/{http://autosar.org/schema/r4.0}METHODS/{http://autosar.org/schema/r4.0}CLIENT-SERVER-OPERATION/{http://autosar.org/schema/r4.0}SHORT-NAME=setListItemNum
    {http://autosar.org/schema/r4.0}AUTOSAR/{http://autosar.org/schema/r4.0}AR-PACKAGES/{http://autosar.org/schema/r4.0}AR-PACKAGE/{http://autosar.org/schema/r4.0}ELEMENTS/{http://autosar.org/schema/r4.0}SERVICE-INTERFACE/{http://autosar.org/schema/r4.0}METHODS/{http://autosar.org/schema/r4.0}CLIENT-SERVER-OPERATION/{http://autosar.org/schema/r4.0}SHORT-NAME=setRDSInfo
    {http://autosar.org/schema/r4.0}AUTOSAR/{http://autosar.org/schema/r4.0}AR-PACKAGES/{http://autosar.org/schema/r4.0}AR-PACKAGE/{http://autosar.org/schema/r4.0}ELEMENTS/{http://autosar.org/schema/r4.0}SERVICE-INTERFACE/{http://autosar.org/schema/r4.0}NAMESPACES/{http://autosar.org/schema/r4.0}SYMBOL-PROPS/{http://autosar.org/schema/r4.0}SHORT-NAME=first
    {http://autosar.org/schema/r4.0}AUTOSAR/{http://autosar.org/schema/r4.0}AR-PACKAGES/{http://autosar.org/schema/r4.0}AR-PACKAGE/{http://autosar.org/schema/r4.0}ELEMENTS/{http://autosar.org/schema/r4.0}SERVICE-INTERFACE/{http://autosar.org/schema/r4.0}NAMESPACES/{http://autosar.org/schema/r4.0}SYMBOL-PROPS/{http://autosar.org/schema/r4.0}SYMBOL=com
    {http://autosar.org/schema/r4.0}AUTOSAR/{http://autosar.org/schema/r4.0}AR-PACKAGES/{http://autosar.org/schema/r4.0}AR-PACKAGE/{http://autosar.org/schema/r4.0}ELEMENTS/{http://autosar.org/schema/r4.0}SERVICE-INTERFACE/{http://autosar.org/schema/r4.0}NAMESPACES/{http://autosar.org/schema/r4.0}SYMBOL-PROPS/{http://autosar.org/schema/r4.0}SHORT-NAME=second
    {http://autosar.org/schema/r4.0}AUTOSAR/{http://autosar.org/schema/r4.0}AR-PACKAGES/{http://autosar.org/schema/r4.0}AR-PACKAGE/{http://autosar.org/schema/r4.0}ELEMENTS/{http://autosar.org/schema/r4.0}SERVICE-INTERFACE/{http://autosar.org/schema/r4.0}NAMESPACES/{http://autosar.org/schema/r4.0}SYMBOL-PROPS/{http://autosar.org/schema/r4.0}SYMBOL=hinge
    Press any key to continue . . .
    
    打赏 评论

相关推荐 更多相似问题