aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Modules/Tango.FSE.Statistics/Models/StopModel.cs
diff options
context:
space:
mode:
authorRoy <Roy.mail.net@gmail.com>2022-11-19 14:43:46 +0200
committerRoy <Roy.mail.net@gmail.com>2022-11-19 14:43:46 +0200
commit4cd4807ca5a7490c8d7edac496a19d618bf9197e (patch)
treee1f6c1565c242584f4cd8f62160ce2777779881a /Software/Visual_Studio/FSE/Modules/Tango.FSE.Statistics/Models/StopModel.cs
parentaa2170bb476e627ae3aaccb8f5835b1b9331c82a (diff)
downloadTango-4cd4807ca5a7490c8d7edac496a19d618bf9197e.tar.gz
Tango-4cd4807ca5a7490c8d7edac496a19d618bf9197e.zip
Statistics Fine Tuning Adaptation.
Diffstat (limited to 'Software/Visual_Studio/FSE/Modules/Tango.FSE.Statistics/Models/StopModel.cs')
-rw-r--r--Software/Visual_Studio/FSE/Modules/Tango.FSE.Statistics/Models/StopModel.cs41
1 files changed, 41 insertions, 0 deletions
diff --git a/Software/Visual_Studio/FSE/Modules/Tango.FSE.Statistics/Models/StopModel.cs b/Software/Visual_Studio/FSE/Modules/Tango.FSE.Statistics/Models/StopModel.cs
index 487a75970..79331b222 100644
--- a/Software/Visual_Studio/FSE/Modules/Tango.FSE.Statistics/Models/StopModel.cs
+++ b/Software/Visual_Studio/FSE/Modules/Tango.FSE.Statistics/Models/StopModel.cs
@@ -7,6 +7,7 @@ using System.Windows.Media;
using Tango.BL.DTO;
using Tango.BL.Entities;
using Tango.BL.Enumerations;
+using Tango.BL.FineTuning;
using Tango.Core.Commands;
using Tango.PPC.Shared.Statistics;
@@ -26,6 +27,16 @@ namespace Tango.FSE.Statistics.Models
public RelayCommand<StopModel> CopyCommand { get; set; }
public JobRunExtendedInfo ExtendedInfo { get; set; }
public bool IsAdvancedMode { get; set; }
+ public VectorFineTuningRunModel FineTuningModel { get; set; }
+
+ public bool IsFineTuning
+ {
+ get { return FineTuningModel != null; }
+ }
+
+ public bool IsFineTuningApproved { get; set; }
+
+ public bool IsFineTuningSelected { get; set; }
public String Input
{
@@ -148,5 +159,35 @@ namespace Tango.FSE.Statistics.Models
{
get { return JobRun.NumberOfUnits > 1 ? $"{JobRun.JobLogicalLength} x{JobRun.NumberOfUnits}" : JobRun.JobLogicalLength.ToString(); }
}
+
+ public String FineTuningMeasured
+ {
+ get
+ {
+ if (FineTuningModel == null) return "";
+
+ return $"{FineTuningModel.FineTuningMeasuredL}, {FineTuningModel.FineTuningMeasuredA}, {FineTuningModel.FineTuningMeasuredB}";
+ }
+ }
+
+ public String FineTuningSuggested
+ {
+ get
+ {
+ if (FineTuningModel == null) return "";
+
+ return $"{FineTuningModel.FineTuningSuggestionL.ToString("0.00")}, {FineTuningModel.FineTuningSuggestionA.ToString("0.00")}, {FineTuningModel.FineTuningSuggestionB.ToString("0.00")}";
+ }
+ }
+
+ public String FineTuningTarget
+ {
+ get
+ {
+ if (FineTuningModel == null) return "";
+
+ return $"{FineTuningModel.FineTuningTargetL.ToString("0.00")}, {FineTuningModel.FineTuningTargetA.ToString("0.00")}, {FineTuningModel.FineTuningTargetB.ToString("0.00")}";
+ }
+ }
}
}