public override void RunInterface(string pluginName)
 {
     Log.Info("Loading COSMUpdater..");
     cosmTest = new COSMWriter();
     pName = pluginName;
     Log = new General.OSAELog(pName);
     try
     {
         pollInterval = int.Parse("0" + OSAEObjectPropertyManager.GetObjectPropertyValue(pName, "PollRate").Value);
         if (!ReportAndCheckUsage()) return;
         SetUpPoller();
         enabled = true;
         Log.Info("Started COSMUpdater...");
     }
     catch (Exception ex)
     { Log.Error("COSMUpdater Exception in RunInterface. ", ex); }
 }
        public override void RunInterface(string pluginName)
        {

            logging.AddToLog("Loading COSMUpdater (0.1.1)...", true);
            cosmTest = new COSMWriter();
            pName = pluginName;
            try
            {
                pollInterval = int.Parse("0" + OSAEObjectPropertyManager.GetObjectPropertyValue(pName, "PollRate").Value);
                if (!ReportAndCheckUsage()) return;
                SetUpPoller();
                enabled = true;
                logging.AddToLog("Started COSMUpdater (0.1.1)...", true);
            }
            catch (Exception ex)
            {
                logging.AddToLog("COSMUpdater Exception in RunInterface. " + ex.Message, true);
            }
        }
 public override void RunInterface(string pluginName)
 {
     Log.Info("Loading COSMUpdater..");
     cosmTest = new COSMWriter();
     pName    = pluginName;
     Log      = new General.OSAELog(pName);
     try
     {
         pollInterval = int.Parse("0" + OSAEObjectPropertyManager.GetObjectPropertyValue(pName, "PollRate").Value);
         if (!ReportAndCheckUsage())
         {
             return;
         }
         SetUpPoller();
         enabled = true;
         Log.Info("Started COSMUpdater...");
     }
     catch (Exception ex)
     { Log.Error("COSMUpdater Exception in RunInterface. ", ex); }
 }
Exemple #4
0
 public override void RunInterface(string pluginName)
 {
     logging.AddToLog("Loading COSMUpdater (0.1.1)...", true);
     cosmTest = new COSMWriter();
     pName    = pluginName;
     try
     {
         pollInterval = int.Parse("0" + OSAEObjectPropertyManager.GetObjectPropertyValue(pName, "PollRate").Value);
         if (!ReportAndCheckUsage())
         {
             return;
         }
         SetUpPoller();
         enabled = true;
         logging.AddToLog("Started COSMUpdater (0.1.1)...", true);
     }
     catch (Exception ex)
     {
         logging.AddToLog("COSMUpdater Exception in RunInterface. " + ex.Message, true);
     }
 }