Files
StructureHelper/Windows/ViewModels/Forces/ForceCombinationViewModel.cs
Evgeny Redikultsev f562cf2bce All Test Was Repaired
2022-12-10 17:44:06 +05:00

32 lines
868 B
C#

using StructureHelper.Infrastructure;
using StructureHelperCommon.Models.Forces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StructureHelper.Windows.ViewModels.Forces
{
public class ForceCombinationViewModel : ViewModelBase
{
IForceCombinationList combinationList;
public IDesignForceTuple SelectedTuple { get; set; }
public string Name
{
get => combinationList.Name;
set
{
combinationList.Name = value;
}
}
public IEnumerable<IDesignForceTuple> ForceTuples { get => combinationList.DesignForces; }
public ForceCombinationViewModel(IForceCombinationList combinationList)
{
this.combinationList = combinationList;
}
}
}