Class ServiceViewModel
- Namespace
- Loehnert.Lisrt.Communication.SerialPort.ViewModels
- Assembly
- Loehnert.Lisrt.Communication.dll
Class for a serial port module view model.
[Export(typeof(ServiceViewModel))]
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(SerialPortModule)
Initializes a new instance of the ServiceViewModel class.
public ServiceViewModel(SerialPortModule serialPortModule)
Parameters
serialPortModule
SerialPortModuleThe depending serial port module.
Properties
HeadLine
Gets the headline, build from translated 'serial port' and the port name.
public string HeadLine { get; }
Property Value
SendRowViewModel
Gets the view model for the send row.
public SendRowViewModel SendRowViewModel { get; }
Property Value
SerialPortModule
Gets the serial port module.
public SerialPortModule SerialPortModule { get; }