Initial check-in of module qController

This commit is contained in:
2018-06-01 15:09:01 -05:00
commit 30e23418a6
126 changed files with 10486 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
using System;
using Newtonsoft.Json.Linq;
namespace qController
{
public class QCue
{
public string number;
public string uniqueID;
public bool flagged;
public string listName;
public string type;
public string colorName;
public string name;
public bool armed;
public QCue(JObject json){
//Console.WriteLine(json);
number = (string)json.GetValue("number");
uniqueID = (string)json.GetValue("uniqueID");
flagged = (bool)json.GetValue("flagged");
listName = (string)json.GetValue("listName");
type = (string)json.GetValue("type");
colorName = (string)json.GetValue("colorName");
name = (string)json.GetValue("name");
armed = (bool)json.GetValue("armed");
}
}
}
@@ -0,0 +1,12 @@
using Newtonsoft.Json.Linq;
namespace qController
{
public class QGroupCue : QCue
{
public QGroupCue(JObject json) : base(json)
{
}
}
}