ForeignSrdoConfiguration Class¶
Immutable, explicitly prepared input for a passive SRDO monitor. Construction sends nothing.
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.
Property Value¶
ForeignSrdoConfiguration.CobId2 Property¶
Inverted frame identifier.
Property Value¶
ForeignSrdoConfiguration.ConfigurationId Property¶
Prepared configuration identity, or the source acquisition's identity.
Property Value¶
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.
Property Value¶
ForeignSrdoConfiguration.PeerNodeId Property¶
Configuration owner, not authenticated wire sender.
Property Value¶
ForeignSrdoConfiguration.Provenance Property¶
Explicit application source description.
Property Value¶
ForeignSrdoConfiguration.SafeguardCycleTime Property¶
Observer SCT.
Property Value¶
ForeignSrdoConfiguration.SourceSnapshot Property¶
Full acquisition and per-entry provenance when created from a snapshot.
Property Value¶
ForeignSrdoConfiguration.ValidationTime Property¶
Observer SRVT.
Property Value¶
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>