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

29 lines
825 B
C#

using StructureHelperCommon.Infrastructures.Enums;
using StructureHelperCommon.Models.Forces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StructureHelper.Models.Forces
{
internal class ForceCombinationViewObject
{
IForceCombinationList forceCombinationList;
private IDesignForceTuple ulsShort;
public IDesignForceTuple ULSShort
{
get { return ulsShort; }
}
public ForceCombinationViewObject(ForceCombinationList _forceCombinationList)
{
forceCombinationList = _forceCombinationList;
ulsShort = forceCombinationList.DesignForces.Where(x => x.LimitState == LimitStates.ULS & x.CalcTerm == CalcTerms.ShortTerm).Single();
}
}
}