![Crossbow Stargate NetBridge Скачать руководство пользователя страница 49](http://html1.mh-extra.com/html/crossbow/stargate-netbridge/stargate-netbridge_user-manual_2688835049.webp)
Stargate NetBridge Gateway User’s Manual
</XField>
<XField name="mic" byteoffset="22" length="2" type="uint16"/>
</XFields>
…
</XFieldExtractor>
</XServeConfig>
<XFieldExtractor>
The root document of any XML Configuration file is
<XFieldExtractor>
. Field Extractor
defines a single parser containing a set of fields, a filter, and any data sink parameters.
<XFieldExtractor name=NAME order=ORDER>
…….
</XFieldExtractor>
Table 8-1. XFieldExtractor Attributes
Attribute
Description
Required
name
The name of the XML Parser. XML Parser names
should be unique.
YES
order
DataRows are passed to Datasinks in a specified
order. The order is determined by the the order
attribute. Orders are sorted with lowest number being
first and highest number being last
YES
<XFields>
The root of the Field Definition section is the
<XFields
> tag. There is only
<XFields
> tag in
a Field Extractor and it contains all Field mapping definitions.
<XFields>
…….
</XFields>
<XField>
The <
XField
> tag defines a single name value pair mapping. The name value pairing is done by
assigning a portion of the bytes in the data packet to a name.
Table 8-2. XField Attributes
Attribute
Description
Required
name
The name of the field. The name should be unique
within the Field Extractor.
YES
byteoffset
The position of the value of this field in the packet
relative to the beginning of the packet.
YES
length
The size of the value in bytes.
YES
type
The type of the field value. Possible values are:
•
byte
•
char
•
short
YES
<XField name="light" byteoffset="20" length="2" type="uint16">
…
</XField>
Doc. # 7430-0449-01 Rev. A
Page
43
Содержание Stargate NetBridge
Страница 1: ...Stargate NetBridge Gateway User s Manual Revision A October 2007 PN 7430 0449 01 ...
Страница 6: ......
Страница 60: ......
Страница 61: ......