public override int GetHashCode() { int hash = 1; if (VehicleId.Length != 0) { hash ^= VehicleId.GetHashCode(); } if (SensorId.Length != 0) { hash ^= SensorId.GetHashCode(); } if (Speed != 0) { hash ^= Speed.GetHashCode(); } if (Temperature != 0) { hash ^= Temperature.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (VehicleId.Length != 0) { hash ^= VehicleId.GetHashCode(); } if (CustomerId.Length != 0) { hash ^= CustomerId.GetHashCode(); } if (Registration.Length != 0) { hash ^= Registration.GetHashCode(); } if (MakeModel.Length != 0) { hash ^= MakeModel.GetHashCode(); } if (MaxSpeed != 0) { hash ^= MaxSpeed.GetHashCode(); } if (MaxTemperature != 0) { hash ^= MaxTemperature.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (reservation_ != null) { hash ^= Reservation.GetHashCode(); } if (PresentedId.Length != 0) { hash ^= PresentedId.GetHashCode(); } if (VehicleId.Length != 0) { hash ^= VehicleId.GetHashCode(); } if (RequestKeepGuarantee != false) { hash ^= RequestKeepGuarantee.GetHashCode(); } return(hash); }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hashCode = 41; if (VehicleId != null) { hashCode = hashCode * 59 + VehicleId.GetHashCode(); } if (Distance != null) { hashCode = hashCode * 59 + Distance.GetHashCode(); } if (TransportTime != null) { hashCode = hashCode * 59 + TransportTime.GetHashCode(); } if (CompletionTime != null) { hashCode = hashCode * 59 + CompletionTime.GetHashCode(); } if (WaitingTime != null) { hashCode = hashCode * 59 + WaitingTime.GetHashCode(); } if (Activities != null) { hashCode = hashCode * 59 + Activities.GetHashCode(); } if (Points != null) { hashCode = hashCode * 59 + Points.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { return(VehicleId.GetHashCode()); }