Table of Contents

Class CanData

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

Data for a can transmission.

public class CanData
Inheritance
CanData
Inherited Members

Constructors

CanData(uint, byte[], bool)

Initializes a new instance of the CanData class.

public CanData(uint deviceID, byte[] data, bool isExtendedID = false)

Parameters

deviceID uint

Device id.

data byte[]

Transmission data.

isExtendedID bool

Value indicating if the id is extended.

Properties

Data

Gets the data.

public byte[] Data { get; }

Property Value

byte[]

DeviceID

Gets the device id.

public uint DeviceID { get; }

Property Value

uint

IsExtendedID

Gets a value indicating whether the id is extended.

public bool IsExtendedID { get; }

Property Value

bool

MaxExtededID

Gets the maximum extended id.

public static uint MaxExtededID { get; }

Property Value

uint

MaxID

Gets the maximum standard id.

public static uint MaxID { get; }

Property Value

uint

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.