'---------------------------------------------------------------------------- ' EgalTech 2015-2017 '---------------------------------------------------------------------------- ' File : ConstGen.vb Data : 10.04.17 Versione : 1.8d1 ' Contenuto : Modulo costanti generali. ' ' ' ' Modifiche : 10.04.17 DS Creazione modulo. ' ' '---------------------------------------------------------------------------- Module ConstGen ' File con direttorio radice dei dati Public Const DAT_FILE_NAME As String = "DataRoot.Ini" Public Const S_DATA As String = "Data" Public Const K_DATAROOT As String = "DataRoot" ' File con dati di licenza Public Const LIC_FILE_NAME As String = "OmagVIEWPlus.lic" Public Const S_LICENCE As String = "Licence" Public Const K_KEY As String = "Key" ' Abilitazioni licenza Friend Enum KEY_OPT As UInteger CUT_BASE = 1 ' 2 ^ 0 - Prodotto OmagCUT MAN_MANIP = 2 ' 2 ^ 1 AUTO_MANIP = 4 ' 2 ^ 2 MAN_PHOTO = 8 ' 2 ^ 3 AUTO_PHOTO = 16 ' 2 ^ 4 CSV_AUTO = 32 ' 2 ^ 5 ENABLE_MILL = 64 ' 2 ^ 6 PRODUCTION_LINE = 128 ' 2 ^ 7 OFFICE_BASE = 256 ' 2 ^ 8 - Prodotto OmagOFFICE VM_MULTI = 512 ' 2 ^ 9 UNDER_CUT = 1024 ' 2 ^ 10 CSV_SIMPLE = 2048 ' 2 ^ 11 PHOTO_BASE = 4096 ' 2 ^ 12 - Prodotto OmagPHOTO TRF_IMPORT = 8192 ' 2 ^ 13 MOVE_PARTS = 16384 ' 2 ^ 14 IMPORT_SLABDXF = 32768 ' 2 ^ 15 CURVED_FRAME = 65536 ' 2 ^ 16 ENABLE_WJ = 131072 ' 2 ^ 17 ENABLE_POLISHING = 262144 ' 2 ^ 18 OFFICE_TYPE = 524288 ' 2 ^ 19 REGISTRATION = 1048576 ' 2 ^ 20 End Enum ' File di log generale Public Const GENLOG_FILE_NAME As String = "OmagVIEWPlusLog#.txt" ' Sottodirettorio di configurazione Public Const CONF_DIR As String = "Config" ' Sottodirettorio temporaneo Public Const TEMP_DIR As String = "Temp" ' Sottodirettorio backup Public Const LOG_DIR As String = "Log" ' Sottodirettorio di default per le macchine Public Const MACHINES_DFL_DIR As String = "Machines" ' Sottodirettorio di default per toolmakers Public Const TOOLMAKERS_DFL_DIR As String = "ToolMakers" ' Nome file corrente Public Const CURR_PROJ_NAME As String = "CurrProj.nge" Public Const CURR_PROJ_NEW As String = "CurrProj.new" Public Const CURR_PROJ_LOCK As String = "CurrProj.lck" Public Const CURR_PROJ_EPL As String = "CurrProj.epl" Public Const CURR_PROJ_PPL As String = "CurrProj.ppl" Public Const CURR_PROJ_CHANGE As String = "CurrProj.chg" ' Nome della superficie del grezzo Public Const NAME_RAW_SOLID As String = "RawSolid" ' Nome della regione fuori kerf nel grezzo Public Const NAME_OUTKERF_REG As String = "SheetOut" ' Nome della regione di riferimento nel grezzo Public Const NAME_REF_REG As String = "RefReg" ' Contrassegno di progetto OmagCut Public Const NAME_PROJMARK As String = "OmagCut" ' Info per indice progetto Public Const INFO_PROJINDEX As String = "ProjIndex" ' Info per materiale progetto Public Const INFO_PROJMAT As String = "ProjMat" ' Info con path carico progetto Public Const INFO_LOADPATH As String = "LoadPath" ' Info per stato scarico progetto salvato Public Const INFO_UNLOADSAVED As String = "UnloadSaved" ' Nome layer delle regioni Public Const NAME_REGION As String = "Region" ' Nome layer preview Public Const NAME_PREVIEW As String = "PV" ' Info per stato pezzo Public Const INFO_PARTOK As String = "POK" ' Info in pezzo con suo nome in Csv Public Const INFO_CSV_PART As String = "CsvPart" End Module