Update SPEC con gestione record utente manuale

This commit is contained in:
Samuele Locatelli
2026-02-26 11:27:44 +01:00
parent 9eb40dcca1
commit 1881e6743a
15 changed files with 40 additions and 15 deletions
-1
View File
@@ -2,7 +2,6 @@ using global::Microsoft.AspNetCore.Components;
using MP.Data.DbModels;
using MP.Data.Services;
using NLog;
using NLog.Fluent;
namespace MP_TAB3.Components
{
+9 -2
View File
@@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<Version>6.16.2602.2519</Version>
<Version>6.16.2602.2607</Version>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP_TAB3</RootNamespace>
</PropertyGroup>
@@ -40,8 +40,15 @@
<PackageReference Include="EgwCoreLib.Utils" Version="1.5.2511.312" />
<PackageReference Include="Microsoft.AspNetCore.Components" Version="8.0.24" />
<PackageReference Include="Microsoft.AspNetCore.Http.Connections.Common" Version="8.0.24" />
<PackageReference Include="NLog" Version="5.3.4" />
<PackageReference Include="NLog" Version="6.1.0" />
<PackageReference Include="NLog.Targets.OpenTelemetryProtocol" Version="1.2.6" />
<PackageReference Include="NLog.Web.AspNetCore" Version="5.3.14" />
<PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.15.0" />
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.15.0" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.15.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.15.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.SqlClient" Version="1.15.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.StackExchangeRedis" Version="1.15.0-beta.1" />
<PackageReference Include="StackExchange.Redis" Version="2.9.17" />
<PackageReference Include="System.Text.Encodings.Web" Version="8.0.0" />
</ItemGroup>
-1
View File
@@ -3,7 +3,6 @@ using MP.Data.DbModels;
using MP.Data;
using MP.Data.Services;
using Newtonsoft.Json;
using NLog.Fluent;
using MP_TAB3.Components;
namespace MP_TAB3.Pages
-1
View File
@@ -3,7 +3,6 @@ using MP.Data.DbModels;
using MP.Data;
using MP.Data.Services;
using MP_TAB3.Shared;
using NLog.Fluent;
using Newtonsoft.Json;
namespace MP_TAB3.Pages
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MAPOSPEC </i>
<h4>Versione: 6.16.2602.2519</h4>
<h4>Versione: 6.16.2602.2607</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2602.2519
6.16.2602.2607
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2602.2519</version>
<version>6.16.2602.2607</version>
<url>https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/MP-TAB3.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>
+5
View File
@@ -5,5 +5,10 @@
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"Otel": {
"EnableTracing": true,
"Endpoint": "https://uptrace.egalware.com:14317",
"Dsn": "https://DC_iX71mEzg7KA7atQEBdQ@uptrace.egalware.com?grpc=14317"
}
}
+5
View File
@@ -6,6 +6,11 @@
"Microsoft.AspNetCore": "Warning"
}
},
"Otel": {
"EnableTracing": true,
"Endpoint": "",
"Dsn": ""
},
"ConnectionStrings": {
//"Redis": "iis01.egalware.com:6379,DefaultDatabase=5,connectTimeout=5000,syncTimeout=5000,asyncTimeout=5000,abortConnect=false,ssl=false",
"Redis": "redis.ufficio:26379,serviceName=prod,DefaultDatabase=5,connectTimeout=5000,syncTimeout=5000,asyncTimeout=5000,abortConnect=false,ssl=false,allowAdmin=true,password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG",
+5
View File
@@ -65,6 +65,11 @@
}
]
},
"Otel": {
"EnableTracing": true,
"Endpoint": "https://uptrace.egalware.com:14317",
"Dsn": "https://DC_iX71mEzg7KA7atQEBdQ@uptrace.egalware.com?grpc=14317"
},
"MailKitMailSettings": {
"DisplayName": "MAPO EgalWare Email BOT",
"From": "services@steamware.net",
+1 -1
View File
@@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP.SPEC</RootNamespace>
<Version>6.16.2602.2519</Version>
<Version>6.16.2602.2609</Version>
<UserSecretsId>1800a78a-6ff1-40f9-b490-87fb8bfc1394</UserSecretsId>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
</PropertyGroup>
+9 -3
View File
@@ -116,6 +116,10 @@ namespace MP.SPEC.Pages
isLoading = false;
}
[Inject]
protected MsgServiceSpec MService { get; set; } = null!;
/// <summary>
/// Gestione selezione evento da registrare x le macchine selezionate
/// </summary>
@@ -137,8 +141,10 @@ namespace MP.SPEC.Pages
foreach (var idxMacc in CurrMachSel)
{
var rigaStato = MDService.StatoMacchina(idxMacc);
// processo evento...
// mpreparo info utente x Value...
string valData = $"SPEC | {MService.DomainName}\\{MService.UserName}";
// processo evento...
DateTime adesso = DateTime.Now.Floor(TimeSpan.FromSeconds(1));
EventListModel newRec = new EventListModel()
{
@@ -146,8 +152,8 @@ namespace MP.SPEC.Pages
InizioStato = adesso,
IdxTipo = selEv.IdxEv,
CodArticolo = rigaStato.CodArticolo,
Value = "DRT",
MatrOpr = 1, // rivedere!!!
Value = valData,
MatrOpr = 0,
pallet = rigaStato.pallet
};
// FORZO con metodo TAB
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MAPOSPEC </i>
<h4>Versione: 6.16.2602.2519</h4>
<h4>Versione: 6.16.2602.2609</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2602.2519
6.16.2602.2609
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2602.2519</version>
<version>6.16.2602.2609</version>
<url>https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/MP.SPEC.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>