Class ReplacementStatus
- Namespace
- Geotab.Checkmate.ObjectModel.DeviceReplacement
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The replacement status of a given DeviceReplacementInfo.
public abstract class ReplacementStatus : Entity, IEntity, IComparable, IIdentifiable
- Inheritance
-
ReplacementStatus
- Implements
- Derived
- Inherited Members
Constructors
ReplacementStatus(Id)
Initializes a new instance of the ReplacementStatus class.
protected ReplacementStatus(Id id)
Parameters
Properties
Id
public override Id? Id { 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.
GetShortValue()
Get the Id value.
public short GetShortValue()
Returns
Exceptions
- InvalidOperationException
If status has null Id.
IsSystemEntity()
Returns true if the class is a system entity, false otherwise.
public override bool IsSystemEntity()
Returns
SystemFromId(Id)
Returns a Replacement Status from the provided system Id else an Unknown Replacement Status.
public static ReplacementStatus SystemFromId(Id id)
Parameters
id
IdThe id.