31 lines
819 B
C#
31 lines
819 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace ShellyExporter.Classes
|
|
{
|
|
internal class Pm1GetStatusResponse
|
|
{
|
|
public class Energy
|
|
{
|
|
[JsonProperty("total")]
|
|
internal string? Total { get; set; }
|
|
[JsonProperty("minute_ts")]
|
|
internal string? MinuteTimeStamp { get; set; }
|
|
}
|
|
|
|
[JsonProperty("id")]
|
|
internal string? Id { get; set; }
|
|
[JsonProperty("voltage")]
|
|
internal string? Voltage { get; set; }
|
|
[JsonProperty("current")]
|
|
internal string? Current { get; set; }
|
|
[JsonProperty("apower")]
|
|
internal string? Apower { get; set; }
|
|
[JsonProperty("freq")]
|
|
internal string? Freq { get; set; }
|
|
|
|
[JsonProperty("aenergy")]
|
|
internal Energy? Aenergy { get; set; }
|
|
|
|
}
|
|
}
|