From 5e38362c89e192748458b6e2f81561e8de7f3140 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Thu, 29 May 2025 14:46:34 +0200 Subject: [PATCH] modifica tipo valori min/max x permettere miglior filtraggio --- MapoSDK/dataConf.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/MapoSDK/dataConf.cs b/MapoSDK/dataConf.cs index 988c7c46..8bc0f11c 100644 --- a/MapoSDK/dataConf.cs +++ b/MapoSDK/dataConf.cs @@ -46,19 +46,20 @@ namespace MapoSDK public int size { get; set; } = 0; /// - /// Fattore per eventuale scalatura (es leggo 1234 --> 12,34 con factor=0.01, 123'400 con factor=100) + /// Fattore di MOLTIPLICA per eventuale scalatura + /// es: leggo 1'234 con factor=0.01 --> 12.34, con factor=100 --> 123'400 /// public double factor { get; set; } = 1; /// /// Valore massimo ammesso (ove usato, es simulazione) /// - public int maxVal { get; set; } = 9999; + public double maxVal { get; set; } = 9999; /// /// Valore minimo ammesso (ove usato, es simulazione) /// - public int minVal { get; set; } = 0; + public double minVal { get; set; } = 0; /// /// Unità di misura del parametro