/// <summary> /// All modules have started up and it is ready to run /// </summary> public void FinishedStartup() { if (IsLocalConnector) { m_database = Framework.Utilities.DataManager.RequestPlugin<ISchedulerDataPlugin>(); } }
/// <summary> /// All modules have started up and it is ready to run /// </summary> public void FinishedStartup() { if (IsLocalConnector) { m_database = Framework.Utilities.DataManager.RequestPlugin <ISchedulerDataPlugin> (); // if (m_database != null) // m_enabled = true; } }
/// <summary> /// All modules have started up and it is ready to run /// </summary> public void FinishedStartup () { if (IsLocalConnector) { m_database = Framework.Utilities.DataManager.RequestPlugin<ISchedulerDataPlugin> (); // if (m_database != null) // m_enabled = true; } }
/// <summary> /// All modules have started up and it is ready to run /// </summary> public void FinishedStartup() { if (!m_doRemoteCalls) { m_database = Framework.Utilities.DataManager.RequestPlugin<ISchedulerDataPlugin>(); // if (m_database != null) // m_enabled = true; } }
/// <summary> /// All modules have started up and it is ready to run /// </summary> public void FinishedStartup() { m_database = DataManager.RequestPlugin<ISchedulerDataPlugin>(); if (m_database != null) m_enabled = true; if (m_enabled) { // don't want to start to soon scheduleTimer.Interval = 60000; scheduleTimer.Elapsed += t_Elapsed; scheduleTimer.Start(); } }
/// <summary> /// All modules have started up and it is ready to run /// </summary> public void FinishedStartup() { m_database = DataManager.RequestPlugin <ISchedulerDataPlugin>(); if (m_database != null) { m_enabled = true; } if (m_enabled) { // don't want to start to soon scheduleTimer.Interval = 60000; scheduleTimer.Elapsed += t_Elapsed; scheduleTimer.Start(); } }
/// <summary> /// All modules have started up and it is ready to run /// </summary> public void FinishedStartup() { if (!m_doRemoteCalls) { m_database = Framework.Utilities.DataManager.RequestPlugin<ISchedulerDataPlugin>(); if (m_database != null) m_enabled = true; if (m_enabled) { // don't want to start to soon scheduleTimer.Interval = 60000; scheduleTimer.Elapsed += t_Elapsed; scheduleTimer.Start(); } } }
/// <summary> /// All modules have started up and it is ready to run /// </summary> public void FinishedStartup() { if (!m_doRemoteCalls) { m_database = Framework.Utilities.DataManager.RequestPlugin <ISchedulerDataPlugin>(); if (m_database != null) { m_enabled = true; } if (m_enabled) { // don't want to start to soon scheduleTimer.Interval = 60000; scheduleTimer.Elapsed += t_Elapsed; scheduleTimer.Start(); } } }
public void FinishedStartup () { moneyModule = m_registry.RequestModuleInterface<IMoneyModule> (); if ((moneyModule != null) && moneyModule.IsLocal) //Only register if money is enabled and is local { m_registry.RegisterModuleInterface<IScheduledMoneyModule> (this); eventManager.RegisterEventHandler ("ScheduledPayment", ChargeNext); scheduler = m_registry.RequestModuleInterface<IScheduleService> (); sched_database = Framework.Utilities.DataManager.RequestPlugin<ISchedulerDataPlugin> (); currencySymbol = moneyModule.InWorldCurrencySymbol; getStipendConfig (); AddCommands (); // Set up Timer taskTimer.Enabled = false; taskTimer.Elapsed += SchedulerTimerElapsed; InitializeScheduleTimer (); } }