Class LocationContent
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
[ReportClass]
public class LocationContent : TextContent
- Inheritance
-
LocationContent
- Inherited Members
Constructors
LocationContent()
Initializes a new instance of the LocationContent class.Constructor.
public LocationContent()
LocationContent(string, double, double, Id?)
Initializes a new instance of the LocationContent class.Constructor.
public LocationContent(string address, double latitude, double longitude, Id? routeId)
Parameters
addressstringThe stop address.
latitudedoubleThe strop latitude.
longitudedoubleThe stop longitude.
routeIdIdThe id of the route message.
LocationContent(string, string, double, double)
Initializes a new instance of the LocationContent class.Constructor.
public LocationContent(string message, string address, double latitude, double longitude)
Parameters
messagestringThe message.
addressstringThe stop address.
latitudedoubleThe strop latitude.
longitudedoubleThe stop longitude.
LocationContent(string, string, double, double, Id)
Initializes a new instance of the LocationContent class.Constructor.
public LocationContent(string message, string address, double latitude, double longitude, Id routeId)
Parameters
messagestringThe message.
addressstringThe stop address.
latitudedoubleThe strop latitude.
longitudedoubleThe stop longitude.
routeIdIdThe id of the route message.
Properties
Address
Gets or sets the address of the stop.
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.LocationContentAddress })]
public string? Address { get; set; }
Property Value
Id
Gets or sets the Id of the route message.
[Obsolete("Id is no longer supported an will be removed in a future release. Use the RouteId property instead.", false)]
public int? Id { get; set; }
Property Value
- int?
Nullable<T> where T is. int
Latitude
Gets or sets the latitude of the stop.
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.LocationContentLatitude })]
public double? Latitude { get; set; }
Property Value
- double?
Nullable<T> where T is. double
Longitude
Gets or sets the longitude of the stop.
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.LocationContentLongitude })]
public double? Longitude { get; set; }
Property Value
- double?
Nullable<T> where T is. double
OnRouteRanges
Gets or sets a collection of "DateRange"s indicating when the driver's intent was to go to the provided Latitude and Longitude.
public IList<DateRange>? OnRouteRanges { get; set; }
Property Value
RouteId
Gets or sets the Id of the route message.
public Id? RouteId { get; set; }
Property Value
- Id
Nullable<T> where T is. Id
Methods
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.