public ZoneDevicesViewModel()
		{
			AddCommand = new RelayCommand<object>(OnAdd, CanAdd);
			RemoveCommand = new RelayCommand<object>(OnRemove, CanRemove);
			Devices = new ObservableCollection<ZoneDeviceViewModel>();
			AvailableDevices = new ObservableCollection<ZoneDeviceViewModel>();
		}
Example #2
0
		public PlanDesignerView()
		{
			InitializeComponent();

			_scrollViewer.PreviewMouseDown += OnMouseMiddleDown;
			_scrollViewer.PreviewMouseUp += OnMouseMiddleUp;
			_scrollViewer.PreviewMouseMove += OnMiddleMouseMove;
			_scrollViewer.MouseLeave += OnMiddleMouseLeave;

			_scrollViewer.PreviewMouseWheel += OnPreviewMouseWheel;
			_scrollViewer.ScrollChanged += OnScrollViewerScrollChanged;

			slider.ValueChanged += OnSliderValueChanged;
			deviceSlider.ValueChanged += new RoutedPropertyChangedEventHandler<double>(deviceSlider_ValueChanged);

			Loaded += new RoutedEventHandler(OnLoaded);
			_scrollViewer.SizeChanged += new SizeChangedEventHandler(OnSizeChanged);
			_scrollViewer.LayoutUpdated += new EventHandler(OnLayoutUpdated);
			_timer = new DispatcherTimer()
			{
				Interval = TimeSpan.FromMilliseconds(100),
				IsEnabled = false,
			};
			_timer.Tick += (s, e) => _locked = false;
			_requreRefresh = true;
			_locked = true;
			Dispatcher.ShutdownStarted += (s, e) => RegistrySettingsHelper.SetDouble(DeviceZoomSetting, deviceSlider.Value);
			ZoomInCommand = new RelayCommand(OnZoomIn, CanZoomIn);
			ZoomOutCommand = new RelayCommand(OnZoomOut, CanZoomOut);
			DeviceZoomInCommand = new RelayCommand(OnDeviceZoomIn, CanDeviceZoomIn);
			DeviceZoomOutCommand = new RelayCommand(OnDeviceZoomOut, CanDeviceZoomOut);
		}
Example #3
0
 public UsersViewModel()
 {
     Menu = new UsersMenuViewModel(this);
     DeleteCommand = new RelayCommand(OnDelete, CanDelete);
     EditCommand = new RelayCommand(OnEdit, CanEdit);
     AddCommand = new RelayCommand(OnAdd);
 }
Example #4
0
		public DescriptorViewModel(BaseDescriptor descriptor)
		{
			GKBaseDescriptor = descriptor;
			GKDescriptorNo = descriptor.GKBase.GKDescriptorNo;
			KauDescriptorNo = descriptor.GKBase.KAUDescriptorNo;

			SetAutomaticRegimeCommand = new RelayCommand(OnSetAutomaticRegime);
			SetManualRegimeCommand = new RelayCommand(OnSetManualRegime);
			SetIgnoreRegimeCommand = new RelayCommand(OnSetIgnoreRegime);
			ShowParametersCommand = new RelayCommand(OnShowParameters);
			ShowMeasureCommand = new RelayCommand(OnShowMeasure);
			ShowCardReaderCommand = new RelayCommand(OnShowCardReader);

			InitializeTest();
			InitializeDustiness();
			InitializeController();
			InitializeTypeNo();
			InitializeFire();
			InitializeTurning();
			InitializeLogic();
			InitializeDelays();
			InitializeAll();

			AdditionalShortParameters = new List<ushort>();
			for (int i = 0; i < 10; i++)
			{
				AdditionalShortParameters.Add(0);
			}
		}
		public CameraDetailsViewModel(Camera camera)
		{
			ShowCommand = new RelayCommand(OnShow);
			SetPtzPresetCommand = new RelayCommand(OnSetPtzPreset, CanSetPtzPreset);
			AlarmSetChannelCommand = new RelayCommand(OnAlarmSetChannel, CanAlarmSetChannel);
			AlarmDisableChannelCommand = new RelayCommand(OnAlarmDisableChannel, CanAlarmDisableChannel);
			Camera = camera;
			Title = Camera.PresentationName;
			Camera.StatusChanged += OnCameraStatusChanged;

			Presets = new ObservableCollection<int>();
			for (int i = 0; i < camera.CountPresets; i++)
			{
				Presets.Add(i + 1);
			}
			SelectedPreset = Presets.FirstOrDefault();

			if (Camera != null)
			{
				Width = Camera.ShowDetailsWidth;
				Height = Camera.ShowDetailsHeight;
				MarginLeft = Camera.ShowDetailsMarginLeft;
				MarginTop = Camera.ShowDetailsMarginTop;
				IsRecordOnline = Camera.IsRecordOnline;
				IsOnGuard = Camera.IsOnGuard;
				Status = Camera.Status;
				PlanLinks = new PlanLinksViewModel(Camera);
			}
		}
Example #6
0
		public DoorViewModel(GKDoor door)
		{
			Door = door;
			DoorDetailsViewModel = new DoorDetailsViewModel(door);
			State.StateChanged -= OnStateChanged;
			State.StateChanged += OnStateChanged;
			OnStateChanged();

			EnterDevice = GKManager.Devices.FirstOrDefault(x => x.UID == Door.EnterDeviceUID);
			ExitDevice = GKManager.Devices.FirstOrDefault(x => x.UID == Door.ExitDeviceUID);
			EnterButton = GKManager.Devices.FirstOrDefault(x => x.UID == Door.EnterButtonUID);
			ExitButton = GKManager.Devices.FirstOrDefault(x => x.UID == Door.ExitButtonUID);
			LockDevice = GKManager.Devices.FirstOrDefault(x => x.UID == Door.LockDeviceUID);
			LockDeviceExit = GKManager.Devices.FirstOrDefault(x => x.UID == Door.LockDeviceExitUID);
			LockControlDevice = GKManager.Devices.FirstOrDefault(x => x.UID == Door.LockControlDeviceUID);
			LockControlDeviceExit = GKManager.Devices.FirstOrDefault(x => x.UID == Door.LockControlDeviceExitUID);
			EnterZone = GKManager.SKDZones.FirstOrDefault(x => x.UID == Door.EnterZoneUID);
			ExitZone = GKManager.SKDZones.FirstOrDefault(x => x.UID == Door.ExitZoneUID);

			ShowOnPlanCommand = new RelayCommand(OnShowOnPlan, CanShowOnPlan);
			ShowJournalCommand = new RelayCommand(OnShowJournal);
			ShowPropertiesCommand = new RelayCommand(OnShowProperties);
			ShowOnPlanOrPropertiesCommand = new RelayCommand(OnShowOnPlanOrProperties);
			ShowDeviceCommand = new RelayCommand<GKDevice>(OnShowDevice);
			ShowZoneCommand = new RelayCommand<GKSKDZone>(OnShowZone);
		}
		public DeviceDetailsViewModel(Device device)
		{
			ExecuteCommand = new RelayCommand(OnExecute);
			DeviceCommands = new List<DeviceCommandViewModel>();
			Device = device;
			DeviceState = Device.DeviceState;
			DeviceState.StateChanged += new Action(OnStateChanged);
			DeviceState.ParametersChanged += new Action(OnParametersChanged);
			OnStateChanged();

			Title = Device.DottedPresentationAddressAndName;
			TopMost = true;

			var tableNo = MetadataHelper.GetDeviceTableNo(device);
			var metadataDeviceCommands = MetadataHelper.Metadata.devicePropInfos.Where(x => x.tableType == tableNo);
			foreach (var metadataDeviceCommand in metadataDeviceCommands)
			{
				var deviceCommandViewModel = new DeviceCommandViewModel()
				{
					Name = metadataDeviceCommand.name,
					Caption = metadataDeviceCommand.caption,
				};
				DeviceCommands.Add(deviceCommandViewModel);
			}
			SelectedDeviceCommand = DeviceCommands.FirstOrDefault();
		}
		public TariffDetailsViewModel(Tariff tariff = null)
		{
			EditDevicesCommand = new RelayCommand(OnEditDevicesCommand);
			TariffTypes = new ObservableCollection<TariffType>(Enum.GetValues(typeof(TariffType)).Cast<TariffType>());
			TariffParts = new ObservableCollection<TariffPartViewModel>();
			if (tariff == null)
			{
				IsNew = true;
				Tariff = new Tariff
					{
						Description = "",
						Devices = new List<Device>(),
						Name = "Новый тариф",
						TariffParts = new List<TariffPart>(),
					};
				Title = "Создание нового тарифа";
				SelectedTariffPartsNumber = 1;
			}
			else
			{
				IsNew = false;
				Tariff = tariff;
				Title = "Редактирование тарифа: " + tariff.TariffType.ToDescription();
				SelectedTariffPartsNumber = tariff.TariffParts.Count;
				SelectedTariffType = tariff.TariffType;
			}
			GetMaxTariffParts();
		}
		public LayoutPartDescriptionViewModel(ILayoutPartDescription layoutPartDescription)
		{
			LayoutPartDescription = layoutPartDescription;
			VisualizationState = VisualizationState.Prohibit;
			AddCommand = new RelayCommand(OnAddCommand, CanAddCommand);
			DragCommand = new RelayCommand(OnDragCommand, CanAddCommand);
		}
Example #10
0
		public MainViewModel()
		{
			Current = this;
			Title = "Сервер ОПС FS2";
			ExitCommand = new RelayCommand(OnExit);
			ShowLogCommand = new RelayCommand(OnShowLog);
		}
Example #11
0
		public MPTDeviceViewModel(GKMPTDevice mptDevice)
		{
			MPTDevice = mptDevice;
			Device = mptDevice.Device;
			MPTDevicePropertiesViewModel = new MPTDevicePropertiesViewModel(Device, false);
			ShowPropertiesCommand = new RelayCommand(OnShowProperties, CanShowProperties);
		}
Example #12
0
		public DesignerItemBase(ElementBase element)
			: base(element)
		{
			_contextMenu = null;
			ShowPropertiesCommand = new RelayCommand(OnShowProperties);
			DeleteCommand = new RelayCommand(OnDelete);
		}
Example #13
0
 public MainViewModel()
 {
     Current = this;
     ShowImitatorCommand = new RelayCommand(OnShowImitator);
     Clients = new ObservableCollection<ClientViewModel>();
     Title = "Сервер ОПС FireSec-2";
 }
		public CameraDetailsViewModel(Camera camera = null)
		{
			ShowZonesCommand = new RelayCommand(OnShowZones);
			TestCommand = new RelayCommand(OnTest);
			StateClasses = new List<XStateClass>();
			StateClasses.Add(XStateClass.Fire1);
			StateClasses.Add(XStateClass.Fire2);
			StateClasses.Add(XStateClass.Attention);
			StateClasses.Add(XStateClass.Ignore);

			if (camera != null)
			{
				Title = "Редактировать камеру";
				Camera = camera;
			}
			else
			{
				Title = "Создать камеру";
				Camera = new Camera()
				{
					Name = "Новая камера",
					Address = "192.168.0.1"
				};
			}

			CopyProperties();
		}
		public ValidationErrorsViewModel()
		{
			ClickCommand = new RelayCommand(OnClick);
			EditValidationCommand = new RelayCommand(OnEditValidation);
			CloseValidationCommand = new RelayCommand(OnCloseValidation);
			Validate();
		}
		public void InitializeController()
		{
			GoToTechnoligicalRegimeCommand = new RelayCommand(OnGoToTechnoligicalRegime);
			GoToWorkingRegimeCommand = new RelayCommand(OnGoToWorkingRegime);
			EnterUserCommand = new RelayCommand(OnEnterUser);
			ExitUserCommand = new RelayCommand(OnExitUser);
		}
		void InitializeZIndexCommands()
		{
			MoveToFrontCommand = new RelayCommand(OnMoveToFront, CanMoveExecute);
			SendToBackCommand = new RelayCommand(OnSendToBack, CanMoveExecute);
			MoveForwardCommand = new RelayCommand(OnMoveForward, CanMoveExecute);
			MoveBackwardCommand = new RelayCommand(OnMoveBackward, CanMoveExecute);
		}
Example #18
0
        public ElementZoneViewModel(ElementPolygonZone elementPolygonZone)
        {
            ShowInTreeCommand = new RelayCommand(OnShowInTree);
            DisableAllCommand = new RelayCommand(OnDisableAll, CanDisableAll);
            EnableAllCommand = new RelayCommand(OnEnableAll, CanEnableAll);
            SetGuardCommand = new RelayCommand(OnSetGuard, CanSetGuard);
            UnSetGuardCommand = new RelayCommand(OnUnSetGuard, CanUnSetGuard);

            ZoneNo = elementPolygonZone.ZoneNo;
            Zone = FiresecManager.Zones.FirstOrDefault(x => x.No == ZoneNo);
            if (Zone != null)
            {
                ZoneState = FiresecManager.DeviceStates.ZoneStates.FirstOrDefault(x => x.No == ZoneNo);
                if (ZoneState != null)
                {
                    ZoneState.StateChanged += new Action(ZoneState_StateChanged);
                }
            }

            ElementZoneView = new ElementZoneView();
            if (elementPolygonZone.Points == null)
                elementPolygonZone.Points = new System.Windows.Media.PointCollection();
            ElementZoneView._polygon.Points = PainterHelper.GetPoints(elementPolygonZone);
            InitializeDevices();
        }
Example #19
0
 public RolesViewModel()
 {
     Menu = new RolesMenuViewModel(this);
     DeleteCommand = new RelayCommand(OnDelete, CanEditDelete);
     EditCommand = new RelayCommand(OnEdit, CanEditDelete);
     AddCommand = new RelayCommand(OnAdd);
 }
		public DeviceExecutableCommandViewModel(GKDevice device, GKStateBit stateType)
		{
			ExecuteControlCommand = new RelayCommand(OnExecuteControl);
			Device = device;
			StateBit = stateType;
			Name = ((GKStateBit)stateType).ToDescription();
			if (Device.DriverType == GKDriverType.RSR2_Valve_DU || Device.DriverType == GKDriverType.RSR2_Valve_KV || Device.DriverType == GKDriverType.RSR2_Valve_KVMV)
			{
				switch (stateType)
				{
					case GKStateBit.TurnOn_InManual:
						Name = "Открыть";
						break;
					case GKStateBit.TurnOnNow_InManual:
						Name = "Открыть немедленно";
						break;
					case GKStateBit.TurnOff_InManual:
						Name = "Закрыть";
						break;
					case GKStateBit.Stop_InManual:
						Name = "Остановить";
						break;
				}
			}
		}
		public BinaryObjectViewModel(BaseDescriptor binaryObject)
		{
			SetAutomaticRegimeCommand = new RelayCommand(OnSetAutomaticRegime);
			SetManualRegimeCommand = new RelayCommand(OnSetManualRegime);
			SetIgnoreRegimeCommand = new RelayCommand(OnSetIgnoreRegime);

			BinaryObject = binaryObject;
			Description = binaryObject.XBase.PresentationName;
			switch (binaryObject.DescriptorType)
			{
				case DescriptorType.Device:
					ImageSource = binaryObject.Device.Driver.ImageSource;
					break;

				case DescriptorType.Zone:
				case DescriptorType.Direction:
					ImageSource = XManager.Drivers.FirstOrDefault(x => x.DriverType == XDriverType.System).ImageSource;
					break;
			}

			//Formula = BinaryObject.Formula.GetStringFomula();

			StateBits = new ObservableCollection<StateBitViewModel>();
			StateBits.Add(new StateBitViewModel(this, XStateBit.Norm, true));
			StateBits.Add(new StateBitViewModel(this, XStateBit.Fire1));
			StateBits.Add(new StateBitViewModel(this, XStateBit.Fire2));
			StateBits.Add(new StateBitViewModel(this, XStateBit.On));
		}
Example #22
0
		public ZoneViewModel(Zone zone)
		{
			SetGuardCommand = new RelayCommand(OnSetGuard, CanSetResetGuard);
			ResetGuardCommand = new RelayCommand(OnResetGuard, CanSetResetGuard);
			Zone = zone;
			Zone.ZoneState.StateChanged += new Action(ZoneState_StateChanged);
		}
Example #23
0
		public DescriptorViewModel(BaseDescriptor descriptor, DescriptorsViewModel descriptorsViewModel)
		{
			NavigateCommand = new RelayCommand(OnNavigate);
			DescriptorsViewModel = descriptorsViewModel;
			Descriptor = descriptor;
			Description = descriptor.XBase.PresentationName;
			switch (descriptor.DescriptorType)
			{
				case DescriptorType.Device:
					ImageSource = descriptor.Device.Driver.ImageSource;
					break;

				case DescriptorType.Zone:
					ImageSource = "/Controls;component/Images/Zone.png";
					break;

				case DescriptorType.Direction:
					ImageSource = "/Controls;component/Images/Blue_Direction.png";
					break;

				case DescriptorType.PumpStation:
					ImageSource = "/Controls;component/Images/BPumpStation.png";
					break;

				case DescriptorType.Delay:
					ImageSource = "/Controls;component/Images/Delay.png";
					break;

				case DescriptorType.Pim:
					ImageSource = "/Controls;component/Images/Pim.png";
					break;
			}

			IsFormulaInvalid = Descriptor.Formula.CalculateStackLevels();
		}
Example #24
0
		public OPCsViewModel()
		{
			AddCommand = new RelayCommand(Add);
			DeleteCommand = new RelayCommand(Delete, CanDelete);

			Menu = new OPCMenuViewModel(this);
		}
Example #25
0
		public SchedulesViewModel()
		{
			AddCommand = new RelayCommand(OnAdd);
			DeleteCommand = new RelayCommand(OnDelete, CanEditDelete);
			EditCommand = new RelayCommand(OnEdit, CanEditDelete);
			RegisterShortcuts();
		}
Example #26
0
		public DocumentTypesViewModel()
		{
			Title = "Документы";
			AddCommand = new RelayCommand(OnAdd, CanAdd);
			EditCommand = new RelayCommand(OnEdit, CanEdit);
			RemoveCommand = new RelayCommand(OnRemove, CanRemove);

			Organisations = new List<DocumentTypeViewModel>();
			var organisations = OrganisationHelper.GetByCurrentUser();
			if (organisations == null)
				return;

			foreach (var organisation in organisations)
			{
				var organisationViewModel = new DocumentTypeViewModel(organisation);
				Organisations.Add(organisationViewModel);

				var documentTypes = DocumentTypeHelper.GetByOrganisation(organisation.UID);
				foreach (var documentType in documentTypes)
				{
					if (documentType.OrganisationUID == organisation.UID)
					{
						var documentTypeViewModel = new DocumentTypeViewModel(organisation, documentType);
						organisationViewModel.AddChild(documentTypeViewModel);
					}
				}
			}
			OnPropertyChanged(() => Organisations);
			SelectedDocumentType = Organisations.FirstOrDefault();
		}
Example #27
0
		public MainViewModel()
		{
			CreateNewCommand = new RelayCommand(OnCreateNew);
			AddFileCommand = new RelayCommand(OnAddFile);
			RemoveFileCommand = new RelayCommand(OnRemoveFile, CanRemoveFile);
			SaveFileCommand = new RelayCommand(OnSaveFile, CanSaveFile);
			LoadFileCommand = new RelayCommand(OnLoadFile);
			Files = new ObservableRangeCollection<FileViewModel>();

			Drivers = new ObservableCollection<DriverType>();
			Drivers.Add(DriverType.Rubezh_2AM);
			Drivers.Add(DriverType.Rubezh_4A);
			Drivers.Add(DriverType.Rubezh_2OP);
			Drivers.Add(DriverType.BUNS);
			Drivers.Add(DriverType.IndicationBlock);
			Drivers.Add(DriverType.PDU);
			Drivers.Add(DriverType.PDU_PT);
			Drivers.Add(DriverType.MS_1);
			Drivers.Add(DriverType.MS_2);
			Drivers.Add(DriverType.MS_3);
			Drivers.Add(DriverType.MS_4);
			Drivers.Add(DriverType.UOO_TL);

			OnCreateNew();
		}
		public DeviceGuardZoneViewModel(GKDeviceGuardZone deviceGuardZone, GKDevice device)
		{
			DeviceGuardZone = deviceGuardZone;
			if (device != null)
				IsCodeReader = device.Driver.IsCardReaderOrCodeReader;
			No = deviceGuardZone.GuardZone.No;
			Name = deviceGuardZone.GuardZone.Name;
			Description = deviceGuardZone.GuardZone.Description;
			ActionTypes = new ObservableCollection<GKGuardZoneDeviceActionType>();
			if (device != null)
			switch (device.DriverType)
			{
				case GKDriverType.RSR2_GuardDetector:
				case GKDriverType.RSR2_GuardDetectorSound:
				case GKDriverType.RSR2_HandGuardDetector:
					ActionTypes.Add(GKGuardZoneDeviceActionType.SetAlarm);
					break;

				case GKDriverType.RSR2_AM_1:
				case GKDriverType.RSR2_MAP4:
					ActionTypes.Add(GKGuardZoneDeviceActionType.SetGuard);
					ActionTypes.Add(GKGuardZoneDeviceActionType.ResetGuard);
					ActionTypes.Add(GKGuardZoneDeviceActionType.ChangeGuard);
					ActionTypes.Add(GKGuardZoneDeviceActionType.SetAlarm);
					break;
			}
			if (deviceGuardZone.ActionType == null || !ActionTypes.Contains(deviceGuardZone.ActionType.Value))
				SelectedActionType = ActionTypes.FirstOrDefault();
			ShowPropertiesCommand = new RelayCommand(OnShowProperties);
		}
		public ZonesSelectionViewModel(Device device, List<Guid> zones)
		{
			Title = "Выбор зон индикатора";

			AddCommand = new RelayCommand<object>(OnAdd, CanAdd);
			RemoveCommand = new RelayCommand<object>(OnRemove, CanRemove);
			AddAllCommand = new RelayCommand(OnAddAll, CanAdd);
			RemoveAllCommand = new RelayCommand(OnRemoveAll, CanRemove);

			Zones = zones;
			TargetZones = new ObservableCollection<ZoneViewModel>();
			SourceZones = new ObservableCollection<ZoneViewModel>();

			foreach (var zone in FiresecManager.FiresecConfiguration.GetChannelZones(device))
			{
				var zoneViewModel = new ZoneViewModel(zone);

				if (Zones.Contains(zone.UID))
					TargetZones.Add(zoneViewModel);
				else
					SourceZones.Add(zoneViewModel);
			}

			SelectedTargetZone = TargetZones.FirstOrDefault();
			SelectedSourceZone = SourceZones.FirstOrDefault();
		}
		public GlobalSettingsViewModel()
		{
			Title = "Параметры";
			Curent = this;
			SaveLogsCommand = new RelayCommand(OnSaveLogs);
			RemoveLogsCommand = new RelayCommand(OnRemoveLogs);
			ResetDatabaseCommand = new RelayCommand(OnResetDatabase);
			ResetConfigurationCommand = new RelayCommand(OnResetConfiguration);
			ResetSettingsCommand = new RelayCommand(OnResetSettings);
			ModulesViewModel = new ModulesViewModel();
			DbSettingsViewModel = new DbSettingsViewModel();
			LogsFolderPath = AppDataFolderHelper.GetLogsFolder();

			GetServerAuto();
			GetGKOpcServerAuto();
			Monitor_F1_Enabled = GlobalSettingsHelper.GlobalSettings.Monitor_F1_Enabled;
			Monitor_F2_Enabled = GlobalSettingsHelper.GlobalSettings.Monitor_F2_Enabled;
			Monitor_F3_Enabled = GlobalSettingsHelper.GlobalSettings.Monitor_F3_Enabled;
			Monitor_F4_Enabled = GlobalSettingsHelper.GlobalSettings.Monitor_F4_Enabled;

			RemoteAddress = GlobalSettingsHelper.GlobalSettings.RemoteAddress;
			RemotePort = GlobalSettingsHelper.GlobalSettings.RemotePort;
			ReportRemotePort = GlobalSettingsHelper.GlobalSettings.ReportRemotePort;
			AdministratorLogin = GlobalSettingsHelper.GlobalSettings.AdminLogin;
			AdministratorPassword = GlobalSettingsHelper.GlobalSettings.AdminPassword;
			AdministratorAutoConnect = GlobalSettingsHelper.GlobalSettings.AdminAutoConnect;
			MonitorLogin = GlobalSettingsHelper.GlobalSettings.MonitorLogin;
			MonitorPassword = GlobalSettingsHelper.GlobalSettings.MonitorPassword;
			WebLogin = GlobalSettingsHelper.GlobalSettings.WebLogin;
			WebPassword = GlobalSettingsHelper.GlobalSettings.WebPassword;
			MonitorAutoConnect = GlobalSettingsHelper.GlobalSettings.MonitorAutoConnect;
			RunRevisor = GlobalSettingsHelper.GlobalSettings.RunRevisor;
			Server_EnableRemoteConnections = GlobalSettingsHelper.GlobalSettings.Server_EnableRemoteConnections;
			Server_RemoteIpAddress = GlobalSettingsHelper.GlobalSettings.Server_RemoteIpAddress;
		}