nc_program_manager/Cnc
Trentin Davide 85d0b579aa fix(validator,field-test): unblock Fanuc/Mitsubishi upload (ISS-018, ISS-019)
ISS-018: FanucProgram.Standardize() prepends a leading '\n' to the
program body, so the O#### header is not on lines[0]. The validator
first-line check read lines[0] and always failed "First line must be
O####", rejecting every valid Fanuc/Mitsubishi upload. Scan the first
non-blank line instead. Upload (FOCAS tape) format unchanged.

ISS-019: field-test .bat files passed -pathprogramma unquoted; on
install paths with spaces ("visual studio prove") cmd split the arg and
ArgParser captured only the first token -> truncated path. Quote the
arg in all 7 scripts.

Add regression test Validate_LeadingBlankLineBeforeONumber for both
Fanuc and Mitsubishi.

Surfaced by field testing against a local docker FTP server.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 09:42:46 +02:00
..
Fagor feat(16-fagor): Fagor CNC FTP support + validator gating 2026-05-25 20:27:18 +02:00
Fanuc feat(15-logging): NLog structured logging — all output through NLog (v0.5 complete) 2026-05-18 23:57:27 +02:00
Heidenhain feat(15-logging): NLog structured logging — all output through NLog (v0.5 complete) 2026-05-18 23:57:27 +02:00
Mitsubishi feat(15-logging): NLog structured logging — all output through NLog (v0.5 complete) 2026-05-18 23:57:27 +02:00
Models feat(16-fagor): Fagor CNC FTP support + validator gating 2026-05-25 20:27:18 +02:00
Siemens feat(15-logging): NLog structured logging — all output through NLog (v0.5 complete) 2026-05-18 23:57:27 +02:00
CncMachineFactory.cs feat(16-fagor): Fagor CNC FTP support + validator gating 2026-05-25 20:27:18 +02:00
ICncMachine.cs refactor(rename): FanucProgramManager → NcProgramManager 2026-05-17 22:31:36 +02:00
IFanucMachine.cs refactor(rename): FanucProgramManager → NcProgramManager 2026-05-17 22:31:36 +02:00
INcProgramValidator.cs refactor(rename): FanucProgramManager → NcProgramManager 2026-05-17 22:31:36 +02:00
NcProgramValidator.cs fix(validator,field-test): unblock Fanuc/Mitsubishi upload (ISS-018, ISS-019) 2026-06-02 09:42:46 +02:00