Esempio n. 1
0
 private static void Default(AdvancedSettings _settings)
 {
   Log.Info("MD8800.AdvancedSettings.Default(): called");
   _settings.BlankDisplayWithVideo = false;
   _settings.EnableDisplayAction = false;
   _settings.EnableDisplayActionTime = 5;
   _settings.BlankDisplayWhenIdle = false;
   _settings.BlankIdleTime = 30;
   Log.Info("MD8800.AdvancedSettings.Default(): completed");
 }
Esempio n. 2
0
 public bool OpenDisplay(AdvancedSettings UseSettings)
 {
   Log.Info("IOWarrior.IOWDisplay.OpenDisplay() - called");
   AdvSettings = UseSettings;
   MiniDisplayHelper.InitEQ(ref EQSettings);
   MiniDisplayHelper.InitDisplayControl(ref DisplaySettings);
   ParseAdvancedSettings();
   try
   {
     using (Profile.Settings settings = new Profile.MPSettings())
     {
       _AudioUseASIO = settings.GetValueAsBool("audioplayer", "asio", false);
     }
     IOW_Handle = IOWLib_IowKitOpenDevice();
     if ((IOW_Handle == -1) | (IOW_Handle == 0))
     {
       Log.Info("IOWarrior.IOWDisplay.OpenDisplay() - IOWarrior Device not found");
       _isOpen = false;
     }
     else
     {
       Log.Info("IOWarrior.IOWDisplay.OpenDisplay() - IOWarrior Device found");
       IOW_StartDisplay();
       IOW_ClearDisplay();
       IOW_Surface = new Bitmap(Settings.Instance.GraphicWidth, Settings.Instance.GraphicHeight);
       IOW_Graphics = Graphics.FromImage(IOW_Surface);
       _isOpen = true;
       _isClosing = false;
       Log.Info("IOWarrior.IOWDisplay.OpenDisplay() - Display Opened");
       stopDisplayUpdateThread = false;
       _displayThread = new Thread(new ThreadStart(DisplayUpdate));
       _displayThread.IsBackground = true;
       _displayThread.Priority = ThreadPriority.BelowNormal;
       _displayThread.Name = "DisplayUpdateThread";
       _displayThread.Start();
       if (_displayThread.IsAlive)
       {
         Log.Info("IOWarrior.IOWDisplay.DisplayUpdate() Thread Started");
       }
       else
       {
         Log.Info("IOWarrior.IOWDisplay.DisplayUpdate() FAILED TO START");
         CloseDisplay();
       }
     }
   }
   catch (Exception exception)
   {
     Log.Info("IOWarrior.IOWDisplay.OpenDisplay() - Display not opened - caught exception {0}",
              new object[] {exception.ToString()});
     Log.Error(exception);
     _isOpen = false;
   }
   Log.Info("IOWarrior.IOWDisplay.OpenDisplay() - Completed");
   return _isOpen;
 }
Esempio n. 3
0
 private void LoadAdvancedSettings()
 {
   this.AdvSettings = AdvancedSettings.Load();
   FileInfo info = new FileInfo(Config.GetFile(Config.Dir.Config, "MiniDisplay_MatrixGX.xml"));
   this.SettingsLastModTime = info.LastWriteTime;
   this.LastSettingsCheck = DateTime.Now;
 }
Esempio n. 4
0
 private static void Default(AdvancedSettings _settings)
 {
   _settings.ProgressDisplay = false;
   _settings.VolumeDisplay = false;
   _settings.UseInvertedDisplay = false;
   _settings.UseIcons = false;
   _settings.UseDiskIconForAllMedia = false;
   _settings.BacklightRED = 0xff;
   _settings.BacklightGREEN = 0xff;
   _settings.BacklightBLUE = 0xff;
   _settings.EqDisplay = false;
   _settings.NormalEQ = true;
   _settings.StereoEQ = false;
   _settings.VUmeter = false;
   _settings.VUmeter2 = false;
   _settings.VUindicators = false;
   _settings.RestrictEQ = false;
   _settings.EqRate = 10;
   _settings.DelayEQ = false;
   _settings.DelayEqTime = 10;
   _settings.SmoothEQ = false;
   _settings.BlankDisplayWithVideo = false;
   _settings.EnableDisplayAction = false;
   _settings.EnableDisplayActionTime = 5;
   _settings.EQTitleDisplay = false;
   _settings.EQTitleDisplayTime = 10;
   _settings.EQTitleShowTime = 2;
   _settings.BlankDisplayWhenIdle = false;
   _settings.BlankIdleTime = 30;
 }
Esempio n. 5
0
 public static AdvancedSettings Load()
 {
   AdvancedSettings settings;
   Log.Info("CFontz.AdvancedSettings.Load(): started");
   if (File.Exists(Config.GetFile(Config.Dir.Config, "MiniDisplay_CFontz.xml")))
   {
     Log.Info("CFontz.AdvancedSettings.Load(): Loading settings from XML file");
     XmlSerializer serializer = new XmlSerializer(typeof (AdvancedSettings));
     XmlTextReader xmlReader = new XmlTextReader(Config.GetFile(Config.Dir.Config, "MiniDisplay_CFontz.xml"));
     settings = (AdvancedSettings)serializer.Deserialize(xmlReader);
     xmlReader.Close();
   }
   else
   {
     Log.Info("CFontz.AdvancedSettings.Load(): Loading settings from defaults");
     settings = new AdvancedSettings();
     Default(settings);
   }
   Log.Info("CFontz.AdvancedSettings.Load(): completed");
   return settings;
 }
Esempio n. 6
0
 private static void Default(AdvancedSettings _settings)
 {
   _settings.DeviceType = "AUTOMATIC";
   _settings.ManageMHC = false;
   _settings.DisableRemote = true;
   _settings.DisableRepeat = false;
   _settings.RepeatDelay = 0;
   _settings.UseFans = false;
   _settings.Fan1 = 0;
   _settings.Fan2 = 0;
   _settings.Fan1Auto = false;
   _settings.Fan1_SetOff = 9;
   _settings.Fan1_SetOn = 0x27;
   _settings.Fan1_AutoMS = false;
   _settings.Fan2Auto = false;
   _settings.Fan2_SetOff = 9;
   _settings.Fan2_SetOn = 0x27;
   _settings.Fan2_AutoMS = false;
   _settings.EqDisplay = false;
   _settings.NormalEQ = true;
   _settings.StereoEQ = false;
   _settings.VUmeter = false;
   _settings.VUmeter2 = false;
   _settings.VUindicators = false;
   _settings.RestrictEQ = false;
   _settings.EqRate = 10;
   _settings.DelayEQ = false;
   _settings.DelayEqTime = 10;
   _settings.SmoothEQ = false;
   _settings.BlankDisplayWithVideo = false;
   _settings.EnableDisplayAction = false;
   _settings.EnableDisplayActionTime = 5;
   _settings.EQTitleDisplay = false;
   _settings.EQTitleDisplayTime = 10;
   _settings.EQTitleShowTime = 2;
   _settings.BlankDisplayWhenIdle = false;
   _settings.BlankIdleTime = 30;
 }
Esempio n. 7
0
 private void LoadAdvancedSettings()
 {
   AdvSettings = AdvancedSettings.Load();
   IdleMessage = (Settings.Instance.IdleMessage != string.Empty) ? Settings.Instance.IdleMessage : "MediaPortal";
   _DelayStartup = AdvSettings.DelayStartup;
   _EnsureManagerStartup = AdvSettings.EnsureManagerStartup;
   _ForceManagerRestart = AdvSettings.ForceManagerRestart;
   _ForceManagerReload = AdvSettings.ForceManagerReload;
   _RestartFrontviewOnExit = AdvSettings.RestartFrontviewOnExit;
   _LeaveFrontviewActive = AdvSettings.LeaveFrontviewActive;
   _ForceKeyBoardMode = AdvSettings.ForceKeyBoardMode;
   _ForceDisplay = AdvSettings.DisplayType;
   if (String.IsNullOrEmpty(_ForceDisplay))
   {
     _ForceDisplay = "AutoDetect";
   }
   DisplayOptions.VolumeDisplay = AdvSettings.VolumeDisplay;
   DisplayOptions.ProgressDisplay = AdvSettings.ProgressDisplay;
   DisplayOptions.DiskIcon = AdvSettings.DiskIcon;
   DisplayOptions.DiskMediaStatus = AdvSettings.DiskMediaStatus;
   DisplayOptions.DiskMonitor = AdvSettings.DeviceMonitor;
   DisplayOptions.UseCustomFont = AdvSettings.UseCustomFont;
   DisplayOptions.UseLargeIcons = AdvSettings.UseLargeIcons;
   DisplayOptions.UseCustomIcons = AdvSettings.UseCustomIcons;
   DisplayOptions.UseInvertedIcons = AdvSettings.UseInvertedIcons;
   EQSettings.UseEqDisplay = AdvSettings.EqDisplay;
   EQSettings.UseNormalEq = AdvSettings.NormalEQ;
   EQSettings.UseStereoEq = AdvSettings.StereoEQ;
   EQSettings.UseVUmeter = AdvSettings.VUmeter;
   EQSettings.UseVUmeter2 = AdvSettings.VUmeter2;
   EQSettings._useVUindicators = AdvSettings.VUindicators;
   EQSettings._useEqMode = AdvSettings.EqMode;
   EQSettings.RestrictEQ = AdvSettings.RestrictEQ;
   EQSettings._EQ_Restrict_FPS = AdvSettings.EqRate;
   EQSettings.DelayEQ = AdvSettings.DelayEQ;
   EQSettings._DelayEQTime = AdvSettings.DelayEqTime;
   EQSettings.SmoothEQ = AdvSettings.SmoothEQ;
   EQSettings.EQTitleDisplay = AdvSettings.EQTitleDisplay;
   EQSettings._EQTitleShowTime = AdvSettings.EQTitleShowTime;
   EQSettings._EQTitleDisplayTime = AdvSettings.EQTitleDisplayTime;
   EQSettings._EqUpdateDelay = (EQSettings._EQ_Restrict_FPS == 0)
                                 ? 0
                                 : ((0x989680 / EQSettings._EQ_Restrict_FPS) -
                                    (0xf4240 / EQSettings._EQ_Restrict_FPS));
   _VFD_UseV3DLL = AdvSettings.VFD_UseV3DLL;
   _MonitorPower = AdvSettings.MonitorPowerState;
   DisplaySettings.BlankDisplayWithVideo = AdvSettings.BlankDisplayWithVideo;
   DisplaySettings.EnableDisplayAction = AdvSettings.EnableDisplayAction;
   DisplaySettings.DisplayActionTime = AdvSettings.EnableDisplayActionTime;
   DisplaySettings.BlankDisplayWhenIdle = AdvSettings.BlankDisplayWhenIdle;
   DisplaySettings.BlankIdleDelay = AdvSettings.BlankIdleTime;
   DisplaySettings._BlankIdleTimeout = DisplaySettings.BlankIdleDelay * 0x989680;
   DisplaySettings._Shutdown1 = Settings.Instance.Shutdown1;
   DisplaySettings._Shutdown2 = Settings.Instance.Shutdown2;
   DisplaySettings._DisplayControlTimeout = DisplaySettings.DisplayActionTime * 0x989680;
   var info = new FileInfo(Config.GetFile(Config.Dir.Config, "MiniDisplay_imonlcdg.xml"));
   SettingsLastModTime = info.LastWriteTime;
   LastSettingsCheck = DateTime.Now;
 }
Esempio n. 8
0
 private static void Default(AdvancedSettings _settings)
 {
   Log.Info("LCDHypeWrapper.AdvancedSettings.Default(): called");
   _settings.EqDisplay = false;
   _settings.NormalEQ = false;
   _settings.StereoEQ = false;
   _settings.VUmeter = true;
   _settings.VUindicators = false;
   _settings.RestrictEQ = false;
   _settings.EqRate = 10;
   _settings.DelayEQ = true;
   _settings.DelayEqTime = 10;
   _settings.SmoothEQ = false;
   _settings.BlankDisplayWithVideo = false;
   _settings.EnableDisplayAction = false;
   _settings.EnableDisplayActionTime = 5;
   _settings.EQTitleDisplay = false;
   _settings.EQTitleDisplayTime = 10;
   _settings.EQTitleShowTime = 2;
   _settings.BlankDisplayWhenIdle = false;
   _settings.BlankIdleTime = 30;
   Log.Info("LCDHypeWrapper.AdvancedSettings.Default(): completed");
 }
Esempio n. 9
0
 public static void Save(AdvancedSettings ToSave)
 {
     var serializer = new XmlSerializer(typeof(AdvancedSettings));
     var writer = new XmlTextWriter(Config.GetFile(Config.Dir.Config, m_Filename),
                                    Encoding.UTF8) { Formatting = Formatting.Indented, Indentation = 2 };
     serializer.Serialize(writer, ToSave);
     writer.Close();
 }
Esempio n. 10
0
 private static void Default(AdvancedSettings _settings)
 {
   Log.Info("GenericSerial.AdvancedSettings.Default(): called");
   _settings.CMD_DisplayInit = string.Empty;
   _settings.CMD_ClearDisplay = string.Empty;
   _settings.CMD_CursorLeft = string.Empty;
   _settings.CMD_CursorRight = string.Empty;
   _settings.CMD_CursorUp = string.Empty;
   _settings.CMD_CursorDown = string.Empty;
   _settings.CMD_CursorHome = string.Empty;
   _settings.BlankDisplayWithVideo = false;
   _settings.EnableDisplayAction = false;
   _settings.EnableDisplayActionTime = 5;
   _settings.BlankDisplayWhenIdle = false;
   _settings.BlankIdleTime = 30;
   Log.Info("GenericSerial.AdvancedSettings.Default(): completed");
 }
Esempio n. 11
0
 public static AdvancedSettings Load()
 {
     AdvancedSettings settings;
     LogDebug("ImonLcd.AdvancedSettings.Load(): started");
     if (File.Exists(Config.GetFile(Config.Dir.Config, m_Filename)))
     {
         LogDebug("ImonLcd.AdvancedSettings.Load(): Loading settings from XML file");
         var serializer = new XmlSerializer(typeof(AdvancedSettings));
         var xmlReader = new XmlTextReader(Config.GetFile(Config.Dir.Config, m_Filename));
         settings = (AdvancedSettings)serializer.Deserialize(xmlReader);
         xmlReader.Close();
     }
     else
     {
         LogDebug("ImonLcd.AdvancedSettings.Load(): Loading settings from defaults");
         settings = new AdvancedSettings();
         Default(settings);
         LogDebug("ImonLcd.AdvancedSettings.Load(): Loaded settings from defaults");
     }
     LogDebug("ImonLcd.AdvancedSettings.Load(): completed");
     return settings;
 }
Esempio n. 12
0
 private static void Default(AdvancedSettings _settings)
 {
     _settings.PreferFirstLineGeneral = true;
     _settings.PreferFirstLinePlayback = true;
 }
Esempio n. 13
0
 private void LoadAdvancedSettings()
 {
     AdvSettings = AdvancedSettings.Load();
     _preferLine1General = AdvSettings.PreferFirstLineGeneral;
     _preferLine1Playback = AdvSettings.PreferFirstLinePlayback;
 }
Esempio n. 14
0
 private void LoadAdvancedSettings()
 {
   AdvSettings = AdvancedSettings.Load();
   FileInfo info = new FileInfo(Config.GetFile(Config.Dir.Config, "MiniDisplay_IOWarrior.xml"));
   SettingsLastModTime = info.LastWriteTime;
   LastSettingsCheck = DateTime.Now;
 }
Esempio n. 15
0
 private static void Default(AdvancedSettings _settings)
 {
   _settings.DelayStartup = false;
   _settings.DisplayType = null;
   _settings.DiskIcon = false;
   _settings.DiskMediaStatus = false;
   _settings.DeviceMonitor = false;
   _settings.ProgressDisplay = false;
   _settings.VolumeDisplay = false;
   _settings.UseCustomFont = false;
   _settings.UseLargeIcons = false;
   _settings.UseCustomIcons = false;
   _settings.UseInvertedIcons = false;
   _settings.EnsureManagerStartup = false;
   _settings.ForceManagerRestart = false;
   _settings.ForceManagerReload = false;
   _settings.RestartFrontviewOnExit = false;
   _settings.LeaveFrontviewActive = false;
   _settings.ForceKeyBoardMode = false;
   _settings.EqDisplay = false;
   _settings.NormalEQ = true;
   _settings.StereoEQ = false;
   _settings.VUmeter = false;
   _settings.VUmeter2 = false;
   _settings.VUindicators = false;
   _settings.EqMode = 0;
   _settings.RestrictEQ = false;
   _settings.EqRate = 10;
   _settings.DelayEQ = false;
   _settings.DelayEqTime = 10;
   _settings.SmoothEQ = false;
   _settings.BlankDisplayWithVideo = false;
   _settings.EnableDisplayAction = false;
   _settings.EnableDisplayActionTime = 5;
   _settings.VFD_UseV3DLL = false;
   _settings.MonitorPowerState = false;
   _settings.EQTitleDisplay = false;
   _settings.EQTitleDisplayTime = 10;
   _settings.EQTitleShowTime = 2;
   _settings.BlankDisplayWhenIdle = false;
   _settings.BlankIdleTime = 30;
 }
Esempio n. 16
0
 private static void Default(AdvancedSettings _settings)
 {
   _settings.EqDisplay = false;
   _settings.NormalEQ = true;
   _settings.StereoEQ = false;
   _settings.VUmeter = false;
   _settings.VUmeter2 = false;
   _settings.VUindicators = false;
   _settings.RestrictEQ = false;
   _settings.EqRate = 10;
   _settings.DelayEQ = false;
   _settings.DelayEqTime = 10;
   _settings.SmoothEQ = false;
   _settings.BlankDisplayWithVideo = false;
   _settings.EnableDisplayAction = false;
   _settings.EnableDisplayActionTime = 5;
   _settings.EQTitleDisplay = false;
   _settings.EQTitleDisplayTime = 10;
   _settings.EQTitleShowTime = 2;
   _settings.BlankDisplayWhenIdle = false;
   _settings.BlankIdleTime = 30;
 }
Esempio n. 17
0
 public static void Save(AdvancedSettings ToSave)
 {
   if (DoDebug)
   {
     Log.Info("iMONLCDg.AdvancedSettings.Save(): Saving settings to XML file");
   }
   var serializer = new XmlSerializer(typeof (AdvancedSettings));
   var writer = new XmlTextWriter(Config.GetFile(Config.Dir.Config, "MiniDisplay_imonlcdg.xml"),
                                  Encoding.UTF8) {Formatting = Formatting.Indented, Indentation = 2};
   serializer.Serialize(writer, ToSave);
   writer.Close();
   if (DoDebug)
   {
     Log.Info("iMONLCDg.AdvancedSettings.Save(): completed");
   }
 }
Esempio n. 18
0
 private static void Default(AdvancedSettings _settings)
 {
   Log.Info("CFontz.AdvancedSettings.Default(): called");
   _settings.EnableKeypad = false;
   _settings.UseCustomKeypadMap = false;
   _settings.DisableRepeat = false;
   _settings.RepeatDelay = 0;
   _settings.EqDisplay = false;
   _settings.NormalEQ = true;
   _settings.StereoEQ = false;
   _settings.VUmeter = false;
   _settings.VUindicators = false;
   _settings.RestrictEQ = false;
   _settings.EqRate = 10;
   _settings.DelayEQ = false;
   _settings.DelayEqTime = 10;
   _settings.SmoothEQ = false;
   _settings.BlankDisplayWithVideo = false;
   _settings.EnableDisplayAction = false;
   _settings.EnableDisplayActionTime = 5;
   _settings.EQTitleDisplay = false;
   _settings.EQTitleDisplayTime = 10;
   _settings.EQTitleShowTime = 2;
   _settings.BlankDisplayWhenIdle = false;
   _settings.BlankIdleTime = 30;
   Log.Info("CFontz.AdvancedSettings.Default(): completed");
 }
Esempio n. 19
0
 public bool OpenDisplay(AdvancedSettings UseSettings)
 {
   Log.Info("MatrixGX.MOGXDisplay.OpenDisplay() - called");
   this.AdvSettings = UseSettings;
   MiniDisplayHelper.InitEQ(ref this.EQSettings);
   MiniDisplayHelper.InitDisplayControl(ref this.DisplaySettings);
   this.ParseAdvancedSettings();
   try
   {
     using (Profile.Settings settings = new Profile.MPSettings())
     {
       this._AudioUseASIO = settings.GetValueAsBool("audioplayer", "asio", false);
     }
     this.GX_Client = new DCClient();
     if (!this.GX_Client.Connect())
     {
       Log.Info("MatrixGX.MOGXDisplay.OpenDisplay() - Could not connect to DriverCore service");
       this._isOpen = false;
     }
     else
     {
       Log.Info("MatrixGX.MOGXDisplay.OpenDisplay() - Connect to the DriverCore service");
       this.GX_Devices = this.GX_Client.Devices;
       if (this.GX_Devices.Count() > 0)
       {
         Log.Info("MatrixGX.MOGXDisplay.OpenDisplay() - Found a GX series device");
         this.GX_Session = this.GX_Devices[0].CreateSession("MediaPortal");
         this.GX_Session.CreateGraphics(out this.GX_Surface);
         this.GX_Graphics = Graphics.FromImage(this.GX_Surface);
         this._isOpen = true;
         this._isClosing = false;
         Log.Info("MatrixGX.MOGXDisplay.OpenDisplay() - Display Opened");
         this.BacklightOn();
         this.GX_Session.SetOptions(true, false);
         if (this.MOGX_Control.InvertDisplay)
         {
           this.GX_Session.SetOptions(true, true);
         }
         this.stopDisplayUpdateThread = false;
         this._displayThread = new Thread(new ThreadStart(this.DisplayUpdate));
         this._displayThread.IsBackground = true;
         this._displayThread.Priority = ThreadPriority.BelowNormal;
         this._displayThread.Name = "DisplayUpdateThread";
         this._displayThread.Start();
         if (this._displayThread.IsAlive)
         {
           Log.Info("MatrixGX.MOGXDisplay.DisplayUpdate() Thread Started");
         }
         else
         {
           Log.Info("MatrixGX.MOGXDisplay.DisplayUpdate() FAILED TO START");
           this.CloseDisplay();
         }
       }
       else
       {
         Log.Info("MatrixGX.MOGXDisplay.OpenDisplay() - No GX Series Display found");
         this._isOpen = false;
       }
     }
   }
   catch (Exception exception)
   {
     Log.Info("MatrixGX.MOGXDisplay.OpenDisplay() - Display not opened - caught exception {0}",
              new object[] {exception.ToString()});
     Log.Error(exception);
     this._isOpen = false;
   }
   Log.Info("MatrixGX.MOGXDisplay.OpenDisplay() - Completed");
   return this._isOpen;
 }
Esempio n. 20
0
 public static void Save(AdvancedSettings ToSave)
 {
   Log.Info("CFontz.AdvancedSettings.Save(): Saving settings to XML file");
   XmlSerializer serializer = new XmlSerializer(typeof (AdvancedSettings));
   XmlTextWriter writer = new XmlTextWriter(Config.GetFile(Config.Dir.Config, "MiniDisplay_CFontz.xml"),
                                            Encoding.UTF8);
   writer.Formatting = Formatting.Indented;
   writer.Indentation = 2;
   serializer.Serialize((XmlWriter)writer, ToSave);
   writer.Close();
   Log.Info("CFontz.AdvancedSettings.Save(): completed");
 }
Esempio n. 21
0
 private void LoadAdvancedSettings()
 {
   this.AdvSettings = AdvancedSettings.Load();
   this.EQSettings.UseEqDisplay = this.AdvSettings.EqDisplay;
   this.EQSettings.UseNormalEq = this.AdvSettings.NormalEQ;
   this.EQSettings.UseStereoEq = this.AdvSettings.StereoEQ;
   this.EQSettings.UseVUmeter = this.AdvSettings.VUmeter;
   this.EQSettings.UseVUmeter2 = this.AdvSettings.VUmeter2;
   this.EQSettings._useVUindicators = this.AdvSettings.VUindicators;
   this.EQSettings.RestrictEQ = this.AdvSettings.RestrictEQ;
   this.EQSettings._EQ_Restrict_FPS = this.AdvSettings.EqRate;
   this.EQSettings.DelayEQ = this.AdvSettings.DelayEQ;
   this.EQSettings._DelayEQTime = this.AdvSettings.DelayEqTime;
   this.EQSettings.SmoothEQ = this.AdvSettings.SmoothEQ;
   this.EQSettings.EQTitleDisplay = this.AdvSettings.EQTitleDisplay;
   this.EQSettings._EQTitleShowTime = this.AdvSettings.EQTitleShowTime;
   this.EQSettings._EQTitleDisplayTime = this.AdvSettings.EQTitleDisplayTime;
   this.EQSettings._EqUpdateDelay = (this.EQSettings._EQ_Restrict_FPS == 0)
                                      ? 0
                                      : ((0x989680 / this.EQSettings._EQ_Restrict_FPS) -
                                         (0xf4240 / this.EQSettings._EQ_Restrict_FPS));
   this.DisplaySettings.BlankDisplayWithVideo = this.AdvSettings.BlankDisplayWithVideo;
   this.DisplaySettings.EnableDisplayAction = this.AdvSettings.EnableDisplayAction;
   this.DisplaySettings.DisplayActionTime = this.AdvSettings.EnableDisplayActionTime;
   this.DisplaySettings.BlankDisplayWhenIdle = this.AdvSettings.BlankDisplayWhenIdle;
   this.DisplaySettings.BlankIdleDelay = this.AdvSettings.BlankIdleTime;
   this.DisplaySettings._BlankIdleTimeout = this.DisplaySettings.BlankIdleDelay * 0x989680;
   this.DisplaySettings._Shutdown1 = Settings.Instance.Shutdown1;
   this.DisplaySettings._Shutdown2 = Settings.Instance.Shutdown2;
   this.DisplaySettings._DisplayControlTimeout = this.DisplaySettings.DisplayActionTime * 0x989680;
   FileInfo info = new FileInfo(Config.GetFile(Config.Dir.Config, "MiniDisplay_DebugForm.xml"));
   this.SettingsLastModTime = info.LastWriteTime;
   this.LastSettingsCheck = DateTime.Now;
 }