-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathIdtmi_rido_pnp_memmon-1.g.cs
43 lines (35 loc) · 1.27 KB
/
Idtmi_rido_pnp_memmon-1.g.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// <auto-generated/>
using Rido.Mqtt.HubClient;
using Rido.MqttCore.PnP;
namespace layer3_sample
{
public interface Imemmon
{
public IReadOnlyProperty<DateTime> Property_started { get; set; }
public IWritableProperty<bool> Property_enabled { get; set; }
public IWritableProperty<int> Property_interval { get; set; }
public ITelemetry<double> Telemetry_workingSet { get; set; }
public ICommand<Cmd_getRuntimeStats_Request, Cmd_getRuntimeStats_Response> Command_getRuntimeStats { get; set; }
}
public enum DiagnosticsMode
{
minimal = 0,
complete = 1,
full = 2
}
public class Cmd_getRuntimeStats_Request : IBaseCommandRequest<Cmd_getRuntimeStats_Request>
{
public DiagnosticsMode DiagnosticsMode { get; set; }
public Cmd_getRuntimeStats_Request DeserializeBody(string payload)
{
return new Cmd_getRuntimeStats_Request()
{
DiagnosticsMode = System.Text.Json.JsonSerializer.Deserialize<DiagnosticsMode>(payload)
};
}
}
public class Cmd_getRuntimeStats_Response : BaseCommandResponse
{
public Dictionary<string, string> diagnosticResults { get; set; } = new Dictionary<string, string>();
}
}