Skip to content

FlyingMasterChangedEventArgs Class

Arguments of FlyingMasterChanged.

public sealed class FlyingMasterChangedEventArgs : System.EventArgs

Inheritance Object → EventArgs → FlyingMasterChangedEventArgs

Constructors

FlyingMasterChangedEventArgs(FlyingMasterSignal, FlyingMasterRole, Nullable<byte>, Nullable<ushort>) Constructor

Constructs a new event.

public FlyingMasterChangedEventArgs(CanKit.Pro.CANopen.Nmt.FlyingMasterSignal signal, CanKit.Pro.CANopen.Nmt.FlyingMasterRole role, System.Nullable<byte> otherNodeId, System.Nullable<ushort> otherPriority);

Parameters

signal FlyingMasterSignal

role FlyingMasterRole

otherNodeId Nullable<Byte>

otherPriority Nullable<UInt16>

Properties

FlyingMasterChangedEventArgs.OtherNodeId Property

The other master this signal is about: the winner when this node stands by, the master whose heartbeat was lost, or the node whose claim forced a new election. Null when this node itself became the active master.

public System.Nullable<byte> OtherNodeId { get; }

Property Value

Nullable<Byte>

FlyingMasterChangedEventArgs.OtherPriority Property

Priority level carried with OtherNodeId, when that claim had one.

public System.Nullable<ushort> OtherPriority { get; }

Property Value

Nullable<UInt16>

FlyingMasterChangedEventArgs.Role Property

Role after the change.

public CanKit.Pro.CANopen.Nmt.FlyingMasterRole Role { get; }

Property Value

FlyingMasterRole

FlyingMasterChangedEventArgs.Signal Property

What changed.

public CanKit.Pro.CANopen.Nmt.FlyingMasterSignal Signal { get; }

Property Value

FlyingMasterSignal