SPEC:
- fix riferimenti FluxLog
This commit is contained in:
@@ -20,7 +20,7 @@ namespace MP.SPEC.Components
|
||||
public EventCallback<bool> PagerResetReq { get; set; }
|
||||
|
||||
[Parameter]
|
||||
public EventCallback<FluxLog> RecordSel { get; set; }
|
||||
public EventCallback<FluxLogModel> RecordSel { get; set; }
|
||||
|
||||
[Parameter]
|
||||
public SelectFluxParams SelFilter { get; set; } = null!;
|
||||
@@ -32,7 +32,7 @@ namespace MP.SPEC.Components
|
||||
|
||||
#region Public Methods
|
||||
|
||||
public string checkSelect(FluxLog selRecord)
|
||||
public string checkSelect(FluxLogModel selRecord)
|
||||
{
|
||||
string answ = "";
|
||||
if (currRecord != null)
|
||||
@@ -186,7 +186,7 @@ namespace MP.SPEC.Components
|
||||
await RecordSel.InvokeAsync(null);
|
||||
}
|
||||
|
||||
protected async Task selRecord(FluxLog selRec)
|
||||
protected async Task selRecord(FluxLogModel selRec)
|
||||
{
|
||||
currRecord = selRec;
|
||||
SelFilter.IdxMacchina = selRec.IdxMacchina;
|
||||
@@ -210,11 +210,11 @@ namespace MP.SPEC.Components
|
||||
|
||||
private int _totalCount = 0;
|
||||
private System.Timers.Timer aTimer = null!;
|
||||
private FluxLog? currRecord = null;
|
||||
private FluxLogModel? currRecord = null;
|
||||
|
||||
private List<FluxLog>? ListRecords;
|
||||
private List<FluxLogModel>? ListRecords;
|
||||
|
||||
private List<FluxLog>? SearchRecords;
|
||||
private List<FluxLogModel>? SearchRecords;
|
||||
|
||||
#endregion Private Fields
|
||||
|
||||
|
||||
@@ -776,9 +776,9 @@ namespace MP.SPEC.Data
|
||||
/// <param name="CodFlux">*=tutti, altrimenti solo selezionato</param>
|
||||
/// <param name="MaxRec">numero massimo record da restituire</param>
|
||||
/// <returns></returns>
|
||||
public async Task<List<FluxLog>> FluxLogGetLastFilt(DateTime DtMax, DateTime DtMin, string IdxMacchina, string CodFlux, int MaxRec, double redisCacheSec)
|
||||
public async Task<List<FluxLogModel>> FluxLogGetLastFilt(DateTime DtMax, DateTime DtMin, string IdxMacchina, string CodFlux, int MaxRec, double redisCacheSec)
|
||||
{
|
||||
List<FluxLog>? result = new List<FluxLog>();
|
||||
List<FluxLogModel>? result = new List<FluxLogModel>();
|
||||
Stopwatch stopWatch = new Stopwatch();
|
||||
stopWatch.Start();
|
||||
string readType = "DB";
|
||||
@@ -787,7 +787,7 @@ namespace MP.SPEC.Data
|
||||
RedisValue rawData = redisDb.StringGet(currKey);
|
||||
if (rawData.HasValue)
|
||||
{
|
||||
result = JsonConvert.DeserializeObject<List<FluxLog>>($"{rawData}");
|
||||
result = JsonConvert.DeserializeObject<List<FluxLogModel>>($"{rawData}");
|
||||
readType = "REDIS";
|
||||
}
|
||||
else
|
||||
@@ -806,7 +806,7 @@ namespace MP.SPEC.Data
|
||||
}
|
||||
if (result == null)
|
||||
{
|
||||
result = new List<FluxLog>();
|
||||
result = new List<FluxLogModel>();
|
||||
}
|
||||
stopWatch.Stop();
|
||||
TimeSpan ts = stopWatch.Elapsed;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<RootNamespace>MP.SPEC</RootNamespace>
|
||||
<Version>6.16.2502.2107</Version>
|
||||
<Version>6.16.2503.810</Version>
|
||||
<UserSecretsId>1800a78a-6ff1-40f9-b490-87fb8bfc1394</UserSecretsId>
|
||||
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -79,7 +79,7 @@ namespace MP.SPEC.Pages
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected async Task detailSel(FluxLog newRec)
|
||||
protected async Task detailSel(FluxLogModel newRec)
|
||||
{
|
||||
await Task.Delay(1);
|
||||
var updFilter = currFilter;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo MAPOSPEC </i>
|
||||
<h4>Versione: 6.16.2502.2107</h4>
|
||||
<h4>Versione: 6.16.2503.810</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6.16.2502.2107
|
||||
6.16.2503.810
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>6.16.2502.2107</version>
|
||||
<version>6.16.2503.810</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>
|
||||
|
||||
Reference in New Issue
Block a user