Improved maintenances and fix function access

This commit is contained in:
Lucio Maranta
2018-02-15 12:23:23 +01:00
parent ac91aa08aa
commit 149597314d
16 changed files with 108 additions and 30 deletions
+2 -2
View File
@@ -65,10 +65,10 @@ namespace Step.Config
LocalizedNames = x.Element("localizedNames").Elements().ToDictionary( // Read names list
y => y.Attribute("langKey").Value, y => y.Value
),
Intervall = TimeSpan.FromHours(Convert.ToDouble(x.Element("interval").Value)),
Intervall = TimeSpan.FromMinutes(Convert.ToDouble(x.Element("interval").Value)),
Deadline = DateTime.Parse(x.Element("deadline").Value),
Type = x.Element("type").Value,
CouterId = Convert.ToInt32(x.Element("counterId").Value)
CouterId = Convert.ToInt32(x.Element("counterId").Value)
}
)
.ToList();