예제 #1
0
        public override int GetHashCode()
        {
            var hashCode = 2069641964;

            hashCode = hashCode * -1521134295 + MeasurementTypeId.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Name);

            return(hashCode);
        }
예제 #2
0
        public override int GetHashCode()
        {
            var hashCode = -510074534;

            hashCode = hashCode * -1521134295 + MeasurementId.GetHashCode();
            hashCode = hashCode * -1521134295 + StationId.GetHashCode();
            hashCode = hashCode * -1521134295 + MeasurementTypeId.GetHashCode();
            hashCode = hashCode * -1521134295 + UnitId.GetHashCode();
            hashCode = hashCode * -1521134295 + Value.GetHashCode();
            hashCode = hashCode * -1521134295 + TimesStamp.GetHashCode();
            return(hashCode);
        }