fix report model error

This commit is contained in:
Фролов 2021-05-24 16:31:02 +05:00
parent 7f12f48cb9
commit 7e1ccc21ab
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ namespace AsbCloudDb.Model
public DateTime Begin { get; set; }
[Column("end"), Comment("timestamp with time zone")]
public DateTime End { get; set; }
[Column("step", TypeName = "размер шага в секундах")]
[Column("step"), Comment("размер шага в секундах")]
public int Step { get; set; }
[Column("format"), Comment("Формат отчета")]
public int Format { get; set; }

View File

@ -38,7 +38,7 @@ namespace AsbCloudInfrastructure.Services
using (var context = new AsbCloudDbContext(optionsBuilder.Options))
{
var generator = GetReportGenerator(wellId, begin, end, stepSeconds, format, context);
generator.OnProgress += (s,e)=>progressHandler.Invoke(e.progress, e.operation, id);
generator.OnProgress += (s,e) => progressHandler.Invoke(e.progress, e.operation, id);
generator.Make();
}
});