public DATEXIIModelUpdateNotificationProcessService(DATEXIIProcessServiceFactory datexIIProcessServiceFactory) : base()
 {
     logWrapper                       = new LogWrapper("DATEXIIModelUpdateNotificationProcessService");
     loadNwkModelOnStartup            = ConfigurationManager.AppSettings["loadNwkModelOnStartup"].Equals("true");
     ntisNwkModelUsername             = ConfigurationManager.AppSettings["ntisNwkModelUsername"];
     ntisNwkModelPassword             = ConfigurationManager.AppSettings["ntisNwkModelPassword"];
     ntisNetworkModelBaseURL          = ConfigurationManager.AppSettings["ntisNetworkModelBaseURL"];
     networkModelFolder               = ConfigurationManager.AppSettings["nwkModelDirectory"];
     datexiiNetworkModelUpdateService = (DATEXIINetworkModelUpdateService)datexIIProcessServiceFactory.getDATEXIIProcessService(DATEXIIProcessServiceFactory.DATA_SERVICE_TYPE.NWK_MODEL_UPDATE);
     networkModelRetryTimer           = new System.Timers.Timer();
     networkModelRetryTimer.Elapsed  += new ElapsedEventHandler(updateNetworkModel);
     networkModelRetryTimer.Interval  = DOWNLOAD_NETWORK_MODEL_RETRY_PERIOD;
 }
 public static DATEXIIUpdateService GetInstance()
 {
     if (instance == null)
     {
         instance = new DATEXIIUpdateService();
         datexiiProcessServiceFactory = DATEXIIProcessServiceFactory.GetInstance(instance);
         DATEXIIModelUpdateNotificationProcessService datexiiModelUpdateNotificationProcessService = (DATEXIIModelUpdateNotificationProcessService)datexiiProcessServiceFactory.getDATEXIIProcessService(DATEXIIProcessServiceFactory.DATA_SERVICE_TYPE.NTIS_MODEL_UPDATE_NOTIFICATION);
         datexiiModelUpdateNotificationProcessService.initialise();
     }
     return(instance);
 }