Compare commits
34 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 88eda5ecf7 | |||
| 807fcd8b07 | |||
| 512c999be0 | |||
| 70f3010529 | |||
| b836fbf5df | |||
| 3e4ac3bbd6 | |||
| 3e06412d7d | |||
| ae90109936 | |||
| a48cb4482c | |||
| 8b41603061 | |||
| 5486af7b63 | |||
| 58c80321c4 | |||
| 7664d46554 | |||
| e660032b42 | |||
| 5935f621cf | |||
| dd17b66484 | |||
| da52cd0884 | |||
| 9450f686a0 | |||
| 011ae90053 | |||
| 41f0224d6c | |||
| d89fd7e42a | |||
| 83eeb2504f | |||
| 92f7d9b773 | |||
| f7730c57ce | |||
| fb4be7bfcd | |||
| 1786e5d4d8 | |||
| 828da5502f | |||
| faf746bfc0 | |||
| f39d8904c3 | |||
| 8c6be948d0 | |||
| ddf0629eb8 | |||
| e7489dc6b7 | |||
| 14f1e18a00 | |||
| b1188bdc4c |
@@ -1,5 +1,303 @@
|
|||||||
Public Module ConstBeam
|
Public Module ConstBeam
|
||||||
|
|
||||||
|
Friend Const BTL_FTR_DES As String = "DES"
|
||||||
|
|
||||||
|
Friend Const BTL_FTR_DO As String = "DO"
|
||||||
|
|
||||||
|
Friend Const BTL_FTR_FRAME As String = "FRAME"
|
||||||
|
|
||||||
|
Friend Const BTL_FTR_GRP As String = "GRP"
|
||||||
|
|
||||||
|
Friend Const BTL_FTR_MAINID As String = "MAINID"
|
||||||
|
|
||||||
|
Friend Const BTL_FTR_NAME As String = "NAME"
|
||||||
|
|
||||||
|
Friend Const BTL_FTR_PRC As String = "PRC"
|
||||||
|
|
||||||
|
Friend Const BTL_FTR_PRID As String = "PRID"
|
||||||
|
|
||||||
|
Friend Const BTL_FTR_SIDE As String = "SIDE"
|
||||||
|
|
||||||
|
Friend Const BTL_GEN_ARCHITECT = "ARCHITECT"
|
||||||
|
|
||||||
|
Friend Const BTL_GEN_COMPUTERNAME = "COMPUTERNAME"
|
||||||
|
|
||||||
|
Friend Const BTL_GEN_CUSTOMER = "CUSTOMER"
|
||||||
|
|
||||||
|
Friend Const BTL_GEN_DELIVDATE = "DELIVERYDATE"
|
||||||
|
|
||||||
|
Friend Const BTL_GEN_EDITOR = "EDITOR"
|
||||||
|
|
||||||
|
Friend Const BTL_GEN_EXPDATE = "EXPORTDATE"
|
||||||
|
|
||||||
|
Friend Const BTL_GEN_EXPFILE = "EXPORTFILE"
|
||||||
|
|
||||||
|
Friend Const BTL_GEN_EXPRELEASE = "EXPORTRELEASE"
|
||||||
|
|
||||||
|
Friend Const BTL_GEN_EXPTIME = "EXPORTTIME"
|
||||||
|
|
||||||
|
Friend Const BTL_GEN_LANGUAGE = "LANGUAGE"
|
||||||
|
|
||||||
|
Friend Const BTL_GEN_LISTNAME = "LISTNAME"
|
||||||
|
|
||||||
|
Friend Const BTL_GEN_PROJGUID = "PROJECTGUID"
|
||||||
|
|
||||||
|
Friend Const BTL_GEN_PROJNAME = "PROJECTNAME"
|
||||||
|
|
||||||
|
' parametri generici
|
||||||
|
Friend Const BTL_GEN_PROJNUM = "PROJECTNUMBER"
|
||||||
|
|
||||||
|
Friend Const BTL_GEN_PROJPART = "PROJECTPART"
|
||||||
|
|
||||||
|
Friend Const BTL_GEN_PROJTYPE = "PROJECTTYPE"
|
||||||
|
|
||||||
|
Friend Const BTL_GEN_RANGE = "RANGE"
|
||||||
|
|
||||||
|
Friend Const BTL_GEN_SRCFILE = "SOURCEFILE"
|
||||||
|
|
||||||
|
Friend Const BTL_GEN_USER = "USER"
|
||||||
|
|
||||||
|
Friend Const BTL_GEN_USERATTRIBUTE = "USERATTRIBUTE"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_ADDED As String = "ADDED"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_ALIGNMENT = "ALIGNMENT"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_ANNOTATION = "ANNOTATION"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_ASSEMBLYNUM = "ASSEMBLYNUMBER"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_CAMBER = "CAMBER"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_CNT As String = "CNT"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_COLOUR = "COLOUR"
|
||||||
|
|
||||||
|
'Friend Const BTL_PRT_USERATTRIBUTE = "USERATTRIBUTE"
|
||||||
|
Friend Const BTL_PRT_COMMENT = "COMMENT"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_DESIGNATION = "DESIGNATION"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_DO As String = "DO"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_DONE As String = "DONE"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_ELEMENTNUM = "ELEMENTNUMBER"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_ENDOFFSET = "ENDOFFSET"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_GRAINDIR = "GRAINDIRECTION"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_GROUP = "GROUP"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_H As String = "H"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_INVERTED As String = "INVERTED"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_L As String = "L"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_LAYER = "LAYER"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_MATERIAL As String = "MATERIAL"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_MATERIALTYPE = "MATERIALTYPE"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_MODULENUM = "MODULENUMBER"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_NAM As String = "NAM"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_ORDERNUM = "ORDERNUMBER"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_PACKAGE = "PACKAGE"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_PARTOFFSET = "PARTOFFSET"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_PDN As String = "PDN"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_PLANINGLENGTH = "PLANINGLENGTH"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_PROCESSINGQUALITY = "PROCESSINGQUALITY"
|
||||||
|
|
||||||
|
' info parametri BTL
|
||||||
|
Friend Const BTL_PRT_PROJ As String = "PROJ"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_QUALITYGRADE = "QUALITYGRADE"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_RECESS = "RECESS"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_REFSIDE = "REFERENCESIDE"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_ROTATED As String = "ROTATED"
|
||||||
|
|
||||||
|
' parametri pezzo
|
||||||
|
Friend Const BTL_PRT_SINGLEMEMBERNUM = "SINGLEMEMBERNUMBER"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_STARTOFFSET = "STARTOFFSET"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_STOREY = "STOREY"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_STOREYTYPE = "STOREYTYPE"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_TIMBERGRADE = "TIMBERGRADE"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_TRANSFORMATION = "TRANSFORMATION"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_UID = "UID"
|
||||||
|
|
||||||
|
Friend Const BTL_PRT_W As String = "W"
|
||||||
|
|
||||||
|
Friend Const BTLINFO As String = "BtlInfo"
|
||||||
|
|
||||||
|
' parametri errori integration
|
||||||
|
Friend Const DUPLO_TODELETE As String = "DUPLO_TODELETE"
|
||||||
|
|
||||||
|
Friend Const FILENAMESEPARATOR As Char = "^"c
|
||||||
|
|
||||||
|
' parametri errori integration
|
||||||
|
Friend Const ITG_CUTID As String = "CUTID"
|
||||||
|
|
||||||
|
' parametri errori integration
|
||||||
|
Friend Const ITG_PROD_ERR As String = "PROD_ERR"
|
||||||
|
|
||||||
|
Friend Const ITG_PROD_FALL As String = "PROD_FALL"
|
||||||
|
|
||||||
|
Friend Const ITG_PROD_MSG As String = "PROD_MSG"
|
||||||
|
|
||||||
|
Friend Const ITG_PROD_ROT As String = "PROD_ROT"
|
||||||
|
|
||||||
|
Friend Const ITG_PROD_TIME As String = "PROD_TIME"
|
||||||
|
|
||||||
|
Friend Const ITG_PROJ_ERR As String = "PROJ_ERR"
|
||||||
|
|
||||||
|
Friend Const ITG_PROJ_FALL As String = "PROJ_FALL"
|
||||||
|
|
||||||
|
Friend Const ITG_PROJ_MSG As String = "PROJ_MSG"
|
||||||
|
|
||||||
|
Friend Const ITG_PROJ_ROT As String = "PROJ_ROT"
|
||||||
|
|
||||||
|
Friend Const ITG_PROJ_TIME As String = "PROJ_TIME"
|
||||||
|
|
||||||
|
Friend Const ITG_TASKID As String = "TASKID"
|
||||||
|
|
||||||
|
Friend Const MGR_FTR_DES As String = "DES"
|
||||||
|
|
||||||
|
Friend Const MGR_FTR_DO As String = "DO"
|
||||||
|
|
||||||
|
Friend Const MGR_FTR_FRAME As String = "FRAME"
|
||||||
|
|
||||||
|
Friend Const MGR_FTR_GRP As String = "GRP"
|
||||||
|
|
||||||
|
Friend Const MGR_FTR_NAME As String = "NAME"
|
||||||
|
|
||||||
|
Friend Const MGR_FTR_PRC As String = "PRC"
|
||||||
|
|
||||||
|
Friend Const MGR_FTR_PRID As String = "PRID"
|
||||||
|
|
||||||
|
Friend Const MGR_FTR_SIDE As String = "SIDE"
|
||||||
|
|
||||||
|
Friend Const MGR_PRT_DES As String = "DES"
|
||||||
|
|
||||||
|
Friend Const MGR_PRT_FLIP As String = "FLIP"
|
||||||
|
|
||||||
|
Friend Const MGR_PRT_H As String = "H"
|
||||||
|
|
||||||
|
Friend Const MGR_PRT_L As String = "L"
|
||||||
|
|
||||||
|
Friend Const MGR_PRT_MATERIAL As String = "MATERIAL"
|
||||||
|
|
||||||
|
Friend Const MGR_PRT_PDN As String = "PDN"
|
||||||
|
|
||||||
|
Friend Const MGR_PRT_POSX As String = "POSX"
|
||||||
|
|
||||||
|
Friend Const MGR_PRT_POSY As String = "POSY"
|
||||||
|
|
||||||
|
Friend Const MGR_PRT_ROT As String = "ROT"
|
||||||
|
|
||||||
|
Friend Const MGR_PRT_STARTCUT As String = "STARTCUT"
|
||||||
|
|
||||||
|
Friend Const MGR_PRT_W As String = "W"
|
||||||
|
|
||||||
|
Friend Const MGR_RPT_BARHEIGHT As String = "BARHEIGHT"
|
||||||
|
|
||||||
|
' parametri creazione barre
|
||||||
|
Friend Const MGR_RPT_BARLEN As String = "BARLEN"
|
||||||
|
|
||||||
|
Friend Const MGR_RPT_BARWIDTH As String = "BARWIDTH"
|
||||||
|
|
||||||
|
Friend Const MGR_RPT_H As String = "H"
|
||||||
|
|
||||||
|
' parametri machgroup grezzi
|
||||||
|
Friend Const MGR_RPT_ID As String = "ID"
|
||||||
|
|
||||||
|
Friend Const MGR_RPT_L As String = "L"
|
||||||
|
|
||||||
|
Friend Const MGR_RPT_MATERIAL As String = "MATERIAL"
|
||||||
|
|
||||||
|
Friend Const MGR_RPT_PANELHEIGHT As String = "PANELHEIGHT"
|
||||||
|
|
||||||
|
Friend Const MGR_RPT_PANELLEN As String = "PANELLEN"
|
||||||
|
|
||||||
|
Friend Const MGR_RPT_PANELWIDTH As String = "PANELWIDTH"
|
||||||
|
|
||||||
|
Friend Const MGR_RPT_PART As String = "PART"
|
||||||
|
|
||||||
|
Friend Const MGR_RPT_STARTCUT As String = "STARTCUT"
|
||||||
|
|
||||||
|
Friend Const MGR_RPT_USAGE As String = "USAGE"
|
||||||
|
|
||||||
|
Friend Const MGR_RPT_W As String = "W"
|
||||||
|
|
||||||
|
Friend Const MGR_RPT_WASTE As String = "WASTE"
|
||||||
|
|
||||||
|
Friend Const OUTLINE As String = "Outline"
|
||||||
|
|
||||||
|
Friend Const PROCESSINGS As String = "Processings"
|
||||||
|
|
||||||
|
Friend Const PROJ As String = "PROJ"
|
||||||
|
|
||||||
|
' parametri warehouse
|
||||||
|
Friend Const WRH_BEAM As String = "BEAM"
|
||||||
|
|
||||||
|
Friend Const WRH_CURRENT As String = "Current"
|
||||||
|
|
||||||
|
Friend Const WRH_KERF As String = "Kerf"
|
||||||
|
|
||||||
|
Friend Const WRH_L As String = "L"
|
||||||
|
|
||||||
|
Friend Const WRH_OFFSET As String = "Offset"
|
||||||
|
|
||||||
|
Friend Const WRH_S As String = "S"
|
||||||
|
|
||||||
|
Friend Const WRH_STARTOFFSET As String = "StartOffset"
|
||||||
|
|
||||||
|
Friend Const WRH_WALL As String = "WALL"
|
||||||
|
|
||||||
|
Public Const BTLFEATURES_FILE_NAME As String = "BTLFeatures.ini"
|
||||||
|
|
||||||
|
Public Const BTLFILENAME As String = "BTLFILENAME"
|
||||||
|
|
||||||
|
Public Const EXP_PROD As String = "EXPORTPROD"
|
||||||
|
|
||||||
|
' parametri import/export
|
||||||
|
Public Const EXP_PROJ As String = "EXPORTPROJ"
|
||||||
|
|
||||||
|
Public Enum AlignmentEndtype As Integer
|
||||||
|
R = 1
|
||||||
|
A = 2
|
||||||
|
D = 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 BTLParamType As Integer
|
Public Enum BTLParamType As Integer
|
||||||
DOUBLE_ = 1
|
DOUBLE_ = 1
|
||||||
STRING_ = 2
|
STRING_ = 2
|
||||||
@@ -15,6 +313,20 @@
|
|||||||
GRP = 3
|
GRP = 3
|
||||||
End Enum
|
End Enum
|
||||||
|
|
||||||
|
' Tipo di progetto (Beam o Wall)
|
||||||
|
Public Enum BWType As Integer
|
||||||
|
NULL = 0
|
||||||
|
BEAM = 1
|
||||||
|
WALL = 2
|
||||||
|
End Enum
|
||||||
|
|
||||||
|
Enum CalcStates As Integer
|
||||||
|
NOTCALCULATED = -1
|
||||||
|
OK = 0
|
||||||
|
WARNING = 1
|
||||||
|
ERROR_ = 2
|
||||||
|
End Enum
|
||||||
|
|
||||||
Public Enum GRPType As Integer
|
Public Enum GRPType As Integer
|
||||||
L = 0
|
L = 0
|
||||||
T = 1
|
T = 1
|
||||||
@@ -27,60 +339,6 @@
|
|||||||
BOTH = 3
|
BOTH = 3
|
||||||
End Enum
|
End Enum
|
||||||
|
|
||||||
Enum CalcStates As Integer
|
|
||||||
NOTCALCULATED = -1
|
|
||||||
OK = 0
|
|
||||||
WARNING = 1
|
|
||||||
ERROR_ = 2
|
|
||||||
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
|
Public Enum MaterialType As Integer
|
||||||
INACTIV = 0
|
INACTIV = 0
|
||||||
BA = 1
|
BA = 1
|
||||||
@@ -101,10 +359,19 @@
|
|||||||
DOWN = 1
|
DOWN = 1
|
||||||
End Enum
|
End Enum
|
||||||
|
|
||||||
Public Const BTLFEATURES_FILE_NAME As String = "BTLFeatures.ini"
|
Public Enum PartOffset_RefSideFixClamp As Integer
|
||||||
|
INACTIVE = 0
|
||||||
|
REFSIDE1 = 1
|
||||||
|
REFSIDE2 = 2
|
||||||
|
REFSIDE3 = 3
|
||||||
|
REFSIDE4 = 4
|
||||||
|
End Enum
|
||||||
|
|
||||||
'Public Const S_GENERAL As String = "General"
|
Public Enum ProcessingQuality As Integer
|
||||||
'Public Const K_DEBUG As String = "Debug"
|
AUTOMATIC = 1
|
||||||
|
VISIBLE = 2
|
||||||
|
FAST = 3
|
||||||
|
End Enum
|
||||||
|
|
||||||
' Tipo di progetto
|
' Tipo di progetto
|
||||||
Public Enum ProjectType As Integer
|
Public Enum ProjectType As Integer
|
||||||
@@ -112,168 +379,22 @@
|
|||||||
PROD = 2
|
PROD = 2
|
||||||
End Enum
|
End Enum
|
||||||
|
|
||||||
' Tipo di progetto (Beam o Wall)
|
Public Enum Range As Integer
|
||||||
Public Enum BWType As Integer
|
STANDARD = 1
|
||||||
BEAM = 1
|
EXTENDED = 2
|
||||||
WALL = 2
|
|
||||||
End Enum
|
End Enum
|
||||||
|
|
||||||
Friend Const PROJ As String = "PROJ"
|
Public Enum Recess As Integer
|
||||||
Friend Const FILENAMESEPARATOR As Char = "^"c
|
AUTOMATIC = 1
|
||||||
Friend Const BTLINFO As String = "BtlInfo"
|
MANUAL = 2
|
||||||
|
End Enum
|
||||||
|
|
||||||
' info parametri BTL
|
Public Enum StoreyType As Integer
|
||||||
Friend Const BTL_PRT_PROJ As String = "PROJ"
|
CEILING = 1
|
||||||
Friend Const BTL_PRT_PDN As String = "PDN"
|
ROOF = 2
|
||||||
Friend Const BTL_PRT_DO As String = "DO"
|
WALL = 3
|
||||||
Friend Const BTL_PRT_NAM As String = "NAM"
|
End Enum
|
||||||
Friend Const BTL_PRT_L As String = "L"
|
|
||||||
Friend Const BTL_PRT_W As String = "W"
|
|
||||||
Friend Const BTL_PRT_H As String = "H"
|
|
||||||
Friend Const BTL_PRT_CNT As String = "CNT"
|
|
||||||
Friend Const BTL_PRT_ADDED As String = "ADDED"
|
|
||||||
Friend Const BTL_PRT_DONE As String = "DONE"
|
|
||||||
Friend Const BTL_PRT_ROTATED As String = "ROTATED"
|
|
||||||
Friend Const BTL_PRT_INVERTED As String = "INVERTED"
|
|
||||||
Friend Const BTL_PRT_MATERIAL As String = "MATERIAL"
|
|
||||||
' parametri pezzo
|
|
||||||
Friend Const BTL_PRT_SINGLEMEMBERNUM = "SINGLEMEMBERNUMBER"
|
|
||||||
Friend Const BTL_PRT_ASSEMBLYNUM = "ASSEMBLYNUMBER"
|
|
||||||
Friend Const BTL_PRT_ORDERNUM = "ORDERNUMBER"
|
|
||||||
Friend Const BTL_PRT_DESIGNATION = "DESIGNATION"
|
|
||||||
Friend Const BTL_PRT_ANNOTATION = "ANNOTATION"
|
|
||||||
Friend Const BTL_PRT_STOREY = "STOREY"
|
|
||||||
Friend Const BTL_PRT_GROUP = "GROUP"
|
|
||||||
Friend Const BTL_PRT_PACKAGE = "PACKAGE"
|
|
||||||
Friend Const BTL_PRT_TIMBERGRADE = "TIMBERGRADE"
|
|
||||||
Friend Const BTL_PRT_QUALITYGRADE = "QUALITYGRADE"
|
|
||||||
Friend Const BTL_PRT_COLOUR = "COLOUR"
|
|
||||||
Friend Const BTL_PRT_PLANINGLENGTH = "PLANINGLENGTH"
|
|
||||||
Friend Const BTL_PRT_STARTOFFSET = "STARTOFFSET"
|
|
||||||
Friend Const BTL_PRT_ENDOFFSET = "ENDOFFSET"
|
|
||||||
Friend Const BTL_PRT_UID = "UID"
|
|
||||||
Friend Const BTL_PRT_TRANSFORMATION = "TRANSFORMATION"
|
|
||||||
Friend Const BTL_PRT_CAMBER = "CAMBER"
|
|
||||||
Friend Const BTL_PRT_PARTOFFSET = "PARTOFFSET"
|
|
||||||
Friend Const BTL_PRT_PROCESSINGQUALITY = "PROCESSINGQUALITY"
|
|
||||||
Friend Const BTL_PRT_RECESS = "RECESS"
|
|
||||||
Friend Const BTL_PRT_STOREYTYPE = "STOREYTYPE"
|
|
||||||
Friend Const BTL_PRT_ELEMENTNUM = "ELEMENTNUMBER"
|
|
||||||
Friend Const BTL_PRT_LAYER = "LAYER"
|
|
||||||
Friend Const BTL_PRT_MODULENUM = "MODULENUMBER"
|
|
||||||
'Friend Const BTL_PRT_USERATTRIBUTE = "USERATTRIBUTE"
|
|
||||||
Friend Const BTL_PRT_COMMENT = "COMMENT"
|
|
||||||
Friend Const BTL_PRT_GRAINDIR = "GRAINDIRECTION"
|
|
||||||
Friend Const BTL_PRT_REFSIDE = "REFERENCESIDE"
|
|
||||||
Friend Const BTL_PRT_ALIGNMENT = "ALIGNMENT"
|
|
||||||
Friend Const BTL_PRT_MATERIALTYPE = "MATERIALTYPE"
|
|
||||||
|
|
||||||
' parametri generici
|
|
||||||
Friend Const BTL_GEN_PROJNUM = "PROJECTNUMBER"
|
|
||||||
Friend Const BTL_GEN_PROJNAME = "PROJECTNAME"
|
|
||||||
Friend Const BTL_GEN_PROJPART = "PROJECTPART"
|
|
||||||
Friend Const BTL_GEN_PROJGUID = "PROJECTGUID"
|
|
||||||
Friend Const BTL_GEN_PROJTYPE = "PROJECTTYPE"
|
|
||||||
Friend Const BTL_GEN_LISTNAME = "LISTNAME"
|
|
||||||
Friend Const BTL_GEN_CUSTOMER = "CUSTOMER"
|
|
||||||
Friend Const BTL_GEN_ARCHITECT = "ARCHITECT"
|
|
||||||
Friend Const BTL_GEN_EDITOR = "EDITOR"
|
|
||||||
Friend Const BTL_GEN_DELIVDATE = "DELIVERYDATE"
|
|
||||||
Friend Const BTL_GEN_EXPDATE = "EXPORTDATE"
|
|
||||||
Friend Const BTL_GEN_EXPTIME = "EXPORTTIME"
|
|
||||||
Friend Const BTL_GEN_EXPRELEASE = "EXPORTRELEASE"
|
|
||||||
Friend Const BTL_GEN_LANGUAGE = "LANGUAGE"
|
|
||||||
Friend Const BTL_GEN_RANGE = "RANGE"
|
|
||||||
Friend Const BTL_GEN_COMPUTERNAME = "COMPUTERNAME"
|
|
||||||
Friend Const BTL_GEN_USER = "USER"
|
|
||||||
Friend Const BTL_GEN_SRCFILE = "SOURCEFILE"
|
|
||||||
Friend Const BTL_GEN_EXPFILE = "EXPORTFILE"
|
|
||||||
Friend Const BTL_GEN_USERATTRIBUTE = "USERATTRIBUTE"
|
|
||||||
|
|
||||||
Friend Const PROCESSINGS As String = "Processings"
|
|
||||||
Friend Const OUTLINE As String = "Outline"
|
|
||||||
Friend Const BTL_FTR_GRP As String = "GRP"
|
|
||||||
Friend Const BTL_FTR_PRC As String = "PRC"
|
|
||||||
Friend Const BTL_FTR_DO As String = "DO"
|
|
||||||
Friend Const BTL_FTR_SIDE As String = "SIDE"
|
|
||||||
Friend Const BTL_FTR_NAME As String = "NAME"
|
|
||||||
Friend Const BTL_FTR_DES As String = "DES"
|
|
||||||
Friend Const BTL_FTR_PRID As String = "PRID"
|
|
||||||
Friend Const BTL_FTR_FRAME As String = "FRAME"
|
|
||||||
Friend Const BTL_FTR_MAINID As String = "MAINID"
|
|
||||||
|
|
||||||
' parametri machgroup grezzi
|
|
||||||
Friend Const MGR_RPT_ID As String = "ID"
|
|
||||||
Friend Const MGR_RPT_L As String = "L"
|
|
||||||
Friend Const MGR_RPT_W As String = "W"
|
|
||||||
Friend Const MGR_RPT_H As String = "H"
|
|
||||||
Friend Const MGR_RPT_WASTE As String = "WASTE"
|
|
||||||
Friend Const MGR_RPT_USAGE As String = "USAGE"
|
|
||||||
Friend Const MGR_RPT_STARTCUT As String = "STARTCUT"
|
|
||||||
Friend Const MGR_RPT_MATERIAL As String = "MATERIAL"
|
|
||||||
|
|
||||||
Friend Const MGR_PRT_PDN As String = "PDN"
|
|
||||||
Friend Const MGR_PRT_L As String = "L"
|
|
||||||
Friend Const MGR_PRT_W As String = "W"
|
|
||||||
Friend Const MGR_PRT_H As String = "H"
|
|
||||||
Friend Const MGR_PRT_DES As String = "DES"
|
|
||||||
Friend Const MGR_PRT_STARTCUT As String = "STARTCUT"
|
|
||||||
Friend Const MGR_PRT_MATERIAL As String = "MATERIAL"
|
|
||||||
Friend Const MGR_PRT_ROT As String = "ROT"
|
|
||||||
Friend Const MGR_PRT_FLIP As String = "FLIP"
|
|
||||||
Friend Const MGR_PRT_POSX As String = "POSX"
|
|
||||||
Friend Const MGR_PRT_POSY As String = "POSY"
|
|
||||||
|
|
||||||
Friend Const MGR_FTR_GRP As String = "GRP"
|
|
||||||
Friend Const MGR_FTR_PRC As String = "PRC"
|
|
||||||
Friend Const MGR_FTR_DO As String = "DO"
|
|
||||||
Friend Const MGR_FTR_SIDE As String = "SIDE"
|
|
||||||
Friend Const MGR_FTR_NAME As String = "NAME"
|
|
||||||
Friend Const MGR_FTR_DES As String = "DES"
|
|
||||||
Friend Const MGR_FTR_PRID As String = "PRID"
|
|
||||||
Friend Const MGR_FTR_FRAME As String = "FRAME"
|
|
||||||
|
|
||||||
' parametri creazione barre
|
|
||||||
Friend Const MGR_RPT_BARLEN As String = "BARLEN"
|
|
||||||
Friend Const MGR_RPT_BARHEIGHT As String = "BARHEIGHT"
|
|
||||||
Friend Const MGR_RPT_BARWIDTH As String = "BARWIDTH"
|
|
||||||
Friend Const MGR_RPT_PANELLEN As String = "PANELLEN"
|
|
||||||
Friend Const MGR_RPT_PANELWIDTH As String = "PANELWIDTH"
|
|
||||||
Friend Const MGR_RPT_PANELHEIGHT As String = "PANELHEIGHT"
|
|
||||||
Friend Const MGR_RPT_PART As String = "PART"
|
|
||||||
|
|
||||||
' parametri errori integration
|
|
||||||
Friend Const ITG_CUTID As String = "CUTID"
|
|
||||||
Friend Const ITG_TASKID As String = "TASKID"
|
|
||||||
Friend Const ITG_PROJ_ERR As String = "PROJ_ERR"
|
|
||||||
Friend Const ITG_PROJ_MSG As String = "PROJ_MSG"
|
|
||||||
Friend Const ITG_PROJ_ROT As String = "PROJ_ROT"
|
|
||||||
Friend Const ITG_PROJ_FALL As String = "PROJ_FALL"
|
|
||||||
Friend Const ITG_PROJ_TIME As String = "PROJ_TIME"
|
|
||||||
|
|
||||||
' parametri errori integration
|
|
||||||
Friend Const ITG_PROD_ERR As String = "PROD_ERR"
|
|
||||||
Friend Const ITG_PROD_MSG As String = "PROD_MSG"
|
|
||||||
Friend Const ITG_PROD_ROT As String = "PROD_ROT"
|
|
||||||
Friend Const ITG_PROD_FALL As String = "PROD_FALL"
|
|
||||||
Friend Const ITG_PROD_TIME As String = "PROD_TIME"
|
|
||||||
|
|
||||||
' parametri errori integration
|
|
||||||
Friend Const DUPLO_TODELETE As String = "DUPLO_TODELETE"
|
|
||||||
|
|
||||||
' parametri warehouse
|
|
||||||
Friend Const WRH_BEAM As String = "BEAM"
|
|
||||||
Friend Const WRH_WALL As String = "WALL"
|
|
||||||
Friend Const WRH_CURRENT As String = "Current"
|
|
||||||
Friend Const WRH_STARTOFFSET As String = "StartOffset"
|
|
||||||
Friend Const WRH_OFFSET As String = "Offset"
|
|
||||||
Friend Const WRH_L As String = "L"
|
|
||||||
Friend Const WRH_KERF As String = "Kerf"
|
|
||||||
Friend 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 S_GENERAL As String = "General"
|
||||||
|
'Public Const K_DEBUG As String = "Debug"
|
||||||
End Module
|
End Module
|
||||||
@@ -143,6 +143,6 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PostBuildEvent>copy $(TargetPath) c:\EgtProg\EgtBEAMWALL\EgtBEAMWALL.Core.dll</PostBuildEvent>
|
<!-- <PostBuildEvent>copy $(TargetPath) c:\EgtProg\EgtBEAMWALL\EgtBEAMWALL.Core.dll</PostBuildEvent> -->
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -4,39 +4,53 @@ Imports EgtUILib
|
|||||||
Public Class ProdFileM
|
Public Class ProdFileM
|
||||||
Inherits ProjectFileM
|
Inherits ProjectFileM
|
||||||
|
|
||||||
|
#Region "Protected Fields"
|
||||||
|
|
||||||
Protected m_nProjIdList As List(Of Integer)
|
Protected m_nProjIdList As List(Of Integer)
|
||||||
|
Protected m_sName As String
|
||||||
|
|
||||||
|
#End Region
|
||||||
|
|
||||||
|
#Region "Protected Constructors"
|
||||||
|
|
||||||
|
Protected Sub New()
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
#End Region
|
||||||
|
|
||||||
|
#Region "Public Properties"
|
||||||
|
|
||||||
Public ReadOnly Property nProjIdList As List(Of Integer)
|
Public ReadOnly Property nProjIdList As List(Of Integer)
|
||||||
Get
|
Get
|
||||||
Return m_nProjIdList
|
Return m_nProjIdList
|
||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
Protected m_sName As String
|
|
||||||
Public ReadOnly Property sName As String
|
Public ReadOnly Property sName As String
|
||||||
Get
|
Get
|
||||||
Return m_sName
|
Return m_sName
|
||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
#Region "CONSTRUCTORS"
|
#End Region
|
||||||
|
|
||||||
Protected Sub New()
|
#Region "Public Methods"
|
||||||
End Sub
|
|
||||||
|
|
||||||
Public Shared Function CreateNewProdFileM() As ProdFileM
|
Public Shared Function CreateNewProdFileM() As ProdFileM
|
||||||
Return New ProdFileM
|
Return New ProdFileM
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Public Shared Function CreateProdFileM(nProdId As Integer, nProjIdList As List(Of Integer),
|
Public Shared Function CreateProdFileM(nProdId As Integer, nProjIdList As List(Of Integer), dtCreateProjDate As DateTime, sName As String, nType As BWType) As ProdFileM
|
||||||
dtCreateProjDate As DateTime, sName As String) As ProdFileM
|
|
||||||
Dim NewProjectFileM As New ProdFileM
|
Dim NewProjectFileM As New ProdFileM
|
||||||
NewProjectFileM.m_nProdId = nProdId
|
NewProjectFileM.m_nProdId = nProdId
|
||||||
NewProjectFileM.m_nProjIdList = nProjIdList
|
NewProjectFileM.m_nProjIdList = nProjIdList
|
||||||
NewProjectFileM.m_dtCreateDate = dtCreateProjDate
|
NewProjectFileM.m_dtCreateDate = dtCreateProjDate
|
||||||
NewProjectFileM.m_sName = sName
|
NewProjectFileM.m_sName = sName
|
||||||
|
NewProjectFileM.m_nType = nType
|
||||||
|
|
||||||
Return NewProjectFileM
|
Return NewProjectFileM
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
#End Region ' CONSTRUCTORS
|
#End Region
|
||||||
|
|
||||||
End Class
|
End Class
|
||||||
@@ -4,21 +4,30 @@ Imports EgtUILib
|
|||||||
Public Class ProjFileM
|
Public Class ProjFileM
|
||||||
Inherits ProjectFileM
|
Inherits ProjectFileM
|
||||||
|
|
||||||
|
#Region "Protected Fields"
|
||||||
|
|
||||||
Protected m_dtExportDate As DateTime
|
Protected m_dtExportDate As DateTime
|
||||||
|
Protected m_sBTLFileName As String = String.Empty
|
||||||
|
|
||||||
|
Protected m_sListName As String
|
||||||
|
|
||||||
|
#End Region
|
||||||
|
|
||||||
|
#Region "Protected Constructors"
|
||||||
|
|
||||||
|
Protected Sub New()
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
#End Region
|
||||||
|
|
||||||
|
#Region "Public Properties"
|
||||||
|
|
||||||
Public ReadOnly Property dtExportDate As DateTime
|
Public ReadOnly Property dtExportDate As DateTime
|
||||||
Get
|
Get
|
||||||
Return m_dtExportDate
|
Return m_dtExportDate
|
||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
Protected m_sListName As String
|
|
||||||
Public ReadOnly Property sListName As String
|
|
||||||
Get
|
|
||||||
Return m_sListName
|
|
||||||
End Get
|
|
||||||
End Property
|
|
||||||
|
|
||||||
Protected m_sBTLFileName As String = String.Empty
|
|
||||||
Public Property sBTLFileName As String
|
Public Property sBTLFileName As String
|
||||||
Get
|
Get
|
||||||
Return m_sBTLFileName
|
Return m_sBTLFileName
|
||||||
@@ -28,17 +37,22 @@ Public Class ProjFileM
|
|||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
#Region "CONSTRUCTORS"
|
Public ReadOnly Property sListName As String
|
||||||
|
Get
|
||||||
|
Return m_sListName
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
Protected Sub New()
|
#End Region
|
||||||
End Sub
|
|
||||||
|
#Region "Public Methods"
|
||||||
|
|
||||||
Public Shared Function CreateNewProjFileM() As ProjFileM
|
Public Shared Function CreateNewProjFileM() As ProjFileM
|
||||||
Return New ProjFileM
|
Return New ProjFileM
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Public Shared Function CreateProjFileM(nProjId As Integer, nProdId As Integer, dtCreateProjDate As DateTime,
|
Public Shared Function CreateProjFileM(nProjId As Integer, nProdId As Integer, dtCreateProjDate As DateTime,
|
||||||
dtExportDate As DateTime, sListName As String, sBTLFileName As String, IsNew As Boolean, IsLocked As Boolean) As ProjFileM
|
dtExportDate As DateTime, sListName As String, sBTLFileName As String, IsNew As Boolean, IsLocked As Boolean, nType As BWType) As ProjFileM
|
||||||
Dim NewProjectFileM As New ProjFileM
|
Dim NewProjectFileM As New ProjFileM
|
||||||
NewProjectFileM.m_nProjId = nProjId
|
NewProjectFileM.m_nProjId = nProjId
|
||||||
NewProjectFileM.m_nProdId = nProdId
|
NewProjectFileM.m_nProdId = nProdId
|
||||||
@@ -48,9 +62,11 @@ Public Class ProjFileM
|
|||||||
NewProjectFileM.m_sBTLFileName = sBTLFileName
|
NewProjectFileM.m_sBTLFileName = sBTLFileName
|
||||||
NewProjectFileM.m_bIsNew = IsNew
|
NewProjectFileM.m_bIsNew = IsNew
|
||||||
NewProjectFileM.m_bIsLocked = IsLocked
|
NewProjectFileM.m_bIsLocked = IsLocked
|
||||||
|
NewProjectFileM.m_nType = nType
|
||||||
|
|
||||||
Return NewProjectFileM
|
Return NewProjectFileM
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
#End Region ' CONSTRUCTORS
|
#End Region
|
||||||
|
|
||||||
End Class
|
End Class
|
||||||
@@ -13,38 +13,19 @@ Public Class ProjectFileM
|
|||||||
' m_nProjectType = nProjectType
|
' m_nProjectType = nProjectType
|
||||||
'End Sub
|
'End Sub
|
||||||
|
|
||||||
Protected m_nProjId As Integer = 0
|
#Region "Protected Fields"
|
||||||
Public ReadOnly Property nProjId As Integer
|
|
||||||
Get
|
|
||||||
Return m_nProjId
|
|
||||||
End Get
|
|
||||||
End Property
|
|
||||||
|
|
||||||
Protected m_nProdId As Integer = 0
|
|
||||||
Public ReadOnly Property nProdId As Integer
|
|
||||||
Get
|
|
||||||
Return m_nProdId
|
|
||||||
End Get
|
|
||||||
End Property
|
|
||||||
|
|
||||||
Protected m_dtCreateDate As DateTime
|
|
||||||
Public ReadOnly Property dtCreateDate As DateTime
|
|
||||||
Get
|
|
||||||
Return m_dtCreateDate
|
|
||||||
End Get
|
|
||||||
End Property
|
|
||||||
|
|
||||||
Protected m_bIsNew As Boolean
|
|
||||||
Public Property bIsNew As Boolean
|
|
||||||
Get
|
|
||||||
Return m_bIsNew
|
|
||||||
End Get
|
|
||||||
Set(value As Boolean)
|
|
||||||
m_bIsNew = value
|
|
||||||
End Set
|
|
||||||
End Property
|
|
||||||
|
|
||||||
Protected m_bIsLocked As Boolean
|
Protected m_bIsLocked As Boolean
|
||||||
|
Protected m_bIsNew As Boolean
|
||||||
|
Protected m_dtCreateDate As DateTime
|
||||||
|
Protected m_nProdId As Integer = 0
|
||||||
|
Protected m_nProjId As Integer = 0
|
||||||
|
Protected m_nType As BWType
|
||||||
|
|
||||||
|
#End Region
|
||||||
|
|
||||||
|
#Region "Public Properties"
|
||||||
|
|
||||||
Public Property bIsLocked As Boolean
|
Public Property bIsLocked As Boolean
|
||||||
Get
|
Get
|
||||||
Return m_bIsLocked
|
Return m_bIsLocked
|
||||||
@@ -54,7 +35,43 @@ Public Class ProjectFileM
|
|||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
#Region "CONSTRUCTORS"
|
Public Property bIsNew As Boolean
|
||||||
|
Get
|
||||||
|
Return m_bIsNew
|
||||||
|
End Get
|
||||||
|
Set(value As Boolean)
|
||||||
|
m_bIsNew = value
|
||||||
|
End Set
|
||||||
|
End Property
|
||||||
|
|
||||||
|
Public ReadOnly Property dtCreateDate As DateTime
|
||||||
|
Get
|
||||||
|
Return m_dtCreateDate
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
Public ReadOnly Property nProdId As Integer
|
||||||
|
Get
|
||||||
|
Return m_nProdId
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
Public ReadOnly Property nProjId As Integer
|
||||||
|
Get
|
||||||
|
Return m_nProjId
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
Public Property nType As BWType
|
||||||
|
Get
|
||||||
|
Return m_nType
|
||||||
|
End Get
|
||||||
|
Set(value As BWType)
|
||||||
|
m_nType = value
|
||||||
|
End Set
|
||||||
|
End Property
|
||||||
|
|
||||||
|
#End Region
|
||||||
|
|
||||||
'Sub New(nProjectType As ProjectType, nProjId As Integer, nProdId As Integer, sBTLFileName As String)
|
'Sub New(nProjectType As ProjectType, nProjId As Integer, nProdId As Integer, sBTLFileName As String)
|
||||||
' m_nProjectType = nProjectType
|
' m_nProjectType = nProjectType
|
||||||
@@ -67,6 +84,4 @@ Public Class ProjectFileM
|
|||||||
' End If
|
' End If
|
||||||
'End Sub
|
'End Sub
|
||||||
|
|
||||||
#End Region ' CONSTRUCTORS
|
|
||||||
|
|
||||||
End Class
|
End Class
|
||||||
@@ -200,7 +200,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
{
|
{
|
||||||
var currProd = FindByProdId(ProdId);
|
var currProd = FindByProdId(ProdId);
|
||||||
|
|
||||||
return Core.ProdFileM.CreateProdFileM(currProd.ProdId, ProjIdByProd(ProdId), currProd.DtCreated, currProd.Description);
|
return Core.ProdFileM.CreateProdFileM(currProd.ProdId, ProjIdByProd(ProdId), currProd.DtCreated, currProd.Description, Core.ConstBeam.BWType.NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -213,7 +213,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
List<Core.ProdFileM> result = new List<Core.ProdFileM>();
|
List<Core.ProdFileM> result = new List<Core.ProdFileM>();
|
||||||
var dbResult = GetLastDbModelDesc(numRecord);
|
var dbResult = GetLastDbModelDesc(numRecord);
|
||||||
// conversione
|
// conversione
|
||||||
result = dbResult.Select(x => Core.ProdFileM.CreateProdFileM(x.ProdId, ProjIdByProd(x.ProdId), x.DtCreated, x.Description)).ToList();
|
result = dbResult.Select(x => Core.ProdFileM.CreateProdFileM(x.ProdId, ProjIdByProd(x.ProdId), x.DtCreated, x.Description, Core.ConstBeam.BWType.NULL)).ToList();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using EgtBEAMWALL.DataLayer.DatabaseModels;
|
using EgtBEAMWALL.DataLayer.DatabaseModels;
|
||||||
|
using static EgtBEAMWALL.Core.ConstBeam;
|
||||||
|
|
||||||
namespace EgtBEAMWALL.DataLayer.Controllers
|
namespace EgtBEAMWALL.DataLayer.Controllers
|
||||||
{
|
{
|
||||||
@@ -33,7 +34,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
protected Core.ProjFileM coreConv(ProjModel currProj)
|
protected Core.ProjFileM coreConv(ProjModel currProj)
|
||||||
{
|
{
|
||||||
Core.ProjFileM answ = Core.ProjFileM.CreateProjFileM(currProj.ProjId, ProdIdByProdDbId(currProj.ProdDbId), currProj.DtCreated, currProj.DtExported, currProj.ListName, currProj.BTLFileName, currProj.IsNew, currProj.Locked);
|
Core.ProjFileM answ = Core.ProjFileM.CreateProjFileM(currProj.ProjId, ProdIdByProdDbId(currProj.ProdDbId), currProj.DtCreated, currProj.DtExported, currProj.ListName, currProj.BTLFileName, currProj.IsNew, currProj.Locked, currProj.PType);
|
||||||
return answ;
|
return answ;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -498,13 +499,14 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
/// <param name="ListName"></param>
|
/// <param name="ListName"></param>
|
||||||
/// <param name="DtExported"></param>
|
/// <param name="DtExported"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public Core.ProjFileM UpdateInfo(int ProjId, string BTLFileName, string ListName, DateTime DtExported)
|
public Core.ProjFileM UpdateInfo(int ProjId, string BTLFileName, string ListName, DateTime DtExported, BWType PType)
|
||||||
{
|
{
|
||||||
var currData = FindByProjId(ProjId);
|
var currData = FindByProjId(ProjId);
|
||||||
// aggiorno valore BTL
|
// aggiorno valore BTL
|
||||||
currData.BTLFileName = BTLFileName;
|
currData.BTLFileName = BTLFileName;
|
||||||
currData.DtExported = DtExported;
|
currData.DtExported = DtExported;
|
||||||
currData.ListName = ListName;
|
currData.ListName = ListName;
|
||||||
|
currData.PType = PType;
|
||||||
|
|
||||||
// Commit changes
|
// Commit changes
|
||||||
dbCtx.SaveChanges();
|
dbCtx.SaveChanges();
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using static EgtBEAMWALL.Core.ConstBeam;
|
||||||
|
|
||||||
namespace EgtBEAMWALL.DataLayer.DatabaseModels
|
namespace EgtBEAMWALL.DataLayer.DatabaseModels
|
||||||
{
|
{
|
||||||
@@ -60,6 +61,11 @@ namespace EgtBEAMWALL.DataLayer.DatabaseModels
|
|||||||
[Column("Id")]
|
[Column("Id")]
|
||||||
public int ProjId { get; set; }
|
public int ProjId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Tipologia del progetto (Travi, Pareti, ...)
|
||||||
|
/// </summary>
|
||||||
|
public BWType PType { get; set; } = BWType.NULL;
|
||||||
|
|
||||||
#endregion Public Properties
|
#endregion Public Properties
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -114,6 +114,10 @@
|
|||||||
<Compile Include="Migrations\202105051121209_renameIndex.designer.cs">
|
<Compile Include="Migrations\202105051121209_renameIndex.designer.cs">
|
||||||
<DependentUpon>202105051121209_renameIndex.cs</DependentUpon>
|
<DependentUpon>202105051121209_renameIndex.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="Migrations\202107141618197_AddBwProjType.cs" />
|
||||||
|
<Compile Include="Migrations\202107141618197_AddBwProjType.designer.cs">
|
||||||
|
<DependentUpon>202107141618197_AddBwProjType.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="Migrations\Configuration.cs" />
|
<Compile Include="Migrations\Configuration.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<Compile Include="Utils.cs" />
|
<Compile Include="Utils.cs" />
|
||||||
@@ -141,10 +145,13 @@
|
|||||||
<EmbeddedResource Include="Migrations\202105051121209_renameIndex.resx">
|
<EmbeddedResource Include="Migrations\202105051121209_renameIndex.resx">
|
||||||
<DependentUpon>202105051121209_renameIndex.cs</DependentUpon>
|
<DependentUpon>202105051121209_renameIndex.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Migrations\202107141618197_AddBwProjType.resx">
|
||||||
|
<DependentUpon>202107141618197_AddBwProjType.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PostBuildEvent>copy $(TargetPath) c:\EgtProg\EgtBEAMWALL\EgtBEAMWALL.DataLayer.dll</PostBuildEvent>
|
<!-- <PostBuildEvent>copy $(TargetPath) c:\EgtProg\EgtBEAMWALL\EgtBEAMWALL.DataLayer.dll</PostBuildEvent> -->
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
// <auto-generated />
|
||||||
|
namespace EgtBEAMWALL.DataLayer.Migrations
|
||||||
|
{
|
||||||
|
using System.CodeDom.Compiler;
|
||||||
|
using System.Data.Entity.Migrations;
|
||||||
|
using System.Data.Entity.Migrations.Infrastructure;
|
||||||
|
using System.Resources;
|
||||||
|
|
||||||
|
[GeneratedCode("EntityFramework.Migrations", "6.4.4")]
|
||||||
|
public sealed partial class AddBwProjType : IMigrationMetadata
|
||||||
|
{
|
||||||
|
private readonly ResourceManager Resources = new ResourceManager(typeof(AddBwProjType));
|
||||||
|
|
||||||
|
string IMigrationMetadata.Id
|
||||||
|
{
|
||||||
|
get { return "202107141618197_AddBwProjType"; }
|
||||||
|
}
|
||||||
|
|
||||||
|
string IMigrationMetadata.Source
|
||||||
|
{
|
||||||
|
get { return null; }
|
||||||
|
}
|
||||||
|
|
||||||
|
string IMigrationMetadata.Target
|
||||||
|
{
|
||||||
|
get { return Resources.GetString("Target"); }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
namespace EgtBEAMWALL.DataLayer.Migrations
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Data.Entity.Migrations;
|
||||||
|
|
||||||
|
public partial class AddBwProjType : DbMigration
|
||||||
|
{
|
||||||
|
public override void Up()
|
||||||
|
{
|
||||||
|
AddColumn("dbo.ProjList", "PType", c => c.Int(nullable: false));
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Down()
|
||||||
|
{
|
||||||
|
DropColumn("dbo.ProjList", "PType");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because one or more lines are too long
@@ -9,9 +9,26 @@ Imports EgtWPFLib5
|
|||||||
Public Class SupervisorManagerVM
|
Public Class SupervisorManagerVM
|
||||||
Inherits VMBase
|
Inherits VMBase
|
||||||
|
|
||||||
#Region "FIELDS & PROPERTIES"
|
#Region "Private Fields"
|
||||||
|
|
||||||
|
' Definizione comandi
|
||||||
|
Private m_cmdOpen As ICommand
|
||||||
|
|
||||||
Private m_CurrProd As ProdFileVM
|
Private m_CurrProd As ProdFileVM
|
||||||
|
|
||||||
|
#End Region
|
||||||
|
|
||||||
|
#Region "Public Constructors"
|
||||||
|
|
||||||
|
Sub New()
|
||||||
|
' Creo riferimento a questa classe in Map
|
||||||
|
Map.SetRefSupervisorManagerVM(Me)
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
#End Region
|
||||||
|
|
||||||
|
#Region "Internal Properties"
|
||||||
|
|
||||||
Friend Property CurrProd As ProdFileVM
|
Friend Property CurrProd As ProdFileVM
|
||||||
Get
|
Get
|
||||||
Return m_CurrProd
|
Return m_CurrProd
|
||||||
@@ -21,8 +38,8 @@ Public Class SupervisorManagerVM
|
|||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
' Definizione comandi
|
#End Region
|
||||||
Private m_cmdOpen As ICommand
|
|
||||||
'Private m_cmdSave As ICommand
|
'Private m_cmdSave As ICommand
|
||||||
'Private m_cmdGoToProj As ICommand
|
'Private m_cmdGoToProj As ICommand
|
||||||
|
|
||||||
@@ -40,33 +57,7 @@ Public Class SupervisorManagerVM
|
|||||||
' End Get
|
' End Get
|
||||||
' End Property
|
' End Property
|
||||||
|
|
||||||
'#End Region ' ToolTip
|
#Region "Public Properties"
|
||||||
|
|
||||||
#End Region ' Fields & Properties
|
|
||||||
|
|
||||||
#Region "CONSTRUCTOR"
|
|
||||||
|
|
||||||
Sub New()
|
|
||||||
' Creo riferimento a questa classe in Map
|
|
||||||
Map.SetRefSupervisorManagerVM(Me)
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
#End Region ' CONSTRUCTOR
|
|
||||||
|
|
||||||
#Region "METHODS"
|
|
||||||
|
|
||||||
Public Function SetCurrProd(nProdId As Integer) As Boolean
|
|
||||||
Dim Currprod As ProdModel = DbControllers.m_ProdController.FindByProdId(nProdId)
|
|
||||||
If IsNothing(Currprod) Then Return False
|
|
||||||
m_CurrProd = New ProdFileVM(ProdFileM.CreateProdFileM(Currprod.ProdId, New List(Of Integer), Date.Now(), ""))
|
|
||||||
Return True
|
|
||||||
End Function
|
|
||||||
|
|
||||||
#End Region ' METHODS
|
|
||||||
|
|
||||||
#Region "COMMANDS"
|
|
||||||
|
|
||||||
#Region "OpenCommand"
|
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' Returns a command that do Open.
|
''' Returns a command that do Open.
|
||||||
@@ -80,6 +71,10 @@ Public Class SupervisorManagerVM
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
#End Region
|
||||||
|
|
||||||
|
#Region "Internal Methods"
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' Execute the Open. This method is invoked by the OpenCommand.
|
''' Execute the Open. This method is invoked by the OpenCommand.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
@@ -131,8 +126,18 @@ Public Class SupervisorManagerVM
|
|||||||
Map.refProjectVM.SupervisorMachGroupPanelVM.NotifyPropertyChanged(NameOf(Map.refProjectVM.SupervisorMachGroupPanelVM.MachGroupVMList))
|
Map.refProjectVM.SupervisorMachGroupPanelVM.NotifyPropertyChanged(NameOf(Map.refProjectVM.SupervisorMachGroupPanelVM.MachGroupVMList))
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
#End Region ' OpenCommand
|
#End Region
|
||||||
|
|
||||||
#End Region ' Commands
|
#Region "Public Methods"
|
||||||
|
|
||||||
|
'#End Region ' ToolTip
|
||||||
|
Public Function SetCurrProd(nProdId As Integer) As Boolean
|
||||||
|
Dim Currprod As ProdFileM = DbControllers.m_ProdController.FindCoreByProdId(nProdId)
|
||||||
|
If IsNothing(Currprod) Then Return False
|
||||||
|
m_CurrProd = New ProdFileVM(Currprod)
|
||||||
|
Return True
|
||||||
|
End Function
|
||||||
|
|
||||||
|
#End Region
|
||||||
|
|
||||||
End Class
|
End Class
|
||||||
@@ -4,34 +4,37 @@
|
|||||||
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
||||||
<section name="entityFramework"
|
<section name="entityFramework"
|
||||||
type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
|
type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
|
||||||
requirePermission="false"/>
|
requirePermission="false" />
|
||||||
</configSections>
|
</configSections>
|
||||||
<entityFramework>
|
<entityFramework>
|
||||||
<defaultConnectionFactory type="MySql.Data.Entity.MySqlConnectionFactory, MySql.Data.Entity.EF6"/>
|
<defaultConnectionFactory type="MySql.Data.Entity.MySqlConnectionFactory, MySql.Data.Entity.EF6" />
|
||||||
<providers>
|
<providers>
|
||||||
<provider invariantName="MySql.Data.MySqlClient"
|
<provider invariantName="MySql.Data.MySqlClient"
|
||||||
type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6, Version=6.10.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"></provider>
|
type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6, Version=6.10.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"></provider>
|
||||||
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
|
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
|
||||||
</providers>
|
</providers>
|
||||||
</entityFramework>
|
</entityFramework>
|
||||||
<connectionStrings>
|
<connectionStrings>
|
||||||
<add name="DefaultConnection"
|
<add name="DefaultConnection"
|
||||||
connectionString="server=localhost;port=3306;User Id=EgtUser;password=viacremasca;Persist Security Info=True;database=EgtBwDb;SslMode=none"
|
connectionString="server=localhost;port=3306;User Id=EgtUser;password=viacremasca;Persist Security Info=True;database=EgtBwDb;SslMode=none"
|
||||||
providerName="MySql.Data.MySqlClient"/>
|
providerName="MySql.Data.MySqlClient" />
|
||||||
</connectionStrings>
|
</connectionStrings>
|
||||||
<runtime>
|
<runtime>
|
||||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral"/>
|
<assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-6.10.9.0" newVersion="6.10.9.0"/>
|
<bindingRedirect oldVersion="0.0.0.0-6.10.9.0" newVersion="6.10.9.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</assemblyBinding>
|
</assemblyBinding>
|
||||||
</runtime>
|
</runtime>
|
||||||
<system.data>
|
<system.data>
|
||||||
<DbProviderFactories>
|
<DbProviderFactories>
|
||||||
<remove invariant="MySql.Data.MySqlClient"/>
|
<remove invariant="MySql.Data.MySqlClient" />
|
||||||
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL"
|
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL"
|
||||||
type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.10.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"/>
|
type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.10.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
|
||||||
</DbProviderFactories>
|
</DbProviderFactories>
|
||||||
</system.data>
|
</system.data>
|
||||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2"/></startup></configuration>
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
; Commento per evitare BOM con UTF-8
|
||||||
|
[Data]
|
||||||
|
DataRoot=C:\EgtData\EgtBEAMWALL
|
||||||
@@ -103,11 +103,14 @@
|
|||||||
<ApplicationIcon>Resources\EgtBEAMWALL.ico</ApplicationIcon>
|
<ApplicationIcon>Resources\EgtBEAMWALL.ico</ApplicationIcon>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="EgtUILib">
|
<Reference Include="EgtUILib, Version=2.3.4.4, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\..\..\..\..\EgtProg\Dll32\EgtUILib.dll</HintPath>
|
<HintPath>..\packages\EgtUILib.2.3.4.4\lib\EgtUILib.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="EgtWPFLib5">
|
<Reference Include="EgtWPFLib, Version=2.2.11.1, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\..\..\..\..\EgtProg\Dll32\EgtWPFLib5.dll</HintPath>
|
<HintPath>..\packages\EgtWPFLib.2.1.11.1\lib\EgtWPFLib.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="EgtWPFLib5, Version=2.3.4.3, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\EgtWPF5Lib.2.3.4.3\lib\EgtWPFLib5.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.dll</HintPath>
|
<HintPath>..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.dll</HintPath>
|
||||||
@@ -598,11 +601,16 @@
|
|||||||
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<None Include="App.config" />
|
<None Include="App.config" />
|
||||||
|
<None Include="DataRoot.ini">
|
||||||
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
<None Include="My Project\Settings.settings">
|
<None Include="My Project\Settings.settings">
|
||||||
<Generator>SettingsSingleFileGenerator</Generator>
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
|
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
|
||||||
</None>
|
</None>
|
||||||
<None Include="packages.config" />
|
<None Include="packages.config" />
|
||||||
|
<None Include="_Tools\postBuildTgt.bat" />
|
||||||
|
<None Include="_Tools\preBuildTgt.bat" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Resource Include="Resources\EgtBEAMWALL.ico" />
|
<Resource Include="Resources\EgtBEAMWALL.ico" />
|
||||||
@@ -651,6 +659,29 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="Behavior\" />
|
<Folder Include="Behavior\" />
|
||||||
|
<Folder Include="FreeContourMgr\" />
|
||||||
|
<Folder Include="_Readme\" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="_BaseLib\c3d.dll" />
|
||||||
|
<Content Include="_BaseLib\EgtExchangeR32.dll" />
|
||||||
|
<Content Include="_BaseLib\EgtExecutorR32.dll" />
|
||||||
|
<Content Include="_BaseLib\EgtGeneralR32.dll" />
|
||||||
|
<Content Include="_BaseLib\EgtGeomKernelR32.dll" />
|
||||||
|
<Content Include="_BaseLib\EgtGraphicsR32.dll" />
|
||||||
|
<Content Include="_BaseLib\EgtInterfaceR32.dll" />
|
||||||
|
<Content Include="_BaseLib\EgtMachKernelR32.dll" />
|
||||||
|
<Content Include="_BaseLib\EgtNestingR32.dll" />
|
||||||
|
<Content Include="_BaseLib\EgtNumKernelR32.dll" />
|
||||||
|
<Content Include="_BaseLib\FreeImage.dll" />
|
||||||
|
<Content Include="_BaseLib\glew32.dll" />
|
||||||
|
<Content Include="_BaseLib\liblcnsR32.dll" />
|
||||||
|
<Content Include="_BaseLib\libwinpthread-1.dll" />
|
||||||
|
<Content Include="_BaseLib\lua53.dll" />
|
||||||
|
<Content Include="_BaseLib\od32.dll" />
|
||||||
|
<Content Include="_BaseLib\System.Data.SQLite.dll" />
|
||||||
|
<Content Include="_BaseLib\zipR32.dll" />
|
||||||
|
<Content Include="_BaseLib\zlibR32.dll" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Resource Include="Resources\AboutBoxImage.png" />
|
<Resource Include="Resources\AboutBoxImage.png" />
|
||||||
@@ -730,10 +761,12 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PostBuildEvent>IF "$(PlatformName)"=="x86" IF "$(ConfigurationName)" == "Release" copy $(TargetPath) c:\EgtProg\EgtBEAMWALL\EgtBEAMWALL.ViewerOptimizerR32.exe
|
<PostBuildEvent>
|
||||||
IF "$(PlatformName)"=="x86" IF "$(ConfigurationName)" == "Debug" copy $(TargetPath) c:\EgtProg\EgtBEAMWALL\EgtBEAMWALL.ViewerOptimizerD32.exe
|
<!-- IF "$(PlatformName)"=="x86" IF "$(ConfigurationName)" == "Release" copy $(TargetPath) c:\EgtProg\EgtBEAMWALL\EgtBEAMWALL.ViewerOptimizerR32.exe
|
||||||
IF "$(PlatformName)"=="x64" IF "$(ConfigurationName)" == "Release" copy $(TargetPath) c:\EgtProg\EgtBEAMWALL\EgtBEAMWALL.ViewerOptimizerR64.exe
|
IF "$(PlatformName)"=="x86" IF "$(ConfigurationName)" == "Debug" copy $(TargetPath) c:\EgtProg\EgtBEAMWALL\EgtBEAMWALL.ViewerOptimizerD32.exe
|
||||||
IF "$(PlatformName)"=="x64" IF "$(ConfigurationName)" == "Debug" copy $(TargetPath) c:\EgtProg\EgtBEAMWALL\EgtBEAMWALL.ViewerOptimizerD64.exe</PostBuildEvent>
|
IF "$(PlatformName)"=="x64" IF "$(ConfigurationName)" == "Release" copy $(TargetPath) c:\EgtProg\EgtBEAMWALL\EgtBEAMWALL.ViewerOptimizerR64.exe
|
||||||
|
IF "$(PlatformName)"=="x64" IF "$(ConfigurationName)" == "Debug" copy $(TargetPath) c:\EgtProg\EgtBEAMWALL\EgtBEAMWALL.ViewerOptimizerD64.exe -->
|
||||||
|
</PostBuildEvent>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
@@ -743,4 +776,7 @@ IF "$(PlatformName)"=="x64" IF "$(ConfigurationName)" == "Debug" copy $(TargetPa
|
|||||||
<Error Condition="!Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\EntityFramework.6.4.4\build\EntityFramework.targets'))" />
|
<Error Condition="!Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\EntityFramework.6.4.4\build\EntityFramework.targets'))" />
|
||||||
</Target>
|
</Target>
|
||||||
<Import Project="..\packages\EntityFramework.6.4.4\build\EntityFramework.targets" Condition="Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.targets')" />
|
<Import Project="..\packages\EntityFramework.6.4.4\build\EntityFramework.targets" Condition="Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.targets')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<PreBuildEvent>"$(ProjectDir)_Tools\preBuildTgt.bat" "$(ProjectDir)_BaseLib" $(TargetDir)</PreBuildEvent>
|
||||||
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,9 @@
|
|||||||
|
@echo off
|
||||||
|
echo Effettua operazioni PostBuild: Platform: %1 | ConfigurationName: %2 | TargetPath: %3 | BaseDir: %4 | TargetDir: %5
|
||||||
|
|
||||||
|
|
||||||
|
REM modalità classica: copia in C:\EgtProg quanto compilato
|
||||||
|
IF %1=="x86" IF %2 == "Release" copy %3 c:\EgtProg\EgtBEAMWALL\ViewerOptimizer\EgtBEAMWALL.ViewerOptimizerR32.exe
|
||||||
|
IF %1=="x86" IF %2 == "Debug" copy %3 c:\EgtProg\EgtBEAMWALL\ViewerOptimizer\EgtBEAMWALL.ViewerOptimizerD32.exe
|
||||||
|
IF %1=="x64" IF %2 == "Release" copy %3 c:\EgtProg\EgtBEAMWALL\ViewerOptimizer\EgtBEAMWALL.ViewerOptimizerR64.exe
|
||||||
|
IF %1=="x64" IF %2 == "Debug" copy %3 c:\EgtProg\EgtBEAMWALL\ViewerOptimizer\EgtBEAMWALL.ViewerOptimizerD64.exe
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
@echo off
|
||||||
|
echo Effettua operazioni PreBuild di copia DLL
|
||||||
|
|
||||||
|
REM Modalità nuova: copio IN LOCALE le dll da _BaseLib
|
||||||
|
ROBOCOPY %1 %2
|
||||||
|
|
||||||
|
echo Fatto!
|
||||||
@@ -1,5 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
|
<package id="EgtUILib" version="2.3.4.4" targetFramework="net452" />
|
||||||
|
<package id="EgtWPF5Lib" version="2.3.4.3" targetFramework="net452" />
|
||||||
|
<package id="EgtWPFLib" version="2.1.11.1" targetFramework="net452" />
|
||||||
<package id="EntityFramework" version="6.4.4" targetFramework="net452" />
|
<package id="EntityFramework" version="6.4.4" targetFramework="net452" />
|
||||||
<package id="MySql.Data" version="6.10.9" targetFramework="net40" requireReinstallation="true" />
|
<package id="MySql.Data" version="6.10.9" targetFramework="net40" requireReinstallation="true" />
|
||||||
<package id="MySql.Data.Entity" version="6.10.9" targetFramework="net40" requireReinstallation="true" />
|
<package id="MySql.Data.Entity" version="6.10.9" targetFramework="net40" requireReinstallation="true" />
|
||||||
|
|||||||
Reference in New Issue
Block a user