Files
omagoffice/Constants/ConstGen.vb
T
Dario Sassi 7494e86397 OmagOFFICE :
- modifiche per libreria EgtSTONELib rinominata in EgtPHOTOLib.
2020-08-19 15:41:08 +00:00

81 lines
3.5 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 = "OmagOFFICE.lic"
Public Const S_LICENCE As String = "Licence"
Public Const K_KEY As String = "Key"
Public Const K_NESTKEY As String = "NestKey"
' Abilitazioni licenza
Friend Enum KEY_OPT As UInteger
CUT_BASE = CUInt(2 ^ 0) ' 1 - Prodotto OmagCUT
MAN_MANIP = CUInt(2 ^ 1) ' 2
AUTO_MANIP = CUInt(2 ^ 2) ' 4
MAN_PHOTO = CUInt(2 ^ 3) ' 8
AUTO_PHOTO = CUInt(2 ^ 4) ' 16
CSV_AUTO = CUInt(2 ^ 5) ' 32
ENABLE_MILL = CUInt(2 ^ 6) ' 64
PRODUCTION_LINE = CUInt(2 ^ 7) ' 128
OFFICE_BASE = CUInt(2 ^ 8) ' 256 - Prodotto OmagOFFICE
VM_MULTI = CUInt(2 ^ 9) ' 512
UNDER_CUT = CUInt(2 ^ 10) ' 1024
CSV_SIMPLE = CUInt(2 ^ 11) ' 2048
PHOTO_BASE = CUInt(2 ^ 12) ' 4096 - Prodotto OmagPHOTO
TRF_IMPORT = CUInt(2 ^ 13) ' 8192
MOVE_PARTS = CUInt(2 ^ 14) ' 16384
IMPORT_SLABDXF = CUInt(2 ^ 15) ' 32768
CURVED_FRAME = CUInt(2 ^ 16) ' 65536
ENABLE_WJ = CUInt(2 ^ 17) ' 131072
ENABLE_POLISHING = CUInt(2 ^ 18) ' 262144
OFFICE_TYPE = CUInt(2 ^ 19) ' 524288 - Solo per OmagCUT
REGISTRATION = CUInt(2 ^ 20) ' 1048576 - Solo per OmagCUT
End Enum
' File di log generale
Public Const GENLOG_FILE_NAME As String = "OmagOFFICELog#.txt"
' Sottodirettorio di configurazione
Public Const CONF_DIR As String = "Config"
' Sottodirettorio delle risorse
Public Const RES_DIR As String = "Resources"
' Sottodirettorio temporaneo
Public Const TEMP_DIR As String = "Temp"
' Sottodirettorio per Cam automatico
Public Const CAMAUTO_DIR As String = "CamAuto"
' Sottodirettorio per Csv automatico
Public Const CSVAUTO_DIR As String = "CsvAuto"
' Sottodirettorio per Img automatico
Public Const IMGAUTO_DIR As String = "ImgAuto"
' Sottodirettorio per Trf automatico
Public Const TRFAUTO_DIR As String = "TrfAuto"
' Sottodirettorio di default per il salvataggio con nome
Public Const SAVE_DFL_NAMEDIR As String = "MyProjects"
' 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 Lua con le funzioni di attrezzaggio
Public Const SETUP_LUA As String = "SetUp.lua"
' Sottodirettorio per BackUp
Public Const BACKUP_DIR As String = "BackUp"
End Module