J1939ClaimEventArgs Class¶
Event payload for AddressClaimChanged. Reports both the new claim state and, if any, the peer that caused a transition.
Inheritance Object → EventArgs → J1939ClaimEventArgs
Constructors¶
J1939ClaimEventArgs(J1939ClaimState, Nullable<byte>, Nullable<byte>, Nullable<J1939Name>) Constructor¶
Constructs a claim event.
public J1939ClaimEventArgs(CanKit.Pro.J1939.J1939ClaimState state, System.Nullable<byte> address, System.Nullable<byte> contendingSourceAddress=null, System.Nullable<CanKit.Pro.Addressing.J1939Name> contendingName=null);
Parameters¶
state J1939ClaimState
contendingSourceAddress Nullable<Byte>
contendingName Nullable<J1939Name>
Properties¶
J1939ClaimEventArgs.Address Property¶
The node's own address after the transition, or null when it has none (initial
state or after entering CannotClaim).
Property Value¶
J1939ClaimEventArgs.ContendingName Property¶
NAME of the peer that caused this transition, or null.
Property Value¶
J1939ClaimEventArgs.ContendingSourceAddress Property¶
Source address of the peer that caused this transition, or null.
Property Value¶
J1939ClaimEventArgs.State Property¶
The new claim state.