FlyingMasterChangedEventArgs Class¶
Arguments of FlyingMasterChanged.
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
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.
Property Value¶
FlyingMasterChangedEventArgs.OtherPriority Property¶
Priority level carried with OtherNodeId, when that claim had one.
Property Value¶
FlyingMasterChangedEventArgs.Role Property¶
Role after the change.
Property Value¶
FlyingMasterChangedEventArgs.Signal Property¶
What changed.