All Test Was Repaired
This commit is contained in:
31
Windows/ViewModels/Forces/ForceCombinationViewModel.cs
Normal file
31
Windows/ViewModels/Forces/ForceCombinationViewModel.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user