12 lines
472 B
C#
12 lines
472 B
C#
using FanucProgramManager.Cnc.Models;
|
|
|
|
namespace FanucProgramManager.Cnc
|
|
{
|
|
/// <summary>Validates NC program content before upload to a CNC controller.</summary>
|
|
public interface INcProgramValidator
|
|
{
|
|
/// <param name="programName">File name or program identifier (used for name-format checks).</param>
|
|
/// <param name="content">Full program content string.</param>
|
|
ValidationResult Validate(string programName, string content);
|
|
}
|
|
}
|