Table of Contents

Class SendRowViewModel

Namespace
Loehnert.Lisrt.Communication.Can.ViewModels
Assembly
Loehnert.Lisrt.Communication.Can.dll

View model for sending data with a ICanCommunication.

public class SendRowViewModel : PropertyChangedBase, INotifyPropertyChangedEx, INotifyPropertyChanged
Inheritance
PropertyChangedBase
SendRowViewModel
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

SendRowViewModel(ICanCommunication)

Initializes a new instance of the SendRowViewModel class.

public SendRowViewModel(ICanCommunication canCommunication)

Parameters

canCommunication ICanCommunication

CAN communication for sending.

Properties

ByteCount

Gets or sets the count of enabled send bytes.

public byte ByteCount { get; set; }

Property Value

byte

ByteViewModels

Gets the view models for the data bytes.

public IList<ByteViewModel> ByteViewModels { get; }

Property Value

IList<ByteViewModel>

DataPresentationFormatString

Gets the actual string for formatting the send data.

public string DataPresentationFormatString { get; }

Property Value

string

DataPresentationNumberStyle

Gets the number style for the send data.

public NumberStyles DataPresentationNumberStyle { get; }

Property Value

NumberStyles

ID

Gets or sets the id for the send data.

public uint ID { get; set; }

Property Value

uint

IsHexDataPresentationEnabled

Gets or sets a value indicating whether the data are presented as hex values.

public bool IsHexDataPresentationEnabled { get; set; }

Property Value

bool

IsIDExtended

Gets or sets a value indicating whether the id is extended.

public bool IsIDExtended { get; set; }

Property Value

bool

MaxID

Gets the maximum id. MaxID or MaxExtededID.

[DependsOn("IsIDExtended")]
public uint MaxID { get; }

Property Value

uint

SendCommand

Gets the command for sending the data.

public ICommand SendCommand { get; }

Property Value

ICommand

ToggleDataPresentationCommand

Gets a command for toggle data presentation.

public ICommand ToggleDataPresentationCommand { get; }

Property Value

ICommand