mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-07 16:33:45 +00:00
31a10d9b16
* QWorkspaceInfo.cs: * QParser.cs: * WorkspacePrompt.cs: * QEventArgs.cs: Remove redundant QWorkspaceInfo class * QRecentWorkspaceInfo.cs: Add bundle info class for recent workspace info * ControlPage.xaml.cs: * QBrowserPage.xaml.cs: * QButton.cs: * qConnectionPage.xaml.cs: * QLevelsCell.cs: * QCueListCell.cs: * QInstanceCell.cs: * QControlsBlock.cs: * ShadowButton.cs: * QLevelsButton.cs: * QSelectedCueCell.cs: Move Cells classess under UI * AppDelegate.cs: * packages.config: * MainActivity.cs: * packages.config: * qController.iOS.csproj: * qController.Droid.csproj: * qController.csproj: Update dependencies * App.xaml.cs: Add AppAction code for recent workspace * QStorage.cs: Add recent workspace to persistent storage * QCueGrid.cs: Start on interactivity with cue list grid * QCueViewModel.cs: debug for children updated start on reactive QCueGrid * WorkspacePage.xaml.cs: Start handling a "no selected cue" state and recent workspace * QInstance.cs: * IPHelper.cs: move reachable check to IPHelper - TODO: implement
23 lines
493 B
C#
23 lines
493 B
C#
using Xamarin.Forms;
|
|
|
|
namespace qController.QItems
|
|
{
|
|
public class QInstance
|
|
{
|
|
public string name { get; set; }
|
|
public string address { get; set; }
|
|
public QInstance()
|
|
{
|
|
|
|
}
|
|
public QInstance(string tName, string tAddress)
|
|
{
|
|
name = tName;
|
|
address = tAddress;
|
|
}
|
|
public bool IsReachable()
|
|
{
|
|
return qController.Communication.IPHelper.IsReachable(address);
|
|
}
|
|
}
|
|
} |