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
uintDevice id.
data
byte[]Transmission data.
isExtendedID
boolValue 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
IsExtendedID
Gets a value indicating whether the id is extended.
public bool IsExtendedID { get; }
Property Value
MaxExtededID
Gets the maximum extended id.
public static uint MaxExtededID { get; }
Property Value
MaxID
Gets the maximum standard id.
public static uint MaxID { get; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.