3.4.1.1 基本EC属性的定义


        介绍复杂技术的最简洁途径就是举例说明。我们先来看一段EC类的定义:

       

<ECClass typeName="CimObject" isDomainClass="True" isCustomAttributeClass="False" isStruct="False">
        <ECProperty propertyName="DesignPhase" typeName="int" displayLabel="Design Phase"/>
        <ECProperty propertyName="Name" typeName="string" displayLabel="Object Name"/>
        <ECArrayProperty propertyName="DoubleArray" typeName="double" displayLabel="LongiMargin"                minOccurs="0" maxOccurs="unbounded" />
</ECClass>

      从上面的内容可以看出,它代表的是EC类的定义,所包含的信息如下: