summaryrefslogtreecommitdiff
path: root/src/domain/DrillSchedule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/domain/DrillSchedule.cs')
-rw-r--r--src/domain/DrillSchedule.cs23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/domain/DrillSchedule.cs b/src/domain/DrillSchedule.cs
index 89cd06f..a59dff0 100644
--- a/src/domain/DrillSchedule.cs
+++ b/src/domain/DrillSchedule.cs
@@ -5,7 +5,7 @@ namespace domain
using System.Linq;
using utility;
- public class DrillSchedule : IVisitable<IWell>
+ public class ProductionSchedule : IVisitable<IWell>
{
ICollection<IWell> wells = new List<IWell>();
@@ -47,25 +47,4 @@ namespace domain
});
}
}
- public class EstimatedNetProductionFor<T> : IValueReturningVisitor<IWell, IQuantity> where T : ICommodity, new()
- {
- Month month;
- IQuantity result;
-
- public EstimatedNetProductionFor(Month month)
- {
- this.month = month;
- result = new Quantity(0, new BOED());
- }
-
- public void Visit(IWell well)
- {
- result = result.Plus(well.NetProductionFor<T>(month));
- }
-
- public IQuantity Result()
- {
- return this.result;
- }
- }
}