Logic for interaction diagram was added
This commit is contained in:
15
StructureHelperCommon/Infrastructures/Enums/ForceTypes.cs
Normal file
15
StructureHelperCommon/Infrastructures/Enums/ForceTypes.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StructureHelperCommon.Infrastructures.Enums
|
||||
{
|
||||
public enum ForceTypes
|
||||
{
|
||||
Force,
|
||||
MomentMx,
|
||||
MomentMy
|
||||
}
|
||||
}
|
||||
@@ -26,7 +26,8 @@ namespace StructureHelperCommon.Infrastructures.Settings
|
||||
set
|
||||
{
|
||||
natSystem = value;
|
||||
codesList = CodeFactory.GetCodeEntities()
|
||||
codesList = CodeFactory
|
||||
.GetCodeEntities()
|
||||
.Where(x => x.NatSystem == natSystem)
|
||||
.ToList();
|
||||
materialRepository = new MaterialRepository(codesList);
|
||||
@@ -38,7 +39,8 @@ namespace StructureHelperCommon.Infrastructures.Settings
|
||||
public static List<ICodeEntity> CodesList
|
||||
{ get
|
||||
{
|
||||
codesList ??= CodeFactory.GetCodeEntities()
|
||||
codesList ??= CodeFactory
|
||||
.GetCodeEntities()
|
||||
.Where(x => x.NatSystem == NatSystem)
|
||||
.ToList();
|
||||
return codesList;
|
||||
|
||||
Reference in New Issue
Block a user