mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-08 17:03:47 +00:00
fe8bd257d1
- No more UDP - Lots of random refactoring as well
52 lines
1.6 KiB
C#
52 lines
1.6 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace qController.QItems
|
|
{
|
|
public class QCue
|
|
{
|
|
//info loaded from "/cueLists"
|
|
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; }
|
|
|
|
//info loaded from "/valuesForKeys
|
|
public decimal translationX { get; set; }
|
|
public bool isRunning { get; set; }
|
|
public decimal scaleX { get; set; }
|
|
public bool isPaused { get; set; }
|
|
public decimal translationY { get; set; }
|
|
public decimal preWait { get; set; }
|
|
public decimal opacity { get; set; }
|
|
public decimal scaleY { get; set; }
|
|
public decimal duration { get; set; }
|
|
public decimal postWait { get; set; }
|
|
public bool isBroken { get; set; }
|
|
public string displayName { get; set; }
|
|
public bool isLoaded { get; set; }
|
|
public string notes { get; set; }
|
|
public List<List<double>> levels { get; set; }
|
|
|
|
//info loaded from /children
|
|
public List<QCue> cues { get; set; }
|
|
|
|
//get string for icon font from cue type
|
|
public string getIconString()
|
|
{
|
|
return QIcon.GetIconFromType(type);
|
|
}
|
|
|
|
public string IconText
|
|
{
|
|
get
|
|
{
|
|
return QIcon.GetIconFromType(type);
|
|
}
|
|
}
|
|
}
|
|
}
|