aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Statistics
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2024-11-18 12:18:06 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2024-11-18 12:18:06 +0200
commitd2349b3cb6c3a067f58944e1826598a25c0ce322 (patch)
tree4721a8878b754e64a22f303c7449954770e634f1 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Statistics
parent2212c3579b4112251dea031223658f17bad59b84 (diff)
downloadTango-d2349b3cb6c3a067f58944e1826598a25c0ce322.tar.gz
Tango-d2349b3cb6c3a067f58944e1826598a25c0ce322.zip
Fixed stats display on ms as well as fse.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Statistics')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Statistics/Models/JobRunModel.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Statistics/Models/JobRunModel.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Statistics/Models/JobRunModel.cs
index 184135c40..38005f2bc 100644
--- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Statistics/Models/JobRunModel.cs
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Statistics/Models/JobRunModel.cs
@@ -60,9 +60,17 @@ namespace Tango.MachineStudio.Statistics.Models
}
}
+ public double LogicalLengthMeters
+ {
+ get
+ {
+ return (IsEureka ? JobRun.JobLogicalLength * 4 : JobRun.JobLogicalLength);
+ }
+ }
+
public double ActualLength
{
- get { return JobRun.JobLogicalLength; }
+ get { return LogicalLengthMeters * JobRun.NumberOfUnits; }
}
public void Init()