Public Module ConstBeam

   Public Enum BTLParamType As Integer
      DOUBLE_ = 1
      STRING_ = 2
      COMBO = 3
      LENGTH = 4
      CHECKBOX = 5
   End Enum

   Public Enum BTLPartParam As Integer
      NULL = 0
      PDN = 1
      NAM = 2
      GRP = 3
   End Enum

   Public Enum GRPType As Integer
      L = 0
      T = 1
   End Enum

   Enum MachineType As Integer
      NULL = 0
      BEAM = 1
      WALL = 2
      BOTH = 3
   End Enum

   Enum CalcStates As Integer
      NOTCALCULATED = -1
      OK = 0
      INFO = 1
      WARNING = 2
      ERROR_ = 3
   End Enum

   Public Enum Range As Integer
      STANDARD = 1
      EXTENDED = 2
   End Enum

   Public Enum PartOffset_RefSideFixClamp As Integer
      INACTIVE = 0
      REFSIDE1 = 1
      REFSIDE2 = 2
      REFSIDE3 = 3
      REFSIDE4 = 4
   End Enum

   Public Enum ProcessingQuality As Integer
      AUTOMATIC = 1
      VISIBLE = 2
      FAST = 3
   End Enum

   Public Enum Recess As Integer
      AUTOMATIC = 1
      MANUAL = 2
   End Enum

   Public Enum StoreyType As Integer
      CEILING = 1
      ROOF = 2
      WALL = 3
   End Enum

   Public Enum AlignmentLocation As Integer
      INACTIV = 0
      BR = 1
      TR = 2
      BA = 3
      TA = 4
      HC = 5
      VC = 6
      AC = 7
   End Enum

   Public Enum AlignmentEndtype As Integer
      R = 1
      A = 2
      D = 3
   End Enum

   Public Enum MaterialType As Integer
      INACTIV = 0
      BA = 1
      CL = 2
      MT = 3
      ME_ = 4
      GB = 5
      GF = 6
      IN_ = 7
      SH = 8
      FB = 9
      PB = 10
      PL = 11
   End Enum

   Public Enum MoveDirections As Integer
      UP = -1
      DOWN = 1
   End Enum

   Public Const BTLFEATURES_FILE_NAME As String = "BTLFeatures.ini"

   'Public Const S_GENERAL As String = "General"
   'Public Const K_DEBUG As String = "Debug"

   ' Tipo di progetto
   Public Enum ProjectType As Integer
      PROJ = 1
      PROD = 2
   End Enum

    ' Tipo di progetto (Beam o Wall)
    Public Enum BWType As Integer
        NULL = 0
        BEAM = 1
        WALL = 2
   End Enum

   Public Const PROJ As String = "PROJ"
   Public Const FILENAMESEPARATOR As Char = "^"c
   Public Const BTLINFO As String = "BtlInfo"

   ' layer per assemblato
   Public Const ASSEBASE As String = "AsseBase"
   ' info parametri assemblato
   Public Const BTL_ASSEBASE_N As String = "N"

   ' info parametri BTL
   Public Const BTL_PRT_PROJ As String = "PROJ"
   Public Const BTL_PRT_PDN As String = "PDN"
   Public Const BTL_PRT_DO As String = "DO"
   Public Const BTL_PRT_NAM As String = "NAM"
   Public Const BTL_PRT_L As String = "L"
   Public Const BTL_PRT_W As String = "W"
   Public Const BTL_PRT_H As String = "H"
   Public Const BTL_PRT_CNT As String = "CNT"
   Public Const BTL_PRT_ADDED As String = "ADDED"
   Public Const BTL_PRT_DONE As String = "DONE"
   Public Const BTL_PRT_ROTATED As String = "ROTATED"
   Public Const BTL_PRT_INVERTED As String = "INVERTED"
   Public Const BTL_PRT_MATERIAL As String = "MATERIAL"
   Public Const BTL_PRT_VOLUME As String = "VOLUME"
   ' parametri pezzo
   Public Const BTL_PRT_SINGLEMEMBERNUM = "SINGLEMEMBERNUMBER"
   Public Const BTL_PRT_ASSEMBLYNUM = "ASSEMBLYNUMBER"
   Public Const BTL_PRT_ORDERNUM = "ORDERNUMBER"
   Public Const BTL_PRT_DESIGNATION = "DESIGNATION"
   Public Const BTL_PRT_ANNOTATION = "ANNOTATION"
   Public Const BTL_PRT_STOREY = "STOREY"
   Public Const BTL_PRT_GROUP = "GROUP"
   Public Const BTL_PRT_PACKAGE = "PACKAGE"
   Public Const BTL_PRT_TIMBERGRADE = "TIMBERGRADE"
   Public Const BTL_PRT_QUALITYGRADE = "QUALITYGRADE"
   Public Const BTL_PRT_COLOUR = "COLOUR"
   Public Const BTL_PRT_PLANINGLENGTH = "PLANINGLENGTH"
   Public Const BTL_PRT_STARTOFFSET = "STARTOFFSET"
   Public Const BTL_PRT_ENDOFFSET = "ENDOFFSET"
   Public Const BTL_PRT_UID = "UID"
   Public Const BTL_PRT_TRANSFORMATION = "TRANSFORMATION"
   Public Const BTL_PRT_CAMBER = "CAMBER"
   Public Const BTL_PRT_PARTOFFSET = "PARTOFFSET"
   Public Const BTL_PRT_PROCESSINGQUALITY = "PROCESSINGQUALITY"
   Public Const BTL_PRT_RECESS = "RECESS"
   Public Const BTL_PRT_STOREYTYPE = "STOREYTYPE"
   Public Const BTL_PRT_ELEMENTNUM = "ELEMENTNUMBER"
   Public Const BTL_PRT_LAYER = "LAYER"
   Public Const BTL_PRT_MODULENUM = "MODULENUMBER"
   'Friend Const BTL_PRT_USERATTRIBUTE = "USERATTRIBUTE"
   Public Const BTL_PRT_COMMENT = "COMMENT"
   Public Const BTL_PRT_GRAINDIR = "GRAINDIRECTION"
   Public Const BTL_PRT_REFSIDE = "REFERENCESIDE"
   Public Const BTL_PRT_ALIGNMENT = "ALIGNMENT"
   Public Const BTL_PRT_MATERIALTYPE = "MATERIALTYPE"
   Public Const BTL_PRT_DESCRIPTION = "NAM"

   ' parametri generici
   Public Const BTL_GEN_BTLPATH = "BTL"
   Public Const BTL_GEN_PROJNUM = "PROJECTNUMBER"
   Public Const BTL_GEN_PROJNAME = "PROJECTNAME"
   Public Const BTL_GEN_PROJPART = "PROJECTPART"
   Public Const BTL_GEN_PROJGUID = "PROJECTGUID"
   Public Const BTL_GEN_PROJTYPE = "PROJECTTYPE"
   Public Const BTL_GEN_LISTNAME = "LISTNAME"
   Public Const BTL_GEN_CUSTOMER = "CUSTOMER"
   Public Const BTL_GEN_ARCHITECT = "ARCHITECT"
   Public Const BTL_GEN_EDITOR = "EDITOR"
   Public Const BTL_GEN_DELIVDATE = "DELIVERYDATE"
   Public Const BTL_GEN_EXPDATE = "EXPORTDATE"
   Public Const BTL_GEN_EXPTIME = "EXPORTTIME"
   Public Const BTL_GEN_EXPRELEASE = "EXPORTRELEASE"
   Public Const BTL_GEN_LANGUAGE = "LANGUAGE"
   Public Const BTL_GEN_RANGE = "RANGE"
   Public Const BTL_GEN_COMPUTERNAME = "COMPUTERNAME"
   Public Const BTL_GEN_USER = "USER"
   Public Const BTL_GEN_SRCFILE = "SOURCEFILE"
   Public Const BTL_GEN_EXPFILE = "EXPORTFILE"
   Public Const BTL_GEN_USERATTRIBUTE = "USERATTRIBUTE"

   Public Const PROCESSINGS As String = "Processings"
   Public Const OUTLINE As String = "Outline"
   Public Const BTL_FTR_GRP As String = "GRP"
   Public Const BTL_FTR_PRC As String = "PRC"
   Public Const BTL_FTR_DO As String = "DO"
   Public Const BTL_FTR_SIDE As String = "SIDE"
   Public Const BTL_FTR_PRIORITY As String = "PRIORITY"
   Public Const BTL_FTR_NAME As String = "NAME"
   Public Const BTL_FTR_DES As String = "DES"
   Public Const BTL_FTR_PRID As String = "PRID"
   Public Const BTL_FTR_FRAME As String = "FRAME"
   Public Const BTL_FTR_MAINID As String = "MAINID"
   Public Const BTL_FTR_ADJID As String = "ADJID"
   Public Const BTL_FTR_AUXID As String = "AUXID"

   ' parametri machgroup grezzi
   Public Const MGR_RPT_ID As String = "ID"
   Public Const MGR_RPT_L As String = "L"
   Public Const MGR_RPT_W As String = "W"
   Public Const MGR_RPT_H As String = "H"
   Public Const MGR_RPT_WASTE As String = "WASTE"
   Public Const MGR_RPT_USAGE As String = "USAGE"
   Public Const MGR_RPT_STARTCUT As String = "STARTCUT"
   Public Const MGR_RPT_MATERIAL As String = "MATERIAL"

   Public Const MGR_PRT_PDN As String = "PDN"
   Public Const MGR_PRT_L As String = "L"
   Public Const MGR_PRT_W As String = "W"
   Public Const MGR_PRT_H As String = "H"
   Public Const MGR_PRT_DES As String = "DES"
   Public Const MGR_PRT_STARTCUT As String = "STARTCUT"
   Public Const MGR_PRT_MATERIAL As String = "MATERIAL"
   Public Const MGR_PRT_DO As String = "DO"
   Public Const MGR_PRT_ROT As String = "ROT"
   Public Const MGR_PRT_FLIP As String = "FLIP"
   Public Const MGR_PRT_POSX As String = "POSX"
   Public Const MGR_PRT_POSY As String = "POSY"

   Public Const MGR_FTR_GRP As String = "GRP"
   Public Const MGR_FTR_PRC As String = "PRC"
   Public Const MGR_FTR_DO As String = "DO"
   Public Const MGR_FTR_SIDE As String = "SIDE"
   Public Const MGR_FTR_NAME As String = "NAME"
   Public Const MGR_FTR_DES As String = "DES"
   Public Const MGR_FTR_PRID As String = "PRID"
   Public Const MGR_FTR_FRAME As String = "FRAME"

   ' parametri creazione barre
   Public Const MGR_RPT_BARLEN As String = "BARLEN"
   Public Const MGR_RPT_BARHEIGHT As String = "BARHEIGHT"
   Public Const MGR_RPT_BARWIDTH As String = "BARWIDTH"
   Public Const MGR_RPT_PANELLEN As String = "PANELLEN"
   Public Const MGR_RPT_PANELWIDTH As String = "PANELWIDTH"
   Public Const MGR_RPT_PANELHEIGHT As String = "PANELHEIGHT"
   Public Const MGR_RPT_PANELPOSZ As String = "PANELPOSZ"
   Public Const MGR_RPT_PART As String = "PART"

   ' parametri P per comunicazione con la macchina
   Public Const MGR_RPT_PRODID As String = "PRODID"
   Public Const MGR_RPT_PATTID As String = "PATTID"

   ' parametri  errori integration
   Public Const ITG_CUTID As String = "CUTID"
   Public Const ITG_TASKID As String = "TASKID"
   Public Const ITG_PROJ_ERR As String = "PROJ_ERR"
   Public Const ITG_PROJ_MSG As String = "PROJ_MSG"
   Public Const ITG_PROJ_ROT As String = "PROJ_ROT"
   Public Const ITG_PROJ_FALL As String = "PROJ_FALL"
   Public Const ITG_PROJ_TIME As String = "PROJ_TIME"

   ' parametri  errori integration
   Public Const ITG_PROD_ERR As String = "PROD_ERR"
   Public Const ITG_PROD_MSG As String = "PROD_MSG"
   Public Const ITG_PROD_ROT As String = "PROD_ROT"
   Public Const ITG_PROD_FALL As String = "PROD_FALL"
   Public Const ITG_PROD_TIME As String = "PROD_TIME"

   ' parametri blocco rot e flip
   Public Const LOCK_ROT As String = "MANUALROT"
   Public Const LOCK_FLIP As String = "MANUALFLIP"

   ' parametri  errori integration
   Public Const DUPLO_TODELETE As String = "DUPLO_TODELETE"

   ' parametri warehouse
   Public Const WRH_BEAM As String = "BEAM"
   Public Const WRH_WALL As String = "WALL"
   Public Const WRH_CURRENT As String = "Current"
   Public Const WRH_STARTOFFSET As String = "StartOffset"
   Public Const WRH_OFFSET As String = "Offset"
   Public Const WRH_RANGE As String = "Range"
   Public Const WRH_QUANTITY As String = "Quantity"
   Public Const WRH_L As String = "L"
   Public Const WRH_KERF As String = "Kerf"
   Public Const WRH_S As String = "S"

   ' parametri import/export
   Public Const EXP_PROJ As String = "EXPORTPROJ"
   Public Const EXP_PROD As String = "EXPORTPROD"
   Public Const BTLFILENAME As String = "BTLFILENAME"
   Public Const EXP_PART As String = "ImportExport"
   Public Const EXP_MACHINE As String = "Machine"
   ' parametro che indica se il progetto e' stato appena importato e quindi bisogna riverificare i MachGroup
   Public Const IMP_VERIFYMACHGROUP As String = "VerifyMachGroup"

   ' parametri modifica percorsi free contour
   Public Const PATH_SIDEANGLAYER As String = "SideAngLayer"

End Module
