diff --git a/MTC_Sim/MTC_Sim/AdapterFanuc.cs b/MTC_Sim/MTC_Sim/AdapterFanuc.cs index 46d1210..0dbec96 100644 --- a/MTC_Sim/MTC_Sim/AdapterFanuc.cs +++ b/MTC_Sim/MTC_Sim/AdapterFanuc.cs @@ -355,6 +355,7 @@ namespace MTC_Adapter { if (utils.CRB("verbose")) lg.Info("Inizio lettura dati da file"); int totRighe = 0; + // da rivedere: se sono N+1 file (N=path + generale) deve essere ad esempio nomeComune_*.mtc --> ciclo per leggerne N string fileName = string.Format(@"{0}\{1}", Application.StartupPath, utils.CRS("GeneralStatusFilePath")); string linea; totRighe = File.ReadLines(fileName).Count();