Added readonly field to NC softkeys

This commit is contained in:
Lucio Maranta
2018-03-22 16:17:23 +01:00
parent 25fa366171
commit ca272f4515
5 changed files with 34 additions and 4 deletions
+2 -1
View File
@@ -221,7 +221,8 @@ namespace Step.Config
Id = GetPlcIdFromNcSoftKey(x.Name.ToString()),
Name = x.Name.ToString(),
VisualizedName = x.Element("visualizedName").Value,
IsActive = Convert.ToBoolean(x.Element("active").Value)
IsActive = Convert.ToBoolean(x.Element("active").Value),
IsReadOnly = Convert.ToBoolean(x.Element("readOnly").Value)
})
.ToList();
}