mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-24 22:27:55 -05:00
Well Event: generate_schedule takes an Eclipse case object directly
Replace the integer eclipse_case_id parameter on RimcWellEventTimeline_generateSchedule with a caf::PdmPtrField<RimEclipseCase*>. The execute() method no longer needs to walk the project tree and look up the case by ID — the gRPC layer resolves the object pointer for us. generate_schedule_text passes the Eclipse case object through to the underlying generate_schedule call, matching how add_perf_event / add_well_keyword_event already take a WellPath object rather than an ID.
This commit is contained in:
1 parent
80417b9947
commit
c74ed10157
3 files changed
+10
-26
No files matched your search
@@ -225,7 +225,7 @@ public:
|
||||
QString classKeywordReturnedType() const override;
|
||||
|
||||
private:
|
||||
caf::PdmField<int> m_eclipseCaseId;
|
||||
caf::PdmField<bool> m_includeWelsegs;
|
||||
caf::PdmField<bool> m_includeCompsegs;
|
||||
caf::PdmPtrField<RimEclipseCase*> m_eclipseCase;
|
||||
caf::PdmField<bool> m_includeWelsegs;
|
||||
caf::PdmField<bool> m_includeCompsegs;
|
||||
};
|
||||
Reference in new issue
Block a user