/// <summary> /// Получить элементы на которые влияет этот элемент /// </summary> public void getRelaysItems() { var relaysItems = new List <RelaysItem>(); if (this.SelectedChaProperty != null && this.SelectedChaProperty.KExpRelayProperty > 0 && PersProperty.PersSettings.IsFudgeModeProperty == false) { relaysItems.Add( new RelaysItem { IdProperty = "exp", ElementToolTipProperty = "Опыт", PictureProperty = StaticMetods.getImagePropertyFromImage(Pers.ExpImageProperty), BorderColorProperty = StaticMetods.getBorderColorFromRelaysWithHardness( Convert.ToInt32(this.SelectedChaProperty.KExpRelayProperty)), ReqvirementTextProperty = StaticMetods.getTextFromRelaysWithHardness( Convert.ToInt32(this.SelectedChaProperty.KExpRelayProperty)) }); } RelaysItemsVm.RelaysItemsesProperty = relaysItems; }