diff --git a/CMS_CORE_Library/S7Net/Nc_S7Net.cs b/CMS_CORE_Library/S7Net/Nc_S7Net.cs index 80ff905..147d314 100644 --- a/CMS_CORE_Library/S7Net/Nc_S7Net.cs +++ b/CMS_CORE_Library/S7Net/Nc_S7Net.cs @@ -41,6 +41,8 @@ namespace CMS_CORE_Library.S7Net // Alarms data private static Dictionary PlcMessages; + private const string PLC_MESSAGE_PATH = "C:/CMS/S7NET/"; + private const string THERMO_DICT_PATH = "C:/CMS/ThermoActive/Dict/"; private static ushort SelectedProcess = 1; @@ -206,8 +208,6 @@ namespace CMS_CORE_Library.S7Net /// public override CmsError NC_GetTranslatedPlcMessages(string language, ref Dictionary messages) { - // FIXME TODO -#if false string filePath; try { @@ -234,8 +234,7 @@ namespace CMS_CORE_Library.S7Net { return ManageException(ex); } -#endif - return FUNCTION_NOT_ALLOWED_ERROR; + return NO_ERROR; } /// /// Elenco lingue disponibili @@ -568,7 +567,6 @@ namespace CMS_CORE_Library.S7Net for (i = 0; i < ALARMS_STATUS.Size * 8; i++) { // If alarm is active - //if (statusBits[i]) if (bArray[i]) { // Calculate matching alarm byte info address