ГОСТ РИСО 20242-4—2012
<xsd:extension base=’GDI_DCD’>
<xsd:sequence>
<xsd:element name="myDeviceOr type^DeviceOI" minOccurs="0* maxOccurs="unbounded7>
</xsd:sequence>
</xsd:extension>
</xsd :complexContent>
</xsd:complexType>
<!-- Virtual Device Types have fixed numbers for identification in modulelD.
This is a restriction of type GDI_Module. If you want to avoid
restriction, move attribute moduleld from type GDI_Module with a fixed
number to type DeviceOI below, which then is an extension of GDI_Module
and type Device01_ will be obsolete. ->
<xsd:complexType name="Device01_’>
<xsd:complexContent>
<xsd:restriction base="GDI_Module*>
<xsd:attribute name=*moduleld" type="xsd:unsignedShort" use=*required" fixed="10007>
</xsd:restrictior»
</xsd:complexContent>
</xsd:complexType>
<!- Virtual Device Types typically contain a Create Paramter of a specific
type and several Function Objects of different types.
This exemplary Function Object type describes an input channel and it is
possible to use up to 16 channels with each Virtual Device instance. ->
<xsd:complexType name="Device01*>
<xsd:complexContent>
<xsd:extension base=*Device01_">
<xsd:sequence>
<xsd:e!ement name=’NumOfChannel" type="CRParamDevice7>
<xsd:element name="fnADInput" type=*IFADInput* minOccurs-’O" maxOccurs=*167>
</xsd:sequence>
</xsd:extension>
</xsd :complexContent>
</xsd:complexType>
<!- A simple Create Parameter for the Virtual Device of type DeviceOI->
<xsd:complexType name="CRParamDevice">
<xsd:complexContent>
<xsd:extension base="CreateParameter">
<xsd:sequence>
<xsd:element name=*Value" type=*xsd:unsignedShort" default=’57>
</xsd:sequence>
</xsd:extension>
</xsd :complexContent>
</xsd:complexType>
<!- Function Object Types have fixed numbers for identification in funclD.
This is a restriction of type GDIJnterface. If you want to avoid
restriction, move attribute funcld from type GDIJnterface with a fixed
number to type IFADInput below, which then is an extension of
GDIJnterface and type IFADInput_ will be obsolete. ->
<xsd:compiexType name="IFADInput_“>
<xsd:complexContent>
<xsd:restriction base="GDIJnterface">
<xsdattribute name=”funcld" type=“xsd:unsignedShort* use="required" fixed=“1077"/>
</xsd:restriction>
<yxsd:complexContent>
</xsd:complexType>
<!- A simple Function Object type for the Virtual Device of type DeviceOI.
Function Object types typically contain a Create Parameter and several
Communication Objects of kind GDI-Attribute or GDI-Parameter.
An example with additional GDI-Operaton is given in DCD2.xsd —>
<xsd:complexType name=*IFADInput’>
<xsd:complexContent>
<xsdextension base="l FADInput_">
23