Change field viewer
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
Force,
|
||||
Moment,
|
||||
Curvature,
|
||||
DistributedLoad
|
||||
DistributedLoad,
|
||||
Strain
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace StructureHelperCommon.Infrastructures.Interfaces
|
||||
{
|
||||
public interface IRepositoryOperation<T, V>
|
||||
{
|
||||
void RemoveAll();
|
||||
void Remove(V entity);
|
||||
void Remove(IEnumerable<V> entities);
|
||||
}
|
||||
}
|
||||
@@ -25,6 +25,7 @@ namespace StructureHelperCommon.Services.Units
|
||||
{ UnitTypes.Stress, "MPa"},
|
||||
{ UnitTypes.Curvature, "1/m"},
|
||||
{ UnitTypes.DistributedLoad, "kN/m" },
|
||||
{ UnitTypes.Strain, "Dimensionless" },
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -42,6 +42,8 @@ namespace StructureHelperCommon.Services.Units
|
||||
units.Add(new Unit() { UnitType = type, Name = "N/m", Multiplyer = 1d });
|
||||
units.Add(new Unit() { UnitType = type, Name = "kN/m", Multiplyer = 1e-3d });
|
||||
units.Add(new Unit() { UnitType = type, Name = "MN/m", Multiplyer = 1e-6d });
|
||||
type = UnitTypes.Strain;
|
||||
units.Add(new Unit() { UnitType = type, Name = "Dimensionless", Multiplyer = 1d });
|
||||
return units;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user