Class CanChannelServiceViewModel
- Namespace
- Loehnert.Lisrt.Can.Vector.ViewModels
- Assembly
- Loehnert.Lisrt.Can.Vector.dll
Service view model for a CanChannelModule.
public class CanChannelServiceViewModel : ServiceViewModelBase, IViewAware, IChild, IDocument, ILayoutItem, IScreen, IHaveDisplayName, IActivate, IDeactivate, IGuardClose, IClose, INotifyPropertyChangedEx, INotifyPropertyChanged, ICommandHandler<UndoCommandDefinition>, ICommandHandler<RedoCommandDefinition>, ICommandHandler<SaveFileCommandDefinition>, ICommandHandler<SaveFileAsCommandDefinition>, ICommandHandler
- Inheritance
-
PropertyChangedBaseViewAwareScreenCanChannelServiceViewModel
- Implements
-
IViewAwareIChildIScreenIHaveDisplayNameIActivateIDeactivateIGuardCloseICloseINotifyPropertyChangedEx
- Inherited Members
-
Screen.OnInitialize()Screen.OnActivate()Screen.ParentScreen.DisplayNameScreen.IsActiveScreen.IsInitializedScreen.ActivatedScreen.AttemptingDeactivationScreen.DeactivatedViewAware.DefaultContextViewAware.ViewsViewAware.ViewAttachedPropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
CanChannelServiceViewModel(CanChannelModule)
Initializes a new instance of the CanChannelServiceViewModel class. Calls the CanChannelServiceViewModel(CanChannelModule, IOperatingModeManager, IUserManager, IWindowManager) constructor, while getting the missing parameters by Caliburn.Micro.IoC.
public CanChannelServiceViewModel(CanChannelModule canChannelModule)
Parameters
canChannelModule
CanChannelModuleCAN channel module.
CanChannelServiceViewModel(CanChannelModule, IOperatingModeManager, IUserManager, IWindowManager)
Initializes a new instance of the CanChannelServiceViewModel class.
public CanChannelServiceViewModel(CanChannelModule canChannelModule, IOperatingModeManager operatingModeManager, IUserManager userManager, IWindowManager windowManager)
Parameters
canChannelModule
CanChannelModuleCAN channel module.
operatingModeManager
IOperatingModeManagerOperating mode manager.
userManager
IUserManagerUser manager.
windowManager
IWindowManagerWindow manager.
Properties
ActualBaudRate
Gets the actual baud rate.
public uint ActualBaudRate { get; }
Property Value
ActualChannelDeviceSerial
Gets the serial of the device depending on the actual channel.
public uint ActualChannelDeviceSerial { get; }
Property Value
ActualChannelIndex
Gets the actual channel index.
public byte ActualChannelIndex { get; }
Property Value
ActualChannelName
Gets the actual channel name.
public string ActualChannelName { get; }
Property Value
SendRowViewModel
Gets the view model for the send row.
public SendRowViewModel SendRowViewModel { get; }
Property Value
SetChannelWithDialogCommand
Gets a command for setting the channel with a dialog.
public ICommand SetChannelWithDialogCommand { get; }