public override int GetHashCode() { return(base.GetHashCode() ^ IsSuccess.GetHashCode() ^ State.GetHashCode() ^ Manufacturer.GetHashCode() ^ ModelName.GetHashCode() ^ SerialNumber.GetHashCode() ^ SignalQuality.GetHashCode() ^ Imsi.GetHashCode() ^ Imei.GetHashCode() ^ OperatorName.GetHashCode()); }
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); } }
public override int GetHashCode() { unchecked { const int HashingBase = (int)2166136261; const int HashingMultiplier = 16777619; int hash = HashingBase; hash = (hash * HashingMultiplier) ^ GpsName.GetHashCode(); hash = (hash * HashingMultiplier) ^ GpsStatus.GetHashCode(); hash = (hash * HashingMultiplier) ^ Imei.GetHashCode(); hash = (hash * HashingMultiplier) ^ LastDate.GetHashCode(); hash = (hash * HashingMultiplier) ^ Battery.GetHashCode(); hash = (hash * HashingMultiplier) ^ ElapsedTime.GetHashCode(); hash = (hash * HashingMultiplier) ^ Distance.GetHashCode(); hash = (hash * HashingMultiplier) ^ Imei.GetHashCode(); hash = (hash * HashingMultiplier) ^ GoogleDistance.GetHashCode(); hash = (hash * HashingMultiplier) ^ LastLatitude.GetHashCode(); hash = (hash * HashingMultiplier) ^ LastLongitude.GetHashCode(); hash = (hash * HashingMultiplier) ^ ((LatLngList != null) ? LatLngList.GetHashCode() : 0); return(hash); } }
public override int GetHashCode() => base.GetHashCode() ^ (Imei != null ? Imei.GetHashCode() : 1955087533) ^ (Data != null ? Data.GetHashCode() : 1955087533);