diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2024-11-18 12:18:06 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2024-11-18 12:18:06 +0200 |
| commit | d2349b3cb6c3a067f58944e1826598a25c0ce322 (patch) | |
| tree | 4721a8878b754e64a22f303c7449954770e634f1 /Software/Visual_Studio/MachineStudio/Modules | |
| parent | 2212c3579b4112251dea031223658f17bad59b84 (diff) | |
| download | Tango-d2349b3cb6c3a067f58944e1826598a25c0ce322.tar.gz Tango-d2349b3cb6c3a067f58944e1826598a25c0ce322.zip | |
Fixed stats display on ms as well as fse.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Statistics/Models/JobRunModel.cs | 10 |
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() |
