systemswstubs/ssyreference/group/SsyReference_Config_template.xml
changeset 46 e1758cbb96ac
parent 1 ffb8e2ddd8dc
equal deleted inserted replaced
43:e71858845f73 46:e1758cbb96ac
       
     1 <!-- SsyReference configuration file template -->
       
     2 <!-- ********************************************************** -->
       
     3 <!-- * NOTE. DO NOT LEFT ANY COMMENTS INTO ACTUAL CONFIG FILE * -->
       
     4 <!-- ********************************************************** -->
       
     5 <SsyReferenceConfig>
       
     6     <SsyGeneralInformation>
       
     7         <!-- General information for SSY itself -->
       
     8         <Properties>
       
     9         <!-- General properties of the sensor -->
       
    10     	  <!-- TSensrvProperty. Each property has its own item defined in here -->
       
    11         	
       
    12         	<!-- Property example 1 -->
       
    13         	<PropertyItem PropertyId="TSensrvPropertyId"
       
    14         	    ItemIndex="Item index in channel data structure"
       
    15         		PropertyValue="Value of the property"
       
    16         		MaxValue="Maximum value of data"
       
    17         		MinValue="Minimum value of data"
       
    18         		ReadOnly="Read only or modifiable"
       
    19         		PropertyType="TSensrvPropertyType">
       
    20             </PropertyItem>
       
    21             <!-- Property example 2 -->
       
    22         	<PropertyItem PropertyId="TSensrvPropertyId"
       
    23         		ItemIndex="Item index in channel data structure"
       
    24         		PropertyValue="Value of the property"
       
    25         		MaxValue="Maximum value of data"
       
    26         		MinValue="Minimum value of data"
       
    27         		ReadOnly="Read only or modifiable"
       
    28         		PropertyType="TSensrvPropertyType">
       
    29             </PropertyItem>
       
    30         </Properties>
       
    31     </SsyGeneralInformation>
       
    32     <ChannelInformationGroup ChannelCount="2">
       
    33     	<!-- Channel definitions. Each channel item contains all information of one channel -->
       
    34     	<!-- Channel example 1 -->
       
    35     	<ChannelItem 
       
    36     		ChannelId="This value is updated runtime when Sensrv has defined channel IDs" 
       
    37     		ContextType="TSensrvContextType" 
       
    38     		Quantity="TSensrvQuantity" 
       
    39     		ChannelType="TSensrvChannelTypeId" 
       
    40     		Location="Location of the sensor" 
       
    41     		Vendor="Vendor ID"
       
    42     		DataTypeId="data type ID identifies data type defined here. See sensrvchanneldatatypes.h">
       
    43     		  <!-- One channel definition. Each channel has its own item block -->
       
    44         	<!-- TSensrvChannelInfo. Contains information of this channel; Context type, Quantity etc. --> 
       
    45         	
       
    46         	<!-- Contains properties of this channel. -->
       
    47         	<Properties>
       
    48         	  <!-- TSensrvProperty. Each property has its own item defined in here -->
       
    49         		<!-- Property example 3 -->
       
    50     		    <PropertyItem PropertyId="TSensrvPropertyId"
       
    51     		      ItemIndex="Item index in channel data structure"
       
    52     		      PropertyValue="Value of the property"
       
    53     		      MaxValue="Maximum value of data"
       
    54     		      MinValue="Minimum value of data"
       
    55     		      ReadOnly="Read only or modifiable"
       
    56     		      PropertyType="TSensrvPropertyType">
       
    57         		</PropertyItem>
       
    58     		    <!-- Property example 4 -->
       
    59     		    <PropertyItem PropertyId="TSensrvPropertyId"
       
    60     		      ItemIndex="Item index in channel data structure"
       
    61     		      PropertyValue="Value of the property"
       
    62     		      MaxValue="Maximum value of data"
       
    63     		      MinValue="Minimum value of data"
       
    64     		      ReadOnly="Read only or modifiable"
       
    65     		      PropertyType="TSensrvPropertyType">
       
    66         		</PropertyItem>
       
    67         	</Properties>
       
    68 
       
    69             <!-- Channel data. Information of generated data by this channel.  -->
       
    70             <!-- There may be several different (yet same type) data items. Next data item is added to  -->
       
    71             <!-- buffer after the previous data items (all according to count) are added and last Interval is passed -->
       
    72              
       
    73             <ChannelData StartIntervalMs="Time in milliseconds to start filling buffer after StartChannelData()">
       
    74                 <ChannelDataItem DataTypeId="data type ID identifies data type defined here. See sensrvchanneldatatypes.h" count="Number of this data items to be added into buffer (with the same values)" 
       
    75     			     									 IntervalMs="Time in milliseconds after next data item is added into buffer">
       
    76                     <!-- Content of this channel item is dependent on the type of this channel. It must be one and only one of the following -->
       
    77                     <SsyRefChannelDataAxis XAxis="Integer value of X Axis" YAxis="Integer value of Y Axis" ZAxis="Integer value of Z Axis" ><!-- This type has DataTypeID 0x00010001 --></SsyRefChannelDataAxis>
       
    78                     <SsyRefChannelDataTapping Direction="direction of tapping"><!-- This type has DataTypeID 0x00010002 --></SsyRefChannelDataTapping>
       
    79                 </ChannelDataItem>
       
    80 
       
    81                 <!-- Next channel data item -->
       
    82                 <ChannelDataItem DataTypeId="data type ID identifies data type defined here. See sensrvchanneldatatypes.h" count="Number of this data items to be added into buffer (with the same values)" 
       
    83     			     									 IntervalMs="Time in milliseconds after next data item is added into buffer">
       
    84                     <!-- Content of this channel item is dependent on the type of this channel. It must be one and only one of the following -->
       
    85                     <SsyRefChannelDataAxis XAxis="Integer value of X Axis" YAxis="Integer value of Y Axis" ZAxis="Integer value of Z Axis" ><!-- This type has DataTypeID 0x00010001 --></SsyRefChannelDataAxis>
       
    86                     <SsyRefChannelDataTapping Direction="direction of tapping"><!-- This type has DataTypeID 0x00010002 --></SsyRefChannelDataTapping>
       
    87                 </ChannelDataItem>
       
    88             </ChannelData>
       
    89     	</ChannelItem>
       
    90     	<!-- Channel example 2 -->
       
    91     	<ChannelItem 
       
    92     		ChannelId="This value is updated runtime when Sensrv has defined channel IDs" 
       
    93     		ContextType="TSensrvContextType" 
       
    94     		Quantity="TSensrvQuantity" 
       
    95     		ChannelType="TSensrvChannelTypeId" 
       
    96     		Location="Location of the sensor" 
       
    97     		Vendor="Vendor ID"
       
    98     		DataTypeId="data type ID identifies data type defined here. See sensrvchanneldatatypes.h">
       
    99     		<!-- One channel definition. Each channel has its own item block -->
       
   100         	<!-- TSensrvChannelInfo. Contains information of this channel; Context type, Quantity etc. -->
       
   101         	
       
   102             <!-- Contains properties of this channel. -->
       
   103         	<Properties>
       
   104         	  	 <!-- TSensrvProperty. Each property has its own item defined in here -->
       
   105         		 <!-- Property example 5 -->
       
   106     		    <PropertyItem PropertyId="TSensrvPropertyId"
       
   107     		      ItemIndex="Item index in channel data structure"
       
   108     		      PropertyValue="Value of the property"
       
   109     		      MaxValue="Maximum value of data"
       
   110     		      MinValue="Minimum value of data"
       
   111     		      ReadOnly="Read only or modifiable"
       
   112     		      PropertyType="TSensrvPropertyType">
       
   113         		</PropertyItem>
       
   114 
       
   115         		<!-- Property example 6 -->
       
   116     		    <PropertyItem PropertyId="TSensrvPropertyId"
       
   117     		      ItemIndex="Item index in channel data structure"
       
   118     		      PropertyValue="Value of the property"
       
   119     		      MaxValue="Maximum value of data"
       
   120     		      MinValue="Minimum value of data"
       
   121     		      ReadOnly="Read only or modifiable"
       
   122     		      PropertyType="TSensrvPropertyType">
       
   123         	    </PropertyItem>
       
   124         	</Properties>
       
   125 
       
   126             <!-- Channel data. Information of generated data by this channel.  -->
       
   127             <!-- There may be several different (yet same type) data items. Next data item is added to  -->
       
   128             <!-- buffer after the previous data items (all according to count) are added and last Interval is passed -->
       
   129              
       
   130             <ChannelData StartIntervalMs="Time in milliseconds to start filling buffer after StartChannelData()">
       
   131                 <ChannelDataItem DataTypeId="data type ID identifies data type defined here. See sensrvchanneldatatypes.h" count="Number of this data items to be added into buffer (with the same values)" 
       
   132     			     									 IntervalMs="Time in milliseconds after next data item is added into buffer">
       
   133                     <!-- Content of this channel item is dependent on the type of this channel. It must be one and only one of the following -->
       
   134                     <SsyRefChannelDataAxis XAxis="Integer value of X Axis" YAxis="Integer value of Y Axis" ZAxis="Integer value of Z Axis" ><!-- This type has DataTypeID 0x00010001 --></SsyRefChannelDataAxis>
       
   135                     <SsyRefChannelDataTapping Direction="direction of tapping"><!-- This type has DataTypeID 0x00010002 --></SsyRefChannelDataTapping>
       
   136                     </ChannelDataItem>
       
   137 
       
   138                 <!-- Next channel data item -->
       
   139                 <ChannelDataItem DataTypeId="data type ID identifies data type defined here. See sensrvchanneldatatypes.h" count="Number of this data items to be added into buffer (with the same values)" 
       
   140     			     									 IntervalMs="Time in milliseconds after next data item is added into buffer">
       
   141                     <!-- Content of this channel item is dependent on the type of this channel. It must be one and only one of the following -->
       
   142                     <SsyRefChannelDataAxis XAxis="Integer value of X Axis" YAxis="Integer value of Y Axis" ZAxis="Integer value of Z Axis" ><!-- This type has DataTypeID 0x00010001 --></SsyRefChannelDataAxis>
       
   143                     <SsyRefChannelDataTapping Direction="direction of tapping"><!-- This type has DataTypeID 0x00010002 --></SsyRefChannelDataTapping>
       
   144                 </ChannelDataItem>
       
   145             </ChannelData>
       
   146     	</ChannelItem>
       
   147     </ChannelInformationGroup>
       
   148 </SsyReferenceConfig>