Skip to content

SrdoState Class

A snapshot of one SRDO's validity. For a consumer, valid means the last pair was complete, correct and in time; for a producer, valid means the node is Operational with a valid configuration and is transmitting the cycle.

public sealed class SrdoState

Inheritance Object → SrdoState

Properties

SrdoState.Direction Property

Sub-index 1 of the record.

public CanKit.Pro.CANopen.Safety.SrdoDirection Direction { get; }

Property Value

SrdoDirection

SrdoState.IsValid Property

See the class summary.

public bool IsValid { get; }

Property Value

Boolean

SrdoState.LastValidAt Property

When the SRDO last became or was confirmed valid (UTC): for a consumer the last valid pair, for a producer the start of its valid Operational period; null before that.

public System.Nullable<System.DateTime> LastValidAt { get; }

Property Value

Nullable<DateTime>

SrdoState.Reason Property

Why not, when IsValid is false and the SRDO exists; null for an SRDO with direction None.

public System.Nullable<CanKit.Pro.CANopen.Safety.SrdoInvalidReason> Reason { get; }

Property Value

Nullable<SrdoInvalidReason>

SrdoState.SrdoNumber Property

1..64.

public int SrdoNumber { get; }

Property Value

Int32