complexType "eng_unit_typeTYPE"
Namespace:
Content:
complex, 12 attributes, 1 element
Defined:
globally in CRIS_Complete_V3-2-1_[31-Dec-2008].xsd, see XML source
Includes:
definitions of 12 attributes and 1 element
Used:
XML Representation Summary
<...
    eu_db_site
 = 
xsd:hexBinary
    eu_db_id
 = 
xsd:unsignedInt
    eu_type_code
 = 
xsd:unsignedInt
    ru_type_code
 = 
xsd:unsignedInt
    mult_fact_to_ref
 = 
xsd:double
    refer_off_to_ref
 = 
xsd:double
    user_tag_ident
 = 
xsd:string
    name
 = 
xsd:string
    gmt_last_updated
 = 
xsd:dateTime
    last_upd_db_site
 = 
xsd:hexBinary
    last_upd_db_id
 = 
xsd:unsignedInt
    rstat_type_code
 = 
xsd:unsignedShort
    >
   
Content: 
lcinfo?
</...>
Content Elements (1):
lcinfo (type lcinfo)
Known Usage Locations
Annotation
Engineering Unit Type
Note: MIMOSA populates and maintains the enterprise zero, site zero (eu_db_site = “0000000000000000”) entries in this table. To convert between units, a multiplication factor from reference plus an offset scalar is provided in the columns mult_fact_to_ref and refer_off_to_ref, respecitively.
Y[eng units] = (X[ref units] * mult_fact_to_ref) + refer_off_to_ref
Y[ref units] = (X[eng units] - refer_off_to_ref) / mult_fact_to_ref
XML Source (w/o annotations (13))
<xsd:complexType name="eng_unit_typeTYPE">
<xsd:sequence>
<xsd:element minOccurs="0" name="lcinfo" type="lcinfo"/>
</xsd:sequence>
<xsd:attribute name="eu_db_site" type="site_codeSimpleType" use="required"/>
<xsd:attribute name="eu_db_id" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="eu_type_code" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="ru_type_code" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="mult_fact_to_ref" type="xsd:double" use="required"/>
<xsd:attribute name="refer_off_to_ref" type="xsd:double" use="required"/>
<xsd:attribute name="user_tag_ident" type="varchar254" use="optional"/>
<xsd:attribute name="name" type="varchar254" use="required"/>
<xsd:attribute name="gmt_last_updated" type="dateTimeWithoutTimezone" use="optional"/>
<xsd:attribute name="last_upd_db_site" type="site_codeSimpleType" use="optional"/>
<xsd:attribute name="last_upd_db_id" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="rstat_type_code" type="xsd:unsignedShort" use="optional"/>
</xsd:complexType>
Attribute Detail (defined in this component only; 12/12)
eu_db_site
Type:
Use:
required
Foreign key reference to Site_Database.db_site, Included in composite primary key
Attribute Value
xsd:hexBinary
Length:
8
XML Source (w/o annotations (1))
<xsd:attribute name="eu_db_site" type="site_codeSimpleType" use="required"/>

eu_db_id
Type:
xsd:unsignedInt, predefined
Use:
required
Foreign key reference to Site_Database.db_id, Included in composite primary key
XML Source (w/o annotations (1))
<xsd:attribute name="eu_db_id" type="xsd:unsignedInt" use="required"/>

eu_type_code
Type:
xsd:unsignedInt, predefined
Use:
required
Included in composite primary key
XML Source (w/o annotations (1))
<xsd:attribute name="eu_type_code" type="xsd:unsignedInt" use="required"/>

ru_type_code
Type:
xsd:unsignedInt, predefined
Use:
required
Foreign key reference to Ref_Unit_Type.ru_type_code
XML Source (w/o annotations (1))
<xsd:attribute name="ru_type_code" type="xsd:unsignedInt" use="required"/>

mult_fact_to_ref
Type:
xsd:double, predefined
Use:
required
XML Source (w/o annotations (1))
<xsd:attribute name="mult_fact_to_ref" type="xsd:double" use="required"/>

refer_off_to_ref
Type:
xsd:double, predefined
Use:
required
XML Source (w/o annotations (1))
<xsd:attribute name="refer_off_to_ref" type="xsd:double" use="required"/>

user_tag_ident
Type:
Use:
optional
Short user-defined tag/identifier
Attribute Value
xsd:string
MaxLength:
254
XML Source (w/o annotations (1))
<xsd:attribute name="user_tag_ident" type="varchar254" use="optional"/>

name
Type:
Use:
required
Full user-defined name/description
Attribute Value
xsd:string
MaxLength:
254
XML Source (w/o annotations (1))
<xsd:attribute name="name" type="varchar254" use="required"/>

gmt_last_updated
Type:
Use:
optional
UTC/GMT timestamp for the last change to this record
Attribute Value
xsd:dateTime
Pattern:
[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.?[0-9]{0,9}
XML Source (w/o annotations (1))
<xsd:attribute name="gmt_last_updated" type="dateTimeWithoutTimezone" use="optional"/>

last_upd_db_site
Type:
Use:
optional
Foreign key reference to Site_Database.db_site which identifies the database creating/updating/soft deleting this entry
Attribute Value
xsd:hexBinary
Length:
8
XML Source (w/o annotations (1))
<xsd:attribute name="last_upd_db_site" type="site_codeSimpleType" use="optional"/>

last_upd_db_id
Type:
xsd:unsignedInt, predefined
Use:
optional
Foreign key reference to Site_Database.db_id which identifies the database creating/updating/soft deleting this entry
XML Source (w/o annotations (1))
<xsd:attribute name="last_upd_db_id" type="xsd:unsignedInt" use="optional"/>

rstat_type_code
Type:
xsd:unsignedShort, predefined
Use:
optional
Foreign key reference to Row_Status_Type.rstat_type_cod which determines the status of this entry
XML Source (w/o annotations (1))
<xsd:attribute name="rstat_type_code" type="xsd:unsignedShort" use="optional"/>
Content Element Detail (defined in this component only; 1/1)
lcinfo
Type:
lcinfo, complex content
XML Source
<xsd:element minOccurs="0" name="lcinfo" type="lcinfo"/>

XML schema documentation generated with DocFlex/XML 1.7.2b using DocFlex/XML | XSDDoc 2.1.0b template set