Esempio n. 1
0
        public Watcher(FiresecManager firesecManager)
        {
            FiresecManager = firesecManager;

            if (firesecManager.MustMonitorStates)
            {
                SynchrinizeJournal();
                SetLastEvent();
                FiresecSerializedClient.NewEvent += new Action<int>(FiresecClient_NewEvent);
                OnStateChanged();
                OnParametersChanged();
            }
            FiresecSerializedClient.Progress += new Action<int, string, int, int>(OnProgress);
        }
Esempio n. 2
0
 public FiresecResetHelper(FiresecManager firesecManager)
 {
     FiresecManager = firesecManager;
 }