Skip to content

ForeignPdoObservation Class

What one peer PDO (one mapping record) did with an observed payload.

public sealed class ForeignPdoObservation

Inheritance Object → ForeignPdoObservation

Properties

ForeignPdoObservation.Decoded Property

Whether the payload was split. A short payload, and a mapping that could not be read from the device or from the peer file, are not decoded, and the sink is not called for them.

public bool Decoded { get; }

Property Value

Boolean

ForeignPdoObservation.Kind Property

Whether the PDO is a TPDO or an RPDO of the peer.

public CanKit.Pro.CANopen.ForeignPdoKind Kind { get; }

Property Value

ForeignPdoKind

ForeignPdoObservation.Origin Property

Where the mapping came from, when Decoded is true.

public System.Nullable<CanKit.Pro.CANopen.ForeignPdoMappingOrigin> Origin { get; }

Property Value

Nullable<ForeignPdoMappingOrigin>

ForeignPdoObservation.PdoNumber Property

PDO number, 1..512.

public int PdoNumber { get; }

Property Value

Int32

ForeignPdoObservation.Reason Property

Why the payload was not decoded, when Decoded is false.

public string? Reason { get; }

Property Value

String

ForeignPdoObservation.SignalsWritten Property

How many signals were written. Dummy entries are not counted. Zero when the mapping itself is empty.

public int SignalsWritten { get; }

Property Value

Int32