Вот содержание лога работы модуля поле обновления:
"Командная строка: /overwriteExisting
Разбор входных параметров…
Параметры запуска:
- начальная дата: не указана*
- конечная дата: не указана*
- точки учета: все доступные*
- перезапись: да*
- режим запуска: ручной*
Период для импорта не указан, будет выполнен импорт данных с 19.09.2024 0:00:00
Чтение настроек из XML-файла…
Подключение к серверу Энергии…
подключаемся к http://si.co.energy:1081/soap/IRemoteEnergy как VorobevDL
Подключение к серверу ЛЭРС УЧЕТ…
подключаемся к localhost:10000 как enegry
Запрашиваем список точек учета из ЛЭРС УЧЕТ…
Произошла ошибка: 1. [Lers.ImportEnergy] Lers.Http.Api.ApiException: Could not deserialize the response body stream as Lers.Http.Api.GetMeasurePointListResponseParameters.
Status: 200
Response:
Стек вызовов:
- at Lers.Http.Api.MeasurePointsClient.ReadObjectResponseAsync[T](HttpResponseMessage response, IReadOnlyDictionary`2 headers, CancellationToken cancellationToken)*
- at Lers.Http.Api.MeasurePointsClient.GetMeasurePointsAsync(Nullable
1 getEquipment, Nullable
1 getAttributes, Nullable1 getCustomers, Nullable
1 getLastConsumption, Nullable`1 type, CancellationToken cancellationToken)* - at Lers.ImportEnergy.ImportManager.Start()*
- at Lers.ImportEnergy.Program.Main(String args)*
HResult:-2146233088
--------------------------------------------------------------------------------------
2. [Newtonsoft.Json] Newtonsoft.Json.JsonSerializationException: Unexpected token StartArray when parsing enum. Path ‘measurePoints[0].diagDataTypes’, line 1, position 1556.
Стек вызовов:
- at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)*
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)*
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)*
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)*
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)*
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)*
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)*
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)*
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)*
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)*
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)*
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)*
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)*
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)*
- at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)*
- at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)*
- at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)*
- at Lers.Http.Api.MeasurePointsClient.ReadObjectResponseAsync[T](HttpResponseMessage response, IReadOnlyDictionary`2 headers, CancellationToken cancellationToken)*
HResult:-2146233088
--------------------------------------------------------------------------------------
Для закрытия окна нажмите любую клавишу…
"