-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- improving how PlantSimulate deals with "junctions" where process mo…
…del and disturbance meet. - fixed some faililng unit tests related to PlantSimulator - sorting and renaming unit tests and moving them into folders - moving some 'helper" methods out ot PlantSimulator and into PlantSimulatorHelper class - new version of PlantSimulatorInitializer that uses DisturbanceCalculator has been created, but this is for now commented out (todo)
- Loading branch information
Steinar Elgsæter
committed
Dec 19, 2024
1 parent
2ec1aa8
commit da30b41
Showing
40 changed files
with
862 additions
and
838 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace TimeSeriesAnalysis.Dynamic | ||
{ | ||
/// <summary> | ||
/// Class that holds comments added to models. | ||
/// </summary> | ||
public class Comment | ||
{ | ||
/// <summary> | ||
/// Author of comment. | ||
/// </summary> | ||
public string author; | ||
/// <summary> | ||
/// Date of comment. | ||
/// </summary> | ||
public DateTime date; | ||
/// <summary> | ||
/// Comment string | ||
/// </summary> | ||
public string comment; | ||
/// <summary> | ||
/// Plant score, intended to hold manully set values indicating specific statuses of the model. | ||
/// </summary> | ||
public double plantScore; | ||
|
||
/// <summary> | ||
/// Comment constructor. | ||
/// </summary> | ||
/// <param name="author"></param> | ||
/// <param name="date"></param> | ||
/// <param name="comment"></param> | ||
/// <param name="plantScore"></param> | ||
public Comment(string author, DateTime date, string comment, double plantScore = 0) | ||
{ | ||
this.author = author; | ||
this.date = date; | ||
this.comment = comment; | ||
this.plantScore = plantScore; | ||
} | ||
} | ||
} |
Oops, something went wrong.