mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-25 17:09:15 +00:00
Migrate All Communication to TCP
This commit is contained in:
@@ -4,26 +4,13 @@ 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");
|
||||
}
|
||||
|
||||
public string number { get; set; }
|
||||
public string uniqueID { get; set; }
|
||||
public bool flagged { get; set; }
|
||||
public string listName { get; set; }
|
||||
public string type { get; set; }
|
||||
public string colorName { get; set; }
|
||||
public string name { get; set; }
|
||||
public bool armed { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace qController
|
||||
{
|
||||
public class QCueList
|
||||
{
|
||||
public string number { get; set; }
|
||||
public string uniqueID { get; set; }
|
||||
public List<QCue> cues { get; set; }
|
||||
public bool flagged { get; set; }
|
||||
public string listName { get; set; }
|
||||
public string type { get; set; }
|
||||
public string colorName { get; set; }
|
||||
public string name { get; set; }
|
||||
public bool armed { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
namespace qController.Classes.Cues
|
||||
{
|
||||
public class QDefinitions
|
||||
{
|
||||
public QDefinitions()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
namespace qController
|
||||
{
|
||||
public class QGroupCue : QCue
|
||||
{
|
||||
|
||||
public QGroupCue(JObject json) : base(json)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace qController
|
||||
{
|
||||
public class QWorkSpace
|
||||
{
|
||||
public string status { get; set; }
|
||||
public List<QCueList> data { get; set; }
|
||||
public string workspace_id { get; set; }
|
||||
public string address { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user