Files
2023-03-28 20:27:14 +02:00

93 lines
2.9 KiB
C#

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