Index: DamEngine/trunk/src/Deltares.DamEngine.Data/General/Segment.cs =================================================================== diff -u -r1977 -r2173 --- DamEngine/trunk/src/Deltares.DamEngine.Data/General/Segment.cs (.../Segment.cs) (revision 1977) +++ DamEngine/trunk/src/Deltares.DamEngine.Data/General/Segment.cs (.../Segment.cs) (revision 2173) @@ -58,7 +58,7 @@ /// /// Type of the segment failure mechanism. /// - public SoilProfile1D GetMostProbableProfile1D(FailureMechanismSystemType? segmentFailureMechanismType) + public SoilProfile1D GetMostProbableProfile1D(SegmentFailureMechanismType? segmentFailureMechanismType) { var mostProbableSoilGeometryProbability = GetMostProbableSoilGeometryProbability(segmentFailureMechanismType); if (mostProbableSoilGeometryProbability != null && mostProbableSoilGeometryProbability.SoilProfileType == SoilProfileType.ProfileType1D) @@ -76,7 +76,7 @@ /// /// Type of the segment failure mechanism. /// - public string GetMostProbableProfile2DStiFileName(FailureMechanismSystemType? segmentFailureMechanismType) + public string GetMostProbableProfile2DStiFileName(SegmentFailureMechanismType? segmentFailureMechanismType) { var mostProbableSoilGeometryProbability = GetMostProbableSoilGeometryProbability(segmentFailureMechanismType); if (mostProbableSoilGeometryProbability != null && mostProbableSoilGeometryProbability.SoilProfileType == SoilProfileType.ProfileTypeStiFile) @@ -94,7 +94,7 @@ /// /// Type of the segment failure mechanism. /// - public SoilGeometryProbability GetMostProbableSoilGeometryProbability(FailureMechanismSystemType? segmentFailureMechanismType) + public SoilGeometryProbability GetMostProbableSoilGeometryProbability(SegmentFailureMechanismType? segmentFailureMechanismType) { IEnumerable spps = from SoilGeometryProbability spp in this.soilGeometryProbabilities where !spp.SegmentFailureMechanismType.HasValue || !segmentFailureMechanismType.HasValue || spp.SegmentFailureMechanismType == segmentFailureMechanismType @@ -117,7 +117,7 @@ StringBuilder sb = new StringBuilder(); sb.Append(this.Name); sb.Append(": "); - foreach (FailureMechanismSystemType type in Enum.GetValues(typeof(FailureMechanismSystemType))) + foreach (SegmentFailureMechanismType type in Enum.GetValues(typeof(SegmentFailureMechanismType))) { sb.Append(type.ToString()); sb.Append(": ");