HeartbeatReceivedEventArgs Class¶
Argument type for the HeartbeatReceived event: a valid CANopen heartbeat with the
reported State from the producer's NMT slave state machine.
Inheritance Object → EventArgs → HeartbeatReceivedEventArgs
Constructors¶
HeartbeatReceivedEventArgs(byte, NmtState, DateTime) Constructor¶
Constructs a new event.
public HeartbeatReceivedEventArgs(byte producerNodeId, CanKit.Pro.CANopen.Nmt.NmtState state, System.DateTime timestamp);
Parameters¶
producerNodeId Byte
state NmtState
timestamp DateTime
Properties¶
HeartbeatReceivedEventArgs.ProducerNodeId Property¶
Producer node-id (derived from COB-ID 0x700 + node-id).
Property Value¶
HeartbeatReceivedEventArgs.State Property¶
Reported NMT state of the producer. Initializing is used
for the CiA 301 §7.2.8.3.2 bootup frame (data[0] == 0x00). A frame whose state
byte is one CiA 301 reserves, or that sets the reserved bit 7, is not reported.
Property Value¶
HeartbeatReceivedEventArgs.Timestamp Property¶
UTC timestamp captured when the frame was processed on the actor loop.