- hotfix gestione objItem con valori min/max decimali
This commit is contained in:
Samuele Locatelli
2025-06-12 15:30:58 +02:00
parent e4f304bac6
commit bac4b1c29a
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<Version>6.16.2505.1517</Version>
<Version>6.16.2506.1215</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.2505.1517</h4>
<h4>Versione: 6.16.2506.1215</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2505.1517
6.16.2506.1215
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2505.1517</version>
<version>6.16.2506.1215</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>
+2 -2
View File
@@ -56,12 +56,12 @@ namespace MP.Core.DTO
/// <summary>
/// Valore MASSIMO (SE impostato)
/// </summary>
public int valMax { get; set; }
public double valMax { get; set; }
/// <summary>
/// Valore minimo (SE impostato)
/// </summary>
public int valMin { get; set; }
public double valMin { get; set; }
/// <summary>
/// Valore parametro (come stringa, decimali con ",", default VUOTO), sul CNC/PLC
+1 -1
View File
@@ -1490,7 +1490,7 @@ namespace MP.Data.Services
// cerco in redis...
string currKey = redHashMpIO($"CurrentParameters:{idxMacchina}");
RedisValue rawData = redisDb.StringGet(currKey);
if (rawData.HasValue)
if (rawData.HasValue && rawData.Length() > 2)
{
var rawVal = JsonConvert.DeserializeObject<List<ObjItemDTO>>($"{rawData}");
// ordino!