nc_program_manager/InputArgs.cs
dtrentin 89487256d7 fix(mazak): harden FTP list parsing + surface root-list failure
- FtpListParser: tolerant DOS/IIS regex (optional AM/PM, 2-or-4-digit
  year, 1-or-2-digit hour) for 24h/locale-dependent Mazak servers;
  NLST fallback now only accepts single-token lines (multi-token
  garbage/header -> skip) to avoid whole-line-as-filename.
- MazakMachine.BuildTreeAsync: root-level LIST failure now propagates
  -> Fail (no more silent exit 0 on a diagnostic probe). Children keep
  best-effort inline "errore lista" swallow. Depth semantics preserved.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-18 15:14:57 +02:00

25 lines
925 B
C#
Executable file

using NcProgramManager.Cnc.Models;
namespace NcProgramManager
{
internal class InputArgs
{
public CncManufacturer manufacturer = CncManufacturer.Fanuc;
public int tipo = 0; // kept for legacy parsing only
public string azione = "";
public string ip = "";
public string porta = "";
public short pathCNC = 1;
public int nodoHssb = -1;
public string username = "";
public string password = "";
public string commentoProgramma = "";
public string pathLocaleProgramma = "";
public string ftpDir = ""; // Mazak: remote FTP program directory (LISTA/probe)
public bool compatibilityMode = false;
public bool hasToolOffsetData = false;
public bool hasWorkZeroOffsetData = false;
public bool mostraHelp = false;
public bool debugMode = false;
}
}