diff options
| author | Roy Ben-Shabat <Roy.mail.net@gmail.com> | 2023-06-01 16:55:46 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy.mail.net@gmail.com> | 2023-06-01 16:55:46 +0300 |
| commit | 730d12529e122ec3c0e8c59dc392fb9b9fdfe7a6 (patch) | |
| tree | 06a2a747d8772459a8873835f7fbda30703ceb5d /Software/Visual_Studio/PPC/Tango.PPC.UI/Models/MachineOverviewModel.cs | |
| parent | 028f7014f3ecdf898870bfd368e32d0641a6b890 (diff) | |
| parent | 218794a0207ccb6e89a9a3c7175180001ae03740 (diff) | |
| download | Tango-730d12529e122ec3c0e8c59dc392fb9b9fdfe7a6.tar.gz Tango-730d12529e122ec3c0e8c59dc392fb9b9fdfe7a6.zip | |
Merge branch 'eureka' of https://twinetfs.visualstudio.com/Tango/_git/Tango into eureka
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Models/MachineOverviewModel.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/Models/MachineOverviewModel.cs | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Models/MachineOverviewModel.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Models/MachineOverviewModel.cs index 579aa57f4..0030d71aa 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Models/MachineOverviewModel.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Models/MachineOverviewModel.cs @@ -198,11 +198,16 @@ namespace Tango.PPC.UI.Models Lubricant.Status = "Active"; Lubricant.DisplayValue = lubricantValue.ToString(); Lubricant.Color = Colors.Green; + return; } - - Lubricant.Status = "NotActive"; - Lubricant.DisplayValue = "None"; - Lubricant.Color = Colors.Gray; + else + { + Lubricant.Status = "NotActive"; + Lubricant.DisplayValue = "None"; + Lubricant.Color = Colors.Gray; + } + + } } } |
