Files
mapo-iob-libs/EgwProxy.Shelly/DTO/Gen2/EMDataDto.cs
T
2025-08-07 08:35:34 +02:00

41 lines
1.1 KiB
C#

using EgwProxy.Shelly.Converters;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace EgwProxy.Shelly.DTO.Gen2
{
/// <summary>
/// EnergyMeterData Info DTO (Total Counters)
/// </summary>
//[JsonConverter(typeof(EMDataDtoConverter))]
public class EMDataDto
{
public int Id { get; set; }
/// <summary>
/// Phase A data
/// </summary>
public EnergyDto TotalPhaseA { get; set; } = new EnergyDto();
/// <summary>
/// Phase B data
/// </summary>
public EnergyDto TotalPhaseB { get; set; } = new EnergyDto();
/// <summary>
/// Phase C data
/// </summary>
public EnergyDto TotalPhaseC { get; set; } = new EnergyDto();
/// <summary>
/// AllPhase data
/// </summary>
public EnergyDto TotalAll { get; set; } = new EnergyDto();
/// <summary>
/// Calibrazione fasi manuale
/// </summary>
[JsonProperty("errors")]
public List<string> Errors { get; set; } = new List<string>();
}
}