diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-06-01 15:48:54 +0300 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-06-01 15:48:54 +0300 |
| commit | 218794a0207ccb6e89a9a3c7175180001ae03740 (patch) | |
| tree | 7c6e9bf38dc959f890dbb6f9a985d76b94fc4164 /Software/Visual_Studio/PPC/Tango.PPC.UI/Models/MachineOverviewModel.cs | |
| parent | a0640910b61e0f38ede0c70e92997bc6d2717282 (diff) | |
| download | Tango-218794a0207ccb6e89a9a3c7175180001ae03740.tar.gz Tango-218794a0207ccb6e89a9a3c7175180001ae03740.zip | |
PPC. GUI bugs,.
Related Work Items: #8497, #8509, #8512
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; + } + + } } } |
