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
IdThe Id.
device
DeviceThe Device.
ioxAddOnType
intThe Identifier to determine the Add-On type.
channel
intThe channel.
dateTime
DateTime?
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
DateTime
Gets or sets the DateTime this IoxAddOn was assigned it's Channel.
public DateTime? DateTime { get; set; }
Property Value
Device
Gets or sets the Device this IoxAddOn is connected to.
public Device? Device { get; set; }
Property Value
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
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
intThe identifier.
Returns
IsMimeIoxAddon()
Determines whether the entity is for an Iox Add-On and supports the Mime protocol. See KnownIoxAddOnType.
public bool IsMimeIoxAddon()
Returns
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
intThe identifier.