Example #1
0
		public void Start()
		{
			FiresecManager.Connect(ClientType.Assad, ConnectionSettingsManager.ServerAddress, GlobalSettingsHelper.GlobalSettings.Login, GlobalSettingsHelper.GlobalSettings.Password);
			FiresecManager.GetConfiguration("Assad/Configuration");
			FiresecManager.InitializeFiresecDriver(true);
			FiresecManager.FiresecDriver.Synchronyze();
			FiresecManager.FiresecDriver.StartWatcher(true, false);

			Services.NetManager.Start();
			Watcher = new Watcher();
			Watcher.Start();
		}
Example #2
0
        public void Start()
        {
            FiresecManager.Connect(ClientType.Assad, "net.tcp://localhost:8000/FiresecService/", "adm", "");

            Services.NetManager.Start();
            _watcher = new Watcher();
            _watcher.Start();
        }