Compare commits
24 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| df3b6ae657 | |||
| e701f54c07 | |||
| 2a2728505f | |||
| a5dc629e21 | |||
| c7fbe8a26a | |||
| b43a8ff2bb | |||
| 6cf303deca | |||
| 855762095f | |||
| 733fd4dc09 | |||
| 71a4985392 | |||
| 0d4d9a4520 | |||
| 622439de62 | |||
| 618d02d7c6 | |||
| d37df9d0f4 | |||
| 011673510d | |||
| ff52b9a79b | |||
| 85a5200e6b | |||
| 0e665ef1b0 | |||
| 2b99df6238 | |||
| 39ea11a8c4 | |||
| 79c7e3e536 | |||
| e4eb264abb | |||
| 500aa2eacf | |||
| b55810f235 |
@@ -90,6 +90,16 @@ Public Class BTLFeatureM
|
|||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
Protected m_nPriority As Integer = 0
|
||||||
|
Public Overridable Property nPriority As Integer
|
||||||
|
Get
|
||||||
|
Return m_nPriority
|
||||||
|
End Get
|
||||||
|
Set(value As Integer)
|
||||||
|
m_nPriority = value
|
||||||
|
End Set
|
||||||
|
End Property
|
||||||
|
|
||||||
' Nome
|
' Nome
|
||||||
Protected m_sName As String
|
Protected m_sName As String
|
||||||
Public ReadOnly Property sName As String
|
Public ReadOnly Property sName As String
|
||||||
@@ -244,10 +254,11 @@ Public Class BTLFeatureM
|
|||||||
Dim NewBTLFeature As New BTLFeatureM
|
Dim NewBTLFeature As New BTLFeatureM
|
||||||
NewBTLFeature.m_ParentPart = ParentPart
|
NewBTLFeature.m_ParentPart = ParentPart
|
||||||
NewBTLFeature.m_nFeatureId = nFeatureId
|
NewBTLFeature.m_nFeatureId = nFeatureId
|
||||||
' leggo gruppo, numero feature e lato
|
' leggo gruppo, numero feature, lato e priorità
|
||||||
EgtGetInfo(nFeatureId, BTL_FTR_GRP, NewBTLFeature.m_nSelGRP)
|
EgtGetInfo(nFeatureId, BTL_FTR_GRP, NewBTLFeature.m_nSelGRP)
|
||||||
EgtGetInfo(nFeatureId, BTL_FTR_PRC, NewBTLFeature.m_nPRC)
|
EgtGetInfo(nFeatureId, BTL_FTR_PRC, NewBTLFeature.m_nPRC)
|
||||||
EgtGetInfo(nFeatureId, BTL_FTR_SIDE, NewBTLFeature.m_nSelSIDE)
|
EgtGetInfo(nFeatureId, BTL_FTR_SIDE, NewBTLFeature.m_nSelSIDE)
|
||||||
|
EgtGetInfo(nFeatureId, BTL_FTR_PRIORITY, NewBTLFeature.m_nPRIORITY)
|
||||||
Dim nDO As Integer = 1
|
Dim nDO As Integer = 1
|
||||||
If EgtGetInfo(nFeatureId, BTL_FTR_DO, nDO) Then
|
If EgtGetInfo(nFeatureId, BTL_FTR_DO, nDO) Then
|
||||||
NewBTLFeature.m_bDO = (nDO <> 0)
|
NewBTLFeature.m_bDO = (nDO <> 0)
|
||||||
@@ -309,6 +320,7 @@ Public Class BTLFeatureM
|
|||||||
NewBTLFeature.m_nPRC = nPRC
|
NewBTLFeature.m_nPRC = nPRC
|
||||||
NewBTLFeature.m_nSelGRP = nGRP
|
NewBTLFeature.m_nSelGRP = nGRP
|
||||||
NewBTLFeature.m_nSelSIDE = nSIDE
|
NewBTLFeature.m_nSelSIDE = nSIDE
|
||||||
|
NewBTLFeature.m_nPriority = 0
|
||||||
NewBTLFeature.m_bDO = True
|
NewBTLFeature.m_bDO = True
|
||||||
' crea parametri per questa feature da file ini
|
' crea parametri per questa feature da file ini
|
||||||
NewBTLFeature.CreateFeatureParams(NewBTLFeature)
|
NewBTLFeature.CreateFeatureParams(NewBTLFeature)
|
||||||
@@ -533,6 +545,7 @@ Public Class BTLFeatureM
|
|||||||
For Each QPar In QBTLParamMList
|
For Each QPar In QBTLParamMList
|
||||||
If QPar.bCustom Then EgtSetInfo(nFeatureId, QPar.sName & "A", 1)
|
If QPar.bCustom Then EgtSetInfo(nFeatureId, QPar.sName & "A", 1)
|
||||||
Next
|
Next
|
||||||
|
EgtSetInfo( nFeatureId, BTL_FTR_PRIORITY, nPriority)
|
||||||
SetFeatureId(nFeatureId)
|
SetFeatureId(nFeatureId)
|
||||||
' imposto modificato per copie
|
' imposto modificato per copie
|
||||||
EgtDuploSetModified(ParentPart.nPartId)
|
EgtDuploSetModified(ParentPart.nPartId)
|
||||||
|
|||||||
@@ -206,6 +206,7 @@
|
|||||||
Public Const BTL_FTR_PRC As String = "PRC"
|
Public Const BTL_FTR_PRC As String = "PRC"
|
||||||
Public Const BTL_FTR_DO As String = "DO"
|
Public Const BTL_FTR_DO As String = "DO"
|
||||||
Public Const BTL_FTR_SIDE As String = "SIDE"
|
Public Const BTL_FTR_SIDE As String = "SIDE"
|
||||||
|
Public Const BTL_FTR_PRIORITY As String = "PRIORITY"
|
||||||
Public Const BTL_FTR_NAME As String = "NAME"
|
Public Const BTL_FTR_NAME As String = "NAME"
|
||||||
Public Const BTL_FTR_DES As String = "DES"
|
Public Const BTL_FTR_DES As String = "DES"
|
||||||
Public Const BTL_FTR_PRID As String = "PRID"
|
Public Const BTL_FTR_PRID As String = "PRID"
|
||||||
|
|||||||
@@ -16,5 +16,6 @@
|
|||||||
Public Const COL_TYPE As String = "colTYPE"
|
Public Const COL_TYPE As String = "colTYPE"
|
||||||
Public Const COL_DESCRIPTION As String = "colDESCRIPTION"
|
Public Const COL_DESCRIPTION As String = "colDESCRIPTION"
|
||||||
Public Const COL_SUPERVISORID As String = "colSUPERVISORID"
|
Public Const COL_SUPERVISORID As String = "colSUPERVISORID"
|
||||||
|
Public Const COL_PRIORITY As String = "colPRIORITY"
|
||||||
|
|
||||||
End Module
|
End Module
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ Public Module ConstGen
|
|||||||
' File con dati di licenza
|
' File con dati di licenza
|
||||||
Public Const LIC_FILE_NAME As String = "EgtBEAMWALL.lic"
|
Public Const LIC_FILE_NAME As String = "EgtBEAMWALL.lic"
|
||||||
Public Const S_LICENCE As String = "Licence"
|
Public Const S_LICENCE As String = "Licence"
|
||||||
|
Public Const K_LOCKID As String = "LockId"
|
||||||
Public Const K_KEY As String = "Key"
|
Public Const K_KEY As String = "Key"
|
||||||
Public Const K_NESTKEY As String = "NestKey"
|
Public Const K_NESTKEY As String = "NestKey"
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ Public Module ConstIni
|
|||||||
'Public Const K_LICENCE As String = "Licence"
|
'Public Const K_LICENCE As String = "Licence"
|
||||||
'Public Const K_USERLEVEL As String = "UserLevel"
|
'Public Const K_USERLEVEL As String = "UserLevel"
|
||||||
'Public Const K_MAXINST As String = "MaxInstances"
|
'Public Const K_MAXINST As String = "MaxInstances"
|
||||||
|
Public Const K_NETKEY As String = "NetKey"
|
||||||
Public Const K_MAXCAMINST As String = "MaxCamInstances"
|
Public Const K_MAXCAMINST As String = "MaxCamInstances"
|
||||||
Public Const K_VIEWOPTIM_INSTANCES As String = "ViewOptimInstances"
|
Public Const K_VIEWOPTIM_INSTANCES As String = "ViewOptimInstances"
|
||||||
Public Const K_SUPERVISOR_INSTANCES As String = "SupervisorInstances"
|
Public Const K_SUPERVISOR_INSTANCES As String = "SupervisorInstances"
|
||||||
@@ -44,6 +45,7 @@ Public Module ConstIni
|
|||||||
Public Const K_DATADIR As String = "DataDir"
|
Public Const K_DATADIR As String = "DataDir"
|
||||||
Public Const K_ENABLEEDIT As String = "EnableEdit"
|
Public Const K_ENABLEEDIT As String = "EnableEdit"
|
||||||
Public Const K_FASTPRODUCE As String = "FastProduce"
|
Public Const K_FASTPRODUCE As String = "FastProduce"
|
||||||
|
Public Const K_ADDPROJ As String = "AddProj"
|
||||||
|
|
||||||
'Public Const S_LANGUAGES As String = "Languages"
|
'Public Const S_LANGUAGES As String = "Languages"
|
||||||
'Public Const K_LANGUAGE As String = "Language"
|
'Public Const K_LANGUAGE As String = "Language"
|
||||||
|
|||||||
@@ -35,5 +35,5 @@ Imports System.Runtime.InteropServices
|
|||||||
' by using the '*' as shown below:
|
' by using the '*' as shown below:
|
||||||
' <Assembly: AssemblyVersion("1.0.*")>
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
<Assembly: AssemblyVersion("2.5.4.1")>
|
<Assembly: AssemblyVersion("2.5.5.4")>
|
||||||
<Assembly: AssemblyFileVersion("2.5.4.1")>
|
<Assembly: AssemblyFileVersion("2.5.5.4")>
|
||||||
|
|||||||
@@ -10,6 +10,9 @@ Public Class ProdFileM
|
|||||||
Return m_nProjIdList
|
Return m_nProjIdList
|
||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
Public Sub SetProjIdList(value As List(Of Integer))
|
||||||
|
m_nProjIdList = value
|
||||||
|
End Sub
|
||||||
|
|
||||||
Protected m_sName As String
|
Protected m_sName As String
|
||||||
Public ReadOnly Property sName As String
|
Public ReadOnly Property sName As String
|
||||||
|
|||||||
@@ -1,45 +1,49 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<configSections>
|
<configSections>
|
||||||
<!-- 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" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
||||||
</configSections>
|
</configSections>
|
||||||
<entityFramework>
|
<entityFramework>
|
||||||
<defaultConnectionFactory type="MySql.Data.Entity.MySqlConnectionFactory, MySql.Data.Entity.EF6" />
|
<!--<defaultConnectionFactory type="MySql.Data.Entity.MySqlConnectionFactory, MySql.Data.EntityFramework" />-->
|
||||||
<providers>
|
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"/>
|
||||||
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
|
<providers>
|
||||||
|
<provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.EntityFramework, Version=8.0.21.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d">
|
||||||
<provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.EntityFramework, Version=8.0.21.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d">
|
</provider>
|
||||||
</provider></providers>
|
</providers>
|
||||||
</entityFramework>
|
</entityFramework>
|
||||||
<connectionStrings>
|
<connectionStrings>
|
||||||
<add name="DefaultConnection" connectionString="server=localhost;port=3306;User Id=steamware;password=Egalware_24068!;Persist Security Info=True;database=EgtBwDb_000470;SslMode=none" providerName="MySql.Data.MySqlClient" />
|
<add name="DefaultConnection" connectionString="server=localhost;port=3306;User Id=steamware;password=Egalware_24068!;Persist Security Info=True;database=EgtBwDb_000470;SslMode=none" 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-8.0.21.0" newVersion="8.0.21.0" />
|
<bindingRedirect oldVersion="0.0.0.0-8.0.21.0" newVersion="8.0.21.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
|
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="Google.Protobuf" publicKeyToken="a7d26565bac4d604" culture="neutral" />
|
<assemblyIdentity name="Google.Protobuf" publicKeyToken="a7d26565bac4d604" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-3.19.4.0" newVersion="3.19.4.0" />
|
<bindingRedirect oldVersion="0.0.0.0-3.21.9.0" newVersion="3.21.9.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="K4os.Compression.LZ4.Streams" publicKeyToken="2186fa9121ef231d" culture="neutral" />
|
<assemblyIdentity name="K4os.Compression.LZ4.Streams" publicKeyToken="2186fa9121ef231d" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-1.2.6.0" newVersion="1.2.6.0" />
|
<bindingRedirect oldVersion="0.0.0.0-1.3.5.0" newVersion="1.3.5.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="BouncyCastle.Crypto" publicKeyToken="0e99375e54769942" culture="neutral" />
|
<assemblyIdentity name="BouncyCastle.Crypto" publicKeyToken="0e99375e54769942" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-1.8.5.0" newVersion="1.8.5.0" />
|
<bindingRedirect oldVersion="0.0.0.0-1.9.0.0" newVersion="1.9.0.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</assemblyBinding>
|
<dependentAssembly>
|
||||||
</runtime>
|
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
<startup>
|
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
</dependentAssembly>
|
||||||
</startup>
|
</assemblyBinding>
|
||||||
|
</runtime>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
</configuration>
|
</configuration>
|
||||||
@@ -24,7 +24,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
/// <param name="corePart"></param>
|
/// <param name="corePart"></param>
|
||||||
/// <param name="currProjDbId"></param>
|
/// <param name="currProjDbId"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static BTLPartModel ConvertFromCore(Core.BTLPartM corePart, int currProjDbId)
|
public BTLPartModel ConvertFromCore(Core.BTLPartM corePart, int currProjDbId)
|
||||||
{
|
{
|
||||||
BTLPartModel answ = new BTLPartModel();
|
BTLPartModel answ = new BTLPartModel();
|
||||||
if (corePart != null)
|
if (corePart != null)
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="coreMacLog"></param>
|
/// <param name="coreMacLog"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static LogMachineModel ConvertFromCore(Core.MachLog coreMacLog)
|
public LogMachineModel ConvertFromCore(Core.MachLog coreMacLog)
|
||||||
{
|
{
|
||||||
LogMachineModel answ = new LogMachineModel();
|
LogMachineModel answ = new LogMachineModel();
|
||||||
if (coreMacLog != null)
|
if (coreMacLog != null)
|
||||||
@@ -53,7 +53,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="dbLog"></param>
|
/// <param name="dbLog"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static Core.MachLog ConvertToCore(LogMachineModel dbLog)
|
public Core.MachLog ConvertToCore(LogMachineModel dbLog)
|
||||||
{
|
{
|
||||||
var newRecord = Core.MachLog.CreateMachLog(dbLog.AlarmCode, dbLog.AlarmDatetime, dbLog.AlarmMessage, dbLog.AlarmOperation, dbLog.AlarmType, dbLog.CommandExecutedCorrectly, dbLog.CommandState, dbLog.CommandType, dbLog.Description, dbLog.NewOpState, dbLog.ResultType, dbLog.VarAddress, dbLog.VarValue);
|
var newRecord = Core.MachLog.CreateMachLog(dbLog.AlarmCode, dbLog.AlarmDatetime, dbLog.AlarmMessage, dbLog.AlarmOperation, dbLog.AlarmType, dbLog.CommandExecutedCorrectly, dbLog.CommandState, dbLog.CommandType, dbLog.Description, dbLog.NewOpState, dbLog.ResultType, dbLog.VarAddress, dbLog.VarValue);
|
||||||
return newRecord;
|
return newRecord;
|
||||||
|
|||||||
@@ -8,12 +8,6 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
{
|
{
|
||||||
public class MachGroupController : IDisposable
|
public class MachGroupController : IDisposable
|
||||||
{
|
{
|
||||||
#region Public Fields
|
|
||||||
|
|
||||||
public static MachGroupController man = new MachGroupController();
|
|
||||||
|
|
||||||
#endregion Public Fields
|
|
||||||
|
|
||||||
#region Public Constructors
|
#region Public Constructors
|
||||||
|
|
||||||
public MachGroupController()
|
public MachGroupController()
|
||||||
@@ -30,7 +24,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
/// <param name="coreMachGroup"></param>
|
/// <param name="coreMachGroup"></param>
|
||||||
/// <param name="currProdDbId"></param>
|
/// <param name="currProdDbId"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static MachGroupModel ConvertFromCore(Core.MyMachGroupM coreMachGroup, int currProdDbId)
|
public MachGroupModel ConvertFromCore(Core.MyMachGroupM coreMachGroup, int currProdDbId)
|
||||||
{
|
{
|
||||||
MachGroupModel answ = new MachGroupModel();
|
MachGroupModel answ = new MachGroupModel();
|
||||||
if (coreMachGroup != null)
|
if (coreMachGroup != null)
|
||||||
@@ -63,6 +57,8 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
{
|
{
|
||||||
ProdModel currData = new ProdModel();
|
ProdModel currData = new ProdModel();
|
||||||
List<PartModel> PartList2Add = new List<PartModel>();
|
List<PartModel> PartList2Add = new List<PartModel>();
|
||||||
|
var myPartCtrl = new PartController();
|
||||||
|
var myStatusMapCtrl = new StatusMapController();
|
||||||
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
||||||
{
|
{
|
||||||
// Recupero il PROD nel contesto
|
// Recupero il PROD nel contesto
|
||||||
@@ -72,7 +68,8 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
.SingleOrDefault();
|
.SingleOrDefault();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var convCurrMG = MachGroupController.ConvertFromCore(newMachGroup, currData.ProdDbId);
|
var locMGCtrl = new MachGroupController();
|
||||||
|
var convCurrMG = locMGCtrl.ConvertFromCore(newMachGroup, currData.ProdDbId);
|
||||||
|
|
||||||
convCurrMG.ProdIndex = 1;
|
convCurrMG.ProdIndex = 1;
|
||||||
|
|
||||||
@@ -81,15 +78,25 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
// Commit changes
|
// Commit changes
|
||||||
localDbCtx.SaveChanges();
|
localDbCtx.SaveChanges();
|
||||||
|
|
||||||
int MachGroupDbId = MachGroupController.man.FindByMachGroupId(ProdId, newMachGroup.Id).MachGroupDbId;
|
int MachGroupDbId = FindByMachGroupId(ProdId, newMachGroup.Id).MachGroupDbId;
|
||||||
|
// 2023.05.10 leggo elenco part in una sola volta
|
||||||
|
|
||||||
|
var currMgPartList = localDbCtx
|
||||||
|
.PartList
|
||||||
|
.Where(x => x.MachGroup.Prod.ProdId == ProdId && x.MachGroup.MachGroupId == newMachGroup.Id)
|
||||||
|
.ToList();
|
||||||
// verifico se uguali o meno...
|
// verifico se uguali o meno...
|
||||||
foreach (var currPartM in newMachGroup.PartMList)
|
foreach (var currPartM in newMachGroup.PartMList)
|
||||||
{
|
{
|
||||||
var currPart = localDbCtx
|
//var currPart = localDbCtx
|
||||||
.PartList
|
// .PartList
|
||||||
.Where(x => x.MachGroup.Prod.ProdId == ProdId && x.MachGroup.MachGroupId == newMachGroup.Id && x.PartId == currPartM.nPartId)
|
// .Where(x => x.MachGroup.Prod.ProdId == ProdId && x.MachGroup.MachGroupId == newMachGroup.Id && x.PartId == currPartM.nPartId)
|
||||||
|
// .SingleOrDefault();
|
||||||
|
var currPart = currMgPartList
|
||||||
|
.Where(x => x.PartId == currPartM.nPartId)
|
||||||
.SingleOrDefault();
|
.SingleOrDefault();
|
||||||
var convCurrPartM = PartController.ConvertFromCore(currPartM, MachGroupDbId);
|
|
||||||
|
var convCurrPartM = myPartCtrl.ConvertFromCore(currPartM, MachGroupDbId);
|
||||||
if (currPart != null)
|
if (currPart != null)
|
||||||
{
|
{
|
||||||
// se non identico x equality limitata a ViewOptim...
|
// se non identico x equality limitata a ViewOptim...
|
||||||
@@ -125,7 +132,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
// Commit changes
|
// Commit changes
|
||||||
localDbCtx.SaveChanges();
|
localDbCtx.SaveChanges();
|
||||||
// aggiorno info sullo status
|
// aggiorno info sullo status
|
||||||
StatusMapController.man.UpdateAction("", ProdId, newMachGroup.Id, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupAdd, "");
|
myStatusMapCtrl.UpdateAction("", ProdId, newMachGroup.Id, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupAdd, "");
|
||||||
}
|
}
|
||||||
catch (Exception exc)
|
catch (Exception exc)
|
||||||
{
|
{
|
||||||
@@ -177,6 +184,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
bool done = false;
|
bool done = false;
|
||||||
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
||||||
{
|
{
|
||||||
|
var myStatusMapCtrl = new StatusMapController();
|
||||||
// inizio eliminando le part
|
// inizio eliminando le part
|
||||||
var parts2del = localDbCtx
|
var parts2del = localDbCtx
|
||||||
.PartList
|
.PartList
|
||||||
@@ -197,7 +205,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
localDbCtx.SaveChanges();
|
localDbCtx.SaveChanges();
|
||||||
|
|
||||||
// registro modifica StatusMap
|
// registro modifica StatusMap
|
||||||
StatusMapController.man.UpdateAction(MG2Del.SupervisorId, ProdId, MG2Del.MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupRem, "");
|
myStatusMapCtrl.UpdateAction(MG2Del.SupervisorId, ProdId, MG2Del.MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupRem, "");
|
||||||
|
|
||||||
done = true;
|
done = true;
|
||||||
}
|
}
|
||||||
@@ -209,7 +217,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
}
|
}
|
||||||
|
|
||||||
// se fatto aggiorno info sullo status
|
// se fatto aggiorno info sullo status
|
||||||
StatusMapController.man.UpdateAction("", ProdId, MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupRem, "");
|
myStatusMapCtrl.UpdateAction("", ProdId, MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupRem, "");
|
||||||
}
|
}
|
||||||
return done;
|
return done;
|
||||||
}
|
}
|
||||||
@@ -393,6 +401,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
bool done = false;
|
bool done = false;
|
||||||
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
||||||
{
|
{
|
||||||
|
var myStatusMapCtrl = new StatusMapController();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// aggiorno
|
// aggiorno
|
||||||
@@ -408,7 +417,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
// Commit changes
|
// Commit changes
|
||||||
localDbCtx.SaveChanges();
|
localDbCtx.SaveChanges();
|
||||||
// aggiorno info sullo status
|
// aggiorno info sullo status
|
||||||
StatusMapController.man.UpdateAction("", ProdId, MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupRemovedFromSupervisor, "");
|
myStatusMapCtrl.UpdateAction("", ProdId, MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupRemovedFromSupervisor, "");
|
||||||
|
|
||||||
done = true;
|
done = true;
|
||||||
}
|
}
|
||||||
@@ -441,6 +450,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
bool done = false;
|
bool done = false;
|
||||||
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
||||||
{
|
{
|
||||||
|
var myStatusMapCtrl = new StatusMapController();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// aggiorno
|
// aggiorno
|
||||||
@@ -455,7 +465,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
localDbCtx.SaveChanges();
|
localDbCtx.SaveChanges();
|
||||||
done = true;
|
done = true;
|
||||||
// aggiorno info sullo status
|
// aggiorno info sullo status
|
||||||
StatusMapController.man.UpdateAction("", ProdId, MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupNeedRedo, Value);
|
myStatusMapCtrl.UpdateAction("", ProdId, MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupNeedRedo, Value);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -484,6 +494,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
bool done = false;
|
bool done = false;
|
||||||
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
||||||
{
|
{
|
||||||
|
var myStatusMapCtrl = new StatusMapController();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var item2update = localDbCtx
|
var item2update = localDbCtx
|
||||||
@@ -499,7 +510,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
localDbCtx.SaveChanges();
|
localDbCtx.SaveChanges();
|
||||||
done = true;
|
done = true;
|
||||||
// aggiorno info sullo status
|
// aggiorno info sullo status
|
||||||
StatusMapController.man.UpdateAction("", updItem.Prod.ProdId, updItem.MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupMod, "");
|
myStatusMapCtrl.UpdateAction("", updItem.Prod.ProdId, updItem.MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupMod, "");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -530,6 +541,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
bool done = false;
|
bool done = false;
|
||||||
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
||||||
{
|
{
|
||||||
|
var myStatusMapCtrl = new StatusMapController();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// aggiorno
|
// aggiorno
|
||||||
@@ -544,7 +556,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
localDbCtx.SaveChanges();
|
localDbCtx.SaveChanges();
|
||||||
done = true;
|
done = true;
|
||||||
// aggiorno info sullo status
|
// aggiorno info sullo status
|
||||||
StatusMapController.man.UpdateAction("", ProdId, MachGroupId, Core.StatusMapItemType.MachGroup, DtEnd == DateTime.MinValue ? Core.StatusMapOpType.ResetPartEnd : Core.StatusMapOpType.PartEnd, "");
|
myStatusMapCtrl.UpdateAction("", ProdId, MachGroupId, Core.StatusMapItemType.MachGroup, DtEnd == DateTime.MinValue ? Core.StatusMapOpType.ResetPartEnd : Core.StatusMapOpType.PartEnd, "");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -619,6 +631,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
bool done = false;
|
bool done = false;
|
||||||
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
||||||
{
|
{
|
||||||
|
var myStatusMapCtrl = new StatusMapController();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// aggiorno
|
// aggiorno
|
||||||
@@ -633,7 +646,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
localDbCtx.SaveChanges();
|
localDbCtx.SaveChanges();
|
||||||
done = true;
|
done = true;
|
||||||
// aggiorno info sullo status
|
// aggiorno info sullo status
|
||||||
StatusMapController.man.UpdateAction("", ProdId, MachGroupId, Core.StatusMapItemType.MachGroup, DtStart == DateTime.MinValue ? Core.StatusMapOpType.ResetPartStart : Core.StatusMapOpType.PartStart, "");
|
myStatusMapCtrl.UpdateAction("", ProdId, MachGroupId, Core.StatusMapItemType.MachGroup, DtStart == DateTime.MinValue ? Core.StatusMapOpType.ResetPartStart : Core.StatusMapOpType.PartStart, "");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -665,6 +678,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
bool done = false;
|
bool done = false;
|
||||||
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
||||||
{
|
{
|
||||||
|
var myStatusMapCtrl = new StatusMapController();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// aggiorno
|
// aggiorno
|
||||||
@@ -680,7 +694,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
localDbCtx.SaveChanges();
|
localDbCtx.SaveChanges();
|
||||||
done = true;
|
done = true;
|
||||||
// aggiorno info sullo status
|
// aggiorno info sullo status
|
||||||
StatusMapController.man.UpdateAction("", ProdId, MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupMod, "");
|
myStatusMapCtrl.UpdateAction("", ProdId, MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupMod, "");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -710,6 +724,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
bool done = false;
|
bool done = false;
|
||||||
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
||||||
{
|
{
|
||||||
|
var myStatusMapCtrl = new StatusMapController();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// aggiorno
|
// aggiorno
|
||||||
@@ -724,7 +739,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
localDbCtx.SaveChanges();
|
localDbCtx.SaveChanges();
|
||||||
done = true;
|
done = true;
|
||||||
// aggiorno info sullo status
|
// aggiorno info sullo status
|
||||||
StatusMapController.man.UpdateAction("", ProdId, MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupMod, "");
|
myStatusMapCtrl.UpdateAction("", ProdId, MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupMod, "");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -750,6 +765,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
bool done = false;
|
bool done = false;
|
||||||
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
||||||
{
|
{
|
||||||
|
var myStatusMapCtrl = new StatusMapController();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// aggiorno
|
// aggiorno
|
||||||
@@ -767,7 +783,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
done = true;
|
done = true;
|
||||||
|
|
||||||
// aggiorno info sullo status
|
// aggiorno info sullo status
|
||||||
StatusMapController.man.UpdateAction("", ProdId, MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupAssignedToSupervisor, "");
|
myStatusMapCtrl.UpdateAction("", ProdId, MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupAssignedToSupervisor, "");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7,17 +7,10 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
{
|
{
|
||||||
public class PartController : IDisposable
|
public class PartController : IDisposable
|
||||||
{
|
{
|
||||||
#region Public Fields
|
|
||||||
|
|
||||||
public static PartController man = new PartController();
|
|
||||||
|
|
||||||
#endregion Public Fields
|
|
||||||
|
|
||||||
#region Public Constructors
|
#region Public Constructors
|
||||||
|
|
||||||
public PartController()
|
public PartController()
|
||||||
{
|
{ }
|
||||||
}
|
|
||||||
|
|
||||||
#endregion Public Constructors
|
#endregion Public Constructors
|
||||||
|
|
||||||
@@ -29,12 +22,12 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
/// <param name="corePart"></param>
|
/// <param name="corePart"></param>
|
||||||
/// <param name="currMachGroupDbId"></param>
|
/// <param name="currMachGroupDbId"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static PartModel ConvertFromCore(Core.PartM corePart, int currMachGroupDbId)
|
public PartModel ConvertFromCore(Core.PartM corePart, int currMachGroupDbId)
|
||||||
{
|
{
|
||||||
PartModel answ = new PartModel();
|
PartModel answ = new PartModel();
|
||||||
if (corePart != null)
|
if (corePart != null)
|
||||||
{
|
{
|
||||||
int BTLPartId = man.FindBtlPartByBPI(corePart.nProjId, corePart.nBTLPartId);
|
int BTLPartId = FindBtlPartByBPI(corePart.nProjId, corePart.nBTLPartId);
|
||||||
answ = new PartModel()
|
answ = new PartModel()
|
||||||
{
|
{
|
||||||
PartId = corePart.nPartId,
|
PartId = corePart.nPartId,
|
||||||
@@ -74,6 +67,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
bool done = false;
|
bool done = false;
|
||||||
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
||||||
{
|
{
|
||||||
|
var myStatusMapCtrl = new StatusMapController();
|
||||||
var item2del = localDbCtx
|
var item2del = localDbCtx
|
||||||
.PartList
|
.PartList
|
||||||
.Where(x => x.MachGroup.Prod.ProdId == ProdId && x.MachGroup.MachGroupId == MachGroupId && x.PartId == PartId)
|
.Where(x => x.MachGroup.Prod.ProdId == ProdId && x.MachGroup.MachGroupId == MachGroupId && x.PartId == PartId)
|
||||||
@@ -89,7 +83,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
localDbCtx.SaveChanges();
|
localDbCtx.SaveChanges();
|
||||||
done = true;
|
done = true;
|
||||||
// aggiorno info sullo status
|
// aggiorno info sullo status
|
||||||
StatusMapController.man.UpdateAction("", ProdId, MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupMod, "");
|
myStatusMapCtrl.UpdateAction("", ProdId, MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupMod, "");
|
||||||
}
|
}
|
||||||
catch (Exception exc)
|
catch (Exception exc)
|
||||||
{
|
{
|
||||||
@@ -229,6 +223,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
bool done = false;
|
bool done = false;
|
||||||
using (DatabaseContext locallocalDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
using (DatabaseContext locallocalDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
||||||
{
|
{
|
||||||
|
var myStatusMapCtrl = new StatusMapController();
|
||||||
var item2upd = locallocalDbCtx
|
var item2upd = locallocalDbCtx
|
||||||
.PartList
|
.PartList
|
||||||
.Where(x => x.PartDbId == updItem.PartDbId)
|
.Where(x => x.PartDbId == updItem.PartDbId)
|
||||||
@@ -248,7 +243,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
locallocalDbCtx.SaveChanges();
|
locallocalDbCtx.SaveChanges();
|
||||||
done = true;
|
done = true;
|
||||||
// aggiorno info sullo status
|
// aggiorno info sullo status
|
||||||
StatusMapController.man.UpdateAction("", updItem.MachGroup.Prod.ProdId, updItem.PartId, Core.StatusMapItemType.Part, Core.StatusMapOpType.MachGroupMod, "");
|
myStatusMapCtrl.UpdateAction("", updItem.MachGroup.Prod.ProdId, updItem.PartId, Core.StatusMapItemType.Part, Core.StatusMapOpType.MachGroupMod, "");
|
||||||
}
|
}
|
||||||
catch (Exception exc)
|
catch (Exception exc)
|
||||||
{
|
{
|
||||||
@@ -278,6 +273,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
bool done = false;
|
bool done = false;
|
||||||
using (DatabaseContext locallocalDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
using (DatabaseContext locallocalDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
||||||
{
|
{
|
||||||
|
var myStatusMapCtrl = new StatusMapController();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// aggiorno
|
// aggiorno
|
||||||
@@ -293,7 +289,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
locallocalDbCtx.SaveChanges();
|
locallocalDbCtx.SaveChanges();
|
||||||
done = true;
|
done = true;
|
||||||
// aggiorno info sullo status
|
// aggiorno info sullo status
|
||||||
StatusMapController.man.UpdateAction("", ProdId, PartId, Core.StatusMapItemType.Part, DtEnd == DateTime.MinValue ? Core.StatusMapOpType.ResetPartEnd : Core.StatusMapOpType.PartEnd, "");
|
myStatusMapCtrl.UpdateAction("", ProdId, PartId, Core.StatusMapItemType.Part, DtEnd == DateTime.MinValue ? Core.StatusMapOpType.ResetPartEnd : Core.StatusMapOpType.PartEnd, "");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -323,6 +319,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
bool done = false;
|
bool done = false;
|
||||||
using (DatabaseContext locallocalDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
using (DatabaseContext locallocalDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
||||||
{
|
{
|
||||||
|
var myStatusMapCtrl = new StatusMapController();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// aggiorno
|
// aggiorno
|
||||||
@@ -337,7 +334,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
locallocalDbCtx.SaveChanges();
|
locallocalDbCtx.SaveChanges();
|
||||||
done = true;
|
done = true;
|
||||||
// aggiorno info sullo status
|
// aggiorno info sullo status
|
||||||
StatusMapController.man.UpdateAction("", ProdId, PartId, Core.StatusMapItemType.Part, DtStart == DateTime.MinValue ? Core.StatusMapOpType.ResetPartStart : Core.StatusMapOpType.PartStart, "");
|
myStatusMapCtrl.UpdateAction("", ProdId, PartId, Core.StatusMapItemType.Part, DtStart == DateTime.MinValue ? Core.StatusMapOpType.ResetPartStart : Core.StatusMapOpType.PartStart, "");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -368,6 +365,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
bool done = false;
|
bool done = false;
|
||||||
using (DatabaseContext locallocalDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
using (DatabaseContext locallocalDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
||||||
{
|
{
|
||||||
|
var myStatusMapCtrl = new StatusMapController();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// aggiorno
|
// aggiorno
|
||||||
@@ -382,7 +380,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
locallocalDbCtx.SaveChanges();
|
locallocalDbCtx.SaveChanges();
|
||||||
done = true;
|
done = true;
|
||||||
// aggiorno info sullo status
|
// aggiorno info sullo status
|
||||||
StatusMapController.man.UpdateAction("", ProdId, PartId, Core.StatusMapItemType.Part, newState == Core.ItemState.Scrapped ? Core.StatusMapOpType.SetPartScrapped : Core.StatusMapOpType.MachGroupMod, "");
|
myStatusMapCtrl.UpdateAction("", ProdId, PartId, Core.StatusMapItemType.Part, newState == Core.ItemState.Scrapped ? Core.StatusMapOpType.SetPartScrapped : Core.StatusMapOpType.MachGroupMod, "");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using EgtBEAMWALL.DataLayer.DatabaseModels;
|
using EgtBEAMWALL.DataLayer.DatabaseModels;
|
||||||
using NLog;
|
using NLog;
|
||||||
|
using NLog.LayoutRenderers;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
@@ -9,12 +10,6 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
{
|
{
|
||||||
public class ProdController : IDisposable
|
public class ProdController : IDisposable
|
||||||
{
|
{
|
||||||
#region Public Fields
|
|
||||||
|
|
||||||
public static ProdController man = new ProdController();
|
|
||||||
|
|
||||||
#endregion Public Fields
|
|
||||||
|
|
||||||
#region Public Constructors
|
#region Public Constructors
|
||||||
|
|
||||||
public ProdController()
|
public ProdController()
|
||||||
@@ -420,6 +415,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
ProdModel currData = new ProdModel();
|
ProdModel currData = new ProdModel();
|
||||||
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
using (DatabaseContext localDbCtx = new DatabaseContext(DbConfig.CONNECTION_STRING))
|
||||||
{
|
{
|
||||||
|
var myStatusMapCtrl = new StatusMapController();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// Recupero il PROD nel contesto DB attuale
|
// Recupero il PROD nel contesto DB attuale
|
||||||
@@ -435,11 +431,13 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
|
|
||||||
List<Core.MyMachGroupM> MachGroupList2Add = new List<Core.MyMachGroupM>();
|
List<Core.MyMachGroupM> MachGroupList2Add = new List<Core.MyMachGroupM>();
|
||||||
List<PartModel> PartList2Add = new List<PartModel>();
|
List<PartModel> PartList2Add = new List<PartModel>();
|
||||||
|
List<PartModel> PartList2Rem = new List<PartModel>();
|
||||||
|
var logMGCtrl = new MachGroupController();
|
||||||
// cerco le MG esistenti --> aggiorno
|
// cerco le MG esistenti --> aggiorno
|
||||||
foreach (var item in MachGroupList)
|
foreach (var item in MachGroupList)
|
||||||
{
|
{
|
||||||
var currMG = MachGroupController.man.FindByMachGroupId(ProdId, item.Id);
|
var currMG = logMGCtrl.FindByMachGroupId(ProdId, item.Id);
|
||||||
var convCurrMG = MachGroupController.ConvertFromCore(item, currData.ProdDbId);
|
var convCurrMG = logMGCtrl.ConvertFromCore(item, currData.ProdDbId);
|
||||||
if (currMG != null)
|
if (currMG != null)
|
||||||
{
|
{
|
||||||
// se non identico x equality limitata a ViewOptim...
|
// se non identico x equality limitata a ViewOptim...
|
||||||
@@ -454,14 +452,14 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
// salvo
|
// salvo
|
||||||
localDbCtx.SaveChanges();
|
localDbCtx.SaveChanges();
|
||||||
// registro modifica StatusMap
|
// registro modifica StatusMap
|
||||||
StatusMapController.man.UpdateAction(currMG.SupervisorId, ProdId, currMG.MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupMod, "");
|
myStatusMapCtrl.UpdateAction(currMG.SupervisorId, ProdId, currMG.MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupMod, "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
itemsMG2Add.Add(convCurrMG);
|
itemsMG2Add.Add(convCurrMG);
|
||||||
// registro modifica StatusMap
|
// registro modifica StatusMap
|
||||||
StatusMapController.man.UpdateAction("", ProdId, item.Id, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupAdd, "");
|
myStatusMapCtrl.UpdateAction("", ProdId, item.Id, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupAdd, "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// aggiungo MachGroup
|
// aggiungo MachGroup
|
||||||
@@ -472,17 +470,25 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
// verifico di nuovo l'elenco delle MG x le relative PART...
|
// verifico di nuovo l'elenco delle MG x le relative PART...
|
||||||
foreach (var item in MachGroupList)
|
foreach (var item in MachGroupList)
|
||||||
{
|
{
|
||||||
var currMG = MachGroupController.man.FindByMachGroupId(ProdId, item.Id);
|
var currMG = logMGCtrl.FindByMachGroupId(ProdId, item.Id);
|
||||||
int MachGroupDbId = currMG.MachGroupDbId;
|
int MachGroupDbId = currMG.MachGroupDbId;
|
||||||
bool modMg = false;
|
bool modMg = false;
|
||||||
|
// 2023.05.10: recupero TUTTE le part del MachGroup e poi lavoro...
|
||||||
|
var currMgPartList = localDbCtx
|
||||||
|
.PartList
|
||||||
|
.Where(x => x.MachGroup.Prod.ProdId == ProdId && x.MachGroup.MachGroupId == item.Id)
|
||||||
|
.ToList();
|
||||||
|
// preparo elenco PartList x eventuale rimozione
|
||||||
|
var currPartList2Rem = new List<PartModel>();
|
||||||
|
currPartList2Rem.AddRange(currMgPartList);
|
||||||
// verifico se uguali o meno...
|
// verifico se uguali o meno...
|
||||||
foreach (var currPartM in item.PartMList)
|
foreach (var currPartM in item.PartMList)
|
||||||
{
|
{
|
||||||
var currPart = localDbCtx
|
var myPartCtrl = new PartController();
|
||||||
.PartList
|
var currPart = currMgPartList
|
||||||
.Where(x => x.MachGroup.Prod.ProdId == ProdId && x.MachGroup.MachGroupId == item.Id && x.PartId == currPartM.nPartId)
|
.Where(x => x.PartId == currPartM.nPartId)
|
||||||
.SingleOrDefault();
|
.SingleOrDefault();
|
||||||
var convCurrPartM = PartController.ConvertFromCore(currPartM, MachGroupDbId);
|
var convCurrPartM = myPartCtrl.ConvertFromCore(currPartM, MachGroupDbId);
|
||||||
if (currPart != null)
|
if (currPart != null)
|
||||||
{
|
{
|
||||||
// se non identico x equality limitata a ViewOptim...
|
// se non identico x equality limitata a ViewOptim...
|
||||||
@@ -497,10 +503,14 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
currPart.ROT = convCurrPartM.ROT;
|
currPart.ROT = convCurrPartM.ROT;
|
||||||
currPart.PDN = convCurrPartM.PDN;
|
currPart.PDN = convCurrPartM.PDN;
|
||||||
currPart.NAM = convCurrPartM.NAM;
|
currPart.NAM = convCurrPartM.NAM;
|
||||||
|
// aggiorno anche il BtlPartId
|
||||||
|
currPart.BTLPartDbId = convCurrPartM.BTLPartDbId;
|
||||||
// salvo
|
// salvo
|
||||||
localDbCtx.SaveChanges();
|
localDbCtx.SaveChanges();
|
||||||
modMg = true;
|
modMg = true;
|
||||||
}
|
}
|
||||||
|
// tolgo da elenco di rimozione...
|
||||||
|
currPartList2Rem.Remove(currPart);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -511,10 +521,14 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
// verifico se salvare...
|
// verifico se salvare...
|
||||||
if (modMg)
|
if (modMg)
|
||||||
{
|
{
|
||||||
StatusMapController.man.UpdateAction(currMG.SupervisorId, ProdId, currMG.MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupMod, "");
|
myStatusMapCtrl.UpdateAction(currMG.SupervisorId, ProdId, currMG.MachGroupId, Core.StatusMapItemType.MachGroup, Core.StatusMapOpType.MachGroupMod, "");
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
// aggiungo le part esistenti nel MG non ricevute...
|
||||||
|
PartList2Rem.AddRange(currPartList2Rem);
|
||||||
|
}
|
||||||
|
// elimino parti da rimuovere..
|
||||||
|
localDbCtx.PartList.RemoveRange(PartList2Rem);
|
||||||
// aggiungo PartList
|
// aggiungo PartList
|
||||||
localDbCtx.PartList.AddRange(PartList2Add);
|
localDbCtx.PartList.AddRange(PartList2Add);
|
||||||
// Commit changes
|
// Commit changes
|
||||||
@@ -530,7 +544,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
// processo i MachGroup eliminati
|
// processo i MachGroup eliminati
|
||||||
foreach (var item in MgId2rem)
|
foreach (var item in MgId2rem)
|
||||||
{
|
{
|
||||||
MachGroupController.man.Delete(ProdId, item);
|
logMGCtrl.Delete(ProdId, item);
|
||||||
}
|
}
|
||||||
|
|
||||||
// aggiorno valore isNew a false x PROD
|
// aggiorno valore isNew a false x PROD
|
||||||
@@ -727,7 +741,9 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
|
|
||||||
protected List<int> ProjIdByProd(int ProdId)
|
protected List<int> ProjIdByProd(int ProdId)
|
||||||
{
|
{
|
||||||
return DbManager.obj.ProjCtr.GetByProdAsc(ProdId).Select(y => y.nProjId).ToList();
|
var ProjCtr = new ProjController();
|
||||||
|
return ProjCtr.GetByProdAsc(ProdId).Select(y => y.nProjId).ToList();
|
||||||
|
//return DbManager.obj.ProjCtr.GetByProdAsc(ProdId).Select(y => y.nProjId).ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion Protected Methods
|
#endregion Protected Methods
|
||||||
|
|||||||
@@ -508,8 +508,9 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
.ToList();
|
.ToList();
|
||||||
if (oldBtlParts != null)
|
if (oldBtlParts != null)
|
||||||
{
|
{
|
||||||
|
var locBtlCtrl = new BTLPartController();
|
||||||
// converto le BtlParts da core --> DB
|
// converto le BtlParts da core --> DB
|
||||||
List<BTLPartModel> newBtlParts = BtlPartList.Select(x => BTLPartController.ConvertFromCore(x, currData.ProjDbId)).ToList();
|
List<BTLPartModel> newBtlParts = BtlPartList.Select(x => locBtlCtrl.ConvertFromCore(x, currData.ProjDbId)).ToList();
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,15 +8,6 @@ namespace EgtBEAMWALL.DataLayer.Controllers
|
|||||||
{
|
{
|
||||||
public class StatusMapController : IDisposable
|
public class StatusMapController : IDisposable
|
||||||
{
|
{
|
||||||
#region Public Fields
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Oggetto statico per gestione chiamate da altre classi
|
|
||||||
/// </summary>
|
|
||||||
public static StatusMapController man = new StatusMapController();
|
|
||||||
|
|
||||||
#endregion Public Fields
|
|
||||||
|
|
||||||
#region Public Constructors
|
#region Public Constructors
|
||||||
|
|
||||||
public StatusMapController()
|
public StatusMapController()
|
||||||
|
|||||||
@@ -97,6 +97,8 @@ namespace EgtBEAMWALL.DataLayer.DatabaseModels
|
|||||||
if (!(obj is PartModel item))
|
if (!(obj is PartModel item))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if (BTLPartDbId != item.BTLPartDbId)
|
||||||
|
return false;
|
||||||
if (H != item.H)
|
if (H != item.H)
|
||||||
return false;
|
return false;
|
||||||
if (L != item.L)
|
if (L != item.L)
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
using System.IO;
|
using System.Diagnostics;
|
||||||
|
using System;
|
||||||
|
using System.IO;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
namespace EgtBEAMWALL.DataLayer
|
namespace EgtBEAMWALL.DataLayer
|
||||||
@@ -70,6 +72,68 @@ namespace EgtBEAMWALL.DataLayer
|
|||||||
// esecuzione script di install locale
|
// esecuzione script di install locale
|
||||||
return Controllers.DbController.man.refreshViews(DATABASE_NAME);
|
return Controllers.DbController.man.refreshViews(DATABASE_NAME);
|
||||||
}
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// Effettua DUMP del DB dato utente admin + percorso salvataggio
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="outFilePath">Percorso di salvataggio del dump (*.sql)</param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static bool DumpDB(string mysqlDumpPath, string outFilePath)
|
||||||
|
{
|
||||||
|
bool fatto = false;
|
||||||
|
// aggiungo sql finale
|
||||||
|
if (!outFilePath.EndsWith(".sql"))
|
||||||
|
{
|
||||||
|
outFilePath = $"{outFilePath}.sql";
|
||||||
|
}
|
||||||
|
// esecuzione script x dump del DB
|
||||||
|
string dirPath = Path.GetDirectoryName(outFilePath);
|
||||||
|
if (!Directory.Exists(dirPath))
|
||||||
|
{
|
||||||
|
Directory.CreateDirectory(dirPath);
|
||||||
|
}
|
||||||
|
// se ci fosse già file elimino...
|
||||||
|
if (File.Exists(outFilePath))
|
||||||
|
{
|
||||||
|
File.Delete(outFilePath);
|
||||||
|
}
|
||||||
|
// chiamo script esterno...
|
||||||
|
string callScript = $"\"{mysqlDumpPath}\" -u{DATABASE_USER} -p{DATABASE_PWD} {DATABASE_NAME} > {outFilePath}";
|
||||||
|
ExecuteCommand(callScript);
|
||||||
|
return fatto;
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// Esecuzione di un comando esterno
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="command"></param>
|
||||||
|
public static void ExecuteCommand(string command)
|
||||||
|
{
|
||||||
|
int exitCode;
|
||||||
|
ProcessStartInfo processInfo;
|
||||||
|
Process process;
|
||||||
|
|
||||||
|
processInfo = new ProcessStartInfo("cmd.exe", "/c " + command);
|
||||||
|
processInfo.CreateNoWindow = true;
|
||||||
|
processInfo.UseShellExecute = false;
|
||||||
|
// *** Redirect the output ***
|
||||||
|
processInfo.RedirectStandardError = true;
|
||||||
|
processInfo.RedirectStandardOutput = true;
|
||||||
|
|
||||||
|
process = Process.Start(processInfo);
|
||||||
|
process.WaitForExit();
|
||||||
|
|
||||||
|
// *** Read the streams ***
|
||||||
|
// Warning: This approach can lead to deadlocks, see Edit #2
|
||||||
|
string output = process.StandardOutput.ReadToEnd();
|
||||||
|
string error = process.StandardError.ReadToEnd();
|
||||||
|
|
||||||
|
exitCode = process.ExitCode;
|
||||||
|
|
||||||
|
Console.WriteLine("output>>" + (String.IsNullOrEmpty(output) ? "(none)" : output));
|
||||||
|
Console.WriteLine("error>>" + (String.IsNullOrEmpty(error) ? "(none)" : error));
|
||||||
|
Console.WriteLine("ExitCode: " + exitCode.ToString(), "ExecuteCommand");
|
||||||
|
process.Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Metodo di init standard per DB in rete con Master_Key
|
/// Metodo di init standard per DB in rete con Master_Key
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ namespace EgtBEAMWALL.DataLayer
|
|||||||
{
|
{
|
||||||
#region Public Fields
|
#region Public Fields
|
||||||
|
|
||||||
public static DbManager obj = new DbManager();
|
|
||||||
public Controllers.BTLPartController BtlPartCtr = new Controllers.BTLPartController();
|
public Controllers.BTLPartController BtlPartCtr = new Controllers.BTLPartController();
|
||||||
public Controllers.LogMachineController LogMacCtr = new Controllers.LogMachineController();
|
public Controllers.LogMachineController LogMacCtr = new Controllers.LogMachineController();
|
||||||
public Controllers.LogSupportController LogSupCtr = new Controllers.LogSupportController();
|
public Controllers.LogSupportController LogSupCtr = new Controllers.LogSupportController();
|
||||||
|
|||||||
@@ -37,8 +37,8 @@
|
|||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="BouncyCastle.Crypto, Version=1.8.5.0, Culture=neutral, PublicKeyToken=0e99375e54769942">
|
<Reference Include="BouncyCastle.Crypto, Version=1.9.0.0, Culture=neutral, PublicKeyToken=0e99375e54769942, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\BouncyCastle.1.8.5\lib\BouncyCastle.Crypto.dll</HintPath>
|
<HintPath>..\packages\Portable.BouncyCastle.1.9.0\lib\net40\BouncyCastle.Crypto.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="EgtWPFLib5">
|
<Reference Include="EgtWPFLib5">
|
||||||
<HintPath>..\ExtLibs\EgtWPFLib5.dll</HintPath>
|
<HintPath>..\ExtLibs\EgtWPFLib5.dll</HintPath>
|
||||||
@@ -49,17 +49,17 @@
|
|||||||
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.SqlServer.dll</HintPath>
|
<HintPath>..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.SqlServer.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Google.Protobuf, Version=3.19.4.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">
|
<Reference Include="Google.Protobuf, Version=3.21.9.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Google.Protobuf.3.19.4\lib\net45\Google.Protobuf.dll</HintPath>
|
<HintPath>..\packages\Google.Protobuf.3.21.9\lib\net45\Google.Protobuf.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="K4os.Compression.LZ4, Version=1.2.6.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
|
<Reference Include="K4os.Compression.LZ4, Version=1.3.5.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\K4os.Compression.LZ4.1.2.6\lib\net46\K4os.Compression.LZ4.dll</HintPath>
|
<HintPath>..\packages\K4os.Compression.LZ4.1.3.5\lib\net462\K4os.Compression.LZ4.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="K4os.Compression.LZ4.Streams, Version=1.2.6.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
|
<Reference Include="K4os.Compression.LZ4.Streams, Version=1.3.5.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\K4os.Compression.LZ4.Streams.1.2.6\lib\net46\K4os.Compression.LZ4.Streams.dll</HintPath>
|
<HintPath>..\packages\K4os.Compression.LZ4.Streams.1.3.5\lib\net462\K4os.Compression.LZ4.Streams.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="K4os.Hash.xxHash, Version=1.0.6.0, Culture=neutral, PublicKeyToken=32cd54395057cec3, processorArchitecture=MSIL">
|
<Reference Include="K4os.Hash.xxHash, Version=1.0.8.0, Culture=neutral, PublicKeyToken=32cd54395057cec3, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\K4os.Hash.xxHash.1.0.6\lib\net46\K4os.Hash.xxHash.dll</HintPath>
|
<HintPath>..\packages\K4os.Hash.xxHash.1.0.8\lib\net462\K4os.Hash.xxHash.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="MySql.Data, Version=8.0.21.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
|
<Reference Include="MySql.Data, Version=8.0.21.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\MySql.Data.8.0.21\lib\net452\MySql.Data.dll</HintPath>
|
<HintPath>..\packages\MySql.Data.8.0.21\lib\net452\MySql.Data.dll</HintPath>
|
||||||
@@ -88,20 +88,26 @@
|
|||||||
<Reference Include="System.Drawing" />
|
<Reference Include="System.Drawing" />
|
||||||
<Reference Include="System.Drawing.Design" />
|
<Reference Include="System.Drawing.Design" />
|
||||||
<Reference Include="System.IO.Compression" />
|
<Reference Include="System.IO.Compression" />
|
||||||
|
<Reference Include="System.IO.Pipelines, Version=5.0.0.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.IO.Pipelines.5.0.2\lib\net461\System.IO.Pipelines.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System.Management" />
|
<Reference Include="System.Management" />
|
||||||
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
<Reference Include="System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath>
|
<HintPath>..\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Numerics" />
|
<Reference Include="System.Numerics" />
|
||||||
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
|
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Security" />
|
<Reference Include="System.Security" />
|
||||||
<Reference Include="System.ServiceModel" />
|
<Reference Include="System.ServiceModel" />
|
||||||
<Reference Include="System.ServiceProcess" />
|
<Reference Include="System.ServiceProcess" />
|
||||||
|
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System.Transactions" />
|
<Reference Include="System.Transactions" />
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
|||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("2.5.4.1")]
|
[assembly: AssemblyVersion("2.5.5.4")]
|
||||||
[assembly: AssemblyFileVersion("2.5.4.1")]
|
[assembly: AssemblyFileVersion("2.5.5.4")]
|
||||||
|
|||||||
@@ -2,17 +2,20 @@
|
|||||||
<packages>
|
<packages>
|
||||||
<package id="BouncyCastle" version="1.8.5" targetFramework="net472" />
|
<package id="BouncyCastle" version="1.8.5" targetFramework="net472" />
|
||||||
<package id="EntityFramework" version="6.4.4" targetFramework="net452" />
|
<package id="EntityFramework" version="6.4.4" targetFramework="net452" />
|
||||||
<package id="Google.Protobuf" version="3.19.4" targetFramework="net472" />
|
<package id="Google.Protobuf" version="3.21.9" targetFramework="net472" />
|
||||||
<package id="K4os.Compression.LZ4" version="1.2.6" targetFramework="net472" />
|
<package id="K4os.Compression.LZ4" version="1.3.5" targetFramework="net472" />
|
||||||
<package id="K4os.Compression.LZ4.Streams" version="1.2.6" targetFramework="net472" />
|
<package id="K4os.Compression.LZ4.Streams" version="1.3.5" targetFramework="net472" />
|
||||||
<package id="K4os.Hash.xxHash" version="1.0.6" targetFramework="net472" />
|
<package id="K4os.Hash.xxHash" version="1.0.8" targetFramework="net472" />
|
||||||
<package id="MySql.Data" version="8.0.21" targetFramework="net472" />
|
<package id="MySql.Data" version="8.0.21" targetFramework="net472" />
|
||||||
<package id="MySql.Data.EntityFramework" version="8.0.21" targetFramework="net472" />
|
<package id="MySql.Data.EntityFramework" version="8.0.21" targetFramework="net472" />
|
||||||
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net452" />
|
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net452" />
|
||||||
<package id="NLog" version="5.0.1" targetFramework="net472" />
|
<package id="NLog" version="5.0.1" targetFramework="net472" />
|
||||||
|
<package id="Portable.BouncyCastle" version="1.9.0" targetFramework="net472" />
|
||||||
<package id="SSH.NET" version="2016.1.0" targetFramework="net472" />
|
<package id="SSH.NET" version="2016.1.0" targetFramework="net472" />
|
||||||
<package id="System.Buffers" version="4.5.1" targetFramework="net472" />
|
<package id="System.Buffers" version="4.5.1" targetFramework="net472" />
|
||||||
<package id="System.Memory" version="4.5.4" targetFramework="net472" />
|
<package id="System.IO.Pipelines" version="5.0.2" targetFramework="net472" />
|
||||||
|
<package id="System.Memory" version="4.5.5" targetFramework="net472" />
|
||||||
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net472" />
|
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net472" />
|
||||||
<package id="System.Runtime.CompilerServices.Unsafe" version="5.0.0" targetFramework="net472" />
|
<package id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" targetFramework="net472" />
|
||||||
|
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net472" />
|
||||||
</packages>
|
</packages>
|
||||||
@@ -102,6 +102,38 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'RemoteDebug|AnyCPU'">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DefineDebug>true</DefineDebug>
|
||||||
|
<DefineTrace>true</DefineTrace>
|
||||||
|
<OutputPath>bin\RemoteDebug\</OutputPath>
|
||||||
|
<DocumentationFile>EgtBEAMWALL.Supervisor.xml</DocumentationFile>
|
||||||
|
<NoWarn>41999,42016,42017,42018,42019,42020,42021,42022,42032,42036,42314</NoWarn>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'RemoteDebug|x64'">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DefineDebug>true</DefineDebug>
|
||||||
|
<DefineTrace>true</DefineTrace>
|
||||||
|
<OutputPath>bin\x64\RemoteDebug\</OutputPath>
|
||||||
|
<DocumentationFile>EgtBEAMWALL.Supervisor.xml</DocumentationFile>
|
||||||
|
<NoWarn>41999,42016,42017,42018,42019,42020,42021,42022,42032,42036,42314</NoWarn>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'RemoteDebug|x86'">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DefineDebug>true</DefineDebug>
|
||||||
|
<DefineTrace>true</DefineTrace>
|
||||||
|
<OutputPath>bin\x86\RemoteDebug\</OutputPath>
|
||||||
|
<DocumentationFile>EgtBEAMWALL.Supervisor.xml</DocumentationFile>
|
||||||
|
<NoWarn>41999,42016,42017,42018,42019,42020,42021,42022,42032,42036,42314</NoWarn>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="APLog">
|
<Reference Include="APLog">
|
||||||
<HintPath>..\ExtLibs\APLog.dll</HintPath>
|
<HintPath>..\ExtLibs\APLog.dll</HintPath>
|
||||||
@@ -111,8 +143,8 @@
|
|||||||
<HintPath>..\ExtLibs\APServer.dll</HintPath>
|
<HintPath>..\ExtLibs\APServer.dll</HintPath>
|
||||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="BouncyCastle.Crypto, Version=1.8.5.0, Culture=neutral, PublicKeyToken=0e99375e54769942">
|
<Reference Include="BouncyCastle.Crypto, Version=1.9.0.0, Culture=neutral, PublicKeyToken=0e99375e54769942, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\BouncyCastle.1.8.5\lib\BouncyCastle.Crypto.dll</HintPath>
|
<HintPath>..\packages\Portable.BouncyCastle.1.9.0\lib\net40\BouncyCastle.Crypto.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Csv, Version=1.0.31.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Csv, Version=1.0.31.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Csv.1.0.31\lib\net40\Csv.dll</HintPath>
|
<HintPath>..\packages\Csv.1.0.31\lib\net40\Csv.dll</HintPath>
|
||||||
@@ -134,8 +166,8 @@
|
|||||||
<Reference Include="FluentFTP, Version=19.2.2.0, Culture=neutral, PublicKeyToken=f4af092b1d8df44f, processorArchitecture=MSIL">
|
<Reference Include="FluentFTP, Version=19.2.2.0, Culture=neutral, PublicKeyToken=f4af092b1d8df44f, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\FluentFTP.19.2.2\lib\net45\FluentFTP.dll</HintPath>
|
<HintPath>..\packages\FluentFTP.19.2.2\lib\net45\FluentFTP.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Google.Protobuf, Version=3.19.4.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">
|
<Reference Include="Google.Protobuf, Version=3.21.9.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Google.Protobuf.3.19.4\lib\net45\Google.Protobuf.dll</HintPath>
|
<HintPath>..\packages\Google.Protobuf.3.21.9\lib\net45\Google.Protobuf.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Interop.FXLog">
|
<Reference Include="Interop.FXLog">
|
||||||
<HintPath>..\ExtLibs\Interop.FXLog.dll</HintPath>
|
<HintPath>..\ExtLibs\Interop.FXLog.dll</HintPath>
|
||||||
@@ -151,14 +183,14 @@
|
|||||||
<Reference Include="ISOCNC.Remoting">
|
<Reference Include="ISOCNC.Remoting">
|
||||||
<HintPath>..\ExtLibs\ISOCNC.Remoting.dll</HintPath>
|
<HintPath>..\ExtLibs\ISOCNC.Remoting.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="K4os.Compression.LZ4, Version=1.2.6.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
|
<Reference Include="K4os.Compression.LZ4, Version=1.3.5.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\K4os.Compression.LZ4.1.2.6\lib\net46\K4os.Compression.LZ4.dll</HintPath>
|
<HintPath>..\packages\K4os.Compression.LZ4.1.3.5\lib\net462\K4os.Compression.LZ4.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="K4os.Compression.LZ4.Streams, Version=1.2.6.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
|
<Reference Include="K4os.Compression.LZ4.Streams, Version=1.3.5.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\K4os.Compression.LZ4.Streams.1.2.6\lib\net46\K4os.Compression.LZ4.Streams.dll</HintPath>
|
<HintPath>..\packages\K4os.Compression.LZ4.Streams.1.3.5\lib\net462\K4os.Compression.LZ4.Streams.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="K4os.Hash.xxHash, Version=1.0.6.0, Culture=neutral, PublicKeyToken=32cd54395057cec3, processorArchitecture=MSIL">
|
<Reference Include="K4os.Hash.xxHash, Version=1.0.8.0, Culture=neutral, PublicKeyToken=32cd54395057cec3, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\K4os.Hash.xxHash.1.0.6\lib\net46\K4os.Hash.xxHash.dll</HintPath>
|
<HintPath>..\packages\K4os.Hash.xxHash.1.0.8\lib\net462\K4os.Hash.xxHash.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="Microsoft.DotNet.PlatformAbstractions, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
<Reference Include="Microsoft.DotNet.PlatformAbstractions, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||||
@@ -210,9 +242,12 @@
|
|||||||
<Reference Include="System.Drawing" />
|
<Reference Include="System.Drawing" />
|
||||||
<Reference Include="System.Drawing.Design" />
|
<Reference Include="System.Drawing.Design" />
|
||||||
<Reference Include="System.IO.Compression" />
|
<Reference Include="System.IO.Compression" />
|
||||||
|
<Reference Include="System.IO.Pipelines, Version=5.0.0.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.IO.Pipelines.5.0.2\lib\net461\System.IO.Pipelines.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System.Management" />
|
<Reference Include="System.Management" />
|
||||||
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
<Reference Include="System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath>
|
<HintPath>..\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Net.NameResolution, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
<Reference Include="System.Net.NameResolution, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\System.Net.NameResolution.4.3.0\lib\net46\System.Net.NameResolution.dll</HintPath>
|
<HintPath>..\packages\System.Net.NameResolution.4.3.0\lib\net46\System.Net.NameResolution.dll</HintPath>
|
||||||
@@ -228,8 +263,8 @@
|
|||||||
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
|
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
<Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation.4.0.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
|
<HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation.4.0.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
|
||||||
@@ -238,6 +273,9 @@
|
|||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Runtime.Remoting" />
|
<Reference Include="System.Runtime.Remoting" />
|
||||||
<Reference Include="System.Security" />
|
<Reference Include="System.Security" />
|
||||||
|
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System.Transactions" />
|
<Reference Include="System.Transactions" />
|
||||||
<Reference Include="System.Web" />
|
<Reference Include="System.Web" />
|
||||||
<Reference Include="System.Windows.Forms" />
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
|||||||
@@ -239,9 +239,17 @@ Public Class MainWindowM
|
|||||||
EgtSetNestKey(sNestKey)
|
EgtSetNestKey(sNestKey)
|
||||||
' Verifico abilitazione nesting automatico
|
' Verifico abilitazione nesting automatico
|
||||||
m_bAutoNestOption = Not String.IsNullOrWhiteSpace(sNestKey)
|
m_bAutoNestOption = Not String.IsNullOrWhiteSpace(sNestKey)
|
||||||
|
' Impostazioni per chiave di rete
|
||||||
|
Dim bNetKey As Boolean = ( GetMainPrivateProfileInt( S_GENERAL, K_NETKEY, 0) = 1)
|
||||||
|
EgtSetNetHwKey( bNetKey)
|
||||||
|
Dim sLockId As String = ""
|
||||||
|
EgtUILib.GetPrivateProfileString( S_LICENCE, K_LOCKID, "", sLockId, sLicFile)
|
||||||
|
If Not String.IsNullOrEmpty( sLockId) Then
|
||||||
|
EgtSetLockId( sLockId)
|
||||||
|
End If
|
||||||
' Recupero livello e opzioni della chiave
|
' Recupero livello e opzioni della chiave
|
||||||
Dim bKey As Boolean = EgtGetKeyLevel(5327, 2504, 1, m_nKeyLevel) And
|
Dim bKey As Boolean = EgtGetKeyLevel(5327, 2505, 1, m_nKeyLevel) And
|
||||||
EgtGetKeyOptions(5327, 2504, 1, m_nKeyOptions)
|
EgtGetKeyOptions(5327, 2505, 1, m_nKeyOptions)
|
||||||
' Inizializzazione generale di EgtInterface
|
' Inizializzazione generale di EgtInterface
|
||||||
m_nDebug = GetMainPrivateProfileInt(S_GENERAL, K_DEBUG, 0)
|
m_nDebug = GetMainPrivateProfileInt(S_GENERAL, K_DEBUG, 0)
|
||||||
m_sLogFile = m_sTempDir & "\" & SUPGENLOG_FILE_NAME.Replace("#", m_nInstance.ToString())
|
m_sLogFile = m_sTempDir & "\" & SUPGENLOG_FILE_NAME.Replace("#", m_nInstance.ToString())
|
||||||
|
|||||||
@@ -70,5 +70,5 @@ Imports System.Windows
|
|||||||
' by using the '*' as shown below:
|
' by using the '*' as shown below:
|
||||||
' <Assembly: AssemblyVersion("1.0.*")>
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
<Assembly: AssemblyVersion("2.5.4.1")>
|
<Assembly: AssemblyVersion("2.5.5.4")>
|
||||||
<Assembly: AssemblyFileVersion("2.5.4.1")>
|
<Assembly: AssemblyFileVersion("2.5.5.4")>
|
||||||
|
|||||||
@@ -178,13 +178,14 @@ Public Class MySceneHostVM
|
|||||||
|
|
||||||
#Region "ProjectManager"
|
#Region "ProjectManager"
|
||||||
|
|
||||||
Public Overrides Sub NewProject()
|
Public Overrides Function NewProject() As Boolean
|
||||||
EgtSetCurrentContext(MainScene.GetCtx())
|
EgtSetCurrentContext(MainScene.GetCtx())
|
||||||
Dim bOk As Boolean = MainController.NewProject()
|
Dim bOk As Boolean = MainController.NewProject()
|
||||||
MainScene.SetStatusNull()
|
MainScene.SetStatusNull()
|
||||||
End Sub
|
Return bOk
|
||||||
|
End Function
|
||||||
|
|
||||||
Public Overrides Sub OpenProject(sFilePath As String)
|
Public Overrides Function OpenProject(sFilePath As String) As Boolean
|
||||||
EgtSetCurrentContext(MainScene.GetCtx())
|
EgtSetCurrentContext(MainScene.GetCtx())
|
||||||
Dim bOk As Boolean = False
|
Dim bOk As Boolean = False
|
||||||
If String.IsNullOrEmpty(sFilePath) Then
|
If String.IsNullOrEmpty(sFilePath) Then
|
||||||
@@ -201,29 +202,32 @@ Public Class MySceneHostVM
|
|||||||
bOk = MainController.OpenProject(sFilePath, False)
|
bOk = MainController.OpenProject(sFilePath, False)
|
||||||
End If
|
End If
|
||||||
MainScene.SetStatusNull()
|
MainScene.SetStatusNull()
|
||||||
End Sub
|
Return bOk
|
||||||
|
End Function
|
||||||
|
|
||||||
Public Overrides Sub SaveProject()
|
Public Overrides Function SaveProject() As Boolean
|
||||||
MyBase.SaveProject()
|
Dim bOk As Boolean = MyBase.SaveProject()
|
||||||
' Imposto stato gestione mouse diretto della scena a nessuno
|
' Imposto stato gestione mouse diretto della scena a nessuno
|
||||||
MainScene.SetStatusNull()
|
MainScene.SetStatusNull()
|
||||||
End Sub
|
Return bOk
|
||||||
|
End Function
|
||||||
|
|
||||||
Public Overrides Sub SaveAsProject()
|
Public Overrides Function SaveAsProject() As Boolean
|
||||||
MyBase.SaveAsProject()
|
Dim bOk As Boolean = MyBase.SaveAsProject()
|
||||||
' Imposto stato gestione mouse diretto della scena a nessuno
|
' Imposto stato gestione mouse diretto della scena a nessuno
|
||||||
MainScene.SetStatusNull()
|
MainScene.SetStatusNull()
|
||||||
End Sub
|
Return bOk
|
||||||
|
End Function
|
||||||
|
|
||||||
Public Overrides Sub ImportProject()
|
Public Overrides Function ImportProject() As Boolean
|
||||||
Dim sDir As String = String.Empty
|
Dim sDir As String = String.Empty
|
||||||
GetMainPrivateProfileString(S_MRUIMPORT, K_FILE & "1", "", sDir)
|
GetMainPrivateProfileString(S_MRUIMPORT, K_FILE & "1", "", sDir)
|
||||||
If Not String.IsNullOrWhiteSpace(sDir) Then
|
If Not String.IsNullOrWhiteSpace(sDir) Then
|
||||||
sDir = Path.GetDirectoryName(sDir)
|
sDir = Path.GetDirectoryName(sDir)
|
||||||
End If
|
End If
|
||||||
sDir.TrimEnd("\"c)
|
sDir.TrimEnd("\"c)
|
||||||
MainController.ImportProject(sDir)
|
Return MainController.ImportProject(sDir)
|
||||||
End Sub
|
End Function
|
||||||
|
|
||||||
#End Region ' ProjectManager
|
#End Region ' ProjectManager
|
||||||
|
|
||||||
|
|||||||
@@ -1,52 +1,59 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<configSections>
|
<configSections>
|
||||||
<!-- 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" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
||||||
</configSections>
|
</configSections>
|
||||||
<entityFramework>
|
<entityFramework>
|
||||||
<defaultConnectionFactory type="MySql.Data.Entity.MySqlConnectionFactory, MySql.Data.Entity.EF6" />
|
<!--<defaultConnectionFactory type="MySql.Data.Entity.MySqlConnectionFactory, MySql.Data.EntityFramework" />-->
|
||||||
<providers>
|
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"/>
|
||||||
|
<providers>
|
||||||
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
|
<provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.EntityFramework, Version=8.0.21.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d">
|
||||||
<provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.EntityFramework, Version=8.0.21.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d">
|
</provider>
|
||||||
</provider></providers>
|
</providers>
|
||||||
</entityFramework>
|
</entityFramework>
|
||||||
<connectionStrings>
|
<connectionStrings>
|
||||||
<add name="DefaultConnection" connectionString="server=localhost;port=3306;User Id=root;password=viacremasca;Persist Security Info=True;database=EgtBwDb;SslMode=none" providerName="MySql.Data.MySqlClient" />
|
<add name="DefaultConnection" connectionString="server=localhost;port=3306;User Id=root;password=viacremasca;Persist Security Info=True;database=EgtBwDb;SslMode=none" 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-8.0.21.0" newVersion="8.0.21.0" />
|
<bindingRedirect oldVersion="0.0.0.0-8.0.21.0" newVersion="8.0.21.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
|
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
|
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="BouncyCastle.Crypto" publicKeyToken="0e99375e54769942" culture="neutral" />
|
<assemblyIdentity name="BouncyCastle.Crypto" publicKeyToken="0e99375e54769942" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-1.8.5.0" newVersion="1.8.5.0" />
|
<bindingRedirect oldVersion="0.0.0.0-1.9.0.0" newVersion="1.9.0.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="Google.Protobuf" publicKeyToken="a7d26565bac4d604" culture="neutral" />
|
<assemblyIdentity name="Google.Protobuf" publicKeyToken="a7d26565bac4d604" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-3.19.4.0" newVersion="3.19.4.0" />
|
<bindingRedirect oldVersion="0.0.0.0-3.21.9.0" newVersion="3.21.9.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="K4os.Compression.LZ4.Streams" publicKeyToken="2186fa9121ef231d" culture="neutral" />
|
<assemblyIdentity name="K4os.Compression.LZ4.Streams" publicKeyToken="2186fa9121ef231d" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-1.2.6.0" newVersion="1.2.6.0" />
|
<bindingRedirect oldVersion="0.0.0.0-1.3.5.0" newVersion="1.3.5.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</assemblyBinding>
|
<dependentAssembly>
|
||||||
</runtime>
|
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
<system.data>
|
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
|
||||||
<DbProviderFactories>
|
</dependentAssembly>
|
||||||
<remove invariant="MySql.Data.MySqlClient" />
|
</assemblyBinding>
|
||||||
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=8.0.21.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
|
</runtime>
|
||||||
</DbProviderFactories>
|
<system.data>
|
||||||
</system.data>
|
<DbProviderFactories>
|
||||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" /></startup></configuration>
|
<remove invariant="MySql.Data.MySqlClient" />
|
||||||
|
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=8.0.21.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
|
||||||
|
</DbProviderFactories>
|
||||||
|
</system.data>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
|
|||||||
@@ -4,11 +4,11 @@
|
|||||||
<package id="Csv" version="1.0.31" targetFramework="net472" />
|
<package id="Csv" version="1.0.31" targetFramework="net472" />
|
||||||
<package id="EntityFramework" version="6.4.4" targetFramework="net452" />
|
<package id="EntityFramework" version="6.4.4" targetFramework="net452" />
|
||||||
<package id="FluentFTP" version="19.2.2" targetFramework="net472" />
|
<package id="FluentFTP" version="19.2.2" targetFramework="net472" />
|
||||||
<package id="Google.Protobuf" version="3.19.4" targetFramework="net472" />
|
<package id="Google.Protobuf" version="3.21.9" targetFramework="net472" />
|
||||||
<package id="Ionic.Zip" version="1.9.1.8" targetFramework="net472" />
|
<package id="Ionic.Zip" version="1.9.1.8" targetFramework="net472" />
|
||||||
<package id="K4os.Compression.LZ4" version="1.2.6" targetFramework="net472" />
|
<package id="K4os.Compression.LZ4" version="1.3.5" targetFramework="net472" />
|
||||||
<package id="K4os.Compression.LZ4.Streams" version="1.2.6" targetFramework="net472" />
|
<package id="K4os.Compression.LZ4.Streams" version="1.3.5" targetFramework="net472" />
|
||||||
<package id="K4os.Hash.xxHash" version="1.0.6" targetFramework="net472" />
|
<package id="K4os.Hash.xxHash" version="1.0.8" targetFramework="net472" />
|
||||||
<package id="Lextm.SharpSnmpLib" version="10.0.9" targetFramework="net472" />
|
<package id="Lextm.SharpSnmpLib" version="10.0.9" targetFramework="net472" />
|
||||||
<package id="Microsoft.DotNet.PlatformAbstractions" version="2.1.0" targetFramework="net472" />
|
<package id="Microsoft.DotNet.PlatformAbstractions" version="2.1.0" targetFramework="net472" />
|
||||||
<package id="Microsoft.Extensions.DependencyModel" version="2.1.0" targetFramework="net472" />
|
<package id="Microsoft.Extensions.DependencyModel" version="2.1.0" targetFramework="net472" />
|
||||||
@@ -16,16 +16,18 @@
|
|||||||
<package id="MySql.Data.EntityFramework" version="8.0.21" targetFramework="net472" />
|
<package id="MySql.Data.EntityFramework" version="8.0.21" targetFramework="net472" />
|
||||||
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net472" />
|
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net472" />
|
||||||
<package id="NLog" version="5.0.1" targetFramework="net472" />
|
<package id="NLog" version="5.0.1" targetFramework="net472" />
|
||||||
<package id="Portable.BouncyCastle" version="1.8.2" targetFramework="net472" />
|
<package id="Portable.BouncyCastle" version="1.9.0" targetFramework="net472" />
|
||||||
<package id="SSH.NET" version="2016.1.0" targetFramework="net472" />
|
<package id="SSH.NET" version="2016.1.0" targetFramework="net472" />
|
||||||
<package id="System.Buffers" version="4.5.1" targetFramework="net472" />
|
<package id="System.Buffers" version="4.5.1" targetFramework="net472" />
|
||||||
<package id="System.Collections.Specialized" version="4.3.0" targetFramework="net472" />
|
<package id="System.Collections.Specialized" version="4.3.0" targetFramework="net472" />
|
||||||
<package id="System.Memory" version="4.5.4" targetFramework="net472" />
|
<package id="System.IO.Pipelines" version="5.0.2" targetFramework="net472" />
|
||||||
|
<package id="System.Memory" version="4.5.5" targetFramework="net472" />
|
||||||
<package id="System.Net.NameResolution" version="4.3.0" targetFramework="net472" />
|
<package id="System.Net.NameResolution" version="4.3.0" targetFramework="net472" />
|
||||||
<package id="System.Net.Sockets" version="4.3.0" targetFramework="net472" />
|
<package id="System.Net.Sockets" version="4.3.0" targetFramework="net472" />
|
||||||
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net472" />
|
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net472" />
|
||||||
<package id="System.Runtime.CompilerServices.Unsafe" version="5.0.0" targetFramework="net472" />
|
<package id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" targetFramework="net472" />
|
||||||
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.0.0" targetFramework="net472" />
|
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.0.0" targetFramework="net472" />
|
||||||
|
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net472" />
|
||||||
<package id="System.Xml.XmlDocument" version="4.3.0" targetFramework="net472" />
|
<package id="System.Xml.XmlDocument" version="4.3.0" targetFramework="net472" />
|
||||||
<package id="Zebra.Printer.SDK" version="2.15.2634" targetFramework="net472" />
|
<package id="Zebra.Printer.SDK" version="2.15.2634" targetFramework="net472" />
|
||||||
</packages>
|
</packages>
|
||||||
@@ -1,47 +1,55 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<configSections>
|
<configSections>
|
||||||
<!-- 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" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
||||||
</configSections>
|
</configSections>
|
||||||
<entityFramework>
|
<entityFramework>
|
||||||
<defaultConnectionFactory type="MySql.Data.Entity.MySqlConnectionFactory, MySql.Data.Entity.EF6" />
|
<!--<defaultConnectionFactory type="MySql.Data.Entity.MySqlConnectionFactory, MySql.Data.EntityFramework" />-->
|
||||||
<providers>
|
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"/>
|
||||||
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
|
<providers>
|
||||||
<provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.EntityFramework, Version=8.0.21.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
|
<provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.EntityFramework, Version=8.0.21.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d">
|
||||||
</providers>
|
</provider>
|
||||||
</entityFramework>
|
</providers>
|
||||||
<connectionStrings>
|
</entityFramework>
|
||||||
<add name="DefaultConnection" connectionString="server=localhost;port=3306;User Id=EgtUser;password=viacremasca;Persist Security Info=True;database=EgtBwDb;SslMode=none" providerName="MySql.Data.MySqlClient" />
|
<connectionStrings>
|
||||||
</connectionStrings>
|
<add name="DefaultConnection" connectionString="server=localhost;port=3306;User Id=EgtUser;password=viacremasca;Persist Security Info=True;database=EgtBwDb;SslMode=none" providerName="MySql.Data.MySqlClient" />
|
||||||
<runtime>
|
</connectionStrings>
|
||||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
<runtime>
|
||||||
<dependentAssembly>
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
<assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" />
|
<dependentAssembly>
|
||||||
<bindingRedirect oldVersion="0.0.0.0-8.0.21.0" newVersion="8.0.21.0" />
|
<assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" />
|
||||||
</dependentAssembly>
|
<bindingRedirect oldVersion="0.0.0.0-8.0.21.0" newVersion="8.0.21.0" />
|
||||||
<dependentAssembly>
|
</dependentAssembly>
|
||||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
<dependentAssembly>
|
||||||
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
|
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||||
</dependentAssembly>
|
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
||||||
<dependentAssembly>
|
</dependentAssembly>
|
||||||
<assemblyIdentity name="Google.Protobuf" publicKeyToken="a7d26565bac4d604" culture="neutral" />
|
<dependentAssembly>
|
||||||
<bindingRedirect oldVersion="0.0.0.0-3.19.4.0" newVersion="3.19.4.0" />
|
<assemblyIdentity name="Google.Protobuf" publicKeyToken="a7d26565bac4d604" culture="neutral" />
|
||||||
</dependentAssembly>
|
<bindingRedirect oldVersion="0.0.0.0-3.21.9.0" newVersion="3.21.9.0" />
|
||||||
<dependentAssembly>
|
</dependentAssembly>
|
||||||
<assemblyIdentity name="K4os.Compression.LZ4.Streams" publicKeyToken="2186fa9121ef231d" culture="neutral" />
|
<dependentAssembly>
|
||||||
<bindingRedirect oldVersion="0.0.0.0-1.2.6.0" newVersion="1.2.6.0" />
|
<assemblyIdentity name="K4os.Compression.LZ4.Streams" publicKeyToken="2186fa9121ef231d" culture="neutral" />
|
||||||
</dependentAssembly>
|
<bindingRedirect oldVersion="0.0.0.0-1.3.5.0" newVersion="1.3.5.0" />
|
||||||
<dependentAssembly>
|
</dependentAssembly>
|
||||||
<assemblyIdentity name="BouncyCastle.Crypto" publicKeyToken="0e99375e54769942" culture="neutral" />
|
<dependentAssembly>
|
||||||
<bindingRedirect oldVersion="0.0.0.0-1.8.5.0" newVersion="1.8.5.0" />
|
<assemblyIdentity name="BouncyCastle.Crypto" publicKeyToken="0e99375e54769942" culture="neutral" />
|
||||||
</dependentAssembly>
|
<bindingRedirect oldVersion="0.0.0.0-1.9.0.0" newVersion="1.9.0.0" />
|
||||||
</assemblyBinding>
|
</dependentAssembly>
|
||||||
</runtime>
|
<dependentAssembly>
|
||||||
<system.data>
|
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
<DbProviderFactories>
|
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
|
||||||
<remove invariant="MySql.Data.MySqlClient" />
|
</dependentAssembly>
|
||||||
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=8.0.21.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
|
</assemblyBinding>
|
||||||
</DbProviderFactories>
|
</runtime>
|
||||||
</system.data>
|
<system.data>
|
||||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" /></startup></configuration>
|
<DbProviderFactories>
|
||||||
|
<remove invariant="MySql.Data.MySqlClient" />
|
||||||
|
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=8.0.21.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
|
||||||
|
</DbProviderFactories>
|
||||||
|
</system.data>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
|
|||||||
@@ -114,6 +114,27 @@ Public Class BTLFeatureVM
|
|||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
Public Property sPriority As String
|
||||||
|
Get
|
||||||
|
Return m_BTLFeatureM.nPriority.ToString()
|
||||||
|
End Get
|
||||||
|
Set(value As String)
|
||||||
|
Dim nTemp As Integer = 0
|
||||||
|
If Integer.TryParse(value, nTemp) Then
|
||||||
|
If EgtSetInfo(nFeatureId, BTL_FTR_PRIORITY, nTemp) Then
|
||||||
|
m_BTLFeatureM.nPriority = nTemp
|
||||||
|
' setto feature da ricalcolare
|
||||||
|
ResetCalcFeature()
|
||||||
|
' se in View
|
||||||
|
If Map.refMainMenuVM.SelPage = Pages.VIEW Then
|
||||||
|
' imposto modificato per copie
|
||||||
|
EgtDuploSetModified(m_BTLPartM.nPartId)
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
NotifyPropertyChanged(NameOf(sPriority))
|
||||||
|
End Set
|
||||||
|
End Property
|
||||||
' proprieta' che indica se e' attivo l'update del parametro bDO su piu' feature (attiva/disattiva tutti su pezzo, o per tipo con tasto destro)
|
' proprieta' che indica se e' attivo l'update del parametro bDO su piu' feature (attiva/disattiva tutti su pezzo, o per tipo con tasto destro)
|
||||||
' necessario per evitare ricalcolo della grafica sulla modifica del parametro per ogni feature
|
' necessario per evitare ricalcolo della grafica sulla modifica del parametro per ogni feature
|
||||||
Private Shared m_bDO_MultipleUpdate As Boolean = False
|
Private Shared m_bDO_MultipleUpdate As Boolean = False
|
||||||
@@ -372,6 +393,8 @@ Public Class BTLFeatureVM
|
|||||||
For Each QPar In QBTLParamVMList
|
For Each QPar In QBTLParamVMList
|
||||||
If QPar.bCustom Then EgtSetInfo(nNewFeatureId, QPar.sName & "A", 1)
|
If QPar.bCustom Then EgtSetInfo(nNewFeatureId, QPar.sName & "A", 1)
|
||||||
Next
|
Next
|
||||||
|
' Riporto priority
|
||||||
|
EgtSetInfo(nNewFeatureId, BTL_FTR_PRIORITY, m_BTLFeatureM.nPriority)
|
||||||
Dim NewFeat As BTLFeatureM = BTLFeatureM.CreateBTLFeature(m_BTLPartM, nNewFeatureId)
|
Dim NewFeat As BTLFeatureM = BTLFeatureM.CreateBTLFeature(m_BTLPartM, nNewFeatureId)
|
||||||
' la aggiungo a struttura BTL pezzo di destinazione
|
' la aggiungo a struttura BTL pezzo di destinazione
|
||||||
DestBTLPart.AddBTLFeature(NewFeat)
|
DestBTLPart.AddBTLFeature(NewFeat)
|
||||||
|
|||||||
@@ -1530,6 +1530,7 @@ Public Class BTLPartVM
|
|||||||
m_SelBTLFeatureVM.RefreshFCMBtnVisibility()
|
m_SelBTLFeatureVM.RefreshFCMBtnVisibility()
|
||||||
' aggiorno stato abilitazione del bottone modifica free contour
|
' aggiorno stato abilitazione del bottone modifica free contour
|
||||||
Map.refFeatureManagerVM.SetEditIsEnabled()
|
Map.refFeatureManagerVM.SetEditIsEnabled()
|
||||||
|
Map.refFeatureManagerVM.NotifyPropertyChanged(NameOf(Map.refFeatureManagerVM.Priority_Visibility))
|
||||||
Else
|
Else
|
||||||
EgtDeselectAll()
|
EgtDeselectAll()
|
||||||
End If
|
End If
|
||||||
@@ -2163,7 +2164,7 @@ Public Class BTLPartVM
|
|||||||
' imposto path disegno da mostrare in BottomPanel
|
' imposto path disegno da mostrare in BottomPanel
|
||||||
Dim SelPBTLParam As BTLParamVM = Map.refProjectVM.BTLStructureVM.SelBTLPart.SelBTLFeatureVM.SelPBTLParam
|
Dim SelPBTLParam As BTLParamVM = Map.refProjectVM.BTLStructureVM.SelBTLPart.SelBTLFeatureVM.SelPBTLParam
|
||||||
If Not IsNothing(SelPBTLParam) Then Map.refBottomPanelVM.SetCurrDraw(SelPBTLParam.sDrawPath)
|
If Not IsNothing(SelPBTLParam) Then Map.refBottomPanelVM.SetCurrDraw(SelPBTLParam.sDrawPath)
|
||||||
Case NameOf(sender.bDO)
|
Case NameOf(sender.bDO), NameOf(sender.sPriority)
|
||||||
NotifyPropertyChanged(NameOf(bDOALL))
|
NotifyPropertyChanged(NameOf(bDOALL))
|
||||||
' setto pezzo da ricalcolare
|
' setto pezzo da ricalcolare
|
||||||
'ResetCalcTotalPart()
|
'ResetCalcTotalPart()
|
||||||
|
|||||||
@@ -105,9 +105,41 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'RemoteDebug|AnyCPU'">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DefineDebug>true</DefineDebug>
|
||||||
|
<DefineTrace>true</DefineTrace>
|
||||||
|
<OutputPath>bin\RemoteDebug\</OutputPath>
|
||||||
|
<DocumentationFile>EgtBEAMWALL.ViewerOptimizer.xml</DocumentationFile>
|
||||||
|
<NoWarn>41999,42016,42017,42018,42019,42020,42021,42022,42032,42036,42314</NoWarn>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'RemoteDebug|x64'">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DefineDebug>true</DefineDebug>
|
||||||
|
<DefineTrace>true</DefineTrace>
|
||||||
|
<OutputPath>bin\x64\RemoteDebug\</OutputPath>
|
||||||
|
<DocumentationFile>EgtBEAMWALL.ViewerOptimizer.xml</DocumentationFile>
|
||||||
|
<NoWarn>41999,42016,42017,42018,42019,42020,42021,42022,42032,42036,42314</NoWarn>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'RemoteDebug|x86'">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DefineDebug>true</DefineDebug>
|
||||||
|
<DefineTrace>true</DefineTrace>
|
||||||
|
<OutputPath>bin\x86\RemoteDebug\</OutputPath>
|
||||||
|
<DocumentationFile>EgtBEAMWALL.ViewerOptimizer.xml</DocumentationFile>
|
||||||
|
<NoWarn>41999,42016,42017,42018,42019,42020,42021,42022,42032,42036,42314</NoWarn>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="BouncyCastle.Crypto, Version=1.8.5.0, Culture=neutral, PublicKeyToken=0e99375e54769942">
|
<Reference Include="BouncyCastle.Crypto, Version=1.9.0.0, Culture=neutral, PublicKeyToken=0e99375e54769942, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\BouncyCastle.1.8.5\lib\BouncyCastle.Crypto.dll</HintPath>
|
<HintPath>..\packages\Portable.BouncyCastle.1.9.0\lib\net40\BouncyCastle.Crypto.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="EgtUILib, Version=2.4.3.1, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="EgtUILib, Version=2.4.3.1, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
@@ -123,20 +155,20 @@
|
|||||||
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.SqlServer.dll</HintPath>
|
<HintPath>..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.SqlServer.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Google.Protobuf, Version=3.19.4.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">
|
<Reference Include="Google.Protobuf, Version=3.21.9.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Google.Protobuf.3.19.4\lib\net45\Google.Protobuf.dll</HintPath>
|
<HintPath>..\packages\Google.Protobuf.3.21.9\lib\net45\Google.Protobuf.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Ionic.Zip, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c, processorArchitecture=MSIL">
|
<Reference Include="Ionic.Zip, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Ionic.Zip.1.9.1.8\lib\Ionic.Zip.dll</HintPath>
|
<HintPath>..\packages\Ionic.Zip.1.9.1.8\lib\Ionic.Zip.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="K4os.Compression.LZ4, Version=1.2.6.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
|
<Reference Include="K4os.Compression.LZ4, Version=1.3.5.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\K4os.Compression.LZ4.1.2.6\lib\net46\K4os.Compression.LZ4.dll</HintPath>
|
<HintPath>..\packages\K4os.Compression.LZ4.1.3.5\lib\net462\K4os.Compression.LZ4.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="K4os.Compression.LZ4.Streams, Version=1.2.6.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
|
<Reference Include="K4os.Compression.LZ4.Streams, Version=1.3.5.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\K4os.Compression.LZ4.Streams.1.2.6\lib\net46\K4os.Compression.LZ4.Streams.dll</HintPath>
|
<HintPath>..\packages\K4os.Compression.LZ4.Streams.1.3.5\lib\net462\K4os.Compression.LZ4.Streams.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="K4os.Hash.xxHash, Version=1.0.6.0, Culture=neutral, PublicKeyToken=32cd54395057cec3, processorArchitecture=MSIL">
|
<Reference Include="K4os.Hash.xxHash, Version=1.0.8.0, Culture=neutral, PublicKeyToken=32cd54395057cec3, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\K4os.Hash.xxHash.1.0.6\lib\net46\K4os.Hash.xxHash.dll</HintPath>
|
<HintPath>..\packages\K4os.Hash.xxHash.1.0.8\lib\net462\K4os.Hash.xxHash.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="MigraDoc.DocumentObjectModel-wpf, Version=1.50.5147.0, Culture=neutral, PublicKeyToken=f94615aa0424f9eb, processorArchitecture=MSIL">
|
<Reference Include="MigraDoc.DocumentObjectModel-wpf, Version=1.50.5147.0, Culture=neutral, PublicKeyToken=f94615aa0424f9eb, processorArchitecture=MSIL">
|
||||||
@@ -177,18 +209,24 @@
|
|||||||
<Reference Include="System.Drawing" />
|
<Reference Include="System.Drawing" />
|
||||||
<Reference Include="System.Drawing.Design" />
|
<Reference Include="System.Drawing.Design" />
|
||||||
<Reference Include="System.IO.Compression" />
|
<Reference Include="System.IO.Compression" />
|
||||||
|
<Reference Include="System.IO.Pipelines, Version=5.0.0.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.IO.Pipelines.5.0.2\lib\net461\System.IO.Pipelines.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System.Management" />
|
<Reference Include="System.Management" />
|
||||||
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
<Reference Include="System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath>
|
<HintPath>..\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Numerics" />
|
<Reference Include="System.Numerics" />
|
||||||
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
|
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Security" />
|
<Reference Include="System.Security" />
|
||||||
|
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System.Transactions" />
|
<Reference Include="System.Transactions" />
|
||||||
<Reference Include="System.Windows.Forms" />
|
<Reference Include="System.Windows.Forms" />
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
@@ -955,6 +993,9 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Resource Include="Resources\TopPanel\RemoveAllRawPart.png" />
|
<Resource Include="Resources\TopPanel\RemoveAllRawPart.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Resource Include="Resources\ProjectManager\AddProj.png" />
|
||||||
|
</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)" == "Release" copy $(TargetPath) c:\EgtProg\EgtBEAMWALL\EgtBEAMWALL.ViewerOptimizerR32.exe
|
||||||
|
|||||||
@@ -20,6 +20,16 @@
|
|||||||
SelectedItem="{Binding Tag.nSelGRP, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:FeatureManagerV}}}"
|
SelectedItem="{Binding Tag.nSelGRP, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:FeatureManagerV}}}"
|
||||||
IsEnabled="{Binding FeatureManager_IsEnabled}"
|
IsEnabled="{Binding FeatureManager_IsEnabled}"
|
||||||
Style="{StaticResource FeatureComboBox}"/>
|
Style="{StaticResource FeatureComboBox}"/>
|
||||||
|
<TextBlock Text="{Binding Priority_Msg}"
|
||||||
|
IsEnabled="{Binding FeatureManager_IsEnabled}"
|
||||||
|
Visibility="{Binding Priority_Visibility}"
|
||||||
|
Style="{StaticResource OptionTextBlock}"/>
|
||||||
|
<EgtWPFLib5:EgtTextBox Text="{Binding Tag.sPriority,
|
||||||
|
RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:FeatureManagerV}},
|
||||||
|
UpdateSourceTrigger=Explicit}"
|
||||||
|
IsEnabled="{Binding FeatureManager_IsEnabled}"
|
||||||
|
Visibility="{Binding Priority_Visibility}"
|
||||||
|
Width="45"/>
|
||||||
<TextBlock Text="{Binding Tag.sName, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:FeatureManagerV}}}"
|
<TextBlock Text="{Binding Tag.sName, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:FeatureManagerV}}}"
|
||||||
Style="{StaticResource OptionTextBlock}"/>
|
Style="{StaticResource OptionTextBlock}"/>
|
||||||
<Button Content="{Binding Edit_Msg}"
|
<Button Content="{Binding Edit_Msg}"
|
||||||
|
|||||||
@@ -27,6 +27,12 @@ Public Class FeatureManagerVM
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
Public ReadOnly Property Priority_Visibility As Visibility
|
||||||
|
Get
|
||||||
|
Return if(CurrentMachine.nType = Core.ConstBeam.MachineType.WALL, Visibility.Visible, Visibility.Collapsed)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
#Region "Messages"
|
#Region "Messages"
|
||||||
|
|
||||||
Public ReadOnly Property Face_Msg As String
|
Public ReadOnly Property Face_Msg As String
|
||||||
@@ -41,6 +47,12 @@ Public Class FeatureManagerVM
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
Public ReadOnly Property Priority_Msg As String
|
||||||
|
Get
|
||||||
|
Return EgtMsg(61895)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
Public ReadOnly Property Edit_Msg As String
|
Public ReadOnly Property Edit_Msg As String
|
||||||
Get
|
Get
|
||||||
Return EgtMsg(61826)
|
Return EgtMsg(61826)
|
||||||
|
|||||||
@@ -83,10 +83,16 @@
|
|||||||
<!--Descrizione-->
|
<!--Descrizione-->
|
||||||
<DataGridTextColumn x:Key="colDESC" Binding="{Binding sDesc}">
|
<DataGridTextColumn x:Key="colDESC" Binding="{Binding sDesc}">
|
||||||
<DataGridTextColumn.Header>
|
<DataGridTextColumn.Header>
|
||||||
<TextBlock Text="{Binding Path=DataContext.Description_Msg,RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:FeatureInPartInRawPartListV}}}"/>
|
<TextBlock Text="{Binding Path=DataContext.Description_Msg, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:FeatureInPartInRawPartListV}}}"/>
|
||||||
</DataGridTextColumn.Header>
|
</DataGridTextColumn.Header>
|
||||||
</DataGridTextColumn>
|
</DataGridTextColumn>
|
||||||
</DataGrid.Resources>
|
<!--Descrizione-->
|
||||||
|
<DataGridTextColumn x:Key="colPRIORITY" Binding="{Binding sPriority}">
|
||||||
|
<DataGridTextColumn.Header>
|
||||||
|
<TextBlock Text="{Binding Path=DataContext.Priority_Msg, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:FeatureInPartInRawPartListV}}}"/>
|
||||||
|
</DataGridTextColumn.Header>
|
||||||
|
</DataGridTextColumn>
|
||||||
|
</DataGrid.Resources>
|
||||||
|
|
||||||
</EgtBEAMWALLCORE:EgtDataGrid>
|
</EgtBEAMWALLCORE:EgtDataGrid>
|
||||||
<!--<TextBlock Grid.Row="1"
|
<!--<TextBlock Grid.Row="1"
|
||||||
|
|||||||
@@ -11,6 +11,13 @@ Public Class FeatureInPartInRawPartListVM
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
Private m_colFeatureInPartInRawPart_Priority As EgtDataGridColumn
|
||||||
|
Public ReadOnly Property colFeatureInPartInRawPart_Priority As EgtDataGridColumn
|
||||||
|
Get
|
||||||
|
Return m_colFeatureInPartInRawPart_Priority
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
Private m_FeatureInPartInRawPartColumns As New ObservableCollection(Of EgtDataGridColumn)
|
Private m_FeatureInPartInRawPartColumns As New ObservableCollection(Of EgtDataGridColumn)
|
||||||
Public Property FeatureInPartInRawPartColumns As ObservableCollection(Of EgtDataGridColumn)
|
Public Property FeatureInPartInRawPartColumns As ObservableCollection(Of EgtDataGridColumn)
|
||||||
Get
|
Get
|
||||||
@@ -35,6 +42,12 @@ Public Class FeatureInPartInRawPartListVM
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
Public ReadOnly Property Priority_Msg As String
|
||||||
|
Get
|
||||||
|
Return EgtMsg(61895)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
#End Region ' Messages
|
#End Region ' Messages
|
||||||
|
|
||||||
Sub New()
|
Sub New()
|
||||||
@@ -44,6 +57,13 @@ Public Class FeatureInPartInRawPartListVM
|
|||||||
GetPrivateProfileColumns(S_FEATUREINPARTINRAWPARTLIST, FeatureInPartInRawPartColumns)
|
GetPrivateProfileColumns(S_FEATUREINPARTINRAWPARTLIST, FeatureInPartInRawPartColumns)
|
||||||
' recupero riferimento a colonna Do
|
' recupero riferimento a colonna Do
|
||||||
m_colFeatureInPartInRawPart_Do = FeatureInPartInRawPartColumns.FirstOrDefault(Function(x) x.Name = COL_DO)
|
m_colFeatureInPartInRawPart_Do = FeatureInPartInRawPartColumns.FirstOrDefault(Function(x) x.Name = COL_DO)
|
||||||
|
m_colFeatureInPartInRawPart_Priority = FeatureInPartInRawPartColumns.FirstOrDefault(Function(x) x.Name = COL_PRIORITY)
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Friend Sub UpdateColumns(nMachType As MachineType)
|
||||||
|
If Not IsNothing(m_colFeatureInPartInRawPart_Priority) Then
|
||||||
|
m_colFeatureInPartInRawPart_Priority.Visible = (nMachType=MachineType.WALL)
|
||||||
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -280,7 +280,7 @@ Public Class LeftPanelVM
|
|||||||
|
|
||||||
Public Sub NewRawPart(bLast As Boolean)
|
Public Sub NewRawPart(bLast As Boolean)
|
||||||
If IsNothing(Map.refProdManagerVM.CurrProd) Then Return
|
If IsNothing(Map.refProdManagerVM.CurrProd) Then Return
|
||||||
Dim SelPart As BTLPartVM = Map.refProjectVM.BTLStructureVM.SelBTLPart
|
'Dim SelPart As BTLPartVM = Map.refProjectVM.BTLStructureVM.SelBTLPart
|
||||||
Dim SelParts As List(Of BTLPartVM) = Map.refProjectVM.BTLStructureVM.SelBTLParts.ToList()
|
Dim SelParts As List(Of BTLPartVM) = Map.refProjectVM.BTLStructureVM.SelBTLParts.ToList()
|
||||||
If IsNothing(SelParts) OrElse SelParts.Count <= 0 Then Return
|
If IsNothing(SelParts) OrElse SelParts.Count <= 0 Then Return
|
||||||
' verifico che abbiano tutti la stessa sezione
|
' verifico che abbiano tutti la stessa sezione
|
||||||
@@ -436,7 +436,7 @@ Public Class LeftPanelVM
|
|||||||
Next
|
Next
|
||||||
' scrivo dati costruzione grezzo in gruppo di lavorazione
|
' scrivo dati costruzione grezzo in gruppo di lavorazione
|
||||||
EgtSetInfo(nCurrMachGroup, MGR_RPT_BARLEN, dRawL)
|
EgtSetInfo(nCurrMachGroup, MGR_RPT_BARLEN, dRawL)
|
||||||
EgtSetInfo(nCurrMachGroup, MGR_RPT_MATERIAL, SelPart.sMATERIAL)
|
EgtSetInfo(nCurrMachGroup, MGR_RPT_MATERIAL, SelParts(0).sMATERIAL)
|
||||||
' scrivo dati di tutti i pezzi
|
' scrivo dati di tutti i pezzi
|
||||||
Dim dPosX As Double = WarehouseHelper.GetStartOffset()
|
Dim dPosX As Double = WarehouseHelper.GetStartOffset()
|
||||||
' ciclo sui pezzi
|
' ciclo sui pezzi
|
||||||
@@ -487,13 +487,13 @@ Public Class LeftPanelVM
|
|||||||
BeamMachGroup.UpdateUsage()
|
BeamMachGroup.UpdateUsage()
|
||||||
Core.ViewPanelVM.BWSetView(VT.ISO_SW, False)
|
Core.ViewPanelVM.BWSetView(VT.ISO_SW, False)
|
||||||
ElseIf Map.refProjectVM.BTLStructureVM.nPROJTYPE = MachineType.WALL Then
|
ElseIf Map.refProjectVM.BTLStructureVM.nPROJTYPE = MachineType.WALL Then
|
||||||
Dim nPartDuploId As Integer = EgtDuploNew(SelPart.nPartId)
|
Dim nPartDuploId As Integer = EgtDuploNew(SelParts(0).nPartId)
|
||||||
' scrivo dati in gruppo di lavorazione
|
' scrivo dati in gruppo di lavorazione
|
||||||
Dim dPosX As Double = dKerf
|
Dim dPosX As Double = dKerf
|
||||||
Dim dPosY As Double = dKerf
|
Dim dPosY As Double = dKerf
|
||||||
EgtSetInfo(nCurrMachGroup, MGR_RPT_PANELLEN, dRawL)
|
EgtSetInfo(nCurrMachGroup, MGR_RPT_PANELLEN, dRawL)
|
||||||
EgtSetInfo(nCurrMachGroup, MGR_RPT_PANELWIDTH, dRawW)
|
EgtSetInfo(nCurrMachGroup, MGR_RPT_PANELWIDTH, dRawW)
|
||||||
EgtSetInfo(nCurrMachGroup, MGR_RPT_MATERIAL, SelPart.sMATERIAL)
|
EgtSetInfo(nCurrMachGroup, MGR_RPT_MATERIAL, SelParts(0).sMATERIAL)
|
||||||
EgtSetInfo(nCurrMachGroup, MGR_RPT_PART & 1,
|
EgtSetInfo(nCurrMachGroup, MGR_RPT_PART & 1,
|
||||||
nPartDuploId & "," & DoubleToString(dPosX, 3) & "," & DoubleToString(dPosY, 3) & ",0,0")
|
nPartDuploId & "," & DoubleToString(dPosX, 3) & "," & DoubleToString(dPosY, 3) & ",0,0")
|
||||||
Dim WallMachGroup As MyMachGroupVM = Map.refMachGroupPanelVM.MachGroupVMList(Map.refMachGroupPanelVM.MachGroupVMList.Count - 1)
|
Dim WallMachGroup As MyMachGroupVM = Map.refMachGroupPanelVM.MachGroupVMList(Map.refMachGroupPanelVM.MachGroupVMList.Count - 1)
|
||||||
@@ -519,10 +519,10 @@ Public Class LeftPanelVM
|
|||||||
' scrivo dati pezzo
|
' scrivo dati pezzo
|
||||||
EgtSetInfo(nPartDuploId, MGR_PRT_POSX, dPosX)
|
EgtSetInfo(nPartDuploId, MGR_PRT_POSX, dPosX)
|
||||||
EgtSetInfo(nPartDuploId, MGR_PRT_POSY, dPosY)
|
EgtSetInfo(nPartDuploId, MGR_PRT_POSY, dPosY)
|
||||||
EgtSetInfo(nPartDuploId, MGR_PRT_ROT, SelPart.nROTATED)
|
EgtSetInfo(nPartDuploId, MGR_PRT_ROT, SelParts(0).nROTATED)
|
||||||
EgtSetInfo(nPartDuploId, MGR_PRT_FLIP, SelPart.nINVERTED)
|
EgtSetInfo(nPartDuploId, MGR_PRT_FLIP, SelParts(0).nINVERTED)
|
||||||
' aggiorno contatore pezzi usati in Prod
|
' aggiorno contatore pezzi usati in Prod
|
||||||
SelPart.RefreshPartInProd()
|
SelParts(0).RefreshPartInProd()
|
||||||
' aggiorno lista pezzi
|
' aggiorno lista pezzi
|
||||||
WallMachGroup.MyMachGroupM.RefreshPartList()
|
WallMachGroup.MyMachGroupM.RefreshPartList()
|
||||||
WallMachGroup.MyMachGroupM.RefreshGroupData()
|
WallMachGroup.MyMachGroupM.RefreshGroupData()
|
||||||
|
|||||||
@@ -250,10 +250,12 @@ Public Class MainMenuVM
|
|||||||
' aggiorno le colonne in base al tipo progetto
|
' aggiorno le colonne in base al tipo progetto
|
||||||
If Not IsNothing(Map.refProjectVM.BTLStructureVM) Then
|
If Not IsNothing(Map.refProjectVM.BTLStructureVM) Then
|
||||||
Map.refRawPartListVM.UpdateColumns(Map.refProjectVM.BTLStructureVM.nPROJTYPE)
|
Map.refRawPartListVM.UpdateColumns(Map.refProjectVM.BTLStructureVM.nPROJTYPE)
|
||||||
|
Map.refFeatureInPartInRawPartListVM.UpdateColumns(CurrentMachine.nType)
|
||||||
Map.refTopPanelVM.ManageQParamsRowVisibility(Map.refProjectVM.BTLStructureVM.nPROJTYPE <> BWType.BEAM)
|
Map.refTopPanelVM.ManageQParamsRowVisibility(Map.refProjectVM.BTLStructureVM.nPROJTYPE <> BWType.BEAM)
|
||||||
Map.refPartInRawPartListVM.UpdateColumns(Map.refProjectVM.BTLStructureVM.nPROJTYPE)
|
Map.refPartInRawPartListVM.UpdateColumns(Map.refProjectVM.BTLStructureVM.nPROJTYPE)
|
||||||
Else
|
Else
|
||||||
Map.refRawPartListVM.UpdateColumns(BWType.BEAM)
|
Map.refRawPartListVM.UpdateColumns(BWType.BEAM)
|
||||||
|
Map.refFeatureInPartInRawPartListVM.UpdateColumns(CurrentMachine.nType)
|
||||||
Map.refTopPanelVM.ManageQParamsRowVisibility(BWType.BEAM)
|
Map.refTopPanelVM.ManageQParamsRowVisibility(BWType.BEAM)
|
||||||
Map.refPartInRawPartListVM.UpdateColumns(BWType.BEAM)
|
Map.refPartInRawPartListVM.UpdateColumns(BWType.BEAM)
|
||||||
End If
|
End If
|
||||||
@@ -337,6 +339,7 @@ Public Class MainMenuVM
|
|||||||
If Map.refSceneHostVM.MainController.OpenProject(Map.refProdManagerVM.CurrProd.sProdPath, False) Then
|
If Map.refSceneHostVM.MainController.OpenProject(Map.refProdManagerVM.CurrProd.sProdPath, False) Then
|
||||||
' aggiorno le colonne in base al tipo progetto
|
' aggiorno le colonne in base al tipo progetto
|
||||||
Map.refRawPartListVM.UpdateColumns(Map.refProjectVM.BTLStructureVM.nPROJTYPE)
|
Map.refRawPartListVM.UpdateColumns(Map.refProjectVM.BTLStructureVM.nPROJTYPE)
|
||||||
|
Map.refFeatureInPartInRawPartListVM.UpdateColumns(CurrentMachine.nType)
|
||||||
Map.refTopPanelVM.ManageQParamsRowVisibility(Map.refProjectVM.BTLStructureVM.nPROJTYPE <> BWType.BEAM)
|
Map.refTopPanelVM.ManageQParamsRowVisibility(Map.refProjectVM.BTLStructureVM.nPROJTYPE <> BWType.BEAM)
|
||||||
Map.refPartInRawPartListVM.UpdateColumns(Map.refProjectVM.BTLStructureVM.nPROJTYPE)
|
Map.refPartInRawPartListVM.UpdateColumns(Map.refProjectVM.BTLStructureVM.nPROJTYPE)
|
||||||
' resetto modifica parametri Q default
|
' resetto modifica parametri Q default
|
||||||
@@ -373,6 +376,12 @@ Public Class MainMenuVM
|
|||||||
Map.refProdManagerVM.CurrProd.SetReloadProject(True)
|
Map.refProdManagerVM.CurrProd.SetReloadProject(True)
|
||||||
End If
|
End If
|
||||||
'DbControllers.m_ProdController.ResetController()
|
'DbControllers.m_ProdController.ResetController()
|
||||||
|
' se Warehouse di tipo Medium e piu' di un progetto collegato
|
||||||
|
Dim nDefault As Integer = 2
|
||||||
|
If GetMainPrivateProfileInt(S_WAREHOUSE, EgtBEAMWALL.Core.ConstIni.K_TYPE, nDefault) = WarehouseType.MEDIUM AndAlso Map.refProdManagerVM.CurrProd.nProjIdList.Count > 1 Then
|
||||||
|
' confronto le Sezioni del BTL importato con quelle in Warehouse
|
||||||
|
WarehouseWndVM.UpdateSectionXMaterial()
|
||||||
|
End If
|
||||||
' aggiorno titolo
|
' aggiorno titolo
|
||||||
Map.refMainWindowVM.UpdateTitle()
|
Map.refMainWindowVM.UpdateTitle()
|
||||||
DbControllers.m_ProdController.LockByProdId(Map.refProdManagerVM.CurrProd.nProdId, True, Map.refMainWindowVM.MainWindowM.GetKeyNumber())
|
DbControllers.m_ProdController.LockByProdId(Map.refProdManagerVM.CurrProd.nProdId, True, Map.refMainWindowVM.MainWindowM.GetKeyNumber())
|
||||||
@@ -478,10 +487,12 @@ Public Class MainMenuVM
|
|||||||
Map.refConfigurationPageVM.bModifyMachParam = False
|
Map.refConfigurationPageVM.bModifyMachParam = False
|
||||||
If Not IsNothing(Map.refProjectVM.BTLStructureVM) Then
|
If Not IsNothing(Map.refProjectVM.BTLStructureVM) Then
|
||||||
Map.refRawPartListVM.UpdateColumns(Map.refProjectVM.BTLStructureVM.nPROJTYPE)
|
Map.refRawPartListVM.UpdateColumns(Map.refProjectVM.BTLStructureVM.nPROJTYPE)
|
||||||
|
Map.refFeatureInPartInRawPartListVM.UpdateColumns(CurrentMachine.nType)
|
||||||
Map.refTopPanelVM.ManageQParamsRowVisibility(Map.refProjectVM.BTLStructureVM.nPROJTYPE <> BWType.BEAM)
|
Map.refTopPanelVM.ManageQParamsRowVisibility(Map.refProjectVM.BTLStructureVM.nPROJTYPE <> BWType.BEAM)
|
||||||
Map.refPartInRawPartListVM.UpdateColumns(Map.refProjectVM.BTLStructureVM.nPROJTYPE)
|
Map.refPartInRawPartListVM.UpdateColumns(Map.refProjectVM.BTLStructureVM.nPROJTYPE)
|
||||||
Else
|
Else
|
||||||
Map.refRawPartListVM.UpdateColumns(BWType.BEAM)
|
Map.refRawPartListVM.UpdateColumns(BWType.BEAM)
|
||||||
|
Map.refFeatureInPartInRawPartListVM.UpdateColumns(CurrentMachine.nType)
|
||||||
Map.refTopPanelVM.ManageQParamsRowVisibility(BWType.BEAM)
|
Map.refTopPanelVM.ManageQParamsRowVisibility(BWType.BEAM)
|
||||||
Map.refPartInRawPartListVM.UpdateColumns(BWType.BEAM)
|
Map.refPartInRawPartListVM.UpdateColumns(BWType.BEAM)
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -226,9 +226,17 @@ Public Class MainWindowM
|
|||||||
EgtSetNestKey(sNestKey)
|
EgtSetNestKey(sNestKey)
|
||||||
' Verifico abilitazione nesting automatico
|
' Verifico abilitazione nesting automatico
|
||||||
m_bAutoNestOption = Not String.IsNullOrWhiteSpace(sNestKey)
|
m_bAutoNestOption = Not String.IsNullOrWhiteSpace(sNestKey)
|
||||||
|
' Impostazioni per chiave di rete
|
||||||
|
Dim bNetKey As Boolean = ( GetMainPrivateProfileInt( S_GENERAL, K_NETKEY, 0) = 1)
|
||||||
|
EgtSetNetHwKey( bNetKey)
|
||||||
|
Dim sLockId As String = ""
|
||||||
|
EgtUILib.GetPrivateProfileString( S_LICENCE, K_LOCKID, "", sLockId, sLicFile)
|
||||||
|
If Not String.IsNullOrEmpty( sLockId) Then
|
||||||
|
EgtSetLockId( sLockId)
|
||||||
|
End If
|
||||||
' Recupero livello e opzioni della chiave
|
' Recupero livello e opzioni della chiave
|
||||||
Dim bKey As Boolean = EgtGetKeyLevel(5327, 2504, 1, m_nKeyLevel) And
|
Dim bKey As Boolean = EgtGetKeyLevel(5327, 2505, 1, m_nKeyLevel) And
|
||||||
EgtGetKeyOptions(5327, 2504, 1, m_nKeyOptions)
|
EgtGetKeyOptions(5327, 2505, 1, m_nKeyOptions)
|
||||||
' Inizializzazione generale di EgtInterface
|
' Inizializzazione generale di EgtInterface
|
||||||
m_nDebug = GetMainPrivateProfileInt(S_GENERAL, K_DEBUG, 0)
|
m_nDebug = GetMainPrivateProfileInt(S_GENERAL, K_DEBUG, 0)
|
||||||
m_sLogFile = m_sTempDir & "\" & VWOPTGENLOG_FILE_NAME.Replace("#", m_nInstance.ToString())
|
m_sLogFile = m_sTempDir & "\" & VWOPTGENLOG_FILE_NAME.Replace("#", m_nInstance.ToString())
|
||||||
|
|||||||
@@ -70,5 +70,5 @@ Imports System.Windows
|
|||||||
' by using the '*' as shown below:
|
' by using the '*' as shown below:
|
||||||
' <Assembly: AssemblyVersion("1.0.*")>
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
<Assembly: AssemblyVersion("2.5.4.1")>
|
<Assembly: AssemblyVersion("2.5.5.4")>
|
||||||
<Assembly: AssemblyFileVersion("2.5.4.1")>
|
<Assembly: AssemblyFileVersion("2.5.5.4")>
|
||||||
|
|||||||
@@ -126,28 +126,40 @@ Public Class OpenProjectFileDialogVM
|
|||||||
If nTempCtx <> 0 Then
|
If nTempCtx <> 0 Then
|
||||||
' inizializzo gestore lavorazioni
|
' inizializzo gestore lavorazioni
|
||||||
EgtInitMachMgr(Map.refMainWindowVM.MainWindowM.sMachinesRoot, Map.refMainWindowVM.MainWindowM.sToolMakersDir)
|
EgtInitMachMgr(Map.refMainWindowVM.MainWindowM.sMachinesRoot, Map.refMainWindowVM.MainWindowM.sToolMakersDir)
|
||||||
EgtOpenFile(SelProject.sProdPath)
|
' apro, ripulisco e salvo il progetto in tutti i proj correlati
|
||||||
' cancello tutti i gruppi di lavorazione
|
|
||||||
Dim nMachGroupId As Integer = EgtGetFirstMachGroup()
|
|
||||||
While nMachGroupId <> GDB_ID.NULL
|
|
||||||
EgtSetCurrMachGroup(nMachGroupId)
|
|
||||||
Dim nRawPartId As Integer = EgtGetFirstRawPart()
|
|
||||||
While nRawPartId <> GDB_ID.NULL
|
|
||||||
Dim nPartId As Integer = EgtGetFirstPartInRawPart(nRawPartId)
|
|
||||||
While nPartId <> GDB_ID.NULL
|
|
||||||
EgtRemovePartFromRawPart(nPartId)
|
|
||||||
' elimino pezzo copia
|
|
||||||
EgtErase(nPartId)
|
|
||||||
nPartId = EgtGetFirstPartInRawPart(nRawPartId)
|
|
||||||
End While
|
|
||||||
nRawPartId = EgtGetNextRawPart(nRawPartId)
|
|
||||||
End While
|
|
||||||
EgtRemoveMachGroup(nMachGroupId)
|
|
||||||
nMachGroupId = EgtGetFirstMachGroup()
|
|
||||||
End While
|
|
||||||
' lo salvo in tutti i proj correlati
|
|
||||||
Dim ProdFile As ProdFileVM = DirectCast(SelProject, ProdFileVM)
|
Dim ProdFile As ProdFileVM = DirectCast(SelProject, ProdFileVM)
|
||||||
For Each nProjId In ProdFile.nProjIdList
|
For Each nProjId In ProdFile.nProjIdList
|
||||||
|
EgtOpenFile(SelProject.sProdPath)
|
||||||
|
' cancello tutti i gruppi di lavorazione
|
||||||
|
Dim nMachGroupId As Integer = EgtGetFirstMachGroup()
|
||||||
|
While nMachGroupId <> GDB_ID.NULL
|
||||||
|
EgtSetCurrMachGroup(nMachGroupId)
|
||||||
|
Dim nRawPartId As Integer = EgtGetFirstRawPart()
|
||||||
|
While nRawPartId <> GDB_ID.NULL
|
||||||
|
Dim nPartId As Integer = EgtGetFirstPartInRawPart(nRawPartId)
|
||||||
|
While nPartId <> GDB_ID.NULL
|
||||||
|
EgtRemovePartFromRawPart(nPartId)
|
||||||
|
' elimino pezzo copia
|
||||||
|
EgtErase(nPartId)
|
||||||
|
nPartId = EgtGetFirstPartInRawPart(nRawPartId)
|
||||||
|
End While
|
||||||
|
nRawPartId = EgtGetNextRawPart(nRawPartId)
|
||||||
|
End While
|
||||||
|
EgtRemoveMachGroup(nMachGroupId)
|
||||||
|
nMachGroupId = EgtGetFirstMachGroup()
|
||||||
|
End While
|
||||||
|
' cancello tutti i gruppi che sono di un progetto diverso da questo
|
||||||
|
Dim nGroupId As Integer = EgtGetFirstInGroup(GDB_ID.ROOT)
|
||||||
|
While nGroupId <> GDB_ID.NULL
|
||||||
|
Dim nGroupProjId As Integer = GDB_ID.NULL
|
||||||
|
Dim nNextGroupId As Integer = EgtGetNext(nGroupId)
|
||||||
|
If EgtGetInfo(nGroupId, BTL_PRT_PROJ, nGroupProjId) Then
|
||||||
|
If nGroupProjId <> nProjId Then
|
||||||
|
EgtErase(nGroupId)
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
nGroupId = nNextGroupId
|
||||||
|
End While
|
||||||
EgtSaveFile(ProdFile.GetProjPath(nProjId), NGE.CMPTEXT)
|
EgtSaveFile(ProdFile.GetProjPath(nProjId), NGE.CMPTEXT)
|
||||||
Next
|
Next
|
||||||
' torno sul contesto corrente
|
' torno sul contesto corrente
|
||||||
|
|||||||
@@ -39,9 +39,9 @@
|
|||||||
</Button>-->
|
</Button>-->
|
||||||
<Button Command="{Binding AddProj_Command}"
|
<Button Command="{Binding AddProj_Command}"
|
||||||
ToolTip="{Binding AddProj_ToolTip}"
|
ToolTip="{Binding AddProj_ToolTip}"
|
||||||
Visibility="Collapsed"
|
Visibility="{Binding AddProj_Visibility}"
|
||||||
Style="{StaticResource ToolBar_Button}">
|
Style="{StaticResource ToolBar_Button}">
|
||||||
<Image Source="/Resources/ProjectManager/Import.png" Stretch="Uniform"/>
|
<Image Source="/Resources/ProjectManager/AddProj.png" Stretch="Uniform"/>
|
||||||
</Button>
|
</Button>
|
||||||
<Button Command="{Binding GoToProj_Command}"
|
<Button Command="{Binding GoToProj_Command}"
|
||||||
ToolTip="{Binding GoToProj_ToolTip}"
|
ToolTip="{Binding GoToProj_ToolTip}"
|
||||||
|
|||||||
@@ -84,10 +84,18 @@ Public Class ProdManagerVM
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
Private m_AddProj_Visibility As Visibility
|
||||||
|
Public ReadOnly Property AddProj_Visibility As Visibility
|
||||||
|
Get
|
||||||
|
Return m_AddProj_Visibility
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
' Definizione comandi
|
' Definizione comandi
|
||||||
Private m_cmdOpen As ICommand
|
Private m_cmdOpen As ICommand
|
||||||
Private m_cmdOpenMruFile As ICommand
|
Private m_cmdOpenMruFile As ICommand
|
||||||
Private m_cmdSave As ICommand
|
Private m_cmdSave As ICommand
|
||||||
|
Private m_cmdAddProj As ICommand
|
||||||
Private m_cmdGoToProj As ICommand
|
Private m_cmdGoToProj As ICommand
|
||||||
Private m_cmdGoToSupervisor As ICommand
|
Private m_cmdGoToSupervisor As ICommand
|
||||||
|
|
||||||
@@ -135,6 +143,12 @@ Public Class ProdManagerVM
|
|||||||
Else
|
Else
|
||||||
m_GoToSupervisor_Visibility = Visibility.Collapsed
|
m_GoToSupervisor_Visibility = Visibility.Collapsed
|
||||||
End If
|
End If
|
||||||
|
' attivo bottone AddProj
|
||||||
|
If GetMainPrivateProfileInt(S_GENERAL, K_ADDPROJ, 0) = 1 Then
|
||||||
|
m_AddProj_Visibility = Visibility.Visible
|
||||||
|
Else
|
||||||
|
m_AddProj_Visibility = Visibility.Collapsed
|
||||||
|
End If
|
||||||
' Leggo ultimo indice di progetto
|
' Leggo ultimo indice di progetto
|
||||||
m_nLastProdId = GetMainPrivateProfileInt(S_GENERAL, K_PRODSINDEX, 1)
|
m_nLastProdId = GetMainPrivateProfileInt(S_GENERAL, K_PRODSINDEX, 1)
|
||||||
' Impostazioni MruLists
|
' Impostazioni MruLists
|
||||||
@@ -372,10 +386,10 @@ Public Class ProdManagerVM
|
|||||||
Save(True)
|
Save(True)
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Public Sub Save(Optional bShowLoading As Boolean = False)
|
Public Function Save(Optional bShowLoading As Boolean = False) As Boolean
|
||||||
If IsNothing(m_CurrProd) Then Return
|
If IsNothing(m_CurrProd) Then Return False
|
||||||
If bShowLoading Then LoadingWndHelper.OpenLoadingWnd(ActiveIds.SAVEPROD, 2, EgtMsg(63007), EgtMsg(63012), 70) ' Project saving ' Saving geometry
|
If bShowLoading Then LoadingWndHelper.OpenLoadingWnd(ActiveIds.SAVEPROD, 2, EgtMsg(63007), EgtMsg(63012), 70) ' Project saving ' Saving geometry
|
||||||
Map.refSceneHostVM.SaveProject()
|
Dim bOk As Boolean = Map.refSceneHostVM.SaveProject()
|
||||||
If bShowLoading Then LoadingWndHelper.UpdateLoadingWnd(ActiveIds.SAVEPROD, 2, EgtMsg(63013), 70, 100) ' Saving data on Db
|
If bShowLoading Then LoadingWndHelper.UpdateLoadingWnd(ActiveIds.SAVEPROD, 2, EgtMsg(63013), 70, 100) ' Saving data on Db
|
||||||
Dim MyMachGroupList As New List(Of MyMachGroupM)
|
Dim MyMachGroupList As New List(Of MyMachGroupM)
|
||||||
If Not IsNothing(Map.refProjectVM.MachGroupPanelVM) Then
|
If Not IsNothing(Map.refProjectVM.MachGroupPanelVM) Then
|
||||||
@@ -386,7 +400,7 @@ Public Class ProdManagerVM
|
|||||||
' aggiorno pezzi su Db
|
' aggiorno pezzi su Db
|
||||||
If Not DbControllers.m_ProdController.UpdateMachGroup(CurrProd.nProdId, MyMachGroupList) And bShowLoading Then
|
If Not DbControllers.m_ProdController.UpdateMachGroup(CurrProd.nProdId, MyMachGroupList) And bShowLoading Then
|
||||||
LoadingWndHelper.CloseLoadingWnd(ActiveIds.SAVEPROD)
|
LoadingWndHelper.CloseLoadingWnd(ActiveIds.SAVEPROD)
|
||||||
Return
|
Return False
|
||||||
End If
|
End If
|
||||||
' verifico se Reset Macchina modificato e nel caso aggiorno DB e CurrProj
|
' verifico se Reset Macchina modificato e nel caso aggiorno DB e CurrProj
|
||||||
If Map.refCALCPanelVM.IsMachineModified() Then
|
If Map.refCALCPanelVM.IsMachineModified() Then
|
||||||
@@ -411,10 +425,103 @@ Public Class ProdManagerVM
|
|||||||
Map.refMainWindowVM.UpdateTitle()
|
Map.refMainWindowVM.UpdateTitle()
|
||||||
NotifyPropertyChanged(NameOf(MruFileNames))
|
NotifyPropertyChanged(NameOf(MruFileNames))
|
||||||
If bShowLoading Then LoadingWndHelper.CloseLoadingWnd(ActiveIds.SAVEPROD)
|
If bShowLoading Then LoadingWndHelper.CloseLoadingWnd(ActiveIds.SAVEPROD)
|
||||||
End Sub
|
Return bOk
|
||||||
|
End Function
|
||||||
|
|
||||||
#End Region ' SaveCommand
|
#End Region ' SaveCommand
|
||||||
|
|
||||||
|
#Region "AddProj"
|
||||||
|
|
||||||
|
''' <summary>
|
||||||
|
''' Returns a command that do Save.
|
||||||
|
''' </summary>
|
||||||
|
Public ReadOnly Property AddProj_Command As ICommand
|
||||||
|
Get
|
||||||
|
If m_cmdAddProj Is Nothing Then
|
||||||
|
m_cmdAddProj = New Command(AddressOf AddProj)
|
||||||
|
End If
|
||||||
|
Return m_cmdAddProj
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
''' <summary>
|
||||||
|
''' Execute the Save. This method is invoked by the SaveCommand.
|
||||||
|
''' </summary>
|
||||||
|
Public Sub AddProj()
|
||||||
|
' verifico se progetto modificato, e chiedo se salvare
|
||||||
|
If IsNothing(CurrProd) Then Return
|
||||||
|
Dim bNewProject As Boolean = False
|
||||||
|
Dim sProjectDirPath As String = ""
|
||||||
|
sProjectDirPath = CurrProd.sProdDirPath
|
||||||
|
Dim VerifyResult As MessageBoxResult = MessageBoxResult.None
|
||||||
|
' verifico se progetto modificato, e chiedo se salvare
|
||||||
|
If EgtGetModified() OrElse CurrProd.bIsNew OrElse Map.refCALCPanelVM.IsMachineModified() Then
|
||||||
|
VerifyResult = MessageBox.Show(EgtMsg(61875), "", If(CurrProd.bIsNew, MessageBoxButton.OKCancel, MessageBoxButton.YesNoCancel), MessageBoxImage.Question)
|
||||||
|
Select Case VerifyResult
|
||||||
|
Case MessageBoxResult.Yes, MessageBoxResult.OK
|
||||||
|
' salvo proj
|
||||||
|
Map.refProdManagerVM.Save()
|
||||||
|
Case MessageBoxResult.Cancel
|
||||||
|
Return
|
||||||
|
Case Else ' No
|
||||||
|
EgtResetModified()
|
||||||
|
OpenProject(CurrProd)
|
||||||
|
End Select
|
||||||
|
Else
|
||||||
|
EgtResetModified()
|
||||||
|
End If
|
||||||
|
' faccio scegliere proj da aggiungere
|
||||||
|
Dim OpenProjectFileDialogVM As New OpenProjectFileDialogVM
|
||||||
|
Dim ChooseProdFileDialog As New OpenProjectFileDialogV(Application.Current.MainWindow, OpenProjectFileDialogVM)
|
||||||
|
Dim DialogResult As Boolean? = ChooseProdFileDialog.EgtShowDialog(ProjectType.PROJ, True)
|
||||||
|
If IsNothing(DialogResult) OrElse Not DialogResult Then Return
|
||||||
|
If IsNothing(OpenProjectFileDialogVM.SelProject.nProjId) OrElse OpenProjectFileDialogVM.SelProject.nProjId <= 0 Then Return
|
||||||
|
' verifico che il proj selezionato non abbia prod
|
||||||
|
If Not IsNothing(OpenProjectFileDialogVM.SelProject.nProdId) AndAlso OpenProjectFileDialogVM.SelProject.nProdId > 0 Then
|
||||||
|
' verifico che non sia uno di quelli gia' collegati a questo Prod
|
||||||
|
Dim bFound As Boolean = False
|
||||||
|
For Each nProjId As Integer In CurrProd.nProjIdList
|
||||||
|
If nProjId = OpenProjectFileDialogVM.SelProject.nProjId Then
|
||||||
|
bFound = True
|
||||||
|
Exit For
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
If bFound Then
|
||||||
|
MessageBox.Show("Selezionato progetto che fa gia' parte di questa produzione!", "Errore", MessageBoxButton.OK, MessageBoxImage.Error)
|
||||||
|
Else
|
||||||
|
MessageBox.Show("Progetto gia' collegato ad una produzione!", "Errore", MessageBoxButton.OK, MessageBoxImage.Error)
|
||||||
|
End If
|
||||||
|
Return
|
||||||
|
End If
|
||||||
|
' verifico che sia associato alla stessa macchina
|
||||||
|
If OpenProjectFileDialogVM.SelProject.sMachine <> CurrProd.sMachine Then
|
||||||
|
MessageBox.Show("Progetto per una macchina diversa da quella del progetto corrente!", "Errore", MessageBoxButton.OK, MessageBoxImage.Error)
|
||||||
|
Return
|
||||||
|
End If
|
||||||
|
' inserisco proj nel prod corrente
|
||||||
|
Dim bOk As Boolean = EgtInsertFile(OpenProjectFileDialogVM.SelProject.sProjPath)
|
||||||
|
' lo salvo
|
||||||
|
bOk = bOk AndAlso Save(False)
|
||||||
|
If bOk Then
|
||||||
|
' riporto aggiunta proj a prod su Db
|
||||||
|
DbControllers.m_ProdController.AddProj(CurrProd.nProdId, OpenProjectFileDialogVM.SelProject.nProjId)
|
||||||
|
End If
|
||||||
|
' Ricavo il tipo di Warehouse settato nell'INI
|
||||||
|
Dim nDefault As Integer = 2
|
||||||
|
If GetMainPrivateProfileInt(S_WAREHOUSE, EgtBEAMWALL.Core.ConstIni.K_TYPE, nDefault) = WarehouseType.MEDIUM Then
|
||||||
|
' Se di tipo Medium confronto le Sezioni del BTL importato con quelle in Warehouse
|
||||||
|
WarehouseWndVM.UpdateSectionXMaterial()
|
||||||
|
End If
|
||||||
|
' aggiorno CurrProd
|
||||||
|
Dim PdFileM = DbControllers.m_ProdController.FindCoreByProdId(CurrProd.nProdId)
|
||||||
|
CurrProd.ProdFileM.SetProjIdList(PdFileM.nProjIdList)
|
||||||
|
' ricarico BTLPartList
|
||||||
|
OpenProject(CurrProd)
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
#End Region ' AddProj
|
||||||
|
|
||||||
#Region "GoToProj"
|
#Region "GoToProj"
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
|
|||||||
@@ -1039,7 +1039,7 @@ Public Class ProjManagerVM
|
|||||||
Dim b3Part As New BBox3d
|
Dim b3Part As New BBox3d
|
||||||
EgtGetBBoxGlob(nAddedPartId, 1, b3Part)
|
EgtGetBBoxGlob(nAddedPartId, 1, b3Part)
|
||||||
' sposto il pezzo per distanziarlo dall'ultimo di un offset pari a 500
|
' sposto il pezzo per distanziarlo dall'ultimo di un offset pari a 500
|
||||||
bOk = bOk AndAlso EgtMove(nAddedPartId, New Vector3d(0, If(bFirstLoop, b3Parts.DimY(), LastPartMaxY - b3Part.Min.y) + 500, 0))
|
bOk = bOk AndAlso EgtMove(nAddedPartId, New Vector3d(0, If(bFirstLoop, b3Parts.Max.y, LastPartMaxY - b3Part.Min.y) + 500, 0))
|
||||||
bFirstLoop = False
|
bFirstLoop = False
|
||||||
' ricaviamo il box globale del part appena spostato, salviamo la sua Y massima e lo aggiungiamo al box globale di tutti i part
|
' ricaviamo il box globale del part appena spostato, salviamo la sua Y massima e lo aggiungiamo al box globale di tutti i part
|
||||||
EgtGetBBoxGlob(nAddedPartId, 1, b3Part)
|
EgtGetBBoxGlob(nAddedPartId, 1, b3Part)
|
||||||
|
|||||||
@@ -285,6 +285,9 @@ Public Class ProjectVM
|
|||||||
If Not IsNothing(Map.refFeatureInPartInRawPartListVM.colFeatureInPartInRawPart_Do) Then
|
If Not IsNothing(Map.refFeatureInPartInRawPartListVM.colFeatureInPartInRawPart_Do) Then
|
||||||
Map.refFeatureInPartInRawPartListVM.colFeatureInPartInRawPart_Do.IsReadOnly = True
|
Map.refFeatureInPartInRawPartListVM.colFeatureInPartInRawPart_Do.IsReadOnly = True
|
||||||
End If
|
End If
|
||||||
|
If Not IsNothing(Map.refFeatureInPartInRawPartListVM.colFeatureInPartInRawPart_Priority) Then
|
||||||
|
Map.refFeatureInPartInRawPartListVM.colFeatureInPartInRawPart_Priority.IsReadOnly = True
|
||||||
|
End If
|
||||||
m_bLockUX = True
|
m_bLockUX = True
|
||||||
' se calcolo finito
|
' se calcolo finito
|
||||||
Else
|
Else
|
||||||
@@ -332,6 +335,9 @@ Public Class ProjectVM
|
|||||||
If Not IsNothing(Map.refFeatureInPartInRawPartListVM.colFeatureInPartInRawPart_Do) Then
|
If Not IsNothing(Map.refFeatureInPartInRawPartListVM.colFeatureInPartInRawPart_Do) Then
|
||||||
Map.refFeatureInPartInRawPartListVM.colFeatureInPartInRawPart_Do.IsReadOnly = False
|
Map.refFeatureInPartInRawPartListVM.colFeatureInPartInRawPart_Do.IsReadOnly = False
|
||||||
End If
|
End If
|
||||||
|
If Not IsNothing(Map.refFeatureInPartInRawPartListVM.colFeatureInPartInRawPart_Priority) Then
|
||||||
|
Map.refFeatureInPartInRawPartListVM.colFeatureInPartInRawPart_Priority.IsReadOnly = False
|
||||||
|
End If
|
||||||
' fermo il timer
|
' fermo il timer
|
||||||
If Not m_bCalcRunning Then
|
If Not m_bCalcRunning Then
|
||||||
m_Calc_Timer.Stop()
|
m_Calc_Timer.Stop()
|
||||||
|
|||||||
@@ -139,7 +139,10 @@ Public Class ProdFileVM
|
|||||||
Map.refCALCPanelVM.RevertToOriginalMachine()
|
Map.refCALCPanelVM.RevertToOriginalMachine()
|
||||||
If CurrProject.bIsNew Then
|
If CurrProject.bIsNew Then
|
||||||
' lo elimino
|
' lo elimino
|
||||||
Directory.Delete(sProjectDirPath, True)
|
Try
|
||||||
|
Directory.Delete(sProjectDirPath, True)
|
||||||
|
Catch ex As Exception
|
||||||
|
End Try
|
||||||
Map.refProdManagerVM.m_MruFiles.Remove(CurrProject.sProdPath)
|
Map.refProdManagerVM.m_MruFiles.Remove(CurrProject.sProdPath)
|
||||||
Map.refProdManagerVM.NotifyPropertyChanged(NameOf(Map.refProdManagerVM.MruFileNames))
|
Map.refProdManagerVM.NotifyPropertyChanged(NameOf(Map.refProdManagerVM.MruFileNames))
|
||||||
DbControllers.m_ProdController.DeleteProd(CurrProject.nProdId)
|
DbControllers.m_ProdController.DeleteProd(CurrProject.nProdId)
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 976 B |
@@ -202,13 +202,14 @@ Public Class MySceneHostVM
|
|||||||
|
|
||||||
#Region "ProjectManager"
|
#Region "ProjectManager"
|
||||||
|
|
||||||
Public Overrides Sub NewProject()
|
Public Overrides Function NewProject() As Boolean
|
||||||
EgtSetCurrentContext(MainScene.GetCtx())
|
EgtSetCurrentContext(MainScene.GetCtx())
|
||||||
Dim bOk As Boolean = MainController.NewProject()
|
Dim bOk As Boolean = MainController.NewProject()
|
||||||
MainScene.SetStatusNull()
|
MainScene.SetStatusNull()
|
||||||
End Sub
|
Return bOk
|
||||||
|
End Function
|
||||||
|
|
||||||
Public Overrides Sub OpenProject(sFilePath As String)
|
Public Overrides Function OpenProject(sFilePath As String) As Boolean
|
||||||
EgtSetCurrentContext(MainScene.GetCtx())
|
EgtSetCurrentContext(MainScene.GetCtx())
|
||||||
Dim bOk As Boolean = False
|
Dim bOk As Boolean = False
|
||||||
If String.IsNullOrEmpty(sFilePath) Then
|
If String.IsNullOrEmpty(sFilePath) Then
|
||||||
@@ -225,29 +226,32 @@ Public Class MySceneHostVM
|
|||||||
bOk = MainController.OpenProject(sFilePath, False)
|
bOk = MainController.OpenProject(sFilePath, False)
|
||||||
End If
|
End If
|
||||||
MainScene.SetStatusNull()
|
MainScene.SetStatusNull()
|
||||||
End Sub
|
Return bOk
|
||||||
|
End Function
|
||||||
|
|
||||||
Public Overrides Sub SaveProject()
|
Public Overrides Function SaveProject() As Boolean
|
||||||
MyBase.SaveProject()
|
Dim bOk As Boolean = MyBase.SaveProject()
|
||||||
' Imposto stato gestione mouse diretto della scena a nessuno
|
' Imposto stato gestione mouse diretto della scena a nessuno
|
||||||
MainScene.SetStatusNull()
|
MainScene.SetStatusNull()
|
||||||
End Sub
|
Return bOk
|
||||||
|
End Function
|
||||||
|
|
||||||
Public Overrides Sub SaveAsProject()
|
Public Overrides Function SaveAsProject() As Boolean
|
||||||
MyBase.SaveAsProject()
|
Dim bOk As Boolean = MyBase.SaveAsProject()
|
||||||
' Imposto stato gestione mouse diretto della scena a nessuno
|
' Imposto stato gestione mouse diretto della scena a nessuno
|
||||||
MainScene.SetStatusNull()
|
MainScene.SetStatusNull()
|
||||||
End Sub
|
Return bOk
|
||||||
|
End Function
|
||||||
|
|
||||||
Public Overrides Sub ImportProject()
|
Public Overrides Function ImportProject() As Boolean
|
||||||
Dim sDir As String = String.Empty
|
Dim sDir As String = String.Empty
|
||||||
GetMainPrivateProfileString(S_MRUIMPORT, K_FILE & "1", "", sDir)
|
GetMainPrivateProfileString(S_MRUIMPORT, K_FILE & "1", "", sDir)
|
||||||
If Not String.IsNullOrWhiteSpace(sDir) Then
|
If Not String.IsNullOrWhiteSpace(sDir) Then
|
||||||
sDir = Path.GetDirectoryName(sDir)
|
sDir = Path.GetDirectoryName(sDir)
|
||||||
End If
|
End If
|
||||||
sDir.TrimEnd("\"c)
|
sDir.TrimEnd("\"c)
|
||||||
MainController.ImportProject(sDir)
|
Return MainController.ImportProject(sDir)
|
||||||
End Sub
|
End Function
|
||||||
|
|
||||||
#End Region ' ProjectManager
|
#End Region ' ProjectManager
|
||||||
|
|
||||||
@@ -543,6 +547,7 @@ Public Class MySceneHostVM
|
|||||||
Map.refMachinePanelVM.SelectedMachine = Map.refMachinePanelVM.MachineList.FirstOrDefault(Function(x) x.Name = Map.refProjManagerVM.TempCurrProj.sMachine)
|
Map.refMachinePanelVM.SelectedMachine = Map.refMachinePanelVM.MachineList.FirstOrDefault(Function(x) x.Name = Map.refProjManagerVM.TempCurrProj.sMachine)
|
||||||
' aggiorno le colonne in base al tipo progetto
|
' aggiorno le colonne in base al tipo progetto
|
||||||
Map.refRawPartListVM.UpdateColumns(Map.refProjectVM.BTLStructureVM.BTLStructureM.nPROJTYPE)
|
Map.refRawPartListVM.UpdateColumns(Map.refProjectVM.BTLStructureVM.BTLStructureM.nPROJTYPE)
|
||||||
|
Map.refFeatureInPartInRawPartListVM.UpdateColumns(CurrentMachine.nType)
|
||||||
Map.refTopPanelVM.ManageQParamsRowVisibility(Map.refProjectVM.BTLStructureVM.BTLStructureM.nPROJTYPE <> BWType.BEAM)
|
Map.refTopPanelVM.ManageQParamsRowVisibility(Map.refProjectVM.BTLStructureVM.BTLStructureM.nPROJTYPE <> BWType.BEAM)
|
||||||
Map.refPartInRawPartListVM.UpdateColumns(Map.refProjectVM.BTLStructureVM.BTLStructureM.nPROJTYPE)
|
Map.refPartInRawPartListVM.UpdateColumns(Map.refProjectVM.BTLStructureVM.BTLStructureM.nPROJTYPE)
|
||||||
Map.refProjManagerVM.CurrProj = Map.refProjManagerVM.TempCurrProj
|
Map.refProjManagerVM.CurrProj = Map.refProjManagerVM.TempCurrProj
|
||||||
@@ -556,12 +561,13 @@ Public Class MySceneHostVM
|
|||||||
End If
|
End If
|
||||||
' imposto macchina del progetto
|
' imposto macchina del progetto
|
||||||
Map.refMachinePanelVM.SelectedMachine = If(Not IsNothing(Map.refProdManagerVM.TempCurrProd),
|
Map.refMachinePanelVM.SelectedMachine = If(Not IsNothing(Map.refProdManagerVM.TempCurrProd),
|
||||||
Map.refMachinePanelVM.MachineList.FirstOrDefault(Function(x) x.Name = Map.refProdManagerVM.TempCurrProd.sMachine),
|
Map.refMachinePanelVM.MachineList.FirstOrDefault(Function(x) x.Name = Map.refProdManagerVM.TempCurrProd.sMachine),
|
||||||
Map.refMachinePanelVM.MachineList.FirstOrDefault(Function(x) x.Name = Map.refProjManagerVM.CurrProj.sMachine))
|
Map.refMachinePanelVM.MachineList.FirstOrDefault(Function(x) x.Name = Map.refProjManagerVM.CurrProj.sMachine))
|
||||||
SectionXMaterial.SetType(Map.refProjectVM.BTLStructureVM.BTLStructureM.nPROJTYPE)
|
SectionXMaterial.SetType(Map.refProjectVM.BTLStructureVM.BTLStructureM.nPROJTYPE)
|
||||||
Core.ViewPanelVM.UpdateBWType(Map.refProjectVM.BTLStructureVM.BTLStructureM.nPROJTYPE)
|
Core.ViewPanelVM.UpdateBWType(Map.refProjectVM.BTLStructureVM.BTLStructureM.nPROJTYPE)
|
||||||
' aggiorno le colonne in base al tipo progetto
|
' aggiorno le colonne in base al tipo progetto
|
||||||
Map.refRawPartListVM.UpdateColumns(Map.refProjectVM.BTLStructureVM.BTLStructureM.nPROJTYPE)
|
Map.refRawPartListVM.UpdateColumns(Map.refProjectVM.BTLStructureVM.BTLStructureM.nPROJTYPE)
|
||||||
|
Map.refFeatureInPartInRawPartListVM.UpdateColumns(CurrentMachine.nType)
|
||||||
Map.refTopPanelVM.ManageQParamsRowVisibility(Map.refProjectVM.BTLStructureVM.BTLStructureM.nPROJTYPE <> BWType.BEAM)
|
Map.refTopPanelVM.ManageQParamsRowVisibility(Map.refProjectVM.BTLStructureVM.BTLStructureM.nPROJTYPE <> BWType.BEAM)
|
||||||
Map.refPartInRawPartListVM.UpdateColumns(Map.refProjectVM.BTLStructureVM.BTLStructureM.nPROJTYPE)
|
Map.refPartInRawPartListVM.UpdateColumns(Map.refProjectVM.BTLStructureVM.BTLStructureM.nPROJTYPE)
|
||||||
If Not IsNothing(Map.refProdManagerVM.TempCurrProd) Then Map.refProdManagerVM.CurrProd = Map.refProdManagerVM.TempCurrProd
|
If Not IsNothing(Map.refProdManagerVM.TempCurrProd) Then Map.refProdManagerVM.CurrProd = Map.refProdManagerVM.TempCurrProd
|
||||||
|
|||||||
@@ -68,6 +68,8 @@ Public Module DbControllers
|
|||||||
DataLayer.DbConfig.CheckMigrateDb()
|
DataLayer.DbConfig.CheckMigrateDb()
|
||||||
DataLayer.DbConfig.CheckUser(sUser, sPwd, m_bNetwork AndAlso Map.refMainWindowVM.MainWindowM.GetKeyOption(KEY_OPT.NETWORK))
|
DataLayer.DbConfig.CheckUser(sUser, sPwd, m_bNetwork AndAlso Map.refMainWindowVM.MainWindowM.GetKeyOption(KEY_OPT.NETWORK))
|
||||||
DataLayer.DbConfig.CheckViews(sUser, sPwd)
|
DataLayer.DbConfig.CheckViews(sUser, sPwd)
|
||||||
|
' riattivare il dump per il backup
|
||||||
|
'DataLayer.DbConfig.DumpDB("C:\Program Files\MariaDB 10.5\bin\mysqldump", "c:\Temp\Pippo.sql")
|
||||||
If m_bNetwork AndAlso Map.refMainWindowVM.MainWindowM.GetKeyOption(KEY_OPT.NETWORK) Then
|
If m_bNetwork AndAlso Map.refMainWindowVM.MainWindowM.GetKeyOption(KEY_OPT.NETWORK) Then
|
||||||
' imposto cartella condivisa
|
' imposto cartella condivisa
|
||||||
GetMainPrivateProfileString(S_GENERAL, K_SHAREDFOLDER, Map.refMainWindowVM.MainWindowM.sDataDir, sSharedFolder)
|
GetMainPrivateProfileString(S_GENERAL, K_SHAREDFOLDER, Map.refMainWindowVM.MainWindowM.sDataDir, sSharedFolder)
|
||||||
|
|||||||
@@ -285,6 +285,39 @@ Module WarehouseHelper
|
|||||||
End If
|
End If
|
||||||
ParamIndex += 1
|
ParamIndex += 1
|
||||||
End While
|
End While
|
||||||
|
Else
|
||||||
|
Dim ParamIndex As Integer = 1
|
||||||
|
Dim sSxMValue As String = ""
|
||||||
|
While EgtUILib.GetPrivateProfileString(S_WALL_LIST, ParamIndex, String.Empty, sSxMValue, sWarehousePath) > 0
|
||||||
|
Dim sSectXMatValues() As String = sSxMValue.Split(","c)
|
||||||
|
' creo parametro
|
||||||
|
Dim dH As Double = 0
|
||||||
|
Dim sMaterial As String = sSectXMatValues(1)
|
||||||
|
StringToLenAdv(sSectXMatValues(0), dH)
|
||||||
|
If SectXMat.dH = dH AndAlso SectXMat.sMaterial(0) = sMaterial Then
|
||||||
|
If sSectXMatValues.Length <= 2 Then Return Nothing
|
||||||
|
Dim sValue As String = ""
|
||||||
|
If EgtUILib.GetPrivateProfileString(S_WALL, "S" & sSectXMatValues(2), String.Empty, sValue, sWarehousePath) Then
|
||||||
|
Dim sParamValues() As String = sValue.Split(","c)
|
||||||
|
' verifico numero minimo di parametri
|
||||||
|
If sParamValues.Count < 3 Then Return Nothing
|
||||||
|
' cancello spazi
|
||||||
|
For Index = 0 To sParamValues.Count - 1
|
||||||
|
sParamValues(Index) = sParamValues(Index).Trim()
|
||||||
|
Next
|
||||||
|
Dim dW As Double = 0
|
||||||
|
Dim dL As Double = 0
|
||||||
|
Dim nQty As Integer = 0
|
||||||
|
Dim nActive As Integer = 1
|
||||||
|
StringToLenAdv(sParamValues(1), dW)
|
||||||
|
StringToLenAdv(sParamValues(2), dL)
|
||||||
|
If sParamValues.Count >= 3 Then Integer.TryParse(sParamValues(3), nQty)
|
||||||
|
If sParamValues.Count >= 4 Then Integer.TryParse(sParamValues(4), nActive)
|
||||||
|
Return New SParam(New SectionXMaterial(dW, dH, dL, sSectXMatValues(1)), dW, dL, nQty, nActive > 0)
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
ParamIndex += 1
|
||||||
|
End While
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Return Nothing
|
Return Nothing
|
||||||
@@ -336,6 +369,50 @@ Module WarehouseHelper
|
|||||||
End If
|
End If
|
||||||
SectIndex += 1
|
SectIndex += 1
|
||||||
End While
|
End While
|
||||||
|
Else
|
||||||
|
' cerco sezione
|
||||||
|
Dim SectIndex As Integer = 1
|
||||||
|
Dim sSxMValue As String = ""
|
||||||
|
While EgtUILib.GetPrivateProfileString(S_WALL_LIST, SectIndex, String.Empty, sSxMValue, sWarehousePath) > 0
|
||||||
|
Dim sSectXMatValues() As String = sSxMValue.Split(","c)
|
||||||
|
' creo parametro
|
||||||
|
Dim dH As Double = 0
|
||||||
|
Dim sMaterial As String = sSectXMatValues(1)
|
||||||
|
StringToLenAdv(sSectXMatValues(0), dH)
|
||||||
|
If SectXMat.dH = dH AndAlso SectXMat.sMaterial(0) = sMaterial Then
|
||||||
|
' recupero indice di SParam
|
||||||
|
Dim SParamIndex As Integer = 1
|
||||||
|
Dim sValue As String = ""
|
||||||
|
While EgtUILib.GetPrivateProfileString(S_WALL, "S" & SParamIndex, String.Empty, sValue, sWarehousePath)
|
||||||
|
Dim sParamValues() As String = sValue.Split(","c)
|
||||||
|
' verifico numero minimo di parametri
|
||||||
|
If sParamValues.Count < 3 Then Return
|
||||||
|
' cancello spazi
|
||||||
|
For Index = 0 To sParamValues.Count - 1
|
||||||
|
sParamValues(Index) = sParamValues(Index).Trim()
|
||||||
|
Next
|
||||||
|
Dim dW As Double = 0
|
||||||
|
Dim dL As Double = 0
|
||||||
|
Dim nSectIndex As Integer = sParamValues(0)
|
||||||
|
Dim nQty As Integer = 0
|
||||||
|
Dim nActive As Integer = 1
|
||||||
|
StringToLenAdv(sParamValues(1), dW)
|
||||||
|
StringToLenAdv(sParamValues(2), dL)
|
||||||
|
If sParamValues.Count >= 4 Then Integer.TryParse(sParamValues(3), nQty)
|
||||||
|
If sParamValues.Count >= 5 Then Integer.TryParse(sParamValues(4), nActive)
|
||||||
|
Dim bActive As Boolean = nActive = 1
|
||||||
|
If dW = SParam.dW AndAlso dL = SParam.dL AndAlso nQty = SParam.nQuantity AndAlso bActive = SParam.bActive Then
|
||||||
|
' scrivo indice ultimo materiale
|
||||||
|
EgtUILib.WritePrivateProfileString(S_WALL_LIST, SectIndex,
|
||||||
|
LenToString(dH, 3) & "," &
|
||||||
|
sMaterial & "," &
|
||||||
|
SParamIndex, sWarehousePath)
|
||||||
|
End If
|
||||||
|
SParamIndex += 1
|
||||||
|
End While
|
||||||
|
End If
|
||||||
|
SectIndex += 1
|
||||||
|
End While
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|||||||
@@ -2,18 +2,21 @@
|
|||||||
<packages>
|
<packages>
|
||||||
<package id="BouncyCastle" version="1.8.5" targetFramework="net472" />
|
<package id="BouncyCastle" version="1.8.5" targetFramework="net472" />
|
||||||
<package id="EntityFramework" version="6.4.4" targetFramework="net452" />
|
<package id="EntityFramework" version="6.4.4" targetFramework="net452" />
|
||||||
<package id="Google.Protobuf" version="3.19.4" targetFramework="net472" />
|
<package id="Google.Protobuf" version="3.21.9" targetFramework="net472" />
|
||||||
<package id="Ionic.Zip" version="1.9.1.8" targetFramework="net472" />
|
<package id="Ionic.Zip" version="1.9.1.8" targetFramework="net472" />
|
||||||
<package id="K4os.Compression.LZ4" version="1.2.6" targetFramework="net472" />
|
<package id="K4os.Compression.LZ4" version="1.3.5" targetFramework="net472" />
|
||||||
<package id="K4os.Compression.LZ4.Streams" version="1.2.6" targetFramework="net472" />
|
<package id="K4os.Compression.LZ4.Streams" version="1.3.5" targetFramework="net472" />
|
||||||
<package id="K4os.Hash.xxHash" version="1.0.6" targetFramework="net472" />
|
<package id="K4os.Hash.xxHash" version="1.0.8" targetFramework="net472" />
|
||||||
<package id="MySql.Data" version="8.0.21" targetFramework="net472" />
|
<package id="MySql.Data" version="8.0.21" targetFramework="net472" />
|
||||||
<package id="MySql.Data.EntityFramework" version="8.0.21" targetFramework="net472" />
|
<package id="MySql.Data.EntityFramework" version="8.0.21" targetFramework="net472" />
|
||||||
<package id="NLog" version="5.0.1" targetFramework="net472" />
|
<package id="NLog" version="5.0.1" targetFramework="net472" />
|
||||||
<package id="PDFsharp-MigraDoc-wpf" version="1.50.5147" targetFramework="net472" />
|
<package id="PDFsharp-MigraDoc-wpf" version="1.50.5147" targetFramework="net472" />
|
||||||
|
<package id="Portable.BouncyCastle" version="1.9.0" targetFramework="net472" />
|
||||||
<package id="SSH.NET" version="2016.1.0" targetFramework="net472" />
|
<package id="SSH.NET" version="2016.1.0" targetFramework="net472" />
|
||||||
<package id="System.Buffers" version="4.5.1" targetFramework="net472" />
|
<package id="System.Buffers" version="4.5.1" targetFramework="net472" />
|
||||||
<package id="System.Memory" version="4.5.4" targetFramework="net472" />
|
<package id="System.IO.Pipelines" version="5.0.2" targetFramework="net472" />
|
||||||
|
<package id="System.Memory" version="4.5.5" targetFramework="net472" />
|
||||||
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net472" />
|
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net472" />
|
||||||
<package id="System.Runtime.CompilerServices.Unsafe" version="5.0.0" targetFramework="net472" />
|
<package id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" targetFramework="net472" />
|
||||||
|
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net472" />
|
||||||
</packages>
|
</packages>
|
||||||
+18
-2
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio Version 16
|
# Visual Studio Version 17
|
||||||
VisualStudioVersion = 16.0.30114.105
|
VisualStudioVersion = 17.4.33205.214
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "EgtBEAMWALL.ViewerOptimizer", "EgtBEAMWALL.ViewerOptimizer\EgtBEAMWALL.ViewerOptimizer.vbproj", "{57291955-F9C4-4466-8D53-476D43BA3659}"
|
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "EgtBEAMWALL.ViewerOptimizer", "EgtBEAMWALL.ViewerOptimizer\EgtBEAMWALL.ViewerOptimizer.vbproj", "{57291955-F9C4-4466-8D53-476D43BA3659}"
|
||||||
EndProject
|
EndProject
|
||||||
@@ -17,6 +17,8 @@ Global
|
|||||||
Debug|x86 = Debug|x86
|
Debug|x86 = Debug|x86
|
||||||
Release|x64 = Release|x64
|
Release|x64 = Release|x64
|
||||||
Release|x86 = Release|x86
|
Release|x86 = Release|x86
|
||||||
|
RemoteDebug|x64 = RemoteDebug|x64
|
||||||
|
RemoteDebug|x86 = RemoteDebug|x86
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{57291955-F9C4-4466-8D53-476D43BA3659}.Debug|x64.ActiveCfg = Debug|x64
|
{57291955-F9C4-4466-8D53-476D43BA3659}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
@@ -27,6 +29,10 @@ Global
|
|||||||
{57291955-F9C4-4466-8D53-476D43BA3659}.Release|x64.Build.0 = Release|x64
|
{57291955-F9C4-4466-8D53-476D43BA3659}.Release|x64.Build.0 = Release|x64
|
||||||
{57291955-F9C4-4466-8D53-476D43BA3659}.Release|x86.ActiveCfg = Release|x86
|
{57291955-F9C4-4466-8D53-476D43BA3659}.Release|x86.ActiveCfg = Release|x86
|
||||||
{57291955-F9C4-4466-8D53-476D43BA3659}.Release|x86.Build.0 = Release|x86
|
{57291955-F9C4-4466-8D53-476D43BA3659}.Release|x86.Build.0 = Release|x86
|
||||||
|
{57291955-F9C4-4466-8D53-476D43BA3659}.RemoteDebug|x64.ActiveCfg = RemoteDebug|x64
|
||||||
|
{57291955-F9C4-4466-8D53-476D43BA3659}.RemoteDebug|x64.Build.0 = RemoteDebug|x64
|
||||||
|
{57291955-F9C4-4466-8D53-476D43BA3659}.RemoteDebug|x86.ActiveCfg = RemoteDebug|x86
|
||||||
|
{57291955-F9C4-4466-8D53-476D43BA3659}.RemoteDebug|x86.Build.0 = RemoteDebug|x86
|
||||||
{B71DA327-38C8-4305-BBA1-34F3F3F32405}.Debug|x64.ActiveCfg = Debug|x64
|
{B71DA327-38C8-4305-BBA1-34F3F3F32405}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
{B71DA327-38C8-4305-BBA1-34F3F3F32405}.Debug|x64.Build.0 = Debug|x64
|
{B71DA327-38C8-4305-BBA1-34F3F3F32405}.Debug|x64.Build.0 = Debug|x64
|
||||||
{B71DA327-38C8-4305-BBA1-34F3F3F32405}.Debug|x86.ActiveCfg = Debug|x86
|
{B71DA327-38C8-4305-BBA1-34F3F3F32405}.Debug|x86.ActiveCfg = Debug|x86
|
||||||
@@ -35,6 +41,10 @@ Global
|
|||||||
{B71DA327-38C8-4305-BBA1-34F3F3F32405}.Release|x64.Build.0 = Release|x64
|
{B71DA327-38C8-4305-BBA1-34F3F3F32405}.Release|x64.Build.0 = Release|x64
|
||||||
{B71DA327-38C8-4305-BBA1-34F3F3F32405}.Release|x86.ActiveCfg = Release|x86
|
{B71DA327-38C8-4305-BBA1-34F3F3F32405}.Release|x86.ActiveCfg = Release|x86
|
||||||
{B71DA327-38C8-4305-BBA1-34F3F3F32405}.Release|x86.Build.0 = Release|x86
|
{B71DA327-38C8-4305-BBA1-34F3F3F32405}.Release|x86.Build.0 = Release|x86
|
||||||
|
{B71DA327-38C8-4305-BBA1-34F3F3F32405}.RemoteDebug|x64.ActiveCfg = RemoteDebug|x64
|
||||||
|
{B71DA327-38C8-4305-BBA1-34F3F3F32405}.RemoteDebug|x64.Build.0 = RemoteDebug|x64
|
||||||
|
{B71DA327-38C8-4305-BBA1-34F3F3F32405}.RemoteDebug|x86.ActiveCfg = RemoteDebug|x86
|
||||||
|
{B71DA327-38C8-4305-BBA1-34F3F3F32405}.RemoteDebug|x86.Build.0 = RemoteDebug|x86
|
||||||
{24D7760E-662A-47E4-B729-B70126C24A31}.Debug|x64.ActiveCfg = Debug|Any CPU
|
{24D7760E-662A-47E4-B729-B70126C24A31}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
{24D7760E-662A-47E4-B729-B70126C24A31}.Debug|x64.Build.0 = Debug|Any CPU
|
{24D7760E-662A-47E4-B729-B70126C24A31}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
{24D7760E-662A-47E4-B729-B70126C24A31}.Debug|x86.ActiveCfg = Debug|Any CPU
|
{24D7760E-662A-47E4-B729-B70126C24A31}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
@@ -43,6 +53,9 @@ Global
|
|||||||
{24D7760E-662A-47E4-B729-B70126C24A31}.Release|x64.Build.0 = Release|Any CPU
|
{24D7760E-662A-47E4-B729-B70126C24A31}.Release|x64.Build.0 = Release|Any CPU
|
||||||
{24D7760E-662A-47E4-B729-B70126C24A31}.Release|x86.ActiveCfg = Release|Any CPU
|
{24D7760E-662A-47E4-B729-B70126C24A31}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
{24D7760E-662A-47E4-B729-B70126C24A31}.Release|x86.Build.0 = Release|Any CPU
|
{24D7760E-662A-47E4-B729-B70126C24A31}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{24D7760E-662A-47E4-B729-B70126C24A31}.RemoteDebug|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{24D7760E-662A-47E4-B729-B70126C24A31}.RemoteDebug|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{24D7760E-662A-47E4-B729-B70126C24A31}.RemoteDebug|x86.Build.0 = Release|Any CPU
|
||||||
{F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Debug|x64.ActiveCfg = Debug|Any CPU
|
{F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
{F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Debug|x64.Build.0 = Debug|Any CPU
|
{F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
{F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Debug|x86.ActiveCfg = Debug|Any CPU
|
{F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
@@ -51,6 +64,9 @@ Global
|
|||||||
{F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Release|x64.Build.0 = Release|Any CPU
|
{F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Release|x64.Build.0 = Release|Any CPU
|
||||||
{F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Release|x86.ActiveCfg = Release|Any CPU
|
{F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
{F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Release|x86.Build.0 = Release|Any CPU
|
{F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.RemoteDebug|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.RemoteDebug|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.RemoteDebug|x86.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user