private bool Equals(StabilityPointStructure other)
 {
     return(StorageStructureArea.Equals(other.StorageStructureArea) &&
            AllowedLevelIncreaseStorage.Equals(other.AllowedLevelIncreaseStorage) &&
            WidthFlowApertures.Equals(other.WidthFlowApertures) &&
            InsideWaterLevel.Equals(other.InsideWaterLevel) &&
            ThresholdHeightOpenWeir.Equals(other.ThresholdHeightOpenWeir) &&
            CriticalOvertoppingDischarge.Equals(other.CriticalOvertoppingDischarge) &&
            FlowWidthAtBottomProtection.Equals(other.FlowWidthAtBottomProtection) &&
            ConstructiveStrengthLinearLoadModel.Equals(other.ConstructiveStrengthLinearLoadModel) &&
            ConstructiveStrengthQuadraticLoadModel.Equals(other.ConstructiveStrengthQuadraticLoadModel) &&
            BankWidth.Equals(other.BankWidth) &&
            InsideWaterLevelFailureConstruction.Equals(other.InsideWaterLevelFailureConstruction) &&
            EvaluationLevel.Equals(other.EvaluationLevel) &&
            LevelCrestStructure.Equals(other.LevelCrestStructure) &&
            VerticalDistance.Equals(other.VerticalDistance) &&
            FailureProbabilityRepairClosure.Equals(other.FailureProbabilityRepairClosure) &&
            FailureCollisionEnergy.Equals(other.FailureCollisionEnergy) &&
            ShipMass.Equals(other.ShipMass) &&
            ShipVelocity.Equals(other.ShipVelocity) &&
            LevellingCount.Equals(other.LevellingCount) &&
            ProbabilityCollisionSecondaryStructure.Equals(other.ProbabilityCollisionSecondaryStructure) &&
            FlowVelocityStructureClosable.Equals(other.FlowVelocityStructureClosable) &&
            StabilityLinearLoadModel.Equals(other.StabilityLinearLoadModel) &&
            StabilityQuadraticLoadModel.Equals(other.StabilityQuadraticLoadModel) &&
            AreaFlowApertures.Equals(other.AreaFlowApertures) &&
            InflowModelType.Equals(other.InflowModelType));
 }
Exemple #2
0
 private bool Equals(HeightStructure other)
 {
     return(AllowedLevelIncreaseStorage.Equals(other.AllowedLevelIncreaseStorage) &&
            CriticalOvertoppingDischarge.Equals(other.CriticalOvertoppingDischarge) &&
            FailureProbabilityStructureWithErosion.Equals(other.FailureProbabilityStructureWithErosion) &&
            FlowWidthAtBottomProtection.Equals(other.FlowWidthAtBottomProtection) &&
            LevelCrestStructure.Equals(other.LevelCrestStructure) &&
            StorageStructureArea.Equals(other.StorageStructureArea) &&
            WidthFlowApertures.Equals(other.WidthFlowApertures));
 }