Add localized maintenances description
This commit is contained in:
@@ -165,7 +165,6 @@ namespace Step.Database.Controllers
|
||||
old.Interval = x.Intervall.TotalMinutes;
|
||||
old.Type = (MAINTENANCE_TYPE) Enum.Parse(typeof(MAINTENANCE_TYPE), x.Type);
|
||||
old.CounterId = x.CouterId;
|
||||
old.Description = x.Description;
|
||||
old.UnitOfMeasure = (MAINTENANCE_UNIT_OF_MEASURE)Enum.Parse(typeof(MAINTENANCE_UNIT_OF_MEASURE), x.UnitOfMeasure);
|
||||
return old;
|
||||
}).FirstOrDefault();
|
||||
@@ -184,7 +183,6 @@ namespace Step.Database.Controllers
|
||||
Type = (MAINTENANCE_TYPE)Enum.Parse(typeof(MAINTENANCE_TYPE), x.Type),
|
||||
CounterId = x.CouterId,
|
||||
CreationDate = DateTime.Now,
|
||||
Description = x.Description,
|
||||
UnitOfMeasure = (MAINTENANCE_UNIT_OF_MEASURE) Enum.Parse(typeof(MAINTENANCE_UNIT_OF_MEASURE),x.UnitOfMeasure),
|
||||
UserId = null,
|
||||
LastExpirationDate = null
|
||||
|
||||
Reference in New Issue
Block a user