From c666f92e359061c0a4c133ba090832a059298782 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Fri, 22 Sep 2017 15:33:09 -0700 Subject: new startup process UI for Windows --- windows/WinUI/CentralNetwork.cs | 48 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 windows/WinUI/CentralNetwork.cs (limited to 'windows/WinUI/CentralNetwork.cs') diff --git a/windows/WinUI/CentralNetwork.cs b/windows/WinUI/CentralNetwork.cs new file mode 100644 index 00000000..26ad5234 --- /dev/null +++ b/windows/WinUI/CentralNetwork.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Newtonsoft.Json; + +namespace WinUI +{ + class CentralNetwork + { + [JsonProperty("id")] + public string Id { get; set; } + + [JsonProperty("type")] + public string Type { get; set; } + + [JsonProperty("clock")] + public UInt64 Clock { get; set; } + + [JsonProperty("rulesSource")] + public string RulesSource { get; set; } + + [JsonProperty("description")] + public string Description { get; set; } + + [JsonProperty("ownerId")] + public string OwnerID { get; set; } + + [JsonProperty("onlineMemberCount")] + public int OnlineMemberCount { get; set; } + + [JsonProperty("config")] + public CentralNetworkConfig Config { get; set; } + + public class CentralNetworkConfig + { + [JsonProperty("id")] + public string Id { get; set; } + + [JsonProperty("nwid")] + public string NetworkID { get; set; } + + [JsonProperty("name")] + public string Name { get; set; } + } + } +} -- cgit v1.2.3