Exemple #1
0
 ///
 ///          <summary> * (9) get attribute PalletType </summary>
 ///          * <returns> the value of the attribute </returns>
 ///
 public virtual EnumPalletType getPalletType()
 {
     return(EnumPalletType.getEnum(getAttribute(AttributeName.PALLETTYPE, null, null)));
 }
Exemple #2
0
 static JDFAutoPackingParams()
 {
     atrInfoTable[0]  = new AtrInfoTable(AttributeName.PALLETWRAPPING, 0x44444443, AttributeInfo.EnumAttributeType.enumeration, EnumPalletWrapping.getEnum(0), "None");
     atrInfoTable[1]  = new AtrInfoTable(AttributeName.WRAPPINGMATERIAL, 0x44444443, AttributeInfo.EnumAttributeType.NMTOKEN, null, "None");
     atrInfoTable[2]  = new AtrInfoTable(AttributeName.BOXEDQUANTITY, 0x44444443, AttributeInfo.EnumAttributeType.integer, null, null);
     atrInfoTable[3]  = new AtrInfoTable(AttributeName.BOXSHAPE, 0x44444443, AttributeInfo.EnumAttributeType.shape, null, null);
     atrInfoTable[4]  = new AtrInfoTable(AttributeName.CARTONQUANTITY, 0x44444443, AttributeInfo.EnumAttributeType.integer, null, null);
     atrInfoTable[5]  = new AtrInfoTable(AttributeName.CARTONSHAPE, 0x44444443, AttributeInfo.EnumAttributeType.shape, null, null);
     atrInfoTable[6]  = new AtrInfoTable(AttributeName.CARTONMAXWEIGHT, 0x44444443, AttributeInfo.EnumAttributeType.double_, null, null);
     atrInfoTable[7]  = new AtrInfoTable(AttributeName.CARTONSTRENGTH, 0x44444443, AttributeInfo.EnumAttributeType.double_, null, null);
     atrInfoTable[8]  = new AtrInfoTable(AttributeName.PALLETQUANTITY, 0x44444443, AttributeInfo.EnumAttributeType.integer, null, null);
     atrInfoTable[9]  = new AtrInfoTable(AttributeName.PALLETSIZE, 0x44444443, AttributeInfo.EnumAttributeType.XYPair, null, null);
     atrInfoTable[10] = new AtrInfoTable(AttributeName.PALLETMAXHEIGHT, 0x44444443, AttributeInfo.EnumAttributeType.double_, null, null);
     atrInfoTable[11] = new AtrInfoTable(AttributeName.PALLETMAXWEIGHT, 0x44444443, AttributeInfo.EnumAttributeType.double_, null, null);
     atrInfoTable[12] = new AtrInfoTable(AttributeName.PALLETTYPE, 0x44444443, AttributeInfo.EnumAttributeType.enumeration, EnumPalletType.getEnum(0), null);
     atrInfoTable[13] = new AtrInfoTable(AttributeName.WRAPPEDQUANTITY, 0x44444443, AttributeInfo.EnumAttributeType.integer, null, null);
 }
Exemple #3
0
 //         ---------------------------------------------------------------------
 //        Methods for Attribute PalletType
 //        ---------------------------------------------------------------------
 ///
 ///          <summary> * (5) set attribute PalletType </summary>
 ///          * <param name="enumVar">: the enumVar to set the attribute to </param>
 ///
 public virtual void setPalletType(EnumPalletType enumVar)
 {
     setAttribute(AttributeName.PALLETTYPE, enumVar == null ? null : enumVar.getName(), null);
 }