コード例 #1
0
 static JDFAutoStrap()
 {
     atrInfoTable[0]  = new AtrInfoTable(AttributeName.MATERIAL, 0x22222221, AttributeInfo.EnumAttributeType.enumeration, EnumMaterial.getEnum(0), null);
     atrInfoTable[1]  = new AtrInfoTable(AttributeName.STRAPCOLOR, 0x33333331, AttributeInfo.EnumAttributeType.string_, null, null);
     elemInfoTable[0] = new ElemInfoTable(ElementName.CONTACT, 0x33333331);
     elemInfoTable[1] = new ElemInfoTable(ElementName.IDENTIFICATIONFIELD, 0x33333331);
 }
コード例 #2
0
 ///
 ///          <summary> * (9) get attribute Material </summary>
 ///          * <returns> the value of the attribute </returns>
 ///
 public virtual EnumMaterial getMaterial()
 {
     return(EnumMaterial.getEnum(getAttribute(AttributeName.MATERIAL, null, null)));
 }
コード例 #3
0
 static JDFAutoCoilBindingParams()
 {
     atrInfoTable[0]  = new AtrInfoTable(AttributeName.TUCKED, 0x33333333, AttributeInfo.EnumAttributeType.boolean_, null, "false");
     atrInfoTable[1]  = new AtrInfoTable(AttributeName.BRAND, 0x33333333, AttributeInfo.EnumAttributeType.string_, null, null);
     atrInfoTable[2]  = new AtrInfoTable(AttributeName.COLOR, 0x33333333, AttributeInfo.EnumAttributeType.string_, null, null);
     atrInfoTable[3]  = new AtrInfoTable(AttributeName.DIAMETER, 0x33333333, AttributeInfo.EnumAttributeType.double_, null, null);
     atrInfoTable[4]  = new AtrInfoTable(AttributeName.MATERIAL, 0x33333333, AttributeInfo.EnumAttributeType.enumeration, EnumMaterial.getEnum(0), null);
     atrInfoTable[5]  = new AtrInfoTable(AttributeName.SHIFT, 0x44444433, AttributeInfo.EnumAttributeType.double_, null, null);
     atrInfoTable[6]  = new AtrInfoTable(AttributeName.THICKNESS, 0x33333333, AttributeInfo.EnumAttributeType.double_, null, null);
     elemInfoTable[0] = new ElemInfoTable(ElementName.HOLEMAKINGPARAMS, 0x66666611);
 }
コード例 #4
0
        // ************************************************************************
        // * Attribute getter / setter
        // * ************************************************************************
        //

        //         ---------------------------------------------------------------------
        //        Methods for Attribute Material
        //        ---------------------------------------------------------------------
        ///
        ///          <summary> * (5) set attribute Material </summary>
        ///          * <param name="enumVar">: the enumVar to set the attribute to </param>
        ///
        public virtual void setMaterial(EnumMaterial enumVar)
        {
            setAttribute(AttributeName.MATERIAL, enumVar == null ? null : enumVar.getName(), null);
        }
コード例 #5
0
 static JDFAutoWireCombBindingParams()
 {
     atrInfoTable[0]  = new AtrInfoTable(AttributeName.FLIPBACKCOVER, 0x33333331, AttributeInfo.EnumAttributeType.boolean_, null, "false");
     atrInfoTable[1]  = new AtrInfoTable(AttributeName.SHAPE, 0x33333333, AttributeInfo.EnumAttributeType.enumeration, EnumShape.getEnum(0), "Single");
     atrInfoTable[2]  = new AtrInfoTable(AttributeName.BRAND, 0x33333333, AttributeInfo.EnumAttributeType.string_, null, null);
     atrInfoTable[3]  = new AtrInfoTable(AttributeName.COLOR, 0x33333333, AttributeInfo.EnumAttributeType.string_, null, null);
     atrInfoTable[4]  = new AtrInfoTable(AttributeName.DIAMETER, 0x33333333, AttributeInfo.EnumAttributeType.double_, null, null);
     atrInfoTable[5]  = new AtrInfoTable(AttributeName.DISTANCE, 0x44444433, AttributeInfo.EnumAttributeType.double_, null, null);
     atrInfoTable[6]  = new AtrInfoTable(AttributeName.MATERIAL, 0x33333333, AttributeInfo.EnumAttributeType.enumeration, EnumMaterial.getEnum(0), null);
     atrInfoTable[7]  = new AtrInfoTable(AttributeName.THICKNESS, 0x33333333, AttributeInfo.EnumAttributeType.double_, null, null);
     elemInfoTable[0] = new ElemInfoTable(ElementName.HOLEMAKINGPARAMS, 0x66666611);
 }