public override int GetHashCode()
        {
            unchecked
            {
                int hashCode = base.GetHashCode();
                hashCode = (hashCode * 397) ^ StorageStructureArea.GetHashCode();
                hashCode = (hashCode * 397) ^ AllowedLevelIncreaseStorage.GetHashCode();
                hashCode = (hashCode * 397) ^ WidthFlowApertures.GetHashCode();
                hashCode = (hashCode * 397) ^ InsideWaterLevel.GetHashCode();
                hashCode = (hashCode * 397) ^ ThresholdHeightOpenWeir.GetHashCode();
                hashCode = (hashCode * 397) ^ CriticalOvertoppingDischarge.GetHashCode();
                hashCode = (hashCode * 397) ^ FlowWidthAtBottomProtection.GetHashCode();
                hashCode = (hashCode * 397) ^ ConstructiveStrengthLinearLoadModel.GetHashCode();
                hashCode = (hashCode * 397) ^ ConstructiveStrengthQuadraticLoadModel.GetHashCode();
                hashCode = (hashCode * 397) ^ BankWidth.GetHashCode();
                hashCode = (hashCode * 397) ^ InsideWaterLevelFailureConstruction.GetHashCode();
                hashCode = (hashCode * 397) ^ LevelCrestStructure.GetHashCode();
                hashCode = (hashCode * 397) ^ FailureCollisionEnergy.GetHashCode();
                hashCode = (hashCode * 397) ^ ShipMass.GetHashCode();
                hashCode = (hashCode * 397) ^ ShipVelocity.GetHashCode();
                hashCode = (hashCode * 397) ^ FlowVelocityStructureClosable.GetHashCode();
                hashCode = (hashCode * 397) ^ StabilityLinearLoadModel.GetHashCode();
                hashCode = (hashCode * 397) ^ StabilityQuadraticLoadModel.GetHashCode();
                hashCode = (hashCode * 397) ^ AreaFlowApertures.GetHashCode();

                return(hashCode);
            }
        }
Exemple #2
0
        public override int GetHashCode()
        {
            unchecked
            {
                int hashCode = base.GetHashCode();
                hashCode = (hashCode * 397) ^ AllowedLevelIncreaseStorage.GetHashCode();
                hashCode = (hashCode * 397) ^ AreaFlowApertures.GetHashCode();
                hashCode = (hashCode * 397) ^ CriticalOvertoppingDischarge.GetHashCode();
                hashCode = (hashCode * 397) ^ FlowWidthAtBottomProtection.GetHashCode();
                hashCode = (hashCode * 397) ^ InsideWaterLevel.GetHashCode();
                hashCode = (hashCode * 397) ^ LevelCrestStructureNotClosing.GetHashCode();
                hashCode = (hashCode * 397) ^ StorageStructureArea.GetHashCode();
                hashCode = (hashCode * 397) ^ ThresholdHeightOpenWeir.GetHashCode();
                hashCode = (hashCode * 397) ^ WidthFlowApertures.GetHashCode();

                return(hashCode);
            }
        }