refactor(PepLib.Core): reorganize files into logical folder structure
Move 38 files from root directory into organized subfolders: - Enums/ (7 files): StatusType, ApplicationType, DrawingType, etc. - Geometry/ (5 files): Vector, Box, Size, Spacing, Node - Models/ (15 files): Nest, Plate, Part, Program, Report, etc. - Utilities/ (7 files): MathHelper, Tolerance, ZipHelper, etc. - Extensions/ (2 files): PartListExtensions, PlateListExtensions - Interfaces/ (1 file): IMovable Update namespaces to follow folder hierarchy (e.g., PepLib.Models). Add GlobalUsings.cs for internal backward compatibility. Update Codes/ and IO/ files with new using statements. Update PepApi.Core consumers to reference new namespaces. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
15
PepLib.Core/Enums/ApplicationType.cs
Normal file
15
PepLib.Core/Enums/ApplicationType.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
namespace PepLib.Enums
|
||||
{
|
||||
public enum ApplicationType
|
||||
{
|
||||
None = 0x0,
|
||||
Laser = 0x1,
|
||||
Flame = 0x2,
|
||||
Punch = 0x3,
|
||||
PlasmaPunch = 0x4,
|
||||
Waterjet = 0x6,
|
||||
LaserPunch = 0x7,
|
||||
FlamePlasma = 0x9
|
||||
}
|
||||
}
|
||||
12
PepLib.Core/Enums/DrawingType.cs
Normal file
12
PepLib.Core/Enums/DrawingType.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
namespace PepLib.Enums
|
||||
{
|
||||
public enum DrawingType
|
||||
{
|
||||
None = 0x20,
|
||||
Drawing = 0x44,
|
||||
Product = 0x50,
|
||||
Rotary = 0x52,
|
||||
Tool = 0x54
|
||||
}
|
||||
}
|
||||
11
PepLib.Core/Enums/GrainType.cs
Normal file
11
PepLib.Core/Enums/GrainType.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
namespace PepLib.Enums
|
||||
{
|
||||
public enum GrainType
|
||||
{
|
||||
No = 0x0,
|
||||
Yes = 0x1,
|
||||
Soft = 0x2,
|
||||
Hard = 0x3
|
||||
}
|
||||
}
|
||||
10
PepLib.Core/Enums/KerfType.cs
Normal file
10
PepLib.Core/Enums/KerfType.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
namespace PepLib.Enums
|
||||
{
|
||||
public enum KerfType
|
||||
{
|
||||
None,
|
||||
Left,
|
||||
Right
|
||||
}
|
||||
}
|
||||
8
PepLib.Core/Enums/ProgrammingMode.cs
Normal file
8
PepLib.Core/Enums/ProgrammingMode.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace PepLib.Enums
|
||||
{
|
||||
public enum ProgrammingMode
|
||||
{
|
||||
Absolute,
|
||||
Incremental
|
||||
}
|
||||
}
|
||||
16
PepLib.Core/Enums/RotationType.cs
Normal file
16
PepLib.Core/Enums/RotationType.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
namespace PepLib.Enums
|
||||
{
|
||||
public enum RotationType
|
||||
{
|
||||
/// <summary>
|
||||
/// Clockwise
|
||||
/// </summary>
|
||||
CW,
|
||||
|
||||
/// <summary>
|
||||
/// Counter-Clockwise
|
||||
/// </summary>
|
||||
CCW
|
||||
}
|
||||
}
|
||||
11
PepLib.Core/Enums/StatusType.cs
Normal file
11
PepLib.Core/Enums/StatusType.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
namespace PepLib.Enums
|
||||
{
|
||||
public enum StatusType
|
||||
{
|
||||
ToBeCut,
|
||||
Quote,
|
||||
HasBeenCut,
|
||||
Temp
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user