Class DeviceConfigExtensions
Расширения для работы с БД настроек устройства.
public static class DeviceConfigExtensions
- Inheritance
-
DeviceConfigExtensions
- Inherited Members
Methods
GetDeviceConfig(RestClient, EntityIdentifier, DateTime, DateTime)
Возвращает параметры БД настроек устройства.
public static Task<DeviceConfigParameterValue[]> GetDeviceConfig(this RestClient client, EntityIdentifier equipmentId, DateTime start, DateTime end)
Parameters
clientRestClientequipmentIdEntityIdentifierstartDateTimeendDateTime
Returns
GetLatestDeviceConfig(RestClient, EntityIdentifier)
Возвращает последние параметры БД настроек устройства.
public static Task<DeviceConfigParameterValue[]> GetLatestDeviceConfig(this RestClient client, EntityIdentifier equipmentId)
Parameters
clientRestClientequipmentIdEntityIdentifier
Returns
ImportDeviceConfig(RestClient, IEnumerable<DeviceConfigParameterValue>)
Импортирует базу настроек устройства.
public static Task ImportDeviceConfig(this RestClient client, IEnumerable<DeviceConfigParameterValue> values)
Parameters
clientRestClientvaluesIEnumerable<DeviceConfigParameterValue>