aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2019-12-13 16:49:52 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2019-12-13 16:49:52 +0200
commitf73b77c8619d0fb49af93e4ac5c73dd13d5d1b1a (patch)
tree9757a3ead1159dcdb85878c8b7122bf914ae9a39 /Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs
parent52e3e8926bba031841a815956d3577917d9cd30c (diff)
downloadTango-f73b77c8619d0fb49af93e4ac5c73dd13d5d1b1a.tar.gz
Tango-f73b77c8619d0fb49af93e4ac5c73dd13d5d1b1a.zip
Implemented site catalogs !
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/PowerUpViewVM.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/PowerUpViewVM.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/PowerUpViewVM.cs
index 22e489ffa..413b8453d 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/PowerUpViewVM.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/PowerUpViewVM.cs
@@ -5,6 +5,8 @@ using System.Text;
using System.Threading.Tasks;
using System.Timers;
using Tango.BL.Entities;
+using Tango.PPC.Common;
+using Tango.Settings;
using Tango.SharedUI;
namespace Tango.PPC.UI.Dialogs
@@ -83,7 +85,7 @@ namespace Tango.PPC.UI.Dialogs
public PowerUpViewVM()
{
- RemainingSeconds = 20;
+ RemainingSeconds = (int)SettingsManager.Default.GetOrCreate<PPCSettings>().PowerUpScreenTimeout.TotalSeconds;
CanClose = false;
IsMinimalTemperature = true;
IsTimeoutEnabled = true;