Files
hcs/Hcs.Client/ClientApi/DeviceMeteringApi/HcsDeviceMeteringApi.cs
HOME-LAPTOP\kshkulev 33ab055b43 Add project
Basic formatting applied. Unnecessary comments have been removed. Suspicious code is covered by TODO.
2025-08-12 11:21:10 +09:00

28 lines
940 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using Hcs.ClientApi.DataTypes;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Hcs.ClientApi.DeviceMeteringApi
{
/// <summary>
/// Методы ГИС ЖКХ сервиса hcs-device-metering (показания приборов учета)
/// </summary>
public class HcsDeviceMeteringApi
{
public HcsClientConfig Config { get; private set; }
public HcsDeviceMeteringApi(HcsClientConfig config)
{
this.Config = config;
}
public async Task<DateTime> РазместитьПоказания(
ГисПриборУчета прибор, ГисПоказания показания, CancellationToken token = default)
{
var method = new HcsMethodImportMeteringDevicesValues(Config);
return await method.ImportMeteringDevicesValues(прибор, показания, token);
}
}
}