-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #2536 loading project from snapshot observed data
- Loading branch information
Showing
13 changed files
with
70 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using OSPSuite.Core.Chart; | ||
using OSPSuite.Core.Domain; | ||
using OSPSuite.Core.Domain.Data; | ||
using PKSim.Core.Model; | ||
|
||
namespace PKSim.Core.Services | ||
{ | ||
public interface IChartTask | ||
{ | ||
/// <summary> | ||
/// updates all observed data defined in the simulation to the underlying charts of this simulation | ||
/// </summary> | ||
/// <param name="simulation">Simulation used to retrieve the charts to update</param> | ||
/// <param name="project">Optional project. If undefined, it will be retrieved from the project retriever</param> | ||
void UpdateObservedDataInChartsFor(Simulation simulation, IProject project = null); | ||
|
||
/// <summary> | ||
/// adds all observed data defined in the simulation to<paramref name="chartWithObservedData"/> | ||
/// </summary> | ||
/// <param name="simulation">Simulation used to retrieve the charts to update</param>>> | ||
/// <param name="chartWithObservedData">Chart where observed data should be updated</param> | ||
/// <param name="project">Optional project. If undefined, it will be retrieved from the project retriever</param> | ||
void UpdateObservedDataInChartFor(Simulation simulation, ChartWithObservedData chartWithObservedData, IProject project = null); | ||
|
||
/// <summary> | ||
/// Returns if the column should be displayed or not | ||
/// </summary> | ||
bool IsColumnVisibleInDataBrowser(DataColumn dataColumn); | ||
|
||
/// <summary> | ||
/// Sets origin data for the <paramref name="chart" /> to indicate project name , <paramref name="simulationName" /> and | ||
/// current date/time | ||
/// </summary> | ||
void SetOriginTextFor(string simulationName, IChart chart); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters