Added double type to heads limit

This commit is contained in:
Lucio Maranta
2018-03-26 17:34:55 +02:00
parent 02488f943b
commit 8de22eb62d
6 changed files with 14 additions and 13 deletions
+2 -2
View File
@@ -289,8 +289,8 @@ namespace Step.Config
Id = i++, // Autoincrement Id
Name = x.Element("name").Value,
Type = GetHeadType(x.Element("type").Value),
WarningLimit = Convert.ToInt16(x.Element("warningLimit").Value),
AlarmLimit = Convert.ToInt16(x.Element("alarmLimit").Value),
WarningLimit = Convert.ToDouble(x.Element("warningLimit").Value, CultureInfo.GetCultureInfo("en")),
AlarmLimit = Convert.ToDouble(x.Element("alarmLimit").Value, CultureInfo.GetCultureInfo("en")),
})
.ToList();
}