Added new library with maintenances counters
Added maintenances thread
This commit is contained in:
Lucio Maranta
2018-02-14 17:33:05 +01:00
parent ff11711599
commit ac91aa08aa
19 changed files with 586 additions and 114 deletions
+4 -1
View File
@@ -65,7 +65,10 @@ namespace Step.Config
LocalizedNames = x.Element("localizedNames").Elements().ToDictionary( // Read names list
y => y.Attribute("langKey").Value, y => y.Value
),
count = Convert.ToInt32(x.Element("interval").Value)
Intervall = TimeSpan.FromHours(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)
}
)
.ToList();