semi合集-English.pdf - 第3114页
SEMI E125-0305 © SEMI 2003, 2005 22 10.5.2.5 RealType — Represe n ts a real (for exam ple, floatin g point) number type, and associated units. 10.5.2.6 RealType Attribute Definition Table Table 33 RealType A ttri bute De…

SEMI E125-0305 © SEMI 2003, 2005 21
10.5.1.4 ParameterTypeDefinition Association Definition Table
Table 31 ParameterTypeDefinition Association Definition
Association Role Name Definition Comments
typeInformation The type description. One and only one element of any type description
class derived from ParameterType.
10.5.1.5 ParameterType — An abstract base class from which all type description classes are derived. This class
has no attributes or associations.
10.5.2 Primitive Parameter Type Descriptions
10.5.2.1 Metadata describing types must include a mechanism for describing primitive or single-valued, types such
as integers and strings in the type system being used. The specific simple or primitive types that should be provided
are typically determined by the implementation technology that will be used to communicate values of the declared
type (for example, SECS-II, XML, OMG IDL, etc.). The primitive types described here should be considered a
minimum set that could be refined and extended to work best with the type system in use. Any specification that
translates these types into a specific type system shall define how it has mapped these primitive types into the
technology-specific type system, and shall fully specify any additional primitive type description classes beyond
those defined here.
ParameterType
IntegerType
digitsOfPrecision
RealT ype
language
maxCharacters
StringType BooleanType BinaryType
Unit
units
0..* 1
units
0..*1
UnitConfig
units1
2..*
units1
2..*
{XOR}
{XOR}
Figure 12
Describing Primitive Parameter Types
10.5.2.2 Figure 12 shows a basic set of classes that can be used to describe primitive Parameter types. The numeric
classes representing integer and real numbers can specify their associated units, and real number types can specify
the number of digits of precision. Strings can describe the associated language and a maximum number of
characters, if applicable.
10.5.2.3 IntegerType — Represents an integer type, and associated units.
10.5.2.4 IntegerType Association Definition Table
Table 32 IntegerType Association Definition
Association Role Name Definition Comments
units The available units specified for this type. Either:
One and only one element of type Unit
or:
Two or more elements of type UnitConfig, if the
type supports configurable units.

SEMI E125-0305 © SEMI 2003, 2005 22
10.5.2.5 RealType — Represents a real (for example, floating point) number type, and associated units.
10.5.2.6 RealType Attribute Definition Table
Table 33 RealType Attribute Definition
Attribute Name Definition Required Form
digitsOfPrecision The maximum number of digits that can be
provided after the decimal point by variables of
this type.
N Integer 0. If 0, there is no
restriction on the number of digits of
precision.
10.5.2.7 RealType Association Definition Table
Table 34 RealType Association Definition
Association Role Name Definition Comments
units The available units specified for this type. Either:
One and only one element of type Unit
or:
Two or more elements of type UnitConfig, if the
type supports configurable units.
Figure 13
Describing Configurable Units
10.5.2.8 Some equipment may support the ability to provide Parameter values in more than one set of units. For
each independently configurable set of units available, the equipment shall support one non-transient unit
configuration Parameter to control which units are used when communicating the values of such Parameters. The
ParameterType of such unit configuration Parameters shall be a string-based enumeration (see Section 10.5.4.1.3 ).
Each value in the enumeration shall correspond to a different unit configuration. Figure 13 shows the classes used
to describe configurable units. Not all associations and attributes of the Unit, Parameter, ParameterTypeDefinition,
ParameterType, and EnumerationType classes are shown for clarity.
NOTE 2: The equipment is not required to support configurable units in order to comply with E125; however if the equipment
does support configurable units, it shall describe the available units and their configuration using the classes defined in this
section.
10.5.2.9 The UnitConfig class (shown in Figure 13) is used to provide a mapping from each possible unit choice for
a given numeric ParameterType to the enumeration Parameter setting that selects that unit. For example, the
equipment may provide a single unit configuration Parameter to select between meter-kilogram-seconds (mks),
centimeter-gram-seconds (cgs), and English units. In that case, every numeric type with configurable units
appearing in a ParameterTypeDefinition would provide 3 UnitConfig instances – one for each of the 3 possible
enumeration settings available from the unit configuration Parameter.
1
1
1
Unit
1
0..1
unit
configParameter
UnitConfig
0..1 setting
EnumeratedString
value
description
0..1
1
Parameter
0..*
1..*
values
1
1
typeInformation
ParameterTypeDefinition
typeInformation
ParameterType
EnumerationType

SEMI E125-0305 © SEMI 2003, 2005 23
10.5.2.10 Because the mapping from an available unit to the Configuration Parameter setting that selects it is
described by the UnitConfig class, it is not required to use the “affectedParameters” attribute (see Section
10.4.11.5.1) to refer to the Parameters whose units are changed by the Configuration Parameter when describing its
classification.
10.5.2.11 If a ParameterTypeDefinition includes numeric types with configurable units, then all Parameters that are
declared to be of that type shall support the configurable units described in the ParameterTypeDefinition.
10.5.2.12 UnitConfig — This class describes a configurable unit setting available for a numeric ParameterType.
UnitConfig provides a mapping between the available unit, the non-transient configuration Parameter used to change
the selected unit, and the enumeration value of that configuration Parameter that results in the selection of the unit.
This class has no attributes.
10.5.2.13 UnitConfig Association Definition Table
Table 35 UnitConfig Association Definition
Association Role Name Definition Comments
unit An available unit supported by this type. One and only one element of type Unit.
configParameter The unit configuration Parameter whose value
selects the unit.
One and only one element of type Parameter.
The Parameter must have a string-based
enumeration ParameterTypeDefinition.
setting The enumeration value which, when set on the
corresponding configParameter, results in the
available unit being selected.
One and only one element of type
EnumeratedString.
10.5.2.14 StringType — Represents a string type.
10.5.2.15 StringType Attribute Definition Table
Table 36 StringType Attribute Definition
Attribute Name Definition Required Form
language Identifies the language used to represent the string. Y Text, must be equal to an IETF RFC
1766 language tag, using ISO 3166 to
name countries and subdivisions, and
ISO 639 to name languages.
maxCharacters The maximum number of characters that this string
can contain.
N Integer 0. If 0, there is no restriction
on the number of characters.
10.5.2.16 BooleanType — Represents a Boolean type.
10.5.2.17 BinaryType — Represents a binary type.
10.5.3 Composite Type Description
10.5.3.1 Describing Arrays
10.5.3.1.1 Arrays are container types that can hold one or more values that are of the same type. Figure 14 shows
how to describe the type of the elements in a given array. An array can refer to only one of the primitive or
composite types, and can declare that it has a maximum number of elements. For example, an array description that
has a maxElements value of 0 and refers to the RealType primitive type represents an array of real numbers (for
example, float or double) that has no limitation on the number of values it can contain.
10.5.3.1.2 Each element of an array must represent the same physical concept. For example, an array of real
numbers must not be used to represent a repeating sequence of a measured value in odd-numbered elements and the
uncertainty for the measurement in even-numbered elements. In such cases, an array of StructureType elements is
the correct representation, where the different concepts appear as different fields in the structure (for example, a
measurement field and an uncertainty field). A human-readable description of the meaning of the array elements is
required.