Skip to content

NmtResetEventArgs Class

Argument type for the NmtCommandReceived event: a decoded incoming NMT master command.

public sealed class NmtResetEventArgs : System.EventArgs

Inheritance Object → EventArgs → NmtResetEventArgs

Constructors

NmtResetEventArgs(NmtCommand) Constructor

Constructs a new event.

public NmtResetEventArgs(CanKit.Pro.CANopen.Nmt.NmtCommand command);

Parameters

command NmtCommand

Properties

NmtResetEventArgs.Command Property

The reset command: ResetNode or ResetCommunication.

public CanKit.Pro.CANopen.Nmt.NmtCommand Command { get; }

Property Value

NmtCommand

NmtResetEventArgs.IsResetNode Property

Whether the reset is a Reset Node — the one on which CiA 301 §7.3.2.2.1 has the application objects return to their power-on values as well.

public bool IsResetNode { get; }

Property Value

Boolean