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:
2026-01-23 09:29:13 -05:00
parent c5be48a807
commit 9088af52de
55 changed files with 137 additions and 76 deletions

View 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
}
}

View File

@@ -0,0 +1,12 @@
namespace PepLib.Enums
{
public enum DrawingType
{
None = 0x20,
Drawing = 0x44,
Product = 0x50,
Rotary = 0x52,
Tool = 0x54
}
}

View File

@@ -0,0 +1,11 @@
namespace PepLib.Enums
{
public enum GrainType
{
No = 0x0,
Yes = 0x1,
Soft = 0x2,
Hard = 0x3
}
}

View File

@@ -0,0 +1,10 @@
namespace PepLib.Enums
{
public enum KerfType
{
None,
Left,
Right
}
}

View File

@@ -0,0 +1,8 @@
namespace PepLib.Enums
{
public enum ProgrammingMode
{
Absolute,
Incremental
}
}

View File

@@ -0,0 +1,16 @@
namespace PepLib.Enums
{
public enum RotationType
{
/// <summary>
/// Clockwise
/// </summary>
CW,
/// <summary>
/// Counter-Clockwise
/// </summary>
CCW
}
}

View File

@@ -0,0 +1,11 @@
namespace PepLib.Enums
{
public enum StatusType
{
ToBeCut,
Quote,
HasBeenCut,
Temp
}
}