private bool Equals(PipingSoilLayer other) { return(string.Equals(materialName, other.materialName) && Top.Equals(other.Top) && IsAquifer == other.IsAquifer && BelowPhreaticLevel.Equals(other.BelowPhreaticLevel) && DiameterD70.Equals(other.DiameterD70) && Permeability.Equals(other.Permeability) && Color.ToArgb().Equals(other.Color.ToArgb())); }
private bool Equals(MacroStabilityInwardsSoilLayerData other) { return(string.Equals(materialName, other.materialName, StringComparison.InvariantCulture) && IsAquifer == other.IsAquifer && Color.ToArgb().Equals(other.Color.ToArgb()) && UsePop == other.UsePop && ShearStrengthModel == other.ShearStrengthModel && AbovePhreaticLevel.Equals(other.AbovePhreaticLevel) && BelowPhreaticLevel.Equals(other.BelowPhreaticLevel) && Cohesion.Equals(other.Cohesion) && FrictionAngle.Equals(other.FrictionAngle) && ShearStrengthRatio.Equals(other.ShearStrengthRatio) && StrengthIncreaseExponent.Equals(other.StrengthIncreaseExponent) && Pop.Equals(other.Pop)); }