mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-13 19:33:52 +00:00
30 lines
864 B
C#
30 lines
864 B
C#
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");
|
|
}
|
|
|
|
}
|
|
}
|