From 9bf846553672aa99e3980a3fd9387ed71e577fae Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Thu, 29 May 2025 08:58:47 +0200 Subject: [PATCH] SDK: aggiunto boolean x abilitazione invio parametri + threshold --- MapoSDK/dataConf.cs | 1 - MapoSDK/dataConfTSVC.cs | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/MapoSDK/dataConf.cs b/MapoSDK/dataConf.cs index a7f68619..94551b4a 100644 --- a/MapoSDK/dataConf.cs +++ b/MapoSDK/dataConf.cs @@ -67,7 +67,6 @@ namespace MapoSDK /// public string value { get; set; } = ""; - /// /// Decodifica per tipoMem = BitMap: /// Array di valori assegnati ai singoli bit diff --git a/MapoSDK/dataConfTSVC.cs b/MapoSDK/dataConfTSVC.cs index 932b5302..70d80d08 100644 --- a/MapoSDK/dataConfTSVC.cs +++ b/MapoSDK/dataConfTSVC.cs @@ -22,6 +22,22 @@ namespace MapoSDK /// public int period { get; set; } = 60; + /// + /// Indica se invio parametro abilitato (false = filtrato, no FluxLog send) + /// + public bool sendEnabled { get; set; } = true; + + /// + /// Valore della DeadBand per rilevare variazioni in valore assoluto, se nullo non impiegato + /// + public double? thresholdAbs { get; set; } = null; + + /// + /// Valore della DeadBand per rilevare variazioni in valore percentuale (5% = 0.05), se nullo non impiegato + /// + public double? thresholdPerc { get; set; } = null; + + #endregion Public Properties } } \ No newline at end of file