Class AssetUtilizationPreset
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The preset for the asset utilization report.
public class AssetUtilizationPreset : NameEntity, IEntity, IComparable, IIdentifiable
- Inheritance
-
AssetUtilizationPreset
- Implements
- Inherited Members
Remarks
Initializes a new instance of the AssetUtilizationPreset class.
Constructors
AssetUtilizationPreset(AssetUtilizationPreset)
Initializes a new instance of the AssetUtilizationPreset class.
protected AssetUtilizationPreset(AssetUtilizationPreset assetUtilizationPreset)
Parameters
assetUtilizationPreset
AssetUtilizationPresetThe preset for the asset utilization.
AssetUtilizationPreset(Id)
Initializes a new instance of the AssetUtilizationPreset class.
public AssetUtilizationPreset(Id id)
Parameters
AssetUtilizationPreset(Id?, string?, bool, DayOfWeek[]?, int[]?, int, bool, double?, double, double, double?, double?)
Initializes a new instance of the AssetUtilizationPreset class.
public AssetUtilizationPreset(Id? id, string? name, bool isDefault, DayOfWeek[]? daysOfWeek, int[]? months, int utilizationTimeMax, bool isIdlingExcluded, double? distance, double underUtilizationThreshold, double overUtilizationThreshold, double? optimalUtilizationMin, double? optimalUtilizationMax)
Parameters
id
IdThe Id.
name
stringThe preset name.
isDefault
booldaysOfWeek
DayOfWeek[]months
int[]utilizationTimeMax
intisIdlingExcluded
booldistance
double?underUtilizationThreshold
doubleoverUtilizationThreshold
doubleoptimalUtilizationMin
double?optimalUtilizationMax
double?
Properties
DaysOfWeek
Gets or sets the days of week as a preset filter.
public DayOfWeek[]? DaysOfWeek { get; set; }
Property Value
- DayOfWeek[]
0 represents Sunday, 1 Monday and so on.
Distance
Gets or sets the distance in meters per month as denominator to calculate utilization.
public double? Distance { get; set; }
Property Value
IsDefault
Gets or sets a value indicating whether the preset is default.
public bool IsDefault { get; set; }
Property Value
- bool
true if the preset is default; otherwise, false.
IsIdlingExcluded
Gets or sets a value indicating whether the idling will be excluded from the utilization data presented in the report.
public bool IsIdlingExcluded { get; set; }
Property Value
- bool
true if the idling is excluded; otherwise, false.
Months
Gets or sets the months as a preset filter.
public int[]? Months { get; set; }
Property Value
- int[]
1 represents January, 2 February and so on.
OptimalUtilizationMax
Gets or sets the upper bound of the optimal utilization.
public double? OptimalUtilizationMax { get; set; }
Property Value
OptimalUtilizationMin
Gets or sets the lower bound of the optimal utilization.
public double? OptimalUtilizationMin { get; set; }
Property Value
OverUtilizationThreshold
Gets or sets the threshold to determine if an asset is over-utilized.
public double OverUtilizationThreshold { get; set; }
Property Value
UnderUtilizationThreshold
Gets or sets the threshold to determine if an asset is underutilized.
public double UnderUtilizationThreshold { get; set; }
Property Value
UtilizationTimeMax
Gets or sets the maximum hours as denominator to calculate the utilization.
public int UtilizationTimeMax { get; set; }
Property Value
- int
between 1 and 24. Database default is 24.
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.