Class ServiceViewModel
- Namespace
- Loehnert.Lisrt.Communication.Visa.ViewModels
- Assembly
- Loehnert.Lisrt.Communication.Visa.dll
Represents the view model for the service window.
public class ServiceViewModel : ServiceViewModelBase, IViewAware, IChild, IDocument, ILayoutItem, IScreen, IHaveDisplayName, IActivate, IDeactivate, IGuardClose, IClose, INotifyPropertyChangedEx, INotifyPropertyChanged, ICommandHandler<UndoCommandDefinition>, ICommandHandler<RedoCommandDefinition>, ICommandHandler<SaveFileCommandDefinition>, ICommandHandler<SaveFileAsCommandDefinition>, ICommandHandler
- Inheritance
-
PropertyChangedBaseViewAwareScreenServiceViewModel
- Implements
-
IViewAwareIChildIScreenIHaveDisplayNameIActivateIDeactivateIGuardCloseICloseINotifyPropertyChangedEx
- Inherited Members
-
Screen.OnInitialize()Screen.OnActivate()Screen.ParentScreen.DisplayNameScreen.IsActiveScreen.IsInitializedScreen.ActivatedScreen.AttemptingDeactivationScreen.DeactivatedViewAware.DefaultContextViewAware.ViewsViewAware.ViewAttachedPropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
ServiceViewModel(ILisrtModule)
Initializes a new instance of the ServiceViewModel class.
public ServiceViewModel(ILisrtModule module)
Parameters
module
ILisrtModuleThe model, VisaModule instance.
Properties
IsConnected
Gets a value indicating whether the connection is open.
public bool IsConnected { get; }
Property Value
QueryCommand
Gets the query command.
public ICommand QueryCommand { get; }
Property Value
ReceivedData
Gets the received data.
public string ReceivedData { get; }
Property Value
ResourceName
Gets the resource name.
public string ResourceName { get; }
Property Value
SendCommand
Gets the send command.
public ICommand SendCommand { get; }
Property Value
SendData
Gets or sets the data to send.
public string SendData { get; set; }