Files
OmagVIEWPlus/Constants/ConstGen.vb
T
Nicola Pievani d950fc1060 OmagVIEWPlus 2.2j1:
-> nuova definizione dei pezzi (classe Part)
-> nuova gestione dei magazzini
-> aggiunta pagina per la selezione dei pezzi manuali
-> nuova configurazione delle variabili.
2020-10-09 08:13:48 +00:00

94 lines
3.3 KiB
VB.net

'----------------------------------------------------------------------------
' 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 ' Prodotto OmagCUT
MAN_MANIP = 2
AUTO_MANIP = 4
MAN_PHOTO = 8
AUTO_PHOTO = 16
AUTO_NESTING = 32
ENABLE_MILL = 64
PROCUCTION_LINE = 128
OFFICE_BASE = 256 ' Prodotto OmagOFFICE
VM_MULTI = 512
UNDER_CUT = 1024
CSV_SIMPLE = 2048
PHOTO_BASE = 4096 ' Prodotto OmagPHOTO
TRF_IMPORT = 8192
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