Added double type to heads limit
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user