Class SustainabilityGroupIdlingSummary
- Namespace
- Geotab.Checkmate.ObjectModel.Sustainability
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Represents the summarized sustainability idling data grouped by year and date for the specified date range.
public class SustainabilityGroupIdlingSummary : Entity, IEntity, IComparable, IIdentifiable
- Inheritance
-
SustainabilityGroupIdlingSummary
- Implements
- Inherited Members
Constructors
SustainabilityGroupIdlingSummary()
Initializes a new instance of the SustainabilityGroupIdlingSummary class.
public SustainabilityGroupIdlingSummary()
SustainabilityGroupIdlingSummary(Group?, SustainabilityPowertrainIdlingSummary[]?)
Initializes a new instance of the SustainabilityGroupIdlingSummary class.
public SustainabilityGroupIdlingSummary(Group? powertrainGroup, SustainabilityPowertrainIdlingSummary[]? powertrainIdlingSummaries)
Parameters
powertrainGroup
GroupThe power train group associated with the data.
powertrainIdlingSummaries
SustainabilityPowertrainIdlingSummary[]An array of SustainabilityPowertrainIdlingSummary objects.
SustainabilityGroupIdlingSummary(SustainabilityGroupIdlingSummary)
Initializes a new instance of the SustainabilityGroupIdlingSummary class.
public SustainabilityGroupIdlingSummary(SustainabilityGroupIdlingSummary sustainabilityGroupIdlingSummary)
Parameters
sustainabilityGroupIdlingSummary
SustainabilityGroupIdlingSummaryThe SustainabilityGroupIdlingSummary instance.
Properties
PowertrainGroup
Gets or sets the power train group associated with the data.
public Group? PowertrainGroup { get; set; }
Property Value
PowertrainIdlingSummaries
Gets or sets the idling summaries for different powertrain groups
public SustainabilityPowertrainIdlingSummary[]? PowertrainIdlingSummaries { get; set; }
Property Value
- SustainabilityPowertrainIdlingSummary[]
An array of SustainabilityPowertrainIdlingSummary objects.
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.
Equals(object?)
Determines whether the specified object, is equal to this instance.
public override bool Equals(object? obj)
Parameters
Returns
GetHashCode()
Returns a hash code for this instance.
public override int GetHashCode()
Returns
- int
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.