update PLC_RFunctionAccess (604.6) forced to true
This commit is contained in:
@@ -41,8 +41,7 @@ namespace CMS_CORE_Library.S7Net
|
||||
private static string UnitOfMeasure;
|
||||
|
||||
// Alarms data
|
||||
private static Dictionary<int, string> PlcMessages;
|
||||
private const string PLC_MESSAGE_PATH = "C:/CMS/S7NET/";
|
||||
private static Dictionary<int, string> PlcMessages = new Dictionary<int, string>();
|
||||
private const string THERMO_DICT_PATH = @"Dict\";
|
||||
|
||||
private static ushort SelectedProcess = 1;
|
||||
@@ -221,7 +220,7 @@ namespace CMS_CORE_Library.S7Net
|
||||
langName = cultureInfo.Parent.EnglishName;
|
||||
|
||||
//Setup the Path
|
||||
filePath = PLC_MESSAGE_PATH + @"Messaggi_" + langName + @".txt";
|
||||
filePath = THERMO_DICT_PATH + @"Messaggi_" + langName + @".txt";
|
||||
|
||||
//Read From Files
|
||||
messages = File.ReadAllLines(filePath, Encoding.Default)
|
||||
@@ -760,7 +759,8 @@ namespace CMS_CORE_Library.S7Net
|
||||
functions.Add(new FunctionalityModel()
|
||||
{
|
||||
Id = (uint)i + 1,
|
||||
IsActive = bits[i]
|
||||
// forzo a true perché non gestita dal PLC
|
||||
IsActive = true //bits[i]
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user