Library material was added
This commit is contained in:
12
StructureHelperCommon/Infrastructures/Enums/CodeTypes.cs
Normal file
12
StructureHelperCommon/Infrastructures/Enums/CodeTypes.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace StructureHelperCommon.Infrastructures.Enums
|
||||
{
|
||||
public enum CodeTypes
|
||||
{
|
||||
SP63_13330_2018,
|
||||
EuroCode_2_1990
|
||||
}
|
||||
}
|
||||
11
StructureHelperCommon/Infrastructures/Enums/MaterialTypes.cs
Normal file
11
StructureHelperCommon/Infrastructures/Enums/MaterialTypes.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace StructureHelperCommon.Infrastructures.Enums
|
||||
|
||||
{
|
||||
public enum MaterialTypes
|
||||
{
|
||||
Concrete,
|
||||
Reinforcement,
|
||||
//Steel,
|
||||
//CarbonFiber,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StructureHelperCommon.Infrastructures.Exceptions
|
||||
{
|
||||
public class StructureHelperException : Exception
|
||||
{
|
||||
public StructureHelperException(string errorString) : base(errorString)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StructureHelperCommon.Infrastructures.Interfaces
|
||||
{
|
||||
public interface IHasParent
|
||||
{
|
||||
object Parent { get; }
|
||||
void RegisterParent();
|
||||
}
|
||||
}
|
||||
19
StructureHelperCommon/Infrastructures/Strings/ErrorString.cs
Normal file
19
StructureHelperCommon/Infrastructures/Strings/ErrorString.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StructureHelperCommon.Infrastructures.Strings
|
||||
{
|
||||
public static class ErrorStrings
|
||||
{
|
||||
public static string UnknownError => "#0000: Unknown error";
|
||||
public static string ObjectTypeIsUnknown => "#0001: Object type is unknown";
|
||||
public static string MaterialTypeIsUnknown => "#0002: Material type is unknown";
|
||||
public static string DataIsInCorrect => "#0003: Data is not correct";
|
||||
public static string ShapeIsNotCorrect => "#0004: Shape is not valid";
|
||||
public static string LimitStatesIsNotValid => "#0005: Type of limite state is not valid";
|
||||
public static string LoadTermIsNotValid => "#0006: Load term is not valid";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user