- 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>
25 lines
925 B
C#
Executable file
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;
|
|
}
|
|
}
|