Rename WellMapInfoDto.TvdLagPercent => WellMapInfoDto.TvdLagDays

This commit is contained in:
ngfrolov 2023-07-03 12:33:00 +05:00
parent 14f3b16a7d
commit 16b5aed85c
Signed by: ng.frolov
GPG Key ID: E99907A0357B29A7
2 changed files with 3 additions and 3 deletions

View File

@ -95,9 +95,9 @@ namespace AsbCloudApp.Data
public PlanFactDto<double?> WellDepth { get; set; } = null!;
/// <summary>
/// Отставание от ГГД, %
/// Отставание от ГГД, дни
/// </summary>
public double TvdLagPercent { get; set; }
public double TvdLagDays { get; set; }
}
}

View File

@ -163,7 +163,7 @@ namespace AsbCloudInfrastructure.Services
wellMapInfo.SaubUsage = wellSubsystemStat?.SubsystemAKB?.KUsage ?? 0d;
wellMapInfo.SpinUsage = wellSubsystemStat?.SubsystemSpinMaster?.KUsage ?? 0d;
wellMapInfo.TorqueKUsage = wellSubsystemStat?.SubsystemTorqueMaster?.KUsage ?? 0d;
wellMapInfo.TvdLagPercent = wellOperationsStat?.TvdLagDays ?? 0d;
wellMapInfo.TvdLagDays = wellOperationsStat?.TvdLagDays ?? 0d;
wellMapInfo.IdsCompanies = well.Companies.Select(c => c.Id);
return wellMapInfo;