Upgrade structure of code base
This commit is contained in:
31
src/GlobalManagement/Constants/EnigmosConstant.cs
Normal file
31
src/GlobalManagement/Constants/EnigmosConstant.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using Godot;
|
||||
|
||||
namespace Nocturnis.GlobalManagement.Constants;
|
||||
|
||||
public static class EnigmosConstant
|
||||
{
|
||||
public static class DataPortTypes
|
||||
{
|
||||
public static readonly StringName Null = "Null";
|
||||
public static readonly StringName Bit = "Bit";
|
||||
public static readonly StringName Real = "Real";
|
||||
public static readonly StringName Complex = "Complex";
|
||||
public static readonly StringName R2 = "R2";
|
||||
public static readonly StringName C2 = "C2";
|
||||
public static readonly StringName RealArray = "RealArray";
|
||||
public static readonly StringName AnyArrayType = "AnyArrayType";
|
||||
public static readonly StringName[] NumericTypes = new[] { Real, Complex };
|
||||
public static readonly StringName[] AnyTensor = new[] { Real, Complex, R2, C2 };
|
||||
public static readonly StringName[] AnyType = new[] { Real, Complex, R2, C2 };
|
||||
public static readonly StringName[] VectorTypes = new[] { R2, C2 };
|
||||
public static readonly StringName[] AnyArray = Array.Empty<StringName>();
|
||||
|
||||
}
|
||||
public static class CommunicationDirections
|
||||
{
|
||||
public static readonly StringName Send = "Send";
|
||||
public static readonly StringName Receive = "Receive";
|
||||
}
|
||||
|
||||
public const double IdlePower = 0.2d;
|
||||
}
|
||||
Reference in New Issue
Block a user