Exemplo n.º 1
0
 ///
 ///          <summary> * (9) get attribute CastingMaterial </summary>
 ///          * <returns> the value of the attribute </returns>
 ///
 public virtual EnumCastingMaterial getCastingMaterial()
 {
     return(EnumCastingMaterial.getEnum(getAttribute(AttributeName.CASTINGMATERIAL, null, null)));
 }
Exemplo n.º 2
0
 static JDFAutoThreadSewingParams()
 {
     atrInfoTable[0]  = new AtrInfoTable(AttributeName.BLINDSTITCH, 0x33333333, AttributeInfo.EnumAttributeType.boolean_, null, "false");
     atrInfoTable[1]  = new AtrInfoTable(AttributeName.CASTINGMATERIAL, 0x33333333, AttributeInfo.EnumAttributeType.enumeration, EnumCastingMaterial.getEnum(0), null);
     atrInfoTable[2]  = new AtrInfoTable(AttributeName.COREMATERIAL, 0x33333333, AttributeInfo.EnumAttributeType.enumeration, EnumCoreMaterial.getEnum(0), null);
     atrInfoTable[3]  = new AtrInfoTable(AttributeName.GLUELINEREFSHEETS, 0x33333333, AttributeInfo.EnumAttributeType.IntegerList, null, null);
     atrInfoTable[4]  = new AtrInfoTable(AttributeName.OFFSET, 0x33333331, AttributeInfo.EnumAttributeType.double_, null, null);
     atrInfoTable[5]  = new AtrInfoTable(AttributeName.NEEDLEPOSITIONS, 0x33333333, AttributeInfo.EnumAttributeType.string_, null, null);
     atrInfoTable[6]  = new AtrInfoTable(AttributeName.NUMBEROFNEEDLES, 0x33333333, AttributeInfo.EnumAttributeType.integer, null, null);
     atrInfoTable[7]  = new AtrInfoTable(AttributeName.SEALING, 0x33333333, AttributeInfo.EnumAttributeType.boolean_, null, null);
     atrInfoTable[8]  = new AtrInfoTable(AttributeName.SEWINGPATTERN, 0x33333333, AttributeInfo.EnumAttributeType.enumeration, EnumSewingPattern.getEnum(0), null);
     atrInfoTable[9]  = new AtrInfoTable(AttributeName.THREADTHICKNESS, 0x33333333, AttributeInfo.EnumAttributeType.double_, null, null);
     atrInfoTable[10] = new AtrInfoTable(AttributeName.THREADBRAND, 0x33333333, AttributeInfo.EnumAttributeType.string_, null, null);
     elemInfoTable[0] = new ElemInfoTable(ElementName.GLUELINE, 0x33333333);
 }
Exemplo n.º 3
0
 //         ---------------------------------------------------------------------
 //        Methods for Attribute CastingMaterial
 //        ---------------------------------------------------------------------
 ///
 ///          <summary> * (5) set attribute CastingMaterial </summary>
 ///          * <param name="enumVar">: the enumVar to set the attribute to </param>
 ///
 public virtual void setCastingMaterial(EnumCastingMaterial enumVar)
 {
     setAttribute(AttributeName.CASTINGMATERIAL, enumVar == null ? null : enumVar.getName(), null);
 }