Skip to content

J1939ClaimEventArgs Class

Event payload for AddressClaimChanged. Reports both the new claim state and, if any, the peer that caused a transition.

public sealed class J1939ClaimEventArgs : System.EventArgs

Inheritance ObjectEventArgs → 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

address Nullable<Byte>

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).

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

Property Value

Nullable<Byte>

J1939ClaimEventArgs.ContendingName Property

NAME of the peer that caused this transition, or null.

public System.Nullable<CanKit.Pro.Addressing.J1939Name> ContendingName { get; }

Property Value

Nullable<J1939Name>

J1939ClaimEventArgs.ContendingSourceAddress Property

Source address of the peer that caused this transition, or null.

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

Property Value

Nullable<Byte>

J1939ClaimEventArgs.State Property

The new claim state.

public CanKit.Pro.J1939.J1939ClaimState State { get; }

Property Value

J1939ClaimState