Skip to content

ForeignSrdoConfiguration Class

Immutable, explicitly prepared input for a passive SRDO monitor. Construction sends nothing.

public sealed class ForeignSrdoConfiguration

Inheritance Object → ForeignSrdoConfiguration

Constructors

ForeignSrdoConfiguration(byte, int, uint, uint, IEnumerable<PdoMappingEntry>, TimeSpan, TimeSpan, string) Constructor

Copies and validates a mapping and explicit observer SRVT/SCT. Peer identity is a configuration association, never sender identification from the wire. Provenance names the application's source (for example an approved DCF revision).

public ForeignSrdoConfiguration(byte peerNodeId, int number, uint cobId1, uint cobId2, System.Collections.Generic.IEnumerable<CanKit.Pro.CANopen.Pdo.PdoMappingEntry> mapping, System.TimeSpan validationTime, System.TimeSpan safeguardCycleTime, string provenance);

Parameters

peerNodeId Byte

number Int32

cobId1 UInt32

cobId2 UInt32

mapping IEnumerable<PdoMappingEntry>

validationTime TimeSpan

safeguardCycleTime TimeSpan

provenance String

Properties

ForeignSrdoConfiguration.CobId1 Property

Normal frame identifier.

public uint CobId1 { get; }

Property Value

UInt32

ForeignSrdoConfiguration.CobId2 Property

Inverted frame identifier.

public uint CobId2 { get; }

Property Value

UInt32

ForeignSrdoConfiguration.ConfigurationId Property

Prepared configuration identity, or the source acquisition's identity.

public System.Guid ConfigurationId { get; }

Property Value

Guid

ForeignSrdoConfiguration.Mapping Property

Owned, validated mapping in payload order.

public System.Collections.Generic.IReadOnlyList<CanKit.Pro.CANopen.Pdo.PdoMappingEntry> Mapping { get; }

Property Value

IReadOnlyList<PdoMappingEntry>

ForeignSrdoConfiguration.Number Property

SRDO number in that configuration.

public int Number { get; }

Property Value

Int32

ForeignSrdoConfiguration.PeerNodeId Property

Configuration owner, not authenticated wire sender.

public byte PeerNodeId { get; }

Property Value

Byte

ForeignSrdoConfiguration.Provenance Property

Explicit application source description.

public string Provenance { get; }

Property Value

String

ForeignSrdoConfiguration.SafeguardCycleTime Property

Observer SCT.

public System.TimeSpan SafeguardCycleTime { get; }

Property Value

TimeSpan

ForeignSrdoConfiguration.SourceSnapshot Property

Full acquisition and per-entry provenance when created from a snapshot.

public CanKit.Pro.CANopen.Safety.PeerSafetySnapshot? SourceSnapshot { get; }

Property Value

PeerSafetySnapshot

ForeignSrdoConfiguration.ValidationTime Property

Observer SRVT.

public System.TimeSpan ValidationTime { get; }

Property Value

TimeSpan

Methods

ForeignSrdoConfiguration.FromSnapshot(PeerSafetySnapshot, int, Nullable<TimeSpan>, Nullable<TimeSpan>) Method

Creates observer input from an eligible snapshot. Producer refresh time and checksum SRVT defaults are not observer deadlines: both overrides are required for a producer. Receiver records can supply their explicit consumer timings.

public static CanKit.Pro.CANopen.Safety.ForeignSrdoConfiguration FromSnapshot(CanKit.Pro.CANopen.Safety.PeerSafetySnapshot snapshot, int number, System.Nullable<System.TimeSpan> validationTime=null, System.Nullable<System.TimeSpan> safeguardCycleTime=null);

Parameters

snapshot PeerSafetySnapshot

number Int32

validationTime Nullable<TimeSpan>

safeguardCycleTime Nullable<TimeSpan>

Returns

ForeignSrdoConfiguration