Class DeviceSourceAddressInfo
- Namespace
- Geotab.Checkmate.ObjectModel.DataEnrichment
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Represents a device source address info.
public class DeviceSourceAddressInfo : EntityWithVersion, IEntity, IComparable, IIdentifiable, IVersion, IDeviceProvider
- Inheritance
-
DeviceSourceAddressInfo
- Implements
- Inherited Members
Constructors
DeviceSourceAddressInfo()
Initializes a new instance of the DeviceSourceAddressInfo class.
public DeviceSourceAddressInfo()
DeviceSourceAddressInfo(Id?, Device?, Controller?, string?, short?, string?, string?, string?, string?, bool?, FaultRichDataErrorType?, DateTime?)
Initializes a new instance of the DeviceSourceAddressInfo class.
public DeviceSourceAddressInfo(Id? id, Device? device = null, Controller? sourceAddress = null, string? vin = null, short? sourceAddressCodeId = null, string? ecuMake = null, string? ecuModel = null, string? ecuManufacturerSerialNumber = null, string? ecuSoftwareVersion = null, bool? processed = null, FaultRichDataErrorType? errorType = null, DateTime? lastUpdatedDate = null)
Parameters
idIdThe Id
deviceDeviceThe device
sourceAddressControllerThe Source Address (Controller)
vinstringThe device VIN
sourceAddressCodeIdshort?The Source Address code
ecuMakestringThe Make
ecuModelstringThe Model
ecuManufacturerSerialNumberstringThe Serial Number
ecuSoftwareVersionstringThe Software Version
processedbool?If it is already processed
errorTypeFaultRichDataErrorType?If it had a error in the processing
lastUpdatedDateDateTime?The last updated date
Properties
Device
Gets or sets the device.
public Device? Device { get; set; }
Property Value
EcuMake
Gets or sets the ECU make.
public string? EcuMake { get; set; }
Property Value
EcuManufacturerSerialNumber
Gets or sets the ECU manufacturer serial number.
public string? EcuManufacturerSerialNumber { get; set; }
Property Value
EcuModel
Gets or sets the ECU model.
public string? EcuModel { get; set; }
Property Value
EcuSoftwareVersion
Gets or sets the ECU software version.
public string? EcuSoftwareVersion { get; set; }
Property Value
ErrorType
Gets or sets the error when processing.
public FaultRichDataErrorType? ErrorType { get; set; }
Property Value
LastUpdatedDate
Gets or sets the date of the last update.
public DateTime? LastUpdatedDate { get; set; }
Property Value
Processed
Gets or sets a value indicating whether the device source address info has been processed.
public bool? Processed { get; set; }
Property Value
SourceAddress
Gets or sets the source address.
public Controller? SourceAddress { get; set; }
Property Value
SourceAddressCodeId
Gets or sets the source address code id.
public short? SourceAddressCodeId { get; set; }
Property Value
Vin
Gets or sets the VIN.
public string? Vin { 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.
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.