75 lines
2.3 KiB
VB.net
75 lines
2.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.
|
|
'
|
|
'
|
|
'----------------------------------------------------------------------------
|
|
|
|
Public 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 = "3dPrintApp.lic"
|
|
Public Const S_LICENCE As String = "Licence"
|
|
Public Const K_KEY As String = "Key"
|
|
Public Const K_NESTKEY As String = "NestKey"
|
|
|
|
' Pagine del programma
|
|
Public Enum Pages As Integer
|
|
VIEW = 0
|
|
MACHINING = 1
|
|
SUPERVISOR = 2
|
|
CONFIG = 3
|
|
INPUTS = 4
|
|
OUTPUTS = 5
|
|
End Enum
|
|
|
|
' Abilitazioni licenza
|
|
Friend Enum KEY_OPT As UInteger
|
|
BASE = 1 ' Prodotto EgtCAM5
|
|
DOORS = 2
|
|
GUNSTOCK = 4
|
|
DOORCREATOR = 8 ' Prodotto DOORCreator
|
|
VIRTUALMILLING = 16
|
|
JAMBS = 32
|
|
BEAM = 64
|
|
CAD2D = 128
|
|
STEELDORS = 256
|
|
WALL = 512
|
|
_3DPRINT = 1024
|
|
End Enum
|
|
|
|
' File di log generale
|
|
Public Const GENLOG_FILE_NAME As String = "3dPrintApp#.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 lavorazioni
|
|
Public Const MACHININGS_DIR As String = "Machinings"
|
|
' Sottodirettorio materiali
|
|
Public Const MATERIALS_DIR As String = "Materials"
|
|
' Sottodirettorio per lavorazioni travi
|
|
Public Const _3DPRINTING_DIR As String = "3dPrintApp"
|
|
' 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"
|
|
|
|
End Module
|