private static GeologyInterval GenerateGeologyInterval(Random random, MeasuredDepthCoord mdTop, MeasuredDepthCoord mdBottom, string uidSuffix) { return(new GeologyInterval { Uid = GeologyIntervalUidPrefix + uidSuffix, TypeLithology = LithologySource.cuttings, MDTop = mdTop, MDBottom = mdBottom, DateTime = new Timestamp(DateTimeOffset.UtcNow), TvdTop = new WellVerticalDepthCoord(mdTop.Value * .805, TvdUom), TvdBase = new WellVerticalDepthCoord(mdBottom.Value * .805, TvdUom), RopAverage = new VelocityMeasure(random.NextDouble(), VelocityUom.fth), RopMin = new VelocityMeasure(random.NextDouble(), VelocityUom.fth), RopMax = new VelocityMeasure(random.NextDouble(), VelocityUom.fth), WobAverage = new ForceMeasure(random.NextDouble(), ForceUom.klbf), TorqueAverage = new MomentOfForceMeasure(random.NextDouble(), MomentOfForceUom.lbfft), RpmAverage = new AnglePerTimeMeasure(random.NextDouble(), AnglePerTimeUom.rpm), WeightMudAverage = new DensityMeasure(10.5, DensityUom.lbmft3), EcdTdAverage = new DensityMeasure(10.6, DensityUom.lbmft3), DxcAverage = random.NextDouble() }); }