Table of Contents

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
PropertyChangedBase
ViewAware
Screen
CanChannelServiceViewModel
Implements
IViewAware
IChild
IScreen
IHaveDisplayName
IActivate
IDeactivate
IGuardClose
IClose
INotifyPropertyChangedEx
Inherited Members
Screen.OnInitialize()
Screen.OnActivate()
Screen.Parent
Screen.DisplayName
Screen.IsActive
Screen.IsInitialized
Screen.Activated
Screen.AttemptingDeactivation
Screen.Deactivated
ViewAware.DefaultContext
ViewAware.Views
ViewAware.ViewAttached
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.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 CanChannelModule

CAN 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 CanChannelModule

CAN channel module.

operatingModeManager IOperatingModeManager

Operating mode manager.

userManager IUserManager

User manager.

windowManager IWindowManager

Window manager.

Properties

ActualBaudRate

Gets the actual baud rate.

public uint ActualBaudRate { get; }

Property Value

uint

ActualChannelDeviceSerial

Gets the serial of the device depending on the actual channel.

public uint ActualChannelDeviceSerial { get; }

Property Value

uint

ActualChannelIndex

Gets the actual channel index.

public byte ActualChannelIndex { get; }

Property Value

byte

ActualChannelName

Gets the actual channel name.

public string ActualChannelName { get; }

Property Value

string

SendRowViewModel

Gets the view model for the send row.

public SendRowViewModel SendRowViewModel { get; }

Property Value

SendRowViewModel

SetChannelWithDialogCommand

Gets a command for setting the channel with a dialog.

public ICommand SetChannelWithDialogCommand { get; }

Property Value

ICommand