public override int GetHashCode() { unchecked { int hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ (VIN != null ? VIN.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (VehicleMake != null ? VehicleMake.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (VehicleModel != null ? VehicleModel.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TyreSize != null ? TyreSize.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (VehicleType != null ? VehicleType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (WFactor != null ? WFactor.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (KFactor != null ? KFactor.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (LFactor != null ? LFactor.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (OdometerReading != null ? OdometerReading.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Tampered.GetHashCode(); hashCode = (hashCode * 397) ^ (InvoiceNumber != null ? InvoiceNumber.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (InspectionInfo != null ? InspectionInfo.GetHashCode() : 0); hashCode = (hashCode * 397) ^ TachographHasAdapter.GetHashCode(); hashCode = (hashCode * 397) ^ (TachographAdapterSerialNumber != null ? TachographAdapterSerialNumber.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TachographAdapterLocation != null ? TachographAdapterLocation.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TachographCableColor != null ? TachographCableColor.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (MinorWorkDetails != null ? MinorWorkDetails.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TachographType != null ? TachographType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (CardSerialNumber != null ? CardSerialNumber.GetHashCode() : 0); hashCode = (hashCode * 397) ^ CalibrationTime.GetHashCode(); hashCode = (hashCode * 397) ^ IsDigital.GetHashCode(); hashCode = (hashCode * 397) ^ NewBattery.GetHashCode(); hashCode = (hashCode * 397) ^ (NewInspectionInfo != null ? NewInspectionInfo.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { int hashFname = Fname == null ? 0 : Fname.GetHashCode(); int hashRemark = Remark == null ? 0 : Remark.GetHashCode(); int hashVehicleType = VehicleType == null ? 0 : VehicleType.GetHashCode(); int hashIcon = Icon == null ? 0 : Icon.GetHashCode(); return(hashFname ^ hashRemark ^ hashVehicleType ^ hashIcon); }
public override int GetHashCode() { unchecked { var hashCode = (VehicleType != null ? VehicleType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (VehicleBrand != null ? VehicleBrand.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (VehicleModel != null ? VehicleModel.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (StateNumber != null ? StateNumber.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = BenchTestCarriedOutAnalogue.GetHashCode(); hashCode = (hashCode * 397) ^ CalibrationCertificateCompleted.GetHashCode(); hashCode = (hashCode * 397) ^ ClockTestCompleted.GetHashCode(); hashCode = (hashCode * 397) ^ (Comments != null ? Comments.GetHashCode() : 0); hashCode = (hashCode * 397) ^ DateOfAudit.GetHashCode(); hashCode = (hashCode * 397) ^ DistanceCheckCarriedOut.GetHashCode(); hashCode = (hashCode * 397) ^ EventsFaultsReadCleared.GetHashCode(); hashCode = (hashCode * 397) ^ (FortyKmTest != null ? FortyKmTest.GetHashCode() : 0); hashCode = (hashCode * 397) ^ FunctionalBenchTestDigital.GetHashCode(); hashCode = (hashCode * 397) ^ KFactor.GetHashCode(); hashCode = (hashCode * 397) ^ LFactor.GetHashCode(); hashCode = (hashCode * 397) ^ Passed.GetHashCode(); hashCode = (hashCode * 397) ^ (QCManagerName != null ? QCManagerName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ ReferenceCableCheckCompleted.GetHashCode(); hashCode = (hashCode * 397) ^ (SixtyKmTest != null ? SixtyKmTest.GetHashCode() : 0); hashCode = (hashCode * 397) ^ SpeedForSpeedCheckCompleted.GetHashCode(); hashCode = (hashCode * 397) ^ SystemSealedInAccordance.GetHashCode(); hashCode = (hashCode * 397) ^ (TachoCentreCity != null ? TachoCentreCity.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TachoCentreLine1 != null ? TachoCentreLine1.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TachoCentreLine2 != null ? TachoCentreLine2.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TachoCentreLine3 != null ? TachoCentreLine3.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TachoCentrePostCode != null ? TachoCentrePostCode.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TachographMake != null ? TachographMake.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TachographModel != null ? TachographModel.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TachographSerialNumber != null ? TachographSerialNumber.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TachoManagerName != null ? TachoManagerName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ TechnicalDataPrintoutsCreated.GetHashCode(); hashCode = (hashCode * 397) ^ (TechnicianName != null ? TechnicianName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ TestChartsCompleted.GetHashCode(); hashCode = (hashCode * 397) ^ ThreeBasicChecksCompleted.GetHashCode(); hashCode = (hashCode * 397) ^ (TypeOfTachographCheck != null ? TypeOfTachographCheck.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (VehicleIdentificationNumber != null ? VehicleIdentificationNumber.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (VehicleMake != null ? VehicleMake.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (VehicleRegistrationNumber != null ? VehicleRegistrationNumber.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (VehicleType != null ? VehicleType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ WFactor.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { const int HashingBase = (int)2166136261; const int HashingMultiplier = 16777619; int hash = HashingBase; hash = (hash * HashingMultiplier) ^ Id.GetHashCode(); hash = (hash * HashingMultiplier) ^ ((DateFrom != null) ? DateFrom.GetHashCode() : 0); hash = (hash * HashingMultiplier) ^ ((DateTo != null) ? DateTo.GetHashCode() : 0); hash = (hash * HashingMultiplier) ^ CustomerName.GetHashCode(); hash = (hash * HashingMultiplier) ^ VehicleType.GetHashCode(); hash = (hash * HashingMultiplier) ^ Address.GetHashCode(); hash = (hash * HashingMultiplier) ^ ProjectNo.GetHashCode(); hash = (hash * HashingMultiplier) ^ Distance.GetHashCode(); hash = (hash * HashingMultiplier) ^ Status.GetHashCode(); hash = (hash * HashingMultiplier) ^ Leader.GetHashCode(); return(hash); } }
public override int GetHashCode() { unchecked { const int HashingBase = (int)2166136261; const int HashingMultiplier = 16777619; int hash = HashingBase; hash = (hash * HashingMultiplier) ^ OrderNo.GetHashCode(); hash = (hash * HashingMultiplier) ^ ((DateFrom != null) ? DateFrom.GetHashCode() : 0); hash = (hash * HashingMultiplier) ^ ((DateTo != null) ? DateTo.GetHashCode() : 0); hash = (hash * HashingMultiplier) ^ CustomerName.GetHashCode(); hash = (hash * HashingMultiplier) ^ VehicleType.GetHashCode(); hash = (hash * HashingMultiplier) ^ Address.GetHashCode(); hash = (hash * HashingMultiplier) ^ ProjectNo.GetHashCode(); hash = (hash * HashingMultiplier) ^ Imei.GetHashCode(); hash = (hash * HashingMultiplier) ^ TrackerName.GetHashCode(); hash = (hash * HashingMultiplier) ^ AddressLatitude.GetHashCode(); hash = (hash * HashingMultiplier) ^ AddressLongitude.GetHashCode(); return(hash); } }