using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static MP.MONO.Core.Enums; // // This is here so CodeMaid doesn't reorganize this document // namespace MP.MONO.Core.DTO { public class DisplayDataDTO { /// /// Display Order /// public int Order { get; set; } = 0; /// /// External code (for ref lookup) /// public string ExtCode { get; set; } = ""; /// /// Data Type /// public string Type { get; set; } = ""; /// /// Title/Name /// public string Title { get; set; } = ""; /// /// Value (string format) /// public string Value { get; set; } = ""; /// /// Value (number) /// public double ValueNum { get; set; } = 0; /// /// Valore scala (da moltiplicare, > 1 aumenta, 0>x>1 riduce) /// public double ScaleFactor { get; set; } = 1; /// /// Display format /// public string DisplFormat { get; set; } = "N0"; /// /// Min Value permitted /// public double MinVal { get; set; } = 0; /// /// Max Value permitted /// public double MaxVal { get; set; } = 0; /// /// Define if is numeric /// public bool IsNumeric { get; set; } = false; /// /// Enabled for plotting /// public bool EnablePlot { get; set; } = true; /// /// Enable percent BAR display /// public bool ShowBar { get; set; } = false; /// /// Enable GAUGE display /// public bool ShowGauge { get; set; } = false; /// /// Enable display on Homepage List /// public bool HLShow{ get; set; } = false; /// /// CSS Icon (ex: Fontawesome 6) /// public string CssIcon { get; set; } = ""; /// /// CSS Style /// public string CssClass { get; set; } = ""; /// /// Sample period for DB recording of min/Avg/MAX data (seconds) /// public double SamplePeriod { get; set; } = 60 * 3; /// /// Tipo di trasformazione VC da applicare ai dati al momento del raggiungimento del periodo di acquisizione /// public VC_func VcFunc { get; set; } = VC_func.POINT; } }