Class SendRowViewModel
- Namespace
- Loehnert.Lisrt.Communication.Can.ViewModels
- Assembly
- Loehnert.Lisrt.Communication.Can.dll
View model for sending data with a Loehnert.Lisrt.Communication.Can.ICanCommunication.
public class SendRowViewModel : PropertyChangedBase, INotifyPropertyChangedEx, INotifyPropertyChanged
- Inheritance
-
PropertyChangedBaseSendRowViewModel
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
SendRowViewModel(ICanCommunication)
Initializes a new instance of the SendRowViewModel class.
public SendRowViewModel(ICanCommunication canCommunication)
Parameters
canCommunication
ICanCommunicationCAN communication for sending.
Properties
ByteCount
Gets or sets the count of enabled send bytes.
public byte ByteCount { get; set; }
Property Value
ByteViewModels
Gets the view models for the data bytes.
public IList<ByteViewModel> ByteViewModels { get; }
Property Value
DataPresentationFormatString
Gets the actual string for formatting the send data.
public string DataPresentationFormatString { get; }
Property Value
DataPresentationNumberStyle
Gets the number style for the send data.
public NumberStyles DataPresentationNumberStyle { get; }
Property Value
ID
Gets or sets the id for the send data.
public uint ID { get; set; }
Property Value
IsHexDataPresentationEnabled
Gets or sets a value indicating whether the data are presented as hex values.
public bool IsHexDataPresentationEnabled { get; set; }
Property Value
IsIDExtended
Gets or sets a value indicating whether the id is extended.
public bool IsIDExtended { get; set; }
Property Value
MaxID
Gets the maximum id. MaxID or MaxExtededID.
[DependsOn("IsIDExtended")]
public uint MaxID { get; }
Property Value
SendCommand
Gets the command for sending the data.
public ICommand SendCommand { get; }
Property Value
ToggleDataPresentationCommand
Gets a command for toggle data presentation.
public ICommand ToggleDataPresentationCommand { get; }