41 lines
990 B
C#
41 lines
990 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace IOB_MAN8.Core.DTO
|
|
{
|
|
public class FluxLogStatsDTO
|
|
{
|
|
public class ParetoVals
|
|
{
|
|
public ParetoVals(string val, string freq)
|
|
{
|
|
Valore = val;
|
|
int iVal = 0;
|
|
int.TryParse(freq, out iVal);
|
|
Freq = iVal;
|
|
}
|
|
public string Valore { get; set; } = "-";
|
|
public int Freq { get; set; } = 0;
|
|
|
|
}
|
|
|
|
public class DataLog
|
|
{
|
|
public DataLog(string dataOra, string val)
|
|
{
|
|
Valore = val;
|
|
DateTime dVal = DateTime.Today;
|
|
DateTime.TryParse(dataOra, out dVal);
|
|
DataOra = dVal;
|
|
}
|
|
public DateTime DataOra { get; set; } = DateTime.Today;
|
|
|
|
public string Valore { get; set; } = "-";
|
|
}
|
|
|
|
}
|
|
}
|