Fix reload mensile

This commit is contained in:
Samuele Locatelli
2025-04-08 17:07:02 +02:00
parent bb1823bdf8
commit d429a9770f
5 changed files with 26 additions and 6 deletions
+22 -2
View File
@@ -212,10 +212,17 @@ namespace MP_TAB3.Components
protected override async Task OnParametersSetAsync()
{
ReloadData();
if (RecMSE != null && RecMSE.IdxMacchina != idxMacc)
{
idxMacc = RecMSE.IdxMacchina;
ReloadData();
}
await Task.Delay(1);
}
private string idxMacc = "";
private DateTime dtMonthStart = new DateTime(2000, 1, 1);
#endregion Protected Methods
#region Private Fields
@@ -269,7 +276,20 @@ namespace MP_TAB3.Components
private MappaStatoExpl? currRecMSE { get; set; } = null;
private DateTime dtCurr { get; set; } = DateTime.Today;
protected DateTime dtCurr
{
get => selDtCurr;
set
{
if (selDtCurr != value)
{
selDtCurr = value;
dtMonthStart = new DateTime(value.Year, value.Month, 1);
}
}
}
//
private DateTime selDtCurr { get; set; } = DateTime.Today;
private List<InsManualiModel>? ListDay { get; set; } = new List<InsManualiModel>();
+1 -1
View File
@@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<Version>6.16.2504.815</Version>
<Version>6.16.2504.816</Version>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP_TAB3</RootNamespace>
</PropertyGroup>
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MAPOSPEC </i>
<h4>Versione: 6.16.2504.815</h4>
<h4>Versione: 6.16.2504.816</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2504.815
6.16.2504.816
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2504.815</version>
<version>6.16.2504.816</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>