diff --git a/MapoSDK/dataConf.cs b/MapoSDK/dataConf.cs index f1af6e6b..55d6eae4 100644 --- a/MapoSDK/dataConf.cs +++ b/MapoSDK/dataConf.cs @@ -74,27 +74,12 @@ namespace MapoSDK /// public List decodeMap { get; set; } = new List(); + /// + /// Display order + /// + public int displayOrder { get; set; } = 0; + #endregion Public Properties } - /// - /// Struttura conf tipo dati - /// - public class dataConfTSVC : dataConf - { - #region Public Properties - - /// - /// Tipo di funzione da applicare al dato - /// - [JsonConverter(typeof(StringEnumConverter))] - public VC_func func { get; set; } = VC_func.MAX; - - /// - /// Periodo campionamento - /// - public int period { get; set; } = 60; - - #endregion Public Properties - } } \ No newline at end of file diff --git a/MapoSDK/dataConfTSVC.cs b/MapoSDK/dataConfTSVC.cs new file mode 100644 index 00000000..932b5302 --- /dev/null +++ b/MapoSDK/dataConfTSVC.cs @@ -0,0 +1,27 @@ +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.Collections.Generic; + +namespace MapoSDK +{ + /// + /// Struttura conf tipo dati + /// + public class dataConfTSVC : dataConf + { + #region Public Properties + + /// + /// Tipo di funzione da applicare al dato + /// + [JsonConverter(typeof(StringEnumConverter))] + public VC_func func { get; set; } = VC_func.MAX; + + /// + /// Periodo campionamento + /// + public int period { get; set; } = 60; + + #endregion Public Properties + } +} \ No newline at end of file