Start work towards manually added servers

This commit is contained in:
2021-03-28 16:28:39 -05:00
parent ce64f24b4b
commit e08ba30d91
7 changed files with 202 additions and 33 deletions
@@ -200,5 +200,51 @@ namespace qController
await Task.Delay(milisec);
actionToExecute();
}
void GoButtonClicked(System.Object sender, System.EventArgs e)
{
if(this.connectedWorkspace != null)
{
if (this.connectedWorkspace.connected)
{
this.connectedWorkspace.go();
}
}
}
void PauseButtonClicked(System.Object sender, System.EventArgs e)
{
if (this.connectedWorkspace != null)
{
if (this.connectedWorkspace.connected)
{
QCue selectedCue = ((QCueViewModel)this.selectedCueFrame.BindingContext).cue;
selectedCue.pause();
}
}
}
void ResumeButtonClicked(System.Object sender, System.EventArgs e)
{
if (this.connectedWorkspace != null)
{
if (this.connectedWorkspace.connected)
{
QCue selectedCue = ((QCueViewModel)this.selectedCueFrame.BindingContext).cue;
selectedCue.resume();
}
}
}
void PanicButtonClicked(System.Object sender, System.EventArgs e)
{
if (this.connectedWorkspace != null)
{
if (this.connectedWorkspace.connected)
{
this.connectedWorkspace.panicAll();
}
}
}
}
}