forked from ddrilling/AsbCloudServer
Fix encoding and some descriptions
This commit is contained in:
parent
1f2f3206b1
commit
d59da670ae
@ -15,12 +15,12 @@ public class TelemetryPartDeleteRequest : IValidatableObject
|
|||||||
public int IdTelemetry { get; set; }
|
public int IdTelemetry { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// greater or equal then Date
|
/// greater or equal then Date. Must be set one of GeDate or LeDate
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public DateTimeOffset? GeDate { get; set; }
|
public DateTimeOffset? GeDate { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// less or equal then Date
|
/// less or equal then Date. Must be set one of GeDate or LeDate
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public DateTimeOffset? LeDate { get; set; }
|
public DateTimeOffset? LeDate { get; set; }
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ namespace AsbCloudInfrastructure.Repository
|
|||||||
return dto;
|
return dto;
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO: Унифицировать модели данных телеметрии.Чтобы в будущем унифицировать репозитории данных телеметрии.
|
//TODO: Унифицировать модели данных телеметрии.Чтобы в будущем унифицировать репозитории данных телеметрии.
|
||||||
private IQueryable<DrillTest> BuildQuery(TelemetryPartDeleteRequest request)
|
private IQueryable<DrillTest> BuildQuery(TelemetryPartDeleteRequest request)
|
||||||
{
|
{
|
||||||
var query = db.Set<DrillTest>()
|
var query = db.Set<DrillTest>()
|
||||||
|
@ -70,7 +70,7 @@ namespace AsbCloudInfrastructure.Services.SAUB
|
|||||||
|
|
||||||
public async Task<int> DeleteAsync(TelemetryPartDeleteRequest request, CancellationToken token)
|
public async Task<int> DeleteAsync(TelemetryPartDeleteRequest request, CancellationToken token)
|
||||||
{
|
{
|
||||||
int result = 0;
|
var result = 0;
|
||||||
foreach (var repository in repositories)
|
foreach (var repository in repositories)
|
||||||
{
|
{
|
||||||
result += await repository.DeleteAsync(request, token);
|
result += await repository.DeleteAsync(request, token);
|
||||||
|
Loading…
Reference in New Issue
Block a user