mirror of
https://github.com/jwetzell/QControlKit.git
synced 2026-08-05 07:28:00 +00:00
Cue properties clean up
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<Authors>Joel Wetzell</Authors>
|
||||
<Version>1.0.0-devel</Version>
|
||||
<PackOnBuild>true</PackOnBuild>
|
||||
<PackageVersion>0.0.24</PackageVersion>
|
||||
<PackageVersion>0.0.29</PackageVersion>
|
||||
<PackageId>QControlKit</PackageId>
|
||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||
<Summary>Unofficial C# port of Figure53's QLabKit.objc</Summary>
|
||||
@@ -18,7 +18,7 @@
|
||||
<PackageReference Include="Serilog" Version="2.10.0" />
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
|
||||
<PackageReference Include="Zeroconf" Version="3.5.11" />
|
||||
<PackageReference Include="SuperSimpleTcp" Version="2.6.0" />
|
||||
<PackageReference Include="SuperSimpleTcp" Version="2.6.0.2" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Constants\" />
|
||||
|
||||
@@ -45,8 +45,6 @@ namespace QControlKit
|
||||
init();
|
||||
this.workspace = workspace;
|
||||
updatePropertiesWithDictionary(dict);
|
||||
workspace.fetchBasicPropertiesForCue(this);
|
||||
|
||||
}
|
||||
|
||||
public QCue(JToken dict, QWorkspace workspace, int nestLevel)
|
||||
@@ -55,7 +53,6 @@ namespace QControlKit
|
||||
this.workspace = workspace;
|
||||
this.nestLevel = nestLevel + 1;
|
||||
updatePropertiesWithDictionary(dict);
|
||||
workspace.fetchBasicPropertiesForCue(this);
|
||||
}
|
||||
|
||||
public void init()
|
||||
|
||||
@@ -319,17 +319,12 @@ namespace QControlKit
|
||||
{
|
||||
List<string> keys = new List<string> {
|
||||
QOSCKey.UID,
|
||||
QOSCKey.Number,
|
||||
QOSCKey.Name,
|
||||
QOSCKey.ListName,
|
||||
QOSCKey.Type,
|
||||
QOSCKey.ColorName,
|
||||
QOSCKey.Flagged,
|
||||
QOSCKey.Armed,
|
||||
QOSCKey.IsRunning,
|
||||
QOSCKey.IsBroken,
|
||||
QOSCKey.IsLoaded,
|
||||
QOSCKey.Parent,
|
||||
QOSCKey.Notes
|
||||
};
|
||||
|
||||
fetchPropertiesForCue(cue, keys.ToArray(), false);
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace QControlKitXamDemo
|
||||
QCue selectedCue = connectedWorkspace.cueWithID(args.cueID);
|
||||
if(selectedCue != null) //TODO: I think this being null is the result of a race condition?
|
||||
{
|
||||
connectedWorkspace.fetchDefaultPropertiesForCue(selectedCue);
|
||||
connectedWorkspace.fetchBasicPropertiesForCue(selectedCue);
|
||||
selectedCueGrid.BindingContext = new QCueViewModel(selectedCue, false);
|
||||
if (cueGridDict.ContainsKey(args.cueID))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user