mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-19 14:14:22 +00:00
Cleanup
This commit is contained in:
@@ -5,13 +5,14 @@ using System.Collections.Generic;
|
||||
|
||||
namespace qController
|
||||
{
|
||||
public class QWorkSpace
|
||||
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; }
|
||||
public bool IsPopulated { get; set; }
|
||||
|
||||
public QCue GetCue(string cue_id)
|
||||
{
|
||||
foreach (var cueList in data)
|
||||
@@ -61,23 +62,6 @@ namespace qController
|
||||
}
|
||||
}
|
||||
|
||||
public QCue GetEmptyGroup()
|
||||
{
|
||||
foreach (var cueList in data)
|
||||
{
|
||||
foreach (var cue in cueList.cues)
|
||||
{
|
||||
if (cue.type == "Group" && cue.cues == null)
|
||||
{
|
||||
Console.WriteLine("Next Group Cue Found");
|
||||
return cue;
|
||||
}
|
||||
}
|
||||
}
|
||||
IsPopulated = true;
|
||||
return null;
|
||||
}
|
||||
|
||||
public bool CheckPopulated()
|
||||
{
|
||||
for (int i = 0; i < data.Count; i++)
|
||||
|
||||
Reference in New Issue
Block a user