Added fields to maintenances model and config

This commit is contained in:
Lucio Maranta
2018-06-05 16:26:08 +02:00
parent 801e422345
commit 83cf50ecab
18 changed files with 163 additions and 29 deletions
+3 -1
View File
@@ -212,7 +212,9 @@ namespace Step.Config
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),
Description = x.Element("description").Value,
UnitOfMeasure = x.Element("unitOfMeasure").Value
})
.ToList();
}