semi合集-English.pdf - 第3163页

SEMI E125.1-0305 © SEMI 2005 17 description class has been mapped to the XML Schema complexTypes in this specification, and lists the additional type description classes not defined in SEMI E125. The table also shows the…

100%1 / 7923
SEMI E125.1-0305 © SEMI 2005 16
“ParameterType” is mapped using a reference to an XML Schema model group named
“TypeDescriptionSelectionGroup”. This model group consists of a choice compositor (see ¶6.1.3) containing
elements representing instances of each of the possible derived type description classes.
Figure 10
ParameterTypeDefinitionType Global complexType
Table 23 SEMI E125 ParameterTypeDefinition
ParameterTypeDefinitionType Translation Table
Attribute or Role Name UML Name/Type XML Element or Attribute XML Name/Type
name text attribute name: xsd:string
description text element Description: xsd:string
typeInformation ParameterType N/A (group reference) TypeDescriptionSelectionGroup
7.2.9.5.4 Extended Parameter Type Description
7.2.9.5.4.1 This specification adds new type description complexTypes to the minimal set defined in SEMI E125.
These additional types correspond to built-in primitive and derived types defined by the XML Schema
specifications, and a variable type for Parameters whose values have variable data types at runtime. If a Parameter’s
type is described using the SEMI E125.1 complexTypes, the Parameter’s value in XML instance documents must be
reported using the corresponding XML Schema types. The following table shows how each SEMI E125 type
SEMI E125.1-0305 © SEMI 2005 17
description class has been mapped to the XML Schema complexTypes in this specification, and lists the additional
type description classes not defined in SEMI E125. The table also shows the corresponding schema types that shall
be used for reporting values in XML of Parameters that have been described using the SEMI E125.1 complexTypes.
Table 24 SEMI E125 Type Description Mapping Table
E125 Type Description UML Class E125.1 Type Description complexType XML Schema Type of Parameter Values
StringType StringTypeType xsd:string
BooleanType BooleanTypeType xsd:boolean
BinaryType Base64BinaryTypeType xsd:base64Binary
IntegerType ByteTypeType, ShortTypeType, IntTypeType,
LongTypeType
xsd:byte, xsd:short, xsd:int, xsd:long
RealType FloatTypeType, DoubleTypeType xsd:float, xsd:double
N/A DateTimeTypeType xsd:dateTime
N/A AnyURITypeType xsd:anyURI
N/A VariableTypeType See ¶7.2.9.5.16
ArrayType ArrayTypeType See ¶7.2.9.5.18.1
StructureType StructureTypeType See ¶7.2.9.5.19.1
EnumeratedType EnumeratedTypeType See ¶7.2.9.5.20.1
7.2.9.5.5 SECS-II Type Mapping
7.2.9.5.5.1 Many equipment suppliers may provide data items via the traditional SECS/GEM control interface that
can be described via SEMI E125. For consistency between those data types and their metadata descriptions, refer to
¶10.5.4 of SEMI E125. For specific types supported in SECS-II, see the following table.
Table 25 SECS-II Type Description Mapping Table
SECS-II Type Name SEMI E125 Type Description XMLSchema Built-In Base Type
Binary Base64BinaryType xsd:base64Binary
Boolean BooleanType xsd:boolean
ASCII StringType xsd:string
JIS-8 StringType xsd:string
2 byte character StringType xsd:string
8 byte integer (signed) LongType xsd:long
1 byte integer (signed) ByteType xsd:byte
2 byte integer (signed) ShortType xsd:short
4 byte integer (signed) IntType xsd:int
8 byte floating point DoubleType xsd:double
4 byte floating point FloatType xsd:float
8 byte integer (unsigned) LongType, Base64Binary xsd:long, xsd:base64Binary (big-endian)
1 byte integer (unsigned) ShortType xsd:short
2 byte integer (unsigned) IntType xsd:int
4 byte integer (unsigned) LongType xsd:long
List ArrayType, StructureType n/a
NOTE 2: For 8-byte unsigned integers, it is recommended either that such values are described as LongType if the actual value
range in use can be stored via an unsigned 8-byte integer, or sent as a (big-endian) byte array. In general, use of unsigned integer
types is discouraged.
7.2.9.5.6 StringTypeType — This global complexType is the XML Schema representation of the SEMI E125
StringType class. The following table describes the mapping of the UML class to this XML Schema complexType.
The “language” attribute is of type “LanguageCodeType”, which is a regular expression that enforces the IETF RFC
1766 language code format specified in SEMI E125.
SEMI E125.1-0305 © SEMI 2005 18
Table 26 E125 StringType StringTypeType Translation Table
Attribute or Role Name UML Name/Type XML Element or Attribute XML Name/Type
language text attribute language: esd:LanguageCodeType
maxCharacters integer attribute maxCharacters: xsd:int
7.2.9.5.7 BooleanTypeType — This global complexType is the XML Schema representation of the SEMI E125
BooleanType class. No attributes are defined for this class in SEMI E125, thus the BooleanTypeType definition
includes no elements or attributes.
7.2.9.5.8 Base64BinaryTypeType — This global complexType is the XML Schema representation of the SEM E125
BinaryType class. This specification adds an optional attribute to describe the format of the binary variable using
industry standard MIME media type names.
Table 27 SEMI E125 BinaryType
Base64BinaryTypeType Translation Table
Attribute or Role Name UML Name/Type XML Element or Attribute XML Name/Type
N/A N/A attribute mimeTypeName: xsd:string
7.2.9.5.9 ByteTypeType – This global complexType is the XML Schema representation of the SEMI E125
IntegerType class. The following table describes the mapping of the UML class to this XML Schema complexType.
The association from IntegerType to the Unit class in SEMI E125 has been modeled using a reference attribute that
refers to the specific unit using its unique identifier. The association to the UnitConfig class has been modeled using
a container element for a collection of unit id’s, a reference to the Parameter that controls their settings, and the
enumeration settings that select those units.
Table 28 SEMI E125 IntegerType ByteTypeType Translation Table
Attribute or Role Name UML Name/Type XML Element or Attribute XML Name/Type
units Unit element Units: esd:UnitRefType
units UnitConfig element
AvailableUnits: esd:UnitConfigArrayType
(see ¶7.2.9.5.10).
7.2.9.5.10 UnitConfigArrayType — This global complexType is the XML Schema representation of the SEMI
E125 UnitConfig class. It provides a reference to the configuration Parameter that controls the reported units for
Parameters of this type, and a list of the units that can be selected by different settings for that configuration
Parameter.
Table 29 SEMI E125 UnitConfig UnitConfigArrayType Translation Table
Attribute or Role Name UML Name/Type XML Element or Attribute XML Name/Type
configParameter Parameter attributes configParamSource: cem:LocatorType
configParamName: xsd:string
See ¶¶7.2.9.5.10.1 and 7.2.9.5.10.2 for details.
unit Unit attribute, 1 for each entry in
the UnitConfigArrayType.
unitId: xsd:string
setting EnumeratedString attribute, 1 for each entry in
the UnitConfigArrayType.
setting: xsd:string
See ¶7.2.9.5.10.3 for details.
7.2.9.5.10.1 configParamSource — This attribute shall be set to a valid CEM Locator identifying the equipment
node that provides the unit configuration Parameter.
7.2.9.5.10.2 configParamName — This attribute shall be set to the value of the “name” attribute of the Parameter
that establishes the units to be used.