Table of Contents

Class IoxAddOn

Namespace
Geotab.Checkmate.ObjectModel
Assembly
Geotab.Checkmate.ObjectModel.dll

Represents an Iox Add-On (like modem or navigation device) that is attached to a GO unit. Each Iox Add-On is assigned a channel - which is the serial port number that it typically communicates with.

public class IoxAddOn : Entity, IEntity, IComparable, IIdentifiable, IDeviceProvider
Inheritance
IoxAddOn
Implements
Inherited Members

Constructors

IoxAddOn()

Initializes a new instance of the IoxAddOn class.

public IoxAddOn()

IoxAddOn(Id?, Device?, int, int, DateTime?)

Initializes a new instance of the IoxAddOn class.The constructor.

public IoxAddOn(Id? id, Device? device, int ioxAddOnType, int channel, DateTime? dateTime)

Parameters

id Id

The Id.

device Device

The Device.

ioxAddOnType int

The Identifier to determine the Add-On type.

channel int

The channel.

dateTime DateTime?

The DateTime the IoxAddOn was assigned it's channel.

Properties

Channel

Gets or sets the channel on which the Add-On is attached to the GO unit. This is typically just a serial port. 0 means the Add-On is not attached.

public int Channel { get; set; }

Property Value

int

int

DateTime

Gets or sets the DateTime this IoxAddOn was assigned it's Channel.

public DateTime? DateTime { get; set; }

Property Value

DateTime?

DateTime

Device

Gets or sets the Device this IoxAddOn is connected to.

public Device? Device { get; set; }

Property Value

Device

Device

Type

Gets or sets the unique identifier for this Iox Add-On type. Iox Add-On types are assigned by Geotab. See KnownIoxAddOnType.

public int Type { get; set; }

Property Value

int

int

Methods

Clone()

Creates a new object that is a copy of the current instance.

public override IEntity Clone()

Returns

IEntity

A new object that is a copy of this instance.

IsIoxAddOn(int)

Determines whether the provided identifier is for an Iox Add-On. See KnownIoxAddOnType.

public static bool IsIoxAddOn(int identifier)

Parameters

identifier int

The identifier.

Returns

bool

true if the identifier is for a Iox Add-On; otherwise, false.

IsMimeIoxAddon()

Determines whether the entity is for an Iox Add-On and supports the Mime protocol. See KnownIoxAddOnType.

public bool IsMimeIoxAddon()

Returns

bool

true if the entity is for an Iox Add-On and supports the Mime protocol; otherwise, false.

IsMimeIoxAddon(int)

Determines whether the provided identifier is for an Iox Add-On and supports the Mime protocol. See KnownIoxAddOnType.

public static bool IsMimeIoxAddon(int identifier)

Parameters

identifier int

The identifier.

Returns

bool

true if the identifier is for a Iox Add-On and supports the Mime protocol; otherwise, false.