Fix enum/Enums x SPEC

This commit is contained in:
Samuele Locatelli
2023-10-26 09:04:07 +02:00
parent 10a66e1078
commit ebcd4175a6
8 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -4,12 +4,12 @@ using MP.Data.Conf;
using MP.Data.DatabaseModels;
using MP.Data.DTO;
using MP.Data.MgModels;
using MP.Data.Objects;
using Newtonsoft.Json;
using NLog;
using StackExchange.Redis;
using System.Data;
using System.Diagnostics;
using static MP.Data.Enum;
namespace MP.SPEC.Data
{
@@ -722,7 +722,7 @@ namespace MP.SPEC.Data
/// <param name="intReq">intervallo di analisi</param>
/// <param name="maxItem">max num per intervallo</param>
/// <returns></returns>
public async Task FluxLogDataRedux(string idxMaccSel, List<string> fluxList, DtUtils.Periodo currPeriodo, ValSelection valMode, DataInterval intReq, int maxItem)
public async Task FluxLogDataRedux(string idxMaccSel, List<string> fluxList, DtUtils.Periodo currPeriodo, Enums.ValSelection valMode, Enums.DataInterval intReq, int maxItem)
{
List<StatDedupDTO> procStats = await dbController.FluxLogDataRedux(idxMaccSel, fluxList, currPeriodo, valMode, intReq, maxItem);
// effettuo merge statistiche...
+1 -1
View File
@@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP.SPEC</RootNamespace>
<Version>6.16.2310.2512</Version>
<Version>6.16.2310.2609</Version>
</PropertyGroup>
<ItemGroup>
+2 -3
View File
@@ -1,5 +1,4 @@
@page "/FluxLogStatus"
<div class="card mb-5">
<div class="card-header">
<div class="row">
@@ -65,7 +64,7 @@
<span class="input-group-text">Max</span>
<input class="form-control" type="number" @bind="@NumItem" />
<select class="form-select text-end" @bind="IntReq">
@foreach (var item in Enum.GetValues(typeof(MP.Data.Enum.DataInterval)).Cast<MP.Data.Enum.DataInterval>())
@foreach (var item in Enum.GetValues(typeof(Enums.DataInterval)).Cast<Enums.DataInterval>())
{
<option value="@item">@item</option>
}
@@ -76,7 +75,7 @@
<div class="input-group">
<span class="input-group-text">Sel</span>
<select class="form-select text-end" @bind="ValMode">
@foreach (var item in Enum.GetValues(typeof(MP.Data.Enum.ValSelection)).Cast<MP.Data.Enum.ValSelection>())
@foreach (var item in Enum.GetValues(typeof(Enums.ValSelection)).Cast<Enums.ValSelection>())
{
<option value="@item">@item</option>
}
+3 -3
View File
@@ -1,10 +1,10 @@
using global::Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using MP.Data.Objects;
using MP.SPEC.Data;
using NLog;
using System.Diagnostics;
using static EgwCoreLib.Utils.DtUtils;
using static MP.Data.Enum;
namespace MP.SPEC.Pages
{
@@ -13,14 +13,14 @@ namespace MP.SPEC.Pages
#region Protected Fields
protected double currVal = 0;
protected DataInterval IntReq = DataInterval.hour;
protected Enums.DataInterval IntReq = Enums.DataInterval.hour;
protected double nextVal = 0;
protected int numRecPage = 10;
protected int pageNum = 1;
protected int totalCount = 0;
protected int totRecords = 0;
protected ValSelection ValMode = ValSelection.First;
protected Enums.ValSelection ValMode = Enums.ValSelection.First;
#endregion Protected Fields
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MAPOSPEC </i>
<h4>Versione: 6.16.2310.2512</h4>
<h4>Versione: 6.16.2310.2609</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2310.2512
6.16.2310.2609
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2310.2512</version>
<version>6.16.2310.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>
+2 -1
View File
@@ -6,7 +6,8 @@
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.JSInterop
@using MP.Data.Objects
@using MP.SPEC
@using MP.SPEC.Shared
@using MP.SPEC.Components
@using EgwCoreLib.Razor
@using EgwCoreLib.Razor