Phase 06 complete: - Namespace renamed in 62 .cs files (namespace + using directives) - AssemblyName + RootNamespace updated in csproj files - FanucProgramManager.csproj → NcProgramManager.csproj - FanucProgramManager.sln → NcProgramManager.sln - FanucProgramManager.Tests/ → NcProgramManager.Tests/ - FANUCMachine.cs deleted (dead code, zero references) Fanuc-prefixed class names kept (FanucMachine, FanucProgram, IFanucMachine) — manufacturer identifiers, not project names. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
21 lines
565 B
C#
21 lines
565 B
C#
namespace NcProgramManager.Cnc.Models
|
|
{
|
|
public sealed class ValidationError
|
|
{
|
|
public int Line { get; }
|
|
public string Message { get; }
|
|
public ValidationSeverity Severity { get; }
|
|
|
|
public ValidationError(int line, string message, ValidationSeverity severity)
|
|
{
|
|
Line = line;
|
|
Message = message ?? "";
|
|
Severity = severity;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return string.Format("[{0}] Line {1}: {2}", Severity, Line, Message);
|
|
}
|
|
}
|
|
}
|