From 8b3e1249c06b9ccd2c36f0ccf0ea6d4c233c92c3 Mon Sep 17 00:00:00 2001 From: "HOME-LAPTOP\\kshkulev" Date: Mon, 8 Sep 2025 19:09:12 +0900 Subject: [PATCH] Add device metering values import --- Hcs.Client/Client/Api/DeviceMeteringApi.cs | 23 + .../DeviceMeteringRequestBase.cs | 55 + .../ImportMeteringDeviceValuesRequest.cs | 40 + Hcs.Client/Client/UniClient.cs | 2 + ...Async.DeviceMetering.AckRequest.datasource | 10 + ...ync.DeviceMetering.ResultHeader.datasource | 10 + ...rtMeteringDeviceHistoryResponse.datasource | 10 + ...DeviceMetering.getStateResponse.datasource | 10 + ...c.DeviceMetering.getStateResult.datasource | 10 + ...ortMeteringDeviceValuesResponse.datasource | 10 + .../Service.Async.DeviceMetering/Reference.cs | 5309 +++++++++++++++++ .../Reference.svcmap | 36 + .../configuration.svcinfo | 11 + .../configuration91.svcinfo | 310 + .../Service.Async.DeviceMetering/hcs-base.xsd | 862 +++ .../hcs-device-metering-service-async.wsdl | 106 + .../hcs-device-metering-types.xsd | 997 ++++ .../hcs-metering-device-base.xsd | 159 + .../hcs-nsi-base.xsd | 427 ++ .../xmldsig-core-schema.xsd | 213 + Hcs.Client/Hcs.Client.csproj | 49 + Hcs.Client/app.config | 8 + Hcs.TestApp/Hcs.TestApp.csproj | 1 + Hcs.TestApp/TestApp/Program.cs | 3 + .../Scenario/DeviceMeteringScenario.cs | 56 + 25 files changed, 8727 insertions(+) create mode 100644 Hcs.Client/Client/Api/DeviceMeteringApi.cs create mode 100644 Hcs.Client/Client/Api/Request/DeviceMetering/DeviceMeteringRequestBase.cs create mode 100644 Hcs.Client/Client/Api/Request/DeviceMetering/ImportMeteringDeviceValuesRequest.cs create mode 100644 Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.AckRequest.datasource create mode 100644 Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.ResultHeader.datasource create mode 100644 Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.exportMeteringDeviceHistoryResponse.datasource create mode 100644 Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.getStateResponse.datasource create mode 100644 Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.getStateResult.datasource create mode 100644 Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.importMeteringDeviceValuesResponse.datasource create mode 100644 Hcs.Client/Connected Services/Service.Async.DeviceMetering/Reference.cs create mode 100644 Hcs.Client/Connected Services/Service.Async.DeviceMetering/Reference.svcmap create mode 100644 Hcs.Client/Connected Services/Service.Async.DeviceMetering/configuration.svcinfo create mode 100644 Hcs.Client/Connected Services/Service.Async.DeviceMetering/configuration91.svcinfo create mode 100644 Hcs.Client/Connected Services/Service.Async.DeviceMetering/hcs-base.xsd create mode 100644 Hcs.Client/Connected Services/Service.Async.DeviceMetering/hcs-device-metering-service-async.wsdl create mode 100644 Hcs.Client/Connected Services/Service.Async.DeviceMetering/hcs-device-metering-types.xsd create mode 100644 Hcs.Client/Connected Services/Service.Async.DeviceMetering/hcs-metering-device-base.xsd create mode 100644 Hcs.Client/Connected Services/Service.Async.DeviceMetering/hcs-nsi-base.xsd create mode 100644 Hcs.Client/Connected Services/Service.Async.DeviceMetering/xmldsig-core-schema.xsd create mode 100644 Hcs.TestApp/TestApp/Scenario/DeviceMeteringScenario.cs diff --git a/Hcs.Client/Client/Api/DeviceMeteringApi.cs b/Hcs.Client/Client/Api/DeviceMeteringApi.cs new file mode 100644 index 0000000..73b7423 --- /dev/null +++ b/Hcs.Client/Client/Api/DeviceMeteringApi.cs @@ -0,0 +1,23 @@ +using Hcs.Client.Api.Request.DeviceMetering; +using Hcs.Service.Async.DeviceMetering; +using System.Threading; +using System.Threading.Tasks; + +namespace Hcs.Client.Api +{ + // http://open-gkh.ru/DeviceMeteringServiceAsync/ + public class DeviceMeteringApi(ClientBase client) : ApiBase(client) + { + /// + /// Импорт показаний приборов учета + /// + /// Показания прибора учета + /// Токен отмены + /// true, если операция выполнена успешно, иначе - false + public async Task ImportMeteringDeviceValuesAsync(importMeteringDeviceValuesRequestMeteringDevicesValues values, CancellationToken token = default) + { + var request = new ImportMeteringDeviceValuesRequest(client); + return await request.ExecuteAsync(values, token); + } + } +} diff --git a/Hcs.Client/Client/Api/Request/DeviceMetering/DeviceMeteringRequestBase.cs b/Hcs.Client/Client/Api/Request/DeviceMetering/DeviceMeteringRequestBase.cs new file mode 100644 index 0000000..c01be9e --- /dev/null +++ b/Hcs.Client/Client/Api/Request/DeviceMetering/DeviceMeteringRequestBase.cs @@ -0,0 +1,55 @@ +using Hcs.Client.Api.Request; +using Hcs.Client.Api.Request.Adapter; +using Hcs.Service.Async.DeviceMetering; +using System.Threading.Tasks; + +namespace Hcs.Service.Async.DeviceMetering +{ +#pragma warning disable IDE1006 + public partial class getStateResult : IGetStateResultMany { } +#pragma warning restore IDE1006 + + public partial class DeviceMeteringPortTypesAsyncClient : IAsyncClient + { + public async Task GetStateAsync(RequestHeader header, IGetStateRequest request) + { + return await getStateAsync(header, (getStateRequest)request); + } + } + +#pragma warning disable IDE1006 + public partial class getStateResponse : IGetStateResponse +#pragma warning restore IDE1006 + { + public IGetStateResult GetStateResult => getStateResult; + } + + public partial class AckRequestAck : IAck { } + + public partial class ErrorMessageType : IErrorMessage { } + +#pragma warning disable IDE1006 + public partial class getStateRequest : IGetStateRequest { } +#pragma warning restore IDE1006 +} + +namespace Hcs.Client.Api.Request.DeviceMetering +{ + internal class DeviceMeteringRequestBase(ClientBase client) : + RequestBase(client) + { + protected override EndPoint EndPoint => EndPoint.DeviceMeteringAsync; + + protected override bool EnableMinimalResponseWaitDelay => true; + + protected override bool CanBeRestarted => true; + + protected override int RestartTimeoutMinutes => 20; + } +} diff --git a/Hcs.Client/Client/Api/Request/DeviceMetering/ImportMeteringDeviceValuesRequest.cs b/Hcs.Client/Client/Api/Request/DeviceMetering/ImportMeteringDeviceValuesRequest.cs new file mode 100644 index 0000000..927ee69 --- /dev/null +++ b/Hcs.Client/Client/Api/Request/DeviceMetering/ImportMeteringDeviceValuesRequest.cs @@ -0,0 +1,40 @@ +using Hcs.Client.Api.Request.Exception; +using Hcs.Client.Internal; +using Hcs.Service.Async.DeviceMetering; +using System.Linq; +using System.Threading; +using System.Threading.Tasks; + +namespace Hcs.Client.Api.Request.DeviceMetering +{ + internal class ImportMeteringDeviceValuesRequest(ClientBase client) : DeviceMeteringRequestBase(client) + { + protected override bool CanBeRestarted => false; + + internal async Task ExecuteAsync(importMeteringDeviceValuesRequestMeteringDevicesValues values, CancellationToken token) + { + // http://open-gkh.ru/DeviceMetering/importMeteringDeviceValuesRequest.html + var request = new importMeteringDeviceValuesRequest + { + Id = Constants.SIGNED_XML_ELEMENT_ID, + version = "10.0.1.1", + MeteringDevicesValues = [values] + }; + + var result = await SendAndWaitResultAsync(request, async asyncClient => + { + var response = await asyncClient.importMeteringDeviceValuesAsync(CreateRequestHeader(), request); + return response.AckRequest.Ack; + }, token); + + result.Items.OfType().ToList().ForEach(error => + { + throw RemoteException.CreateNew(error.ErrorCode, error.Description); + }); + + // TODO: Проверить содержимое ответа + + return true; + } + } +} diff --git a/Hcs.Client/Client/UniClient.cs b/Hcs.Client/Client/UniClient.cs index 08fe179..189fde9 100644 --- a/Hcs.Client/Client/UniClient.cs +++ b/Hcs.Client/Client/UniClient.cs @@ -11,6 +11,8 @@ namespace Hcs.Client /// public class UniClient : ClientBase { + public DeviceMeteringApi DeviceMetering => new(this); + public HouseManagementApi HouseManagement => new(this); public NsiApi Nsi => new(this); diff --git a/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.AckRequest.datasource b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.AckRequest.datasource new file mode 100644 index 0000000..5236edd --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.AckRequest.datasource @@ -0,0 +1,10 @@ + + + + Hcs.Service.Async.DeviceMetering.AckRequest, Connected Services.Service.Async.DeviceMetering.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.ResultHeader.datasource b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.ResultHeader.datasource new file mode 100644 index 0000000..60901e2 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.ResultHeader.datasource @@ -0,0 +1,10 @@ + + + + Hcs.Service.Async.DeviceMetering.ResultHeader, Connected Services.Service.Async.DeviceMetering.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.exportMeteringDeviceHistoryResponse.datasource b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.exportMeteringDeviceHistoryResponse.datasource new file mode 100644 index 0000000..c47c0d3 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.exportMeteringDeviceHistoryResponse.datasource @@ -0,0 +1,10 @@ + + + + Hcs.Service.Async.DeviceMetering.exportMeteringDeviceHistoryResponse, Connected Services.Service.Async.DeviceMetering.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.getStateResponse.datasource b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.getStateResponse.datasource new file mode 100644 index 0000000..e0b4da6 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.getStateResponse.datasource @@ -0,0 +1,10 @@ + + + + Hcs.Service.Async.DeviceMetering.getStateResponse, Connected Services.Service.Async.DeviceMetering.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.getStateResult.datasource b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.getStateResult.datasource new file mode 100644 index 0000000..74f9dc6 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.getStateResult.datasource @@ -0,0 +1,10 @@ + + + + Hcs.Service.Async.DeviceMetering.getStateResult, Connected Services.Service.Async.DeviceMetering.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.importMeteringDeviceValuesResponse.datasource b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.importMeteringDeviceValuesResponse.datasource new file mode 100644 index 0000000..04d9a79 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Hcs.Service.Async.DeviceMetering.importMeteringDeviceValuesResponse.datasource @@ -0,0 +1,10 @@ + + + + Hcs.Service.Async.DeviceMetering.importMeteringDeviceValuesResponse, Connected Services.Service.Async.DeviceMetering.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Reference.cs b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Reference.cs new file mode 100644 index 0000000..5dee8ab --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Reference.cs @@ -0,0 +1,5309 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +namespace Hcs.Service.Async.DeviceMetering { + + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class Fault : object, System.ComponentModel.INotifyPropertyChanged { + + private string errorCodeField; + + private string errorMessageField; + + private string stackTraceField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string ErrorCode { + get { + return this.errorCodeField; + } + set { + this.errorCodeField = value; + this.RaisePropertyChanged("ErrorCode"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string ErrorMessage { + get { + return this.errorMessageField; + } + set { + this.errorMessageField = value; + this.RaisePropertyChanged("ErrorMessage"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string StackTrace { + get { + return this.stackTraceField; + } + set { + this.stackTraceField = value; + this.RaisePropertyChanged("StackTrace"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VolumeMeteringValueExportBaseType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VolumeCurrentMeteringValueExportType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VolumeMeteringValueImportType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/metering-device-base/")] + public partial class VolumeMeteringValueBaseType : object, System.ComponentModel.INotifyPropertyChanged { + + private nsiRef municipalResourceField; + + private string meteringValueT1Field; + + private string meteringValueT2Field; + + private string meteringValueT3Field; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public nsiRef MunicipalResource { + get { + return this.municipalResourceField; + } + set { + this.municipalResourceField = value; + this.RaisePropertyChanged("MunicipalResource"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string MeteringValueT1 { + get { + return this.meteringValueT1Field; + } + set { + this.meteringValueT1Field = value; + this.RaisePropertyChanged("MeteringValueT1"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string MeteringValueT2 { + get { + return this.meteringValueT2Field; + } + set { + this.meteringValueT2Field = value; + this.RaisePropertyChanged("MeteringValueT2"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string MeteringValueT3 { + get { + return this.meteringValueT3Field; + } + set { + this.meteringValueT3Field = value; + this.RaisePropertyChanged("MeteringValueT3"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class nsiRef : object, System.ComponentModel.INotifyPropertyChanged { + + private string codeField; + + private string gUIDField; + + private string nameField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Code { + get { + return this.codeField; + } + set { + this.codeField = value; + this.RaisePropertyChanged("Code"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string GUID { + get { + return this.gUIDField; + } + set { + this.gUIDField = value; + this.RaisePropertyChanged("GUID"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VolumeCurrentMeteringValueExportType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class VolumeMeteringValueExportBaseType : VolumeMeteringValueBaseType { + + private string readingsSourceField; + + private string orgPPAGUIDField; + + private System.DateTime enterIntoSystemField; + + private string unitField; + + private VolumeMeteringValueExportBaseTypeMeteringValueInDefaultUnit meteringValueInDefaultUnitField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string ReadingsSource { + get { + return this.readingsSourceField; + } + set { + this.readingsSourceField = value; + this.RaisePropertyChanged("ReadingsSource"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string orgPPAGUID { + get { + return this.orgPPAGUIDField; + } + set { + this.orgPPAGUIDField = value; + this.RaisePropertyChanged("orgPPAGUID"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.DateTime EnterIntoSystem { + get { + return this.enterIntoSystemField; + } + set { + this.enterIntoSystemField = value; + this.RaisePropertyChanged("EnterIntoSystem"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Unit { + get { + return this.unitField; + } + set { + this.unitField = value; + this.RaisePropertyChanged("Unit"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public VolumeMeteringValueExportBaseTypeMeteringValueInDefaultUnit MeteringValueInDefaultUnit { + get { + return this.meteringValueInDefaultUnitField; + } + set { + this.meteringValueInDefaultUnitField = value; + this.RaisePropertyChanged("MeteringValueInDefaultUnit"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class VolumeMeteringValueExportBaseTypeMeteringValueInDefaultUnit : object, System.ComponentModel.INotifyPropertyChanged { + + private string meteringValueT1Field; + + private string meteringValueT2Field; + + private string meteringValueT3Field; + + private string defaultUnitField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string MeteringValueT1 { + get { + return this.meteringValueT1Field; + } + set { + this.meteringValueT1Field = value; + this.RaisePropertyChanged("MeteringValueT1"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string MeteringValueT2 { + get { + return this.meteringValueT2Field; + } + set { + this.meteringValueT2Field = value; + this.RaisePropertyChanged("MeteringValueT2"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string MeteringValueT3 { + get { + return this.meteringValueT3Field; + } + set { + this.meteringValueT3Field = value; + this.RaisePropertyChanged("MeteringValueT3"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string DefaultUnit { + get { + return this.defaultUnitField; + } + set { + this.defaultUnitField = value; + this.RaisePropertyChanged("DefaultUnit"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class VolumeCurrentMeteringValueExportType : VolumeMeteringValueExportBaseType { + + private System.DateTime dateValueField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime DateValue { + get { + return this.dateValueField; + } + set { + this.dateValueField = value; + this.RaisePropertyChanged("DateValue"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class VolumeMeteringValueImportType : VolumeMeteringValueBaseType { + + private System.DateTime dateValueField; + + private string transportGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=0)] + public System.DateTime DateValue { + get { + return this.dateValueField; + } + set { + this.dateValueField = value; + this.RaisePropertyChanged("DateValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/", Order=1)] + public string TransportGUID { + get { + return this.transportGUIDField; + } + set { + this.transportGUIDField = value; + this.RaisePropertyChanged("TransportGUID"); + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ElectricMeteringValueExportType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ElectricMeteringValueExportWithTSType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ElectricMeteringValueExportType1))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ElectricCurrentMeteringValueExportType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ElectricMeteringValueImportType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/metering-device-base/")] + public partial class ElectricMeteringValueBaseType : object, System.ComponentModel.INotifyPropertyChanged { + + private string meteringValueT1Field; + + private string meteringValueT2Field; + + private string meteringValueT3Field; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string MeteringValueT1 { + get { + return this.meteringValueT1Field; + } + set { + this.meteringValueT1Field = value; + this.RaisePropertyChanged("MeteringValueT1"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string MeteringValueT2 { + get { + return this.meteringValueT2Field; + } + set { + this.meteringValueT2Field = value; + this.RaisePropertyChanged("MeteringValueT2"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string MeteringValueT3 { + get { + return this.meteringValueT3Field; + } + set { + this.meteringValueT3Field = value; + this.RaisePropertyChanged("MeteringValueT3"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ElectricMeteringValueExportWithTSType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ElectricMeteringValueExportType1))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ElectricCurrentMeteringValueExportType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/metering-device-base/")] + public partial class ElectricMeteringValueExportType : ElectricMeteringValueBaseType { + + private string readingsSourceField; + + private string orgPPAGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string ReadingsSource { + get { + return this.readingsSourceField; + } + set { + this.readingsSourceField = value; + this.RaisePropertyChanged("ReadingsSource"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string orgPPAGUID { + get { + return this.orgPPAGUIDField; + } + set { + this.orgPPAGUIDField = value; + this.RaisePropertyChanged("orgPPAGUID"); + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ElectricMeteringValueExportType1))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ElectricCurrentMeteringValueExportType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/metering-device-base/")] + public partial class ElectricMeteringValueExportWithTSType : ElectricMeteringValueExportType { + + private System.DateTime enterIntoSystemField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime EnterIntoSystem { + get { + return this.enterIntoSystemField; + } + set { + this.enterIntoSystemField = value; + this.RaisePropertyChanged("EnterIntoSystem"); + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ElectricCurrentMeteringValueExportType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(TypeName="ElectricMeteringValueExportType", Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class ElectricMeteringValueExportType1 : ElectricMeteringValueExportWithTSType { + + private string unitField; + + private ElectricMeteringValueExportTypeMeteringValueInDefaultUnit meteringValueInDefaultUnitField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Unit { + get { + return this.unitField; + } + set { + this.unitField = value; + this.RaisePropertyChanged("Unit"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ElectricMeteringValueExportTypeMeteringValueInDefaultUnit MeteringValueInDefaultUnit { + get { + return this.meteringValueInDefaultUnitField; + } + set { + this.meteringValueInDefaultUnitField = value; + this.RaisePropertyChanged("MeteringValueInDefaultUnit"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class ElectricMeteringValueExportTypeMeteringValueInDefaultUnit : object, System.ComponentModel.INotifyPropertyChanged { + + private string meteringValueT1Field; + + private string meteringValueT2Field; + + private string meteringValueT3Field; + + private string defaultUnitField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string MeteringValueT1 { + get { + return this.meteringValueT1Field; + } + set { + this.meteringValueT1Field = value; + this.RaisePropertyChanged("MeteringValueT1"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string MeteringValueT2 { + get { + return this.meteringValueT2Field; + } + set { + this.meteringValueT2Field = value; + this.RaisePropertyChanged("MeteringValueT2"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string MeteringValueT3 { + get { + return this.meteringValueT3Field; + } + set { + this.meteringValueT3Field = value; + this.RaisePropertyChanged("MeteringValueT3"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string DefaultUnit { + get { + return this.defaultUnitField; + } + set { + this.defaultUnitField = value; + this.RaisePropertyChanged("DefaultUnit"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class ElectricCurrentMeteringValueExportType : ElectricMeteringValueExportType1 { + + private System.DateTime dateValueField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime DateValue { + get { + return this.dateValueField; + } + set { + this.dateValueField = value; + this.RaisePropertyChanged("DateValue"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class ElectricMeteringValueImportType : ElectricMeteringValueBaseType { + + private System.DateTime dateValueField; + + private string transportGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=0)] + public System.DateTime DateValue { + get { + return this.dateValueField; + } + set { + this.dateValueField = value; + this.RaisePropertyChanged("DateValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/", Order=1)] + public string TransportGUID { + get { + return this.transportGUIDField; + } + set { + this.transportGUIDField = value; + this.RaisePropertyChanged("TransportGUID"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class YearMonth : object, System.ComponentModel.INotifyPropertyChanged { + + private short yearField; + + private int monthField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public short Year { + get { + return this.yearField; + } + set { + this.yearField = value; + this.RaisePropertyChanged("Year"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public int Month { + get { + return this.monthField; + } + set { + this.monthField = value; + this.RaisePropertyChanged("Month"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OneRateMeteringValueExportType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OneRateMeteringValueExportWithTSType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OneRateMeteringValueExportType1))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OneRateCurrentMeteringValueExportType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OneRateMeteringValueImportType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/metering-device-base/")] + public partial class OneRateMeteringValueBaseType : object, System.ComponentModel.INotifyPropertyChanged { + + private nsiRef municipalResourceField; + + private string meteringValueField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public nsiRef MunicipalResource { + get { + return this.municipalResourceField; + } + set { + this.municipalResourceField = value; + this.RaisePropertyChanged("MunicipalResource"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string MeteringValue { + get { + return this.meteringValueField; + } + set { + this.meteringValueField = value; + this.RaisePropertyChanged("MeteringValue"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OneRateMeteringValueExportWithTSType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OneRateMeteringValueExportType1))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OneRateCurrentMeteringValueExportType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/metering-device-base/")] + public partial class OneRateMeteringValueExportType : OneRateMeteringValueBaseType { + + private string readingsSourceField; + + private string orgPPAGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string ReadingsSource { + get { + return this.readingsSourceField; + } + set { + this.readingsSourceField = value; + this.RaisePropertyChanged("ReadingsSource"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string orgPPAGUID { + get { + return this.orgPPAGUIDField; + } + set { + this.orgPPAGUIDField = value; + this.RaisePropertyChanged("orgPPAGUID"); + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OneRateMeteringValueExportType1))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OneRateCurrentMeteringValueExportType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/metering-device-base/")] + public partial class OneRateMeteringValueExportWithTSType : OneRateMeteringValueExportType { + + private System.DateTime enterIntoSystemField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime EnterIntoSystem { + get { + return this.enterIntoSystemField; + } + set { + this.enterIntoSystemField = value; + this.RaisePropertyChanged("EnterIntoSystem"); + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OneRateCurrentMeteringValueExportType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(TypeName="OneRateMeteringValueExportType", Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class OneRateMeteringValueExportType1 : OneRateMeteringValueExportWithTSType { + + private string unitField; + + private OneRateMeteringValueExportTypeMeteringValueInDefaultUnit meteringValueInDefaultUnitField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Unit { + get { + return this.unitField; + } + set { + this.unitField = value; + this.RaisePropertyChanged("Unit"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public OneRateMeteringValueExportTypeMeteringValueInDefaultUnit MeteringValueInDefaultUnit { + get { + return this.meteringValueInDefaultUnitField; + } + set { + this.meteringValueInDefaultUnitField = value; + this.RaisePropertyChanged("MeteringValueInDefaultUnit"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class OneRateMeteringValueExportTypeMeteringValueInDefaultUnit : object, System.ComponentModel.INotifyPropertyChanged { + + private string meteringValueField; + + private string defaultUnitField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string MeteringValue { + get { + return this.meteringValueField; + } + set { + this.meteringValueField = value; + this.RaisePropertyChanged("MeteringValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string DefaultUnit { + get { + return this.defaultUnitField; + } + set { + this.defaultUnitField = value; + this.RaisePropertyChanged("DefaultUnit"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class OneRateCurrentMeteringValueExportType : OneRateMeteringValueExportType1 { + + private System.DateTime dateValueField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime DateValue { + get { + return this.dateValueField; + } + set { + this.dateValueField = value; + this.RaisePropertyChanged("DateValue"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class OneRateMeteringValueImportType : OneRateMeteringValueBaseType { + + private System.DateTime dateValueField; + + private string transportGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=0)] + public System.DateTime DateValue { + get { + return this.dateValueField; + } + set { + this.dateValueField = value; + this.RaisePropertyChanged("DateValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/", Order=1)] + public string TransportGUID { + get { + return this.transportGUIDField; + } + set { + this.transportGUIDField = value; + this.RaisePropertyChanged("TransportGUID"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class ObjectType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlNode[] anyField; + + private string idField; + + private string mimeTypeField; + + private string encodingField; + + /// + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlNode[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string MimeType { + get { + return this.mimeTypeField; + } + set { + this.mimeTypeField = value; + this.RaisePropertyChanged("MimeType"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Encoding { + get { + return this.encodingField; + } + set { + this.encodingField = value; + this.RaisePropertyChanged("Encoding"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SPKIDataType : object, System.ComponentModel.INotifyPropertyChanged { + + private object[] itemsField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("SPKISexp", typeof(byte[]), DataType="base64Binary", Order=0)] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class PGPDataType : object, System.ComponentModel.INotifyPropertyChanged { + + private object[] itemsField; + + private ItemsChoiceType1[] itemsElementNameField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("PGPKeyID", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("PGPKeyPacket", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType1[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", IncludeInSchema=false)] + public enum ItemsChoiceType1 { + + /// + [System.Xml.Serialization.XmlEnumAttribute("##any:")] + Item, + + /// + PGPKeyID, + + /// + PGPKeyPacket, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class X509IssuerSerialType : object, System.ComponentModel.INotifyPropertyChanged { + + private string x509IssuerNameField; + + private string x509SerialNumberField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string X509IssuerName { + get { + return this.x509IssuerNameField; + } + set { + this.x509IssuerNameField = value; + this.RaisePropertyChanged("X509IssuerName"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="integer", Order=1)] + public string X509SerialNumber { + get { + return this.x509SerialNumberField; + } + set { + this.x509SerialNumberField = value; + this.RaisePropertyChanged("X509SerialNumber"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class X509DataType : object, System.ComponentModel.INotifyPropertyChanged { + + private object[] itemsField; + + private ItemsChoiceType[] itemsElementNameField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509CRL", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509Certificate", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509IssuerSerial", typeof(X509IssuerSerialType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509SKI", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509SubjectName", typeof(string), Order=0)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", IncludeInSchema=false)] + public enum ItemsChoiceType { + + /// + [System.Xml.Serialization.XmlEnumAttribute("##any:")] + Item, + + /// + X509CRL, + + /// + X509Certificate, + + /// + X509IssuerSerial, + + /// + X509SKI, + + /// + X509SubjectName, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class RetrievalMethodType : object, System.ComponentModel.INotifyPropertyChanged { + + private TransformType[] transformsField; + + private string uRIField; + + private string typeField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("Transform", IsNullable=false)] + public TransformType[] Transforms { + get { + return this.transformsField; + } + set { + this.transformsField = value; + this.RaisePropertyChanged("Transforms"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string URI { + get { + return this.uRIField; + } + set { + this.uRIField = value; + this.RaisePropertyChanged("URI"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Type { + get { + return this.typeField; + } + set { + this.typeField = value; + this.RaisePropertyChanged("Type"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class TransformType : object, System.ComponentModel.INotifyPropertyChanged { + + private object[] itemsField; + + private string[] textField; + + private string algorithmField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("XPath", typeof(string), Order=0)] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute()] + public string[] Text { + get { + return this.textField; + } + set { + this.textField = value; + this.RaisePropertyChanged("Text"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { + get { + return this.algorithmField; + } + set { + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class RSAKeyValueType : object, System.ComponentModel.INotifyPropertyChanged { + + private byte[] modulusField; + + private byte[] exponentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=0)] + public byte[] Modulus { + get { + return this.modulusField; + } + set { + this.modulusField = value; + this.RaisePropertyChanged("Modulus"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=1)] + public byte[] Exponent { + get { + return this.exponentField; + } + set { + this.exponentField = value; + this.RaisePropertyChanged("Exponent"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class DSAKeyValueType : object, System.ComponentModel.INotifyPropertyChanged { + + private byte[] pField; + + private byte[] qField; + + private byte[] gField; + + private byte[] yField; + + private byte[] jField; + + private byte[] seedField; + + private byte[] pgenCounterField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=0)] + public byte[] P { + get { + return this.pField; + } + set { + this.pField = value; + this.RaisePropertyChanged("P"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=1)] + public byte[] Q { + get { + return this.qField; + } + set { + this.qField = value; + this.RaisePropertyChanged("Q"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=2)] + public byte[] G { + get { + return this.gField; + } + set { + this.gField = value; + this.RaisePropertyChanged("G"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=3)] + public byte[] Y { + get { + return this.yField; + } + set { + this.yField = value; + this.RaisePropertyChanged("Y"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=4)] + public byte[] J { + get { + return this.jField; + } + set { + this.jField = value; + this.RaisePropertyChanged("J"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=5)] + public byte[] Seed { + get { + return this.seedField; + } + set { + this.seedField = value; + this.RaisePropertyChanged("Seed"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=6)] + public byte[] PgenCounter { + get { + return this.pgenCounterField; + } + set { + this.pgenCounterField = value; + this.RaisePropertyChanged("PgenCounter"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class KeyValueType : object, System.ComponentModel.INotifyPropertyChanged { + + private object itemField; + + private string[] textField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("DSAKeyValue", typeof(DSAKeyValueType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("RSAKeyValue", typeof(RSAKeyValueType), Order=0)] + public object Item { + get { + return this.itemField; + } + set { + this.itemField = value; + this.RaisePropertyChanged("Item"); + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute()] + public string[] Text { + get { + return this.textField; + } + set { + this.textField = value; + this.RaisePropertyChanged("Text"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class KeyInfoType : object, System.ComponentModel.INotifyPropertyChanged { + + private object[] itemsField; + + private ItemsChoiceType2[] itemsElementNameField; + + private string[] textField; + + private string idField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("KeyName", typeof(string), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("KeyValue", typeof(KeyValueType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("MgmtData", typeof(string), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("PGPData", typeof(PGPDataType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("RetrievalMethod", typeof(RetrievalMethodType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("SPKIData", typeof(SPKIDataType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509Data", typeof(X509DataType), Order=0)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType2[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute()] + public string[] Text { + get { + return this.textField; + } + set { + this.textField = value; + this.RaisePropertyChanged("Text"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", IncludeInSchema=false)] + public enum ItemsChoiceType2 { + + /// + [System.Xml.Serialization.XmlEnumAttribute("##any:")] + Item, + + /// + KeyName, + + /// + KeyValue, + + /// + MgmtData, + + /// + PGPData, + + /// + RetrievalMethod, + + /// + SPKIData, + + /// + X509Data, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignatureValueType : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private byte[] valueField; + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute(DataType="base64Binary")] + public byte[] Value { + get { + return this.valueField; + } + set { + this.valueField = value; + this.RaisePropertyChanged("Value"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class DigestMethodType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlNode[] anyField; + + private string algorithmField; + + /// + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlNode[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { + get { + return this.algorithmField; + } + set { + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class ReferenceType : object, System.ComponentModel.INotifyPropertyChanged { + + private TransformType[] transformsField; + + private DigestMethodType digestMethodField; + + private byte[] digestValueField; + + private string idField; + + private string uRIField; + + private string typeField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("Transform", IsNullable=false)] + public TransformType[] Transforms { + get { + return this.transformsField; + } + set { + this.transformsField = value; + this.RaisePropertyChanged("Transforms"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public DigestMethodType DigestMethod { + get { + return this.digestMethodField; + } + set { + this.digestMethodField = value; + this.RaisePropertyChanged("DigestMethod"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=2)] + public byte[] DigestValue { + get { + return this.digestValueField; + } + set { + this.digestValueField = value; + this.RaisePropertyChanged("DigestValue"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string URI { + get { + return this.uRIField; + } + set { + this.uRIField = value; + this.RaisePropertyChanged("URI"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Type { + get { + return this.typeField; + } + set { + this.typeField = value; + this.RaisePropertyChanged("Type"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignatureMethodType : object, System.ComponentModel.INotifyPropertyChanged { + + private string hMACOutputLengthField; + + private System.Xml.XmlNode[] anyField; + + private string algorithmField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="integer", Order=0)] + public string HMACOutputLength { + get { + return this.hMACOutputLengthField; + } + set { + this.hMACOutputLengthField = value; + this.RaisePropertyChanged("HMACOutputLength"); + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=1)] + public System.Xml.XmlNode[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { + get { + return this.algorithmField; + } + set { + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class CanonicalizationMethodType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlNode[] anyField; + + private string algorithmField; + + /// + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlNode[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { + get { + return this.algorithmField; + } + set { + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignedInfoType : object, System.ComponentModel.INotifyPropertyChanged { + + private CanonicalizationMethodType canonicalizationMethodField; + + private SignatureMethodType signatureMethodField; + + private ReferenceType[] referenceField; + + private string idField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public CanonicalizationMethodType CanonicalizationMethod { + get { + return this.canonicalizationMethodField; + } + set { + this.canonicalizationMethodField = value; + this.RaisePropertyChanged("CanonicalizationMethod"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public SignatureMethodType SignatureMethod { + get { + return this.signatureMethodField; + } + set { + this.signatureMethodField = value; + this.RaisePropertyChanged("SignatureMethod"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Reference", Order=2)] + public ReferenceType[] Reference { + get { + return this.referenceField; + } + set { + this.referenceField = value; + this.RaisePropertyChanged("Reference"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignatureType : object, System.ComponentModel.INotifyPropertyChanged { + + private SignedInfoType signedInfoField; + + private SignatureValueType signatureValueField; + + private KeyInfoType keyInfoField; + + private ObjectType[] objectField; + + private string idField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public SignedInfoType SignedInfo { + get { + return this.signedInfoField; + } + set { + this.signedInfoField = value; + this.RaisePropertyChanged("SignedInfo"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public SignatureValueType SignatureValue { + get { + return this.signatureValueField; + } + set { + this.signatureValueField = value; + this.RaisePropertyChanged("SignatureValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public KeyInfoType KeyInfo { + get { + return this.keyInfoField; + } + set { + this.keyInfoField = value; + this.RaisePropertyChanged("KeyInfo"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Object", Order=3)] + public ObjectType[] Object { + get { + return this.objectField; + } + set { + this.objectField = value; + this.RaisePropertyChanged("Object"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(BaseAsyncResponseType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class BaseType : object, System.ComponentModel.INotifyPropertyChanged { + + private SignatureType signatureField; + + private string idField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", Order=0)] + public SignatureType Signature { + get { + return this.signatureField; + } + set { + this.signatureField = value; + this.RaisePropertyChanged("Signature"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class BaseAsyncResponseType : BaseType { + + private sbyte requestStateField; + + private string messageGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public sbyte RequestState { + get { + return this.requestStateField; + } + set { + this.requestStateField = value; + this.RaisePropertyChanged("RequestState"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string MessageGUID { + get { + return this.messageGUIDField; + } + set { + this.messageGUIDField = value; + this.RaisePropertyChanged("MessageGUID"); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering-service-async/", ConfigurationName="Service.Async.DeviceMetering.DeviceMeteringPortTypesAsync")] + public interface DeviceMeteringPortTypesAsync { + + // CODEGEN: Контракт генерации сообщений с операцией importMeteringDeviceValues не является ни RPC, ни упакованным документом. + [System.ServiceModel.OperationContractAttribute(Action="urn:importMeteringDeviceValues", ReplyAction="*")] + [System.ServiceModel.FaultContractAttribute(typeof(Hcs.Service.Async.DeviceMetering.Fault), Action="urn:importMeteringDeviceValues", Name="Fault", Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseType))] + Hcs.Service.Async.DeviceMetering.importMeteringDeviceValuesResponse importMeteringDeviceValues(Hcs.Service.Async.DeviceMetering.importMeteringDeviceValuesRequest1 request); + + [System.ServiceModel.OperationContractAttribute(Action="urn:importMeteringDeviceValues", ReplyAction="*")] + System.Threading.Tasks.Task importMeteringDeviceValuesAsync(Hcs.Service.Async.DeviceMetering.importMeteringDeviceValuesRequest1 request); + + // CODEGEN: Контракт генерации сообщений с операцией exportMeteringDeviceHistory не является ни RPC, ни упакованным документом. + [System.ServiceModel.OperationContractAttribute(Action="urn:exportMeteringDeviceHistory", ReplyAction="*")] + [System.ServiceModel.FaultContractAttribute(typeof(Hcs.Service.Async.DeviceMetering.Fault), Action="urn:exportMeteringDeviceHistory", Name="Fault", Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseType))] + Hcs.Service.Async.DeviceMetering.exportMeteringDeviceHistoryResponse exportMeteringDeviceHistory(Hcs.Service.Async.DeviceMetering.exportMeteringDeviceHistoryRequest1 request); + + [System.ServiceModel.OperationContractAttribute(Action="urn:exportMeteringDeviceHistory", ReplyAction="*")] + System.Threading.Tasks.Task exportMeteringDeviceHistoryAsync(Hcs.Service.Async.DeviceMetering.exportMeteringDeviceHistoryRequest1 request); + + // CODEGEN: Контракт генерации сообщений с операцией getState не является ни RPC, ни упакованным документом. + [System.ServiceModel.OperationContractAttribute(Action="urn:getState", ReplyAction="*")] + [System.ServiceModel.FaultContractAttribute(typeof(Hcs.Service.Async.DeviceMetering.Fault), Action="urn:getState", Name="Fault", Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseType))] + Hcs.Service.Async.DeviceMetering.getStateResponse getState(Hcs.Service.Async.DeviceMetering.getStateRequest1 request); + + [System.ServiceModel.OperationContractAttribute(Action="urn:getState", ReplyAction="*")] + System.Threading.Tasks.Task getStateAsync(Hcs.Service.Async.DeviceMetering.getStateRequest1 request); + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class RequestHeader : HeaderType { + + private object itemField; + + private ItemChoiceType1 itemElementNameField; + + private bool isOperatorSignatureField; + + private bool isOperatorSignatureFieldSpecified; + + private ISCreator[] iSCreatorField; + + public RequestHeader() { + this.isOperatorSignatureField = true; + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Citizen", typeof(RequestHeaderCitizen), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("SenderID", typeof(string), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("orgPPAGUID", typeof(string), Order=0)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")] + public object Item { + get { + return this.itemField; + } + set { + this.itemField = value; + this.RaisePropertyChanged("Item"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemChoiceType1 ItemElementName { + get { + return this.itemElementNameField; + } + set { + this.itemElementNameField = value; + this.RaisePropertyChanged("ItemElementName"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool IsOperatorSignature { + get { + return this.isOperatorSignatureField; + } + set { + this.isOperatorSignatureField = value; + this.RaisePropertyChanged("IsOperatorSignature"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool IsOperatorSignatureSpecified { + get { + return this.isOperatorSignatureFieldSpecified; + } + set { + this.isOperatorSignatureFieldSpecified = value; + this.RaisePropertyChanged("IsOperatorSignatureSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ISCreator", Order=3)] + public ISCreator[] ISCreator { + get { + return this.iSCreatorField; + } + set { + this.iSCreatorField = value; + this.RaisePropertyChanged("ISCreator"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class RequestHeaderCitizen : object, System.ComponentModel.INotifyPropertyChanged { + + private object[] itemsField; + + private ItemsChoiceType3[] itemsElementNameField; + + /// + [System.Xml.Serialization.XmlElementAttribute("CitizenPPAGUID", typeof(string), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("Document", typeof(RequestHeaderCitizenDocument), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("SNILS", typeof(string), Order=0)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType3[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class RequestHeaderCitizenDocument : object, System.ComponentModel.INotifyPropertyChanged { + + private RequestHeaderCitizenDocumentDocumentType documentTypeField; + + private string seriesField; + + private string numberField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public RequestHeaderCitizenDocumentDocumentType DocumentType { + get { + return this.documentTypeField; + } + set { + this.documentTypeField = value; + this.RaisePropertyChanged("DocumentType"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Series { + get { + return this.seriesField; + } + set { + this.seriesField = value; + this.RaisePropertyChanged("Series"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Number { + get { + return this.numberField; + } + set { + this.numberField = value; + this.RaisePropertyChanged("Number"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class RequestHeaderCitizenDocumentDocumentType : object, System.ComponentModel.INotifyPropertyChanged { + + private string codeField; + + private string gUIDField; + + private string nameField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Code { + get { + return this.codeField; + } + set { + this.codeField = value; + this.RaisePropertyChanged("Code"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string GUID { + get { + return this.gUIDField; + } + set { + this.gUIDField = value; + this.RaisePropertyChanged("GUID"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/", IncludeInSchema=false)] + public enum ItemsChoiceType3 { + + /// + CitizenPPAGUID, + + /// + Document, + + /// + SNILS, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/", IncludeInSchema=false)] + public enum ItemChoiceType1 { + + /// + Citizen, + + /// + SenderID, + + /// + orgPPAGUID, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class ISCreator : object, System.ComponentModel.INotifyPropertyChanged { + + private string iSNameField; + + private string iSOperatorNameField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string ISName { + get { + return this.iSNameField; + } + set { + this.iSNameField = value; + this.RaisePropertyChanged("ISName"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string ISOperatorName { + get { + return this.iSOperatorNameField; + } + set { + this.iSOperatorNameField = value; + this.RaisePropertyChanged("ISOperatorName"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class HeaderType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.DateTime dateField; + + private string messageGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime Date { + get { + return this.dateField; + } + set { + this.dateField = value; + this.RaisePropertyChanged("Date"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string MessageGUID { + get { + return this.messageGUIDField; + } + set { + this.messageGUIDField = value; + this.RaisePropertyChanged("MessageGUID"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class importMeteringDeviceValuesRequest : BaseType { + + private string fIASHouseGuidField; + + private importMeteringDeviceValuesRequestMeteringDevicesValues[] meteringDevicesValuesField; + + private string versionField; + + public importMeteringDeviceValuesRequest() { + this.versionField = "10.0.1.1"; + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string FIASHouseGuid { + get { + return this.fIASHouseGuidField; + } + set { + this.fIASHouseGuidField = value; + this.RaisePropertyChanged("FIASHouseGuid"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("MeteringDevicesValues", Order=1)] + public importMeteringDeviceValuesRequestMeteringDevicesValues[] MeteringDevicesValues { + get { + return this.meteringDevicesValuesField; + } + set { + this.meteringDevicesValuesField = value; + this.RaisePropertyChanged("MeteringDevicesValues"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public string version { + get { + return this.versionField; + } + set { + this.versionField = value; + this.RaisePropertyChanged("version"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class importMeteringDeviceValuesRequestMeteringDevicesValues : object, System.ComponentModel.INotifyPropertyChanged { + + private string itemField; + + private ItemChoiceType itemElementNameField; + + private object item1Field; + + /// + [System.Xml.Serialization.XmlElementAttribute("MeteringDeviceRootGUID", typeof(string), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("MeteringDeviceVersionGUID", typeof(string), Order=0)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")] + public string Item { + get { + return this.itemField; + } + set { + this.itemField = value; + this.RaisePropertyChanged("Item"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemChoiceType ItemElementName { + get { + return this.itemElementNameField; + } + set { + this.itemElementNameField = value; + this.RaisePropertyChanged("ItemElementName"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ElectricDeviceValue", typeof(importMeteringDeviceValuesRequestMeteringDevicesValuesElectricDeviceValue), Order=2)] + [System.Xml.Serialization.XmlElementAttribute("OneRateDeviceValue", typeof(importMeteringDeviceValuesRequestMeteringDevicesValuesOneRateDeviceValue), Order=2)] + [System.Xml.Serialization.XmlElementAttribute("VolumeDeviceValue", typeof(importMeteringDeviceValuesRequestMeteringDevicesValuesVolumeDeviceValue), Order=2)] + public object Item1 { + get { + return this.item1Field; + } + set { + this.item1Field = value; + this.RaisePropertyChanged("Item1"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/", IncludeInSchema=false)] + public enum ItemChoiceType { + + /// + MeteringDeviceRootGUID, + + /// + MeteringDeviceVersionGUID, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class importMeteringDeviceValuesRequestMeteringDevicesValuesElectricDeviceValue : object, System.ComponentModel.INotifyPropertyChanged { + + private importMeteringDeviceValuesRequestMeteringDevicesValuesElectricDeviceValueCurrentValue currentValueField; + + private ElectricMeteringValueImportType controlValueField; + + private importMeteringDeviceValuesRequestMeteringDevicesValuesElectricDeviceValueVerificationValue verificationValueField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public importMeteringDeviceValuesRequestMeteringDevicesValuesElectricDeviceValueCurrentValue CurrentValue { + get { + return this.currentValueField; + } + set { + this.currentValueField = value; + this.RaisePropertyChanged("CurrentValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ElectricMeteringValueImportType ControlValue { + get { + return this.controlValueField; + } + set { + this.controlValueField = value; + this.RaisePropertyChanged("ControlValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public importMeteringDeviceValuesRequestMeteringDevicesValuesElectricDeviceValueVerificationValue VerificationValue { + get { + return this.verificationValueField; + } + set { + this.verificationValueField = value; + this.RaisePropertyChanged("VerificationValue"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class importMeteringDeviceValuesRequestMeteringDevicesValuesElectricDeviceValueCurrentValue : ElectricMeteringValueImportType { + + private YearMonth periodField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public YearMonth Period { + get { + return this.periodField; + } + set { + this.periodField = value; + this.RaisePropertyChanged("Period"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class importMeteringDeviceValuesRequestMeteringDevicesValuesElectricDeviceValueVerificationValue : object, System.ComponentModel.INotifyPropertyChanged { + + private System.DateTime startDateValueField; + + private System.DateTime endDateValueField; + + private System.DateTime sealDateField; + + private ElectricMeteringValueBaseType startValueField; + + private ElectricMeteringValueBaseType endValueField; + + private object itemField; + + private string transportGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=0)] + public System.DateTime StartDateValue { + get { + return this.startDateValueField; + } + set { + this.startDateValueField = value; + this.RaisePropertyChanged("StartDateValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=1)] + public System.DateTime EndDateValue { + get { + return this.endDateValueField; + } + set { + this.endDateValueField = value; + this.RaisePropertyChanged("EndDateValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=2)] + public System.DateTime SealDate { + get { + return this.sealDateField; + } + set { + this.sealDateField = value; + this.RaisePropertyChanged("SealDate"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public ElectricMeteringValueBaseType StartValue { + get { + return this.startValueField; + } + set { + this.startValueField = value; + this.RaisePropertyChanged("StartValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public ElectricMeteringValueBaseType EndValue { + get { + return this.endValueField; + } + set { + this.endValueField = value; + this.RaisePropertyChanged("EndValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("PlannedVerification", typeof(bool), Order=5)] + [System.Xml.Serialization.XmlElementAttribute("VerificationReason", typeof(nsiRef), Order=5)] + public object Item { + get { + return this.itemField; + } + set { + this.itemField = value; + this.RaisePropertyChanged("Item"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/", Order=6)] + public string TransportGUID { + get { + return this.transportGUIDField; + } + set { + this.transportGUIDField = value; + this.RaisePropertyChanged("TransportGUID"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class importMeteringDeviceValuesRequestMeteringDevicesValuesOneRateDeviceValue : object, System.ComponentModel.INotifyPropertyChanged { + + private importMeteringDeviceValuesRequestMeteringDevicesValuesOneRateDeviceValueCurrentValue[] currentValueField; + + private OneRateMeteringValueImportType[] controlValueField; + + private importMeteringDeviceValuesRequestMeteringDevicesValuesOneRateDeviceValueVerificationValue verificationValueField; + + /// + [System.Xml.Serialization.XmlElementAttribute("CurrentValue", Order=0)] + public importMeteringDeviceValuesRequestMeteringDevicesValuesOneRateDeviceValueCurrentValue[] CurrentValue { + get { + return this.currentValueField; + } + set { + this.currentValueField = value; + this.RaisePropertyChanged("CurrentValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ControlValue", Order=1)] + public OneRateMeteringValueImportType[] ControlValue { + get { + return this.controlValueField; + } + set { + this.controlValueField = value; + this.RaisePropertyChanged("ControlValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public importMeteringDeviceValuesRequestMeteringDevicesValuesOneRateDeviceValueVerificationValue VerificationValue { + get { + return this.verificationValueField; + } + set { + this.verificationValueField = value; + this.RaisePropertyChanged("VerificationValue"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class importMeteringDeviceValuesRequestMeteringDevicesValuesOneRateDeviceValueCurrentValue : OneRateMeteringValueImportType { + + private YearMonth periodField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public YearMonth Period { + get { + return this.periodField; + } + set { + this.periodField = value; + this.RaisePropertyChanged("Period"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class importMeteringDeviceValuesRequestMeteringDevicesValuesOneRateDeviceValueVerificationValue : object, System.ComponentModel.INotifyPropertyChanged { + + private System.DateTime startDateValueField; + + private System.DateTime endDateValueField; + + private System.DateTime sealDateField; + + private OneRateMeteringValueBaseType[] startValueField; + + private OneRateMeteringValueBaseType[] endValueField; + + private object itemField; + + private string transportGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=0)] + public System.DateTime StartDateValue { + get { + return this.startDateValueField; + } + set { + this.startDateValueField = value; + this.RaisePropertyChanged("StartDateValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=1)] + public System.DateTime EndDateValue { + get { + return this.endDateValueField; + } + set { + this.endDateValueField = value; + this.RaisePropertyChanged("EndDateValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=2)] + public System.DateTime SealDate { + get { + return this.sealDateField; + } + set { + this.sealDateField = value; + this.RaisePropertyChanged("SealDate"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("StartValue", Order=3)] + public OneRateMeteringValueBaseType[] StartValue { + get { + return this.startValueField; + } + set { + this.startValueField = value; + this.RaisePropertyChanged("StartValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("EndValue", Order=4)] + public OneRateMeteringValueBaseType[] EndValue { + get { + return this.endValueField; + } + set { + this.endValueField = value; + this.RaisePropertyChanged("EndValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("PlannedVerification", typeof(bool), Order=5)] + [System.Xml.Serialization.XmlElementAttribute("VerificationReason", typeof(nsiRef), Order=5)] + public object Item { + get { + return this.itemField; + } + set { + this.itemField = value; + this.RaisePropertyChanged("Item"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/", Order=6)] + public string TransportGUID { + get { + return this.transportGUIDField; + } + set { + this.transportGUIDField = value; + this.RaisePropertyChanged("TransportGUID"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class importMeteringDeviceValuesRequestMeteringDevicesValuesVolumeDeviceValue : object, System.ComponentModel.INotifyPropertyChanged { + + private importMeteringDeviceValuesRequestMeteringDevicesValuesVolumeDeviceValueCurrentValue[] currentValueField; + + private VolumeMeteringValueImportType[] controlValueField; + + private importMeteringDeviceValuesRequestMeteringDevicesValuesVolumeDeviceValueVerificationValue verificationValueField; + + /// + [System.Xml.Serialization.XmlElementAttribute("CurrentValue", Order=0)] + public importMeteringDeviceValuesRequestMeteringDevicesValuesVolumeDeviceValueCurrentValue[] CurrentValue { + get { + return this.currentValueField; + } + set { + this.currentValueField = value; + this.RaisePropertyChanged("CurrentValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ControlValue", Order=1)] + public VolumeMeteringValueImportType[] ControlValue { + get { + return this.controlValueField; + } + set { + this.controlValueField = value; + this.RaisePropertyChanged("ControlValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public importMeteringDeviceValuesRequestMeteringDevicesValuesVolumeDeviceValueVerificationValue VerificationValue { + get { + return this.verificationValueField; + } + set { + this.verificationValueField = value; + this.RaisePropertyChanged("VerificationValue"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class importMeteringDeviceValuesRequestMeteringDevicesValuesVolumeDeviceValueCurrentValue : VolumeMeteringValueImportType { + + private YearMonth periodField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public YearMonth Period { + get { + return this.periodField; + } + set { + this.periodField = value; + this.RaisePropertyChanged("Period"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class importMeteringDeviceValuesRequestMeteringDevicesValuesVolumeDeviceValueVerificationValue : object, System.ComponentModel.INotifyPropertyChanged { + + private System.DateTime startDateValueField; + + private System.DateTime endDateValueField; + + private System.DateTime sealDateField; + + private VolumeMeteringValueBaseType[] startValueField; + + private VolumeMeteringValueBaseType[] endValueField; + + private object itemField; + + private string transportGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=0)] + public System.DateTime StartDateValue { + get { + return this.startDateValueField; + } + set { + this.startDateValueField = value; + this.RaisePropertyChanged("StartDateValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=1)] + public System.DateTime EndDateValue { + get { + return this.endDateValueField; + } + set { + this.endDateValueField = value; + this.RaisePropertyChanged("EndDateValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=2)] + public System.DateTime SealDate { + get { + return this.sealDateField; + } + set { + this.sealDateField = value; + this.RaisePropertyChanged("SealDate"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("StartValue", Order=3)] + public VolumeMeteringValueBaseType[] StartValue { + get { + return this.startValueField; + } + set { + this.startValueField = value; + this.RaisePropertyChanged("StartValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("EndValue", Order=4)] + public VolumeMeteringValueBaseType[] EndValue { + get { + return this.endValueField; + } + set { + this.endValueField = value; + this.RaisePropertyChanged("EndValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("PlannedVerification", typeof(bool), Order=5)] + [System.Xml.Serialization.XmlElementAttribute("VerificationReason", typeof(nsiRef), Order=5)] + public object Item { + get { + return this.itemField; + } + set { + this.itemField = value; + this.RaisePropertyChanged("Item"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/", Order=6)] + public string TransportGUID { + get { + return this.transportGUIDField; + } + set { + this.transportGUIDField = value; + this.RaisePropertyChanged("TransportGUID"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class ResultHeader : HeaderType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class AckRequest : object, System.ComponentModel.INotifyPropertyChanged { + + private AckRequestAck ackField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public AckRequestAck Ack { + get { + return this.ackField; + } + set { + this.ackField = value; + this.RaisePropertyChanged("Ack"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class AckRequestAck : object, System.ComponentModel.INotifyPropertyChanged { + + private string messageGUIDField; + + private string requesterMessageGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string MessageGUID { + get { + return this.messageGUIDField; + } + set { + this.messageGUIDField = value; + this.RaisePropertyChanged("MessageGUID"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string RequesterMessageGUID { + get { + return this.requesterMessageGUIDField; + } + set { + this.requesterMessageGUIDField = value; + this.RaisePropertyChanged("RequesterMessageGUID"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class importMeteringDeviceValuesRequest1 { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.DeviceMetering.RequestHeader RequestHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/", Order=0)] + public Hcs.Service.Async.DeviceMetering.importMeteringDeviceValuesRequest importMeteringDeviceValuesRequest; + + public importMeteringDeviceValuesRequest1() { + } + + public importMeteringDeviceValuesRequest1(Hcs.Service.Async.DeviceMetering.RequestHeader RequestHeader, Hcs.Service.Async.DeviceMetering.importMeteringDeviceValuesRequest importMeteringDeviceValuesRequest) { + this.RequestHeader = RequestHeader; + this.importMeteringDeviceValuesRequest = importMeteringDeviceValuesRequest; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class importMeteringDeviceValuesResponse { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.DeviceMetering.ResultHeader ResultHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/", Order=0)] + public Hcs.Service.Async.DeviceMetering.AckRequest AckRequest; + + public importMeteringDeviceValuesResponse() { + } + + public importMeteringDeviceValuesResponse(Hcs.Service.Async.DeviceMetering.ResultHeader ResultHeader, Hcs.Service.Async.DeviceMetering.AckRequest AckRequest) { + this.ResultHeader = ResultHeader; + this.AckRequest = AckRequest; + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class exportMeteringDeviceHistoryRequest : BaseType { + + private string[] fIASHouseGuidField; + + private string exportMeteringDeviceRootGUIDField; + + private object[] itemsField; + + private ItemsChoiceType4[] itemsElementNameField; + + private System.DateTime commissioningDateFromField; + + private bool commissioningDateFromFieldSpecified; + + private System.DateTime commissioningDateToField; + + private bool commissioningDateToFieldSpecified; + + private bool serchArchivedField; + + private bool serchArchivedFieldSpecified; + + private System.DateTime archiveDateFromField; + + private bool archiveDateFromFieldSpecified; + + private System.DateTime archiveDateToField; + + private bool archiveDateToFieldSpecified; + + private System.DateTime inputDateFromField; + + private bool inputDateFromFieldSpecified; + + private System.DateTime inputDateToField; + + private bool inputDateToFieldSpecified; + + private bool excludePersonAsDataSourceField; + + private bool excludePersonAsDataSourceFieldSpecified; + + private bool excludeCurrentOrgAsDataSourceField; + + private bool excludeCurrentOrgAsDataSourceFieldSpecified; + + private bool excludeOtherOrgAsDataSourceField; + + private bool excludeOtherOrgAsDataSourceFieldSpecified; + + private bool excludeISValuesField; + + private bool excludeISValuesFieldSpecified; + + private string versionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("FIASHouseGuid", Order=0)] + public string[] FIASHouseGuid { + get { + return this.fIASHouseGuidField; + } + set { + this.fIASHouseGuidField = value; + this.RaisePropertyChanged("FIASHouseGuid"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string ExportMeteringDeviceRootGUID { + get { + return this.exportMeteringDeviceRootGUIDField; + } + set { + this.exportMeteringDeviceRootGUIDField = value; + this.RaisePropertyChanged("ExportMeteringDeviceRootGUID"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("MeteringDeviceRootGUID", typeof(string), Order=2)] + [System.Xml.Serialization.XmlElementAttribute("MeteringDeviceType", typeof(nsiRef), Order=2)] + [System.Xml.Serialization.XmlElementAttribute("MunicipalResource", typeof(nsiRef), Order=2)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=3)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType4[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=4)] + public System.DateTime CommissioningDateFrom { + get { + return this.commissioningDateFromField; + } + set { + this.commissioningDateFromField = value; + this.RaisePropertyChanged("CommissioningDateFrom"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool CommissioningDateFromSpecified { + get { + return this.commissioningDateFromFieldSpecified; + } + set { + this.commissioningDateFromFieldSpecified = value; + this.RaisePropertyChanged("CommissioningDateFromSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=5)] + public System.DateTime CommissioningDateTo { + get { + return this.commissioningDateToField; + } + set { + this.commissioningDateToField = value; + this.RaisePropertyChanged("CommissioningDateTo"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool CommissioningDateToSpecified { + get { + return this.commissioningDateToFieldSpecified; + } + set { + this.commissioningDateToFieldSpecified = value; + this.RaisePropertyChanged("CommissioningDateToSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool SerchArchived { + get { + return this.serchArchivedField; + } + set { + this.serchArchivedField = value; + this.RaisePropertyChanged("SerchArchived"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool SerchArchivedSpecified { + get { + return this.serchArchivedFieldSpecified; + } + set { + this.serchArchivedFieldSpecified = value; + this.RaisePropertyChanged("SerchArchivedSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=7)] + public System.DateTime ArchiveDateFrom { + get { + return this.archiveDateFromField; + } + set { + this.archiveDateFromField = value; + this.RaisePropertyChanged("ArchiveDateFrom"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ArchiveDateFromSpecified { + get { + return this.archiveDateFromFieldSpecified; + } + set { + this.archiveDateFromFieldSpecified = value; + this.RaisePropertyChanged("ArchiveDateFromSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=8)] + public System.DateTime ArchiveDateTo { + get { + return this.archiveDateToField; + } + set { + this.archiveDateToField = value; + this.RaisePropertyChanged("ArchiveDateTo"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ArchiveDateToSpecified { + get { + return this.archiveDateToFieldSpecified; + } + set { + this.archiveDateToFieldSpecified = value; + this.RaisePropertyChanged("ArchiveDateToSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=9)] + public System.DateTime inputDateFrom { + get { + return this.inputDateFromField; + } + set { + this.inputDateFromField = value; + this.RaisePropertyChanged("inputDateFrom"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool inputDateFromSpecified { + get { + return this.inputDateFromFieldSpecified; + } + set { + this.inputDateFromFieldSpecified = value; + this.RaisePropertyChanged("inputDateFromSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=10)] + public System.DateTime inputDateTo { + get { + return this.inputDateToField; + } + set { + this.inputDateToField = value; + this.RaisePropertyChanged("inputDateTo"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool inputDateToSpecified { + get { + return this.inputDateToFieldSpecified; + } + set { + this.inputDateToFieldSpecified = value; + this.RaisePropertyChanged("inputDateToSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool ExcludePersonAsDataSource { + get { + return this.excludePersonAsDataSourceField; + } + set { + this.excludePersonAsDataSourceField = value; + this.RaisePropertyChanged("ExcludePersonAsDataSource"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ExcludePersonAsDataSourceSpecified { + get { + return this.excludePersonAsDataSourceFieldSpecified; + } + set { + this.excludePersonAsDataSourceFieldSpecified = value; + this.RaisePropertyChanged("ExcludePersonAsDataSourceSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool ExcludeCurrentOrgAsDataSource { + get { + return this.excludeCurrentOrgAsDataSourceField; + } + set { + this.excludeCurrentOrgAsDataSourceField = value; + this.RaisePropertyChanged("ExcludeCurrentOrgAsDataSource"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ExcludeCurrentOrgAsDataSourceSpecified { + get { + return this.excludeCurrentOrgAsDataSourceFieldSpecified; + } + set { + this.excludeCurrentOrgAsDataSourceFieldSpecified = value; + this.RaisePropertyChanged("ExcludeCurrentOrgAsDataSourceSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool ExcludeOtherOrgAsDataSource { + get { + return this.excludeOtherOrgAsDataSourceField; + } + set { + this.excludeOtherOrgAsDataSourceField = value; + this.RaisePropertyChanged("ExcludeOtherOrgAsDataSource"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ExcludeOtherOrgAsDataSourceSpecified { + get { + return this.excludeOtherOrgAsDataSourceFieldSpecified; + } + set { + this.excludeOtherOrgAsDataSourceFieldSpecified = value; + this.RaisePropertyChanged("ExcludeOtherOrgAsDataSourceSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool excludeISValues { + get { + return this.excludeISValuesField; + } + set { + this.excludeISValuesField = value; + this.RaisePropertyChanged("excludeISValues"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool excludeISValuesSpecified { + get { + return this.excludeISValuesFieldSpecified; + } + set { + this.excludeISValuesFieldSpecified = value; + this.RaisePropertyChanged("excludeISValuesSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public string version { + get { + return this.versionField; + } + set { + this.versionField = value; + this.RaisePropertyChanged("version"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/", IncludeInSchema=false)] + public enum ItemsChoiceType4 { + + /// + MeteringDeviceRootGUID, + + /// + MeteringDeviceType, + + /// + MunicipalResource, + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class exportMeteringDeviceHistoryRequest1 { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.DeviceMetering.RequestHeader RequestHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/", Order=0)] + public Hcs.Service.Async.DeviceMetering.exportMeteringDeviceHistoryRequest exportMeteringDeviceHistoryRequest; + + public exportMeteringDeviceHistoryRequest1() { + } + + public exportMeteringDeviceHistoryRequest1(Hcs.Service.Async.DeviceMetering.RequestHeader RequestHeader, Hcs.Service.Async.DeviceMetering.exportMeteringDeviceHistoryRequest exportMeteringDeviceHistoryRequest) { + this.RequestHeader = RequestHeader; + this.exportMeteringDeviceHistoryRequest = exportMeteringDeviceHistoryRequest; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class exportMeteringDeviceHistoryResponse { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.DeviceMetering.ResultHeader ResultHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/", Order=0)] + public Hcs.Service.Async.DeviceMetering.AckRequest AckRequest; + + public exportMeteringDeviceHistoryResponse() { + } + + public exportMeteringDeviceHistoryResponse(Hcs.Service.Async.DeviceMetering.ResultHeader ResultHeader, Hcs.Service.Async.DeviceMetering.AckRequest AckRequest) { + this.ResultHeader = ResultHeader; + this.AckRequest = AckRequest; + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class getStateRequest : object, System.ComponentModel.INotifyPropertyChanged { + + private string messageGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string MessageGUID { + get { + return this.messageGUIDField; + } + set { + this.messageGUIDField = value; + this.RaisePropertyChanged("MessageGUID"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class getStateResult : BaseAsyncResponseType { + + private object[] itemsField; + + private string versionField; + + public getStateResult() { + this.versionField = "10.0.1.1"; + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ErrorMessage", typeof(ErrorMessageType), Namespace="http://dom.gosuslugi.ru/schema/integration/base/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("ImportResult", typeof(CommonResultType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("PagedOutput", typeof(getStateResultPagedOutput), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("exportMeteringDeviceHistoryResult", typeof(exportMeteringDeviceHistoryResultType), Order=0)] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public string version { + get { + return this.versionField; + } + set { + this.versionField = value; + this.RaisePropertyChanged("version"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class ErrorMessageType : object, System.ComponentModel.INotifyPropertyChanged { + + private string errorCodeField; + + private string descriptionField; + + private string stackTraceField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string ErrorCode { + get { + return this.errorCodeField; + } + set { + this.errorCodeField = value; + this.RaisePropertyChanged("ErrorCode"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string StackTrace { + get { + return this.stackTraceField; + } + set { + this.stackTraceField = value; + this.RaisePropertyChanged("StackTrace"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class CommonResultType : object, System.ComponentModel.INotifyPropertyChanged { + + private string gUIDField; + + private string transportGUIDField; + + private object[] itemsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string GUID { + get { + return this.gUIDField; + } + set { + this.gUIDField = value; + this.RaisePropertyChanged("GUID"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string TransportGUID { + get { + return this.transportGUIDField; + } + set { + this.transportGUIDField = value; + this.RaisePropertyChanged("TransportGUID"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Error", typeof(CommonResultTypeError), Order=2)] + [System.Xml.Serialization.XmlElementAttribute("UniqueNumber", typeof(string), Order=2)] + [System.Xml.Serialization.XmlElementAttribute("UpdateDate", typeof(System.DateTime), Order=2)] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class CommonResultTypeError : ErrorMessageType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class getStateResultPagedOutput : object, System.ComponentModel.INotifyPropertyChanged { + + private object itemField; + + /// + [System.Xml.Serialization.XmlElementAttribute("ExportMeteringDeviceRootGUID", typeof(string), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("LastPage", typeof(bool), Order=0)] + public object Item { + get { + return this.itemField; + } + set { + this.itemField = value; + this.RaisePropertyChanged("Item"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class exportMeteringDeviceHistoryResultType : object, System.ComponentModel.INotifyPropertyChanged { + + private string meteringDeviceRootGUIDField; + + private string hCSHouseGUIDField; + + private string fIASHouseGuidField; + + private object itemField; + + private exportMeteringDeviceHistoryResultTypeArchivedValues archivedValuesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string MeteringDeviceRootGUID { + get { + return this.meteringDeviceRootGUIDField; + } + set { + this.meteringDeviceRootGUIDField = value; + this.RaisePropertyChanged("MeteringDeviceRootGUID"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string HCSHouseGUID { + get { + return this.hCSHouseGUIDField; + } + set { + this.hCSHouseGUIDField = value; + this.RaisePropertyChanged("HCSHouseGUID"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string FIASHouseGuid { + get { + return this.fIASHouseGuidField; + } + set { + this.fIASHouseGuidField = value; + this.RaisePropertyChanged("FIASHouseGuid"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ElectricDeviceValue", typeof(exportMeteringDeviceHistoryResultTypeElectricDeviceValue), Order=3)] + [System.Xml.Serialization.XmlElementAttribute("OneRateDeviceValue", typeof(exportMeteringDeviceHistoryResultTypeOneRateDeviceValue), Order=3)] + [System.Xml.Serialization.XmlElementAttribute("VolumeDeviceValue", typeof(exportMeteringDeviceHistoryResultTypeVolumeDeviceValue), Order=3)] + public object Item { + get { + return this.itemField; + } + set { + this.itemField = value; + this.RaisePropertyChanged("Item"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public exportMeteringDeviceHistoryResultTypeArchivedValues ArchivedValues { + get { + return this.archivedValuesField; + } + set { + this.archivedValuesField = value; + this.RaisePropertyChanged("ArchivedValues"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class exportMeteringDeviceHistoryResultTypeElectricDeviceValue : object, System.ComponentModel.INotifyPropertyChanged { + + private ElectricMeteringValueExportType1 baseValueField; + + private exportMeteringDeviceHistoryResultTypeElectricDeviceValueValues valuesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ElectricMeteringValueExportType1 BaseValue { + get { + return this.baseValueField; + } + set { + this.baseValueField = value; + this.RaisePropertyChanged("BaseValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public exportMeteringDeviceHistoryResultTypeElectricDeviceValueValues Values { + get { + return this.valuesField; + } + set { + this.valuesField = value; + this.RaisePropertyChanged("Values"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class exportMeteringDeviceHistoryResultTypeElectricDeviceValueValues : object, System.ComponentModel.INotifyPropertyChanged { + + private exportMeteringDeviceHistoryResultTypeElectricDeviceValueValuesCurrentValue[] currentValueField; + + private ElectricCurrentMeteringValueExportType[] controlValueField; + + private exportMeteringDeviceHistoryResultTypeElectricDeviceValueValuesVerificationValue[] verificationValueField; + + private bool excludeISValuesField; + + private bool excludeISValuesFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute("CurrentValue", Order=0)] + public exportMeteringDeviceHistoryResultTypeElectricDeviceValueValuesCurrentValue[] CurrentValue { + get { + return this.currentValueField; + } + set { + this.currentValueField = value; + this.RaisePropertyChanged("CurrentValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ControlValue", Order=1)] + public ElectricCurrentMeteringValueExportType[] ControlValue { + get { + return this.controlValueField; + } + set { + this.controlValueField = value; + this.RaisePropertyChanged("ControlValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("VerificationValue", Order=2)] + public exportMeteringDeviceHistoryResultTypeElectricDeviceValueValuesVerificationValue[] VerificationValue { + get { + return this.verificationValueField; + } + set { + this.verificationValueField = value; + this.RaisePropertyChanged("VerificationValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool excludeISValues { + get { + return this.excludeISValuesField; + } + set { + this.excludeISValuesField = value; + this.RaisePropertyChanged("excludeISValues"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool excludeISValuesSpecified { + get { + return this.excludeISValuesFieldSpecified; + } + set { + this.excludeISValuesFieldSpecified = value; + this.RaisePropertyChanged("excludeISValuesSpecified"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class exportMeteringDeviceHistoryResultTypeElectricDeviceValueValuesCurrentValue : ElectricCurrentMeteringValueExportType { + + private YearMonth periodField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public YearMonth Period { + get { + return this.periodField; + } + set { + this.periodField = value; + this.RaisePropertyChanged("Period"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class exportMeteringDeviceHistoryResultTypeElectricDeviceValueValuesVerificationValue : object, System.ComponentModel.INotifyPropertyChanged { + + private System.DateTime startDateValueField; + + private System.DateTime endDateValueField; + + private System.DateTime sealDateField; + + private ElectricMeteringValueExportType1 startValueField; + + private ElectricMeteringValueExportType1 endValueField; + + private object itemField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=0)] + public System.DateTime StartDateValue { + get { + return this.startDateValueField; + } + set { + this.startDateValueField = value; + this.RaisePropertyChanged("StartDateValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=1)] + public System.DateTime EndDateValue { + get { + return this.endDateValueField; + } + set { + this.endDateValueField = value; + this.RaisePropertyChanged("EndDateValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=2)] + public System.DateTime SealDate { + get { + return this.sealDateField; + } + set { + this.sealDateField = value; + this.RaisePropertyChanged("SealDate"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public ElectricMeteringValueExportType1 StartValue { + get { + return this.startValueField; + } + set { + this.startValueField = value; + this.RaisePropertyChanged("StartValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public ElectricMeteringValueExportType1 EndValue { + get { + return this.endValueField; + } + set { + this.endValueField = value; + this.RaisePropertyChanged("EndValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("PlannedVerification", typeof(bool), Order=5)] + [System.Xml.Serialization.XmlElementAttribute("VerificationReason", typeof(nsiRef), Order=5)] + public object Item { + get { + return this.itemField; + } + set { + this.itemField = value; + this.RaisePropertyChanged("Item"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class exportMeteringDeviceHistoryResultTypeOneRateDeviceValue : object, System.ComponentModel.INotifyPropertyChanged { + + private OneRateMeteringValueExportType1[] baseValueField; + + private exportMeteringDeviceHistoryResultTypeOneRateDeviceValueValues valuesField; + + /// + [System.Xml.Serialization.XmlElementAttribute("BaseValue", Order=0)] + public OneRateMeteringValueExportType1[] BaseValue { + get { + return this.baseValueField; + } + set { + this.baseValueField = value; + this.RaisePropertyChanged("BaseValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public exportMeteringDeviceHistoryResultTypeOneRateDeviceValueValues Values { + get { + return this.valuesField; + } + set { + this.valuesField = value; + this.RaisePropertyChanged("Values"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class exportMeteringDeviceHistoryResultTypeOneRateDeviceValueValues : object, System.ComponentModel.INotifyPropertyChanged { + + private exportMeteringDeviceHistoryResultTypeOneRateDeviceValueValuesCurrentValue[] currentValueField; + + private OneRateCurrentMeteringValueExportType[] controlValueField; + + private exportMeteringDeviceHistoryResultTypeOneRateDeviceValueValuesVerificationValue[] verificationValueField; + + private bool excludeISValuesField; + + private bool excludeISValuesFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute("CurrentValue", Order=0)] + public exportMeteringDeviceHistoryResultTypeOneRateDeviceValueValuesCurrentValue[] CurrentValue { + get { + return this.currentValueField; + } + set { + this.currentValueField = value; + this.RaisePropertyChanged("CurrentValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ControlValue", Order=1)] + public OneRateCurrentMeteringValueExportType[] ControlValue { + get { + return this.controlValueField; + } + set { + this.controlValueField = value; + this.RaisePropertyChanged("ControlValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("VerificationValue", Order=2)] + public exportMeteringDeviceHistoryResultTypeOneRateDeviceValueValuesVerificationValue[] VerificationValue { + get { + return this.verificationValueField; + } + set { + this.verificationValueField = value; + this.RaisePropertyChanged("VerificationValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool excludeISValues { + get { + return this.excludeISValuesField; + } + set { + this.excludeISValuesField = value; + this.RaisePropertyChanged("excludeISValues"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool excludeISValuesSpecified { + get { + return this.excludeISValuesFieldSpecified; + } + set { + this.excludeISValuesFieldSpecified = value; + this.RaisePropertyChanged("excludeISValuesSpecified"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class exportMeteringDeviceHistoryResultTypeOneRateDeviceValueValuesCurrentValue : OneRateCurrentMeteringValueExportType { + + private YearMonth periodField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public YearMonth Period { + get { + return this.periodField; + } + set { + this.periodField = value; + this.RaisePropertyChanged("Period"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class exportMeteringDeviceHistoryResultTypeOneRateDeviceValueValuesVerificationValue : object, System.ComponentModel.INotifyPropertyChanged { + + private System.DateTime startDateValueField; + + private System.DateTime endDateValueField; + + private System.DateTime sealDateField; + + private OneRateMeteringValueExportType1[] startValueField; + + private OneRateMeteringValueExportType1[] endValueField; + + private object itemField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=0)] + public System.DateTime StartDateValue { + get { + return this.startDateValueField; + } + set { + this.startDateValueField = value; + this.RaisePropertyChanged("StartDateValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=1)] + public System.DateTime EndDateValue { + get { + return this.endDateValueField; + } + set { + this.endDateValueField = value; + this.RaisePropertyChanged("EndDateValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=2)] + public System.DateTime SealDate { + get { + return this.sealDateField; + } + set { + this.sealDateField = value; + this.RaisePropertyChanged("SealDate"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("StartValue", Order=3)] + public OneRateMeteringValueExportType1[] StartValue { + get { + return this.startValueField; + } + set { + this.startValueField = value; + this.RaisePropertyChanged("StartValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("EndValue", Order=4)] + public OneRateMeteringValueExportType1[] EndValue { + get { + return this.endValueField; + } + set { + this.endValueField = value; + this.RaisePropertyChanged("EndValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("PlannedVerification", typeof(bool), Order=5)] + [System.Xml.Serialization.XmlElementAttribute("VerificationReason", typeof(nsiRef), Order=5)] + public object Item { + get { + return this.itemField; + } + set { + this.itemField = value; + this.RaisePropertyChanged("Item"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class exportMeteringDeviceHistoryResultTypeVolumeDeviceValue : VolumeMeteringValueExportType { + + private bool excludeISValuesField; + + private bool excludeISValuesFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool excludeISValues { + get { + return this.excludeISValuesField; + } + set { + this.excludeISValuesField = value; + this.RaisePropertyChanged("excludeISValues"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool excludeISValuesSpecified { + get { + return this.excludeISValuesFieldSpecified; + } + set { + this.excludeISValuesFieldSpecified = value; + this.RaisePropertyChanged("excludeISValuesSpecified"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class VolumeMeteringValueExportType : object, System.ComponentModel.INotifyPropertyChanged { + + private VolumeMeteringValueExportTypeCurrentValue[] currentValueField; + + private VolumeCurrentMeteringValueExportType[] controlValueField; + + private VolumeMeteringValueExportTypeVerificationValue[] verificationValueField; + + /// + [System.Xml.Serialization.XmlElementAttribute("CurrentValue", Order=0)] + public VolumeMeteringValueExportTypeCurrentValue[] CurrentValue { + get { + return this.currentValueField; + } + set { + this.currentValueField = value; + this.RaisePropertyChanged("CurrentValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ControlValue", Order=1)] + public VolumeCurrentMeteringValueExportType[] ControlValue { + get { + return this.controlValueField; + } + set { + this.controlValueField = value; + this.RaisePropertyChanged("ControlValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("VerificationValue", Order=2)] + public VolumeMeteringValueExportTypeVerificationValue[] VerificationValue { + get { + return this.verificationValueField; + } + set { + this.verificationValueField = value; + this.RaisePropertyChanged("VerificationValue"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class VolumeMeteringValueExportTypeCurrentValue : VolumeCurrentMeteringValueExportType { + + private YearMonth periodField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public YearMonth Period { + get { + return this.periodField; + } + set { + this.periodField = value; + this.RaisePropertyChanged("Period"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class VolumeMeteringValueExportTypeVerificationValue : object, System.ComponentModel.INotifyPropertyChanged { + + private System.DateTime startDateValueField; + + private System.DateTime endDateValueField; + + private System.DateTime sealDateField; + + private VolumeMeteringValueExportBaseType[] startValueField; + + private VolumeMeteringValueExportBaseType[] endValueField; + + private object itemField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=0)] + public System.DateTime StartDateValue { + get { + return this.startDateValueField; + } + set { + this.startDateValueField = value; + this.RaisePropertyChanged("StartDateValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=1)] + public System.DateTime EndDateValue { + get { + return this.endDateValueField; + } + set { + this.endDateValueField = value; + this.RaisePropertyChanged("EndDateValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=2)] + public System.DateTime SealDate { + get { + return this.sealDateField; + } + set { + this.sealDateField = value; + this.RaisePropertyChanged("SealDate"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("StartValue", Order=3)] + public VolumeMeteringValueExportBaseType[] StartValue { + get { + return this.startValueField; + } + set { + this.startValueField = value; + this.RaisePropertyChanged("StartValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("EndValue", Order=4)] + public VolumeMeteringValueExportBaseType[] EndValue { + get { + return this.endValueField; + } + set { + this.endValueField = value; + this.RaisePropertyChanged("EndValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("PlannedVerification", typeof(bool), Order=5)] + [System.Xml.Serialization.XmlElementAttribute("VerificationReason", typeof(nsiRef), Order=5)] + public object Item { + get { + return this.itemField; + } + set { + this.itemField = value; + this.RaisePropertyChanged("Item"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/")] + public partial class exportMeteringDeviceHistoryResultTypeArchivedValues : object, System.ComponentModel.INotifyPropertyChanged { + + private nsiRef archivingReasonField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public nsiRef ArchivingReason { + get { + return this.archivingReasonField; + } + set { + this.archivingReasonField = value; + this.RaisePropertyChanged("ArchivingReason"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class getStateRequest1 { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.DeviceMetering.RequestHeader RequestHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/", Order=0)] + public Hcs.Service.Async.DeviceMetering.getStateRequest getStateRequest; + + public getStateRequest1() { + } + + public getStateRequest1(Hcs.Service.Async.DeviceMetering.RequestHeader RequestHeader, Hcs.Service.Async.DeviceMetering.getStateRequest getStateRequest) { + this.RequestHeader = RequestHeader; + this.getStateRequest = getStateRequest; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class getStateResponse { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.DeviceMetering.ResultHeader ResultHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/device-metering/", Order=0)] + public Hcs.Service.Async.DeviceMetering.getStateResult getStateResult; + + public getStateResponse() { + } + + public getStateResponse(Hcs.Service.Async.DeviceMetering.ResultHeader ResultHeader, Hcs.Service.Async.DeviceMetering.getStateResult getStateResult) { + this.ResultHeader = ResultHeader; + this.getStateResult = getStateResult; + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DeviceMeteringPortTypesAsyncChannel : Hcs.Service.Async.DeviceMetering.DeviceMeteringPortTypesAsync, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DeviceMeteringPortTypesAsyncClient : System.ServiceModel.ClientBase, Hcs.Service.Async.DeviceMetering.DeviceMeteringPortTypesAsync { + + public DeviceMeteringPortTypesAsyncClient() { + } + + public DeviceMeteringPortTypesAsyncClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DeviceMeteringPortTypesAsyncClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DeviceMeteringPortTypesAsyncClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DeviceMeteringPortTypesAsyncClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + Hcs.Service.Async.DeviceMetering.importMeteringDeviceValuesResponse Hcs.Service.Async.DeviceMetering.DeviceMeteringPortTypesAsync.importMeteringDeviceValues(Hcs.Service.Async.DeviceMetering.importMeteringDeviceValuesRequest1 request) { + return base.Channel.importMeteringDeviceValues(request); + } + + public Hcs.Service.Async.DeviceMetering.ResultHeader importMeteringDeviceValues(Hcs.Service.Async.DeviceMetering.RequestHeader RequestHeader, Hcs.Service.Async.DeviceMetering.importMeteringDeviceValuesRequest importMeteringDeviceValuesRequest, out Hcs.Service.Async.DeviceMetering.AckRequest AckRequest) { + Hcs.Service.Async.DeviceMetering.importMeteringDeviceValuesRequest1 inValue = new Hcs.Service.Async.DeviceMetering.importMeteringDeviceValuesRequest1(); + inValue.RequestHeader = RequestHeader; + inValue.importMeteringDeviceValuesRequest = importMeteringDeviceValuesRequest; + Hcs.Service.Async.DeviceMetering.importMeteringDeviceValuesResponse retVal = ((Hcs.Service.Async.DeviceMetering.DeviceMeteringPortTypesAsync)(this)).importMeteringDeviceValues(inValue); + AckRequest = retVal.AckRequest; + return retVal.ResultHeader; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Hcs.Service.Async.DeviceMetering.DeviceMeteringPortTypesAsync.importMeteringDeviceValuesAsync(Hcs.Service.Async.DeviceMetering.importMeteringDeviceValuesRequest1 request) { + return base.Channel.importMeteringDeviceValuesAsync(request); + } + + public System.Threading.Tasks.Task importMeteringDeviceValuesAsync(Hcs.Service.Async.DeviceMetering.RequestHeader RequestHeader, Hcs.Service.Async.DeviceMetering.importMeteringDeviceValuesRequest importMeteringDeviceValuesRequest) { + Hcs.Service.Async.DeviceMetering.importMeteringDeviceValuesRequest1 inValue = new Hcs.Service.Async.DeviceMetering.importMeteringDeviceValuesRequest1(); + inValue.RequestHeader = RequestHeader; + inValue.importMeteringDeviceValuesRequest = importMeteringDeviceValuesRequest; + return ((Hcs.Service.Async.DeviceMetering.DeviceMeteringPortTypesAsync)(this)).importMeteringDeviceValuesAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + Hcs.Service.Async.DeviceMetering.exportMeteringDeviceHistoryResponse Hcs.Service.Async.DeviceMetering.DeviceMeteringPortTypesAsync.exportMeteringDeviceHistory(Hcs.Service.Async.DeviceMetering.exportMeteringDeviceHistoryRequest1 request) { + return base.Channel.exportMeteringDeviceHistory(request); + } + + public Hcs.Service.Async.DeviceMetering.ResultHeader exportMeteringDeviceHistory(Hcs.Service.Async.DeviceMetering.RequestHeader RequestHeader, Hcs.Service.Async.DeviceMetering.exportMeteringDeviceHistoryRequest exportMeteringDeviceHistoryRequest, out Hcs.Service.Async.DeviceMetering.AckRequest AckRequest) { + Hcs.Service.Async.DeviceMetering.exportMeteringDeviceHistoryRequest1 inValue = new Hcs.Service.Async.DeviceMetering.exportMeteringDeviceHistoryRequest1(); + inValue.RequestHeader = RequestHeader; + inValue.exportMeteringDeviceHistoryRequest = exportMeteringDeviceHistoryRequest; + Hcs.Service.Async.DeviceMetering.exportMeteringDeviceHistoryResponse retVal = ((Hcs.Service.Async.DeviceMetering.DeviceMeteringPortTypesAsync)(this)).exportMeteringDeviceHistory(inValue); + AckRequest = retVal.AckRequest; + return retVal.ResultHeader; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Hcs.Service.Async.DeviceMetering.DeviceMeteringPortTypesAsync.exportMeteringDeviceHistoryAsync(Hcs.Service.Async.DeviceMetering.exportMeteringDeviceHistoryRequest1 request) { + return base.Channel.exportMeteringDeviceHistoryAsync(request); + } + + public System.Threading.Tasks.Task exportMeteringDeviceHistoryAsync(Hcs.Service.Async.DeviceMetering.RequestHeader RequestHeader, Hcs.Service.Async.DeviceMetering.exportMeteringDeviceHistoryRequest exportMeteringDeviceHistoryRequest) { + Hcs.Service.Async.DeviceMetering.exportMeteringDeviceHistoryRequest1 inValue = new Hcs.Service.Async.DeviceMetering.exportMeteringDeviceHistoryRequest1(); + inValue.RequestHeader = RequestHeader; + inValue.exportMeteringDeviceHistoryRequest = exportMeteringDeviceHistoryRequest; + return ((Hcs.Service.Async.DeviceMetering.DeviceMeteringPortTypesAsync)(this)).exportMeteringDeviceHistoryAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + Hcs.Service.Async.DeviceMetering.getStateResponse Hcs.Service.Async.DeviceMetering.DeviceMeteringPortTypesAsync.getState(Hcs.Service.Async.DeviceMetering.getStateRequest1 request) { + return base.Channel.getState(request); + } + + public Hcs.Service.Async.DeviceMetering.ResultHeader getState(Hcs.Service.Async.DeviceMetering.RequestHeader RequestHeader, Hcs.Service.Async.DeviceMetering.getStateRequest getStateRequest, out Hcs.Service.Async.DeviceMetering.getStateResult getStateResult) { + Hcs.Service.Async.DeviceMetering.getStateRequest1 inValue = new Hcs.Service.Async.DeviceMetering.getStateRequest1(); + inValue.RequestHeader = RequestHeader; + inValue.getStateRequest = getStateRequest; + Hcs.Service.Async.DeviceMetering.getStateResponse retVal = ((Hcs.Service.Async.DeviceMetering.DeviceMeteringPortTypesAsync)(this)).getState(inValue); + getStateResult = retVal.getStateResult; + return retVal.ResultHeader; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Hcs.Service.Async.DeviceMetering.DeviceMeteringPortTypesAsync.getStateAsync(Hcs.Service.Async.DeviceMetering.getStateRequest1 request) { + return base.Channel.getStateAsync(request); + } + + public System.Threading.Tasks.Task getStateAsync(Hcs.Service.Async.DeviceMetering.RequestHeader RequestHeader, Hcs.Service.Async.DeviceMetering.getStateRequest getStateRequest) { + Hcs.Service.Async.DeviceMetering.getStateRequest1 inValue = new Hcs.Service.Async.DeviceMetering.getStateRequest1(); + inValue.RequestHeader = RequestHeader; + inValue.getStateRequest = getStateRequest; + return ((Hcs.Service.Async.DeviceMetering.DeviceMeteringPortTypesAsync)(this)).getStateAsync(inValue); + } + } +} diff --git a/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Reference.svcmap b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Reference.svcmap new file mode 100644 index 0000000..8816af2 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/Reference.svcmap @@ -0,0 +1,36 @@ + + + + false + true + true + + false + false + false + + + true + Auto + true + true + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.DeviceMetering/configuration.svcinfo b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/configuration.svcinfo new file mode 100644 index 0000000..9efab9d --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/configuration.svcinfo @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.DeviceMetering/configuration91.svcinfo b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/configuration91.svcinfo new file mode 100644 index 0000000..aab8ec3 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/configuration91.svcinfo @@ -0,0 +1,310 @@ + + + + + + + DeviceMeteringBindingAsync1 + + + + + + + + + + + + + + + + + + + + + StrongWildcard + + + + + + 65536 + + + + + + + + + System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + System.Text.UTF8Encoding + + + Buffered + + + + + + Text + + + System.ServiceModel.Configuration.BasicHttpSecurityElement + + + Transport + + + System.ServiceModel.Configuration.HttpTransportSecurityElement + + + None + + + None + + + System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement + + + Never + + + TransportSelected + + + (Коллекция) + + + + + + System.ServiceModel.Configuration.BasicHttpMessageSecurityElement + + + UserName + + + Default + + + + + + + DeviceMeteringBindingAsync2 + + + + + + + + + + + + + + + + + + + + + StrongWildcard + + + + + + 65536 + + + + + + + + + System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + System.Text.UTF8Encoding + + + Buffered + + + + + + Text + + + System.ServiceModel.Configuration.BasicHttpSecurityElement + + + None + + + System.ServiceModel.Configuration.HttpTransportSecurityElement + + + None + + + None + + + System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement + + + Never + + + TransportSelected + + + (Коллекция) + + + + + + System.ServiceModel.Configuration.BasicHttpMessageSecurityElement + + + UserName + + + Default + + + + + + + + + https://api.dom.gosuslugi.ru/ext-bus-device-metering-service/services/DeviceMeteringAsync + + + + + + basicHttpBinding + + + DeviceMeteringBindingAsync1 + + + Service.Async.DeviceMetering.DeviceMeteringPortTypesAsync + + + System.ServiceModel.Configuration.AddressHeaderCollectionElement + + + <Header /> + + + System.ServiceModel.Configuration.IdentityElement + + + System.ServiceModel.Configuration.UserPrincipalNameElement + + + + + + System.ServiceModel.Configuration.ServicePrincipalNameElement + + + + + + System.ServiceModel.Configuration.DnsElement + + + + + + System.ServiceModel.Configuration.RsaElement + + + + + + System.ServiceModel.Configuration.CertificateElement + + + + + + System.ServiceModel.Configuration.CertificateReferenceElement + + + My + + + LocalMachine + + + FindBySubjectDistinguishedName + + + + + + False + + + DeviceMeteringPortAsync1 + + + + + + + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.DeviceMetering/hcs-base.xsd b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/hcs-base.xsd new file mode 100644 index 0000000..f5688dd --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/hcs-base.xsd @@ -0,0 +1,862 @@ + + + + + + Строка не более 2000 символов. + + + + + + + + Строка не более 1500 символов. + + + + + + + + Строка не более 300 символов. + + + + + + + + Скалярный тип. Строка не более 255 символов. + + + + + + + + + Скалярный тип. Строка не более 100 символов. + + + + + + + + Скалярный тип. Строка не более 250 символов. + + + + + + + + Скалярный тип. Строка не более 500 символов. + + + + + + + + Строка не более 60 символов. + + + + + + + + Текстовое поле 2000 + + + + + + + + Непустая строка + + + + + + + + + Базовый тип бизнес-сообщения с подписью + + + + + + + + + Заголовок запроса + + + + + + + + + Идентификатор поставщика данных + + + + + Идентификатор зарегистрированной организации + + + + + Информация о физическом лице + + + + + + Идентификатор физического лица, зарегистрированного в ГИС ЖКХ + + + + + + СНИЛС + + + + + + + + + + Документ, удостоверяющий личность + + + + + + Вид документа, удостоверяющего личность (НСИ №95) + + + + + + Код записи справочника + + + + + + + + + + + Идентификатор записи в соответствующем справочнике ГИС ЖКХ + + + + + Значение + + + + + + + + + + + + + Серия документа + + + + + + + + + + + Номер документа + + + + + + + + + + + + + + + + + + + Используется подпись Оператора ИС + + + + + Сведения об иной ИС, с использованием которой была сформирована информация (589/944/,п.164). Только для запросов размещения информации. + + + + + + + + + + Заголовок запроса + + + + + + + + + + + + + + Заголовок ответа + + + + + + + + + + Базовый тип ответа на запрос создания, редактирования, удаления + + + + + + Транспортный идентификатор, определенный постащиком информации + + + + + Идентификатор объекта в ГИС ЖКХ + + + + + + + + Идентификатор объекта в ГИС ЖКХ + + + + + Дата модификации + + + + + Уникальный номер + + + + + + + + + + Базовый тип заголовка + + + + + Дата отправки пакета + + + + + Идентификатор сообщения + + + + + + + Вложение + + + + + + Идентификатор сохраненного вложения + + + + + + + + Вложение + + + + + Наименование вложения + + + + + + + + + + + Описание вложения + + + + + + + + + + + + Хэш-тег вложения по алгоритму ГОСТ в binhex. + +Элемент обязателен в запросах импорта + + + + + + + + + + + + Вложение + + + + + Наименование вложения + + + + + + + + + + + Описание вложения + + + + + + + + + + + + Хэш-тег вложения по алгоритму ГОСТ в binhex + + + + + + + + + + + + Базовый тип, описывающий вложение с открепленными (detached) подписями. В сервисах ГИС ЖКХ, использущих тип SignedAttachmentType, может быть наложено ограничение на максимальное количесво элементов в блоке Signature (см. контроль INT002039). + + + + + Вложение + + + + + Открепленная (detached) подпись + + + + + + + Элемент Fault (для параметра Fault в операции) + + + + Базовый тип для fault-ошибки + + + + + + + + + + + Описание ошибок контролей или бизнес-процесса. Элемент не заполянется. Оставлен для совместимости + + + + + + Базовый тип ошибки контроля или бизнес-процесса + + + + + Код ошибки + + + + + Описание ошибки + + + + + StackTrace в случае возникновения исключения + + + + + + + Версия элемента, начиная с которой поддерживается совместимость + + + + + Возврат квитанции приема сообщения + + + + + + Квитанция + + + + + + Идентификатор сообщения, присвоенный ГИС ЖКХ + + + + + Идентификатор сообщения, присвоенный поставщиком + + + + + + + + + + + Запрос статуса отправленного сообщения + + + + + + Идентификатор сообщения, присвоенный ГИС ЖКХ + + + + + + + + Запрос списка обработанных сообщений + + + + + + Массив идентификаторов сообщений, присвоенных ГИС ЖКХ + + + + + + + + Ответ на запрос списка обработанных сообщений + + + + + + + + Список идентификаторов сообщений, присвоенный ГИС ЖКХ + + + + + + + + + + Базовый тип ответа на запрос статуса + + + + + + + Статус обработки + + + + + Идентификатор сообщения, присвоенный ГИС ЖКХ + + + + + + + + + Результат выполнения C_UD + + + + + Идентификатор создаваемой/изменяемой сущности + + + + + Транспортный идентификатор + + + + + + Операция выполнена успешно + + + + Уникальный реестровый номер + + + + + Дата модификации + + + + + + Описание ошибки + + + + + + + + + + + + + Статус обработки сообщения в асинхронном обмене (1- получено; 2 - в обработке; 3- обработано) + + + + + + + + + + Транспортный идентификатор + + + + + GUID-тип. + + + + + + + + Дата модификации объекта + + + + + Тип, описывающий год + + + + + + + + Тип, описывающий месяц + + + + + + + + + Месяц + + + + + Год + + + + + + + + + + + Определенный месяц определенного года + + + + + + + + + Временной период (обе даты обязательны) + + + + + Начало периода + + + + + Конец периода + + + + + + + Открытый временной период (даты необязательны) + + + + + Начало периода + + + + + Конец периода + + + + + + + Тип объема + + + + + + + + + + Ссылка на субъект РФ (ФИАС) + + + + + Код региона (ФИАС) + + + + + + + + + + Полное наименование + + + + + + + + + + + + Ссылка на ОКТМО + + + + + Код по ОКТМО + + + + + + + + + + + Полное наименование + + + + + + + + + + + + + + + + + Код ОКЕИ + + + + + Идентификатор зарегистрированной организации + + + + + Базовый тип документа ОЧ + + + + + Наименование документа + + + + + + + + + + + Номер документа + + + + + + + + + + + Дата принятия документа органом власти + + + + + Вложение + + + + + + + Сведения об иной ИС, с использованием которой была сформирована информация (589/944/,п.164) + + + + + + Наименование ИС + + + + + Наименование Оператора ИС + + + + + + + + Код по ОКТМО + + + + + + + + + Код по ОКТМО + + + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.DeviceMetering/hcs-device-metering-service-async.wsdl b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/hcs-device-metering-service-async.wsdl new file mode 100644 index 0000000..1cd3509 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/hcs-device-metering-service-async.wsdl @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Передать показания ПУ + + + + + + Получить историю показаний ПУ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Асинхронный сервис управления приборами учета и передачей показаний + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.DeviceMetering/hcs-device-metering-types.xsd b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/hcs-device-metering-types.xsd new file mode 100644 index 0000000..4ef102c --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/hcs-device-metering-types.xsd @@ -0,0 +1,997 @@ + + + + + + + + ?????????????????? ?????????????????????????? ????. ???????????????????????? ?????? ?????????????? ?????????????? ?? ?????????????????????? ?????????????????? ???? + + + + + + + ???????? ???????????? ?????????????????? + + + + + + + + + + ?????????????????? ?????????????????????????? ????. ???????????????????????? ?????? ?????????????? ?????????????? ?? ?????????????????????? ?????????????????? ???? + + + + + + + ???????? ???????????? ?????????????????? + + + + + + + + + + ???????????? ????, ?????????????????????? ?????????? ?????????????????????? ????. ???????????????????????? ?????? ?????????????? ?????????????? ?? ?????????????????????? ?????????????? + + + + + + + ???????? ???????????? ?????????????????? + + + + + + + + + + ?????????????? ?????????????????? ?????????????????????????? ????: ???????????????????????? ????????????, ???????????????? ?????????????????? ?? ???????????????? ?????????????????? ???? ?? (???????? ????????????????????) ?? ???????????????? ?????????????????? ?????????????????????????? ?????????????? ???? ??????????????????, ???????????????? ???????????? ?? ???????????????????? ????, ????????-?????????? ???????????????? ?? ??????????????. ???????????????????????? ?????? ???????????????? ?????????????? ?????????????????? ???? ?? ?????????????????? ???? ???????????? / ?????????????????? ?????????????? + + + + + + + ?????? ?????????????? ?????????????????? ?????????????????? ???? (???? ???????????????????????? ???????????????????????????? ????????). ??????????????????????, ???????? ???? ?????????????????? ???? ???????????????????? ???? ???? ?????????????????????????? ?????????????? ???? ?????????????????? + + + + + ???????????????? ?????????????????? ????, ???????????????????? ?? ???????????????? ?????????????????? ?????????????????????????? ?????????????? ???? ??????????????????. ??????????????????????, ???????? ???? ?????????????????? ???? ???????????????????? ???? ???? ???? ???? ?????????????????? + + + + + + ???????????????? + + + + + ?????????????? ?????????????????? ?????????????????????????? ?????????????? ???? ?????????????????? + + + + + + + + + + + + ?????????????????? ???????????????????????????? ????: ???????????????? ?????????????????? ?? ???????????????? ?????????????????? ???? ?? (???????? ????????????????????) ?? ???????????????? ?????????????????? ?????????????????????????? ?????????????? ???? ??????????????????, ???????????????? ???????????? ?? ???????????????????? ????, ????????-?????????? ???????????????? ?? ??????????????. ???????????????????????? ?????? ???????????????? ?????????????? ?????????????????? ???? ?? ?????????????????? ???? ???????????? / ?????????????????? ?????????????? + + + + + + + ?????? ?????????????? ?????????????????? ?????????????????? ???? (???? ???????????????????????? ???????????????????????????? ????????). ??????????????????????, ???????? ???? ?????????????????? ???? ???????????????????? ???? ???? ?????????????????????????? ?????????????? ???? ?????????????????? + + + + + ???????????????? ?????????????????? ????, ???????????????????? ?? ???????????????? ?????????????????? ?????????????????????????? ?????????????? ???? ??????????????????. ??????????????????????, ???????? ???? ?????????????????? ???? ???????????????????? ???? ???? ???? ???? ?????????????????? + + + + + + ???????????????? ???? ???????????? T1 + + + + + ???????????????? ???? ???????????? T2 + + + + + ???????????????? ???? ???????????? T3 + + + + + ?????????????? ?????????????????? ?????????????????????????? ?????????????? ???? ?????????????????? + + + + + + + + + + + + ?????????????? ?????????????????? ?????????????????????????? ????: ?????????????????? ?????? ?????????????? ?????????????????? ?????????????????????????? ???? ?????????? ???????????? ??????????????????. ???????????????????????? ?????? ???????????????? ?????????????? ?? ?????????????????????? ?????????????????? ???? + + + + + + + ???????? ???????????? ?????????????????? + + + + + + + + + ?????????????? ?????????????????? ???????????????????????????? ????: ?????????????????? ?????? ?????????????? ?????????????????? ???????????????????????????? ???? ?????????? ???????????? ??????????????????. ???????????????????????? ?????? ???????????????? ?????????????? ?? ?????????????????????? ?????????????????? ???? ???????????????????????????? + + + + + + + ???????? ???????????? ?????????????????? + + + + + + + + + ???????????? ?????????????? ?????????????????? ????, ?????????????????????? ?????????? ?????????????????????????? ?????????????????????????? ??????????????: ???????????????????????? ????????????, ???????????????? ?????????????????? ?? ???????????????? ?????????????????? ???? ?? (???????? ????????????????????) ?? ???????????????? ?????????????????? ?????????????????????????? ?????????????? ???? ??????????????????, ???????????????? ???????????? ?? ???????????????????? ????. ???????????????????????? ?????? ???????????????? ?????????????????? ???? ???????????? / ?????????????????? ?????????????? + + + + + + + ?????? ?????????????? + + + + + ?????????????????????????? ??????????????????????, ?????????????? ?????????? ???????????? ?? ??????????????. ???? ??????????????????????, ???????? ???????????? ???????? ?????????????? ?????????????????????? + + + + + ???????? ?? ?????????? ???????????????? ?? ?????????????? + + + + + ?????? ?????????????? ?????????????????? ?????????????? ?????????????????????? (???? ???????????????????????? ???????????????????????????? ????????). ??????????????????????, ???????? ???? ?????????????????? ???? ???????????????????? ???? ???? ?????????????????????????? ?????????????? ???? ?????????????????? + + + + + ???????????????? ?????????????? ?????????????????????? ????, ???????????????????? ?? ???????????????? ?????????????????? ?????????????????????????? ?????????????? ???? ??????????????????. ??????????????????????, ???????? ???? ?????????????????? ???? ???????????????????? ???? ???? ???? ???? ?????????????????? + + + + + + ???????????????? ???? ???????????? T1 + + + + + ???????????????? ???? ???????????? T2 + + + + + ???????????????? ???? ???????????? T3 + + + + + ?????????????? ?????????????????? ?????????????????????????? ?????????????? ???? ?????????????????? + + + + + + + + + + + + ???????????? ?????????????? ?????????????????? ????, ?????????????????????? ?????????? ?????????????????????????? ?????????????????????????? ??????????????: ?????????????????? ?????????????? ?????? ?????????? ???????????? ??????????????????. ???????????????????????? ?????? ???????????????? ?????????????? ?? ?????????????????????? ?????????????????? + + + + + + + ???????? ???????????? ?????????????????? + + + + + + + + + ???????????????????????????? ???????? ?????????????????? ???? (???????????????? ??????????????, ??????, ?????????????? ????????, ???????????????? ????????, ?????????????? ?????????????? ????????) (???????????????????????? ?????? ???????????????? ??????????????????) + + + + + ?????????? ?????????????????????? ???? ???????????? + + + + + + + + ????????????, ?? ???????????????? ?????????????????? ?????????????????? + + + + + + + + + + ?????????????????????? ?????????? + + + + + ???????????? ??????????????, ???? ???????????????? ?????????????? + + + + + + ???????? ???????????? ?????????????? + + + + + ???????? ?????????????????? ?????????????? + + + + + ???????? ?????????????????????????????? ???? ?????????? ?????????????? + + + + + ?????????? ???? ???????????? ?????????????? + + + + + ?????????? ???? ?????????????????? ?????????????? + + + + + + ?????????????? ???????????????? ?????????????? + + + + + ?????????????? ???????????? ???? ???? ?????????? (?????? 224). ???????????????? ?????? ???????????????????? ??????????????. + + + + + + + + + + + ???????????? ?????????????????? ???????????????? ??????????. ?????????????????? ?????????????????????????? ?? ???????????????? ??????????????????, ?????????????? ?????????????????? ?????????????? ?????????? ?????? ?????? ????????????????. (?????????????????? ?????????????????? ????: ?????? ???????????????????????? ???????????????? "???????????????? ????????", "?????????????? ????????", "?????????????? ?????????????? ????????" - 112 (????????) ?? 113 (???????????????????? ????????); ?????? ???? "?????????????????????????? ??????????????" - 245 (????????????????-??????); ?????? ???? "??????" - 113 (???????????????????? ????????); ?????? ???? "???????????????? ??????????????" - 233 (??????????????????????), 245 (????????????????-??????), 246 (????????????????-??????), 271 (????????????), A056 (????????????????????) ?? A058 (????????????????????)) + + + + + + + + ???????????????????? ???????????????????? ?????????????????????????? ???????? ???? ???????? + + + + + ?????????????????? ?? ???????????? ???????????????????????? ???????????????? ???? + + + + + + + ?????????????????????????? ???? + + + + + ?????????????????????????? ???????????? ???? + + + + + + + ?????????????????? ???? ???? (???????????????? ??????????????, ??????, ?????????????? ????????, ???????????????? ????????, ?????????????? ?????????????? ????????). ?????????????????????? ???????????? ?????? ????, ?????????????????????????????? ?????????????????? + + + + + + ?????????????????? ???? ???????????? + + + + + + + + ????????????, ???? ?????????????? ???????????????????? ??????????????????. + +???????? ???? ????????????, ???? ?????????????????? ?????????????????? ?? ???????????? ???????? ???????????? ?????????????????? + + + + + + + + + + ?????????????????????? ?????????????????? + + + + + ?????????????????? ??????????????, ???? ???????????????? ?????????????? ???????? ???????????????????????? ?? ???????????? ???????????? ???? ?????????? + + + + + + ???????? ???????????? ?????????????? + + + + + ???????? ?????????????????? ?????????????? + + + + + ???????? ?????????????????????????????? ???? ?????????? ?????????????? + + + + + ?????????????????? ???? ???????????? ?????????????? + + + + + ?????????????????? ???? ?????????????????? ?????????????? + + + + + + ?????????????? ???????????????? ?????????????? + + + + + ?????????????? ???????????? ???? ???? ?????????? (?????? 224). ???????????????? ?????? ???????????????????? ??????????????. + + + + + + + + + + + + + ?????????????????? ???? ???? (?????????????????????????? ??????????????). ?????????????????????? ???????????? ?????? ????, ?????????????????????????????? ?????????????????? + + + + + + ?????????????????? ???? ???????????? + + + + + + + + ????????????, ???? ?????????????? ???????????????????? ??????????????????. + +???????? ???? ????????????, ???? ?????????????????? ?????????????????? ?? ???????????? ???????? ???????????? ?????????????????? + + + + + + + + + + ?????????????????????? ?????????????????? + + + + + ?????????????????? ??????????????, ???? ???????????????? ?????????????? ???????? ???????????????????????? ?? ???????????? ???????????? ???? ?????????? + + + + + + ???????? ???????????? ?????????????? + + + + + ???????? ?????????????????? ?????????????? + + + + + ???????? ?????????????????????????????? ???? ?????????? ?????????????? + + + + + ?????????????????? ???? ???????????? ?????????????? + + + + + ?????????????????? ???? ?????????????????? ?????????????? + + + + + + ?????????????? ???????????????? ?????????????? + + + + + ?????????????? ???????????? ???? ???? ?????????? (?????? 224). ???????????????? ?????? ???????????????????? ??????????????. + + + + + + + + + + + + + ???????????? ???????????????????????? ???????????????? ???? ???? (????????????????????????????, ???????????????? ??????????????, ??????, ?????????????? ????????, ???????????????? ????????, ?????????????? ?????????????? ????????). ?????????????????????? ???????????? ?????? ????, ?????????????????????????????? ?????????? ?????????????????????????? ???? + + + + + + ?????????? ?????????????????????? ???? ???????????? + + + + + + + + ????????????, ???? ?????????????? ???????????????????? ??????????????????. + +???????? ???? ????????????, ???? ?????????????????? ?????????????????? ?? ???????????? ???????? ???????????? ?????????????????? + + + + + + + + + + ?????????????????????? ?????????? + + + + + ???????????????? ?? ??????????????, ???? ???????????????? ?????????????? ???????? ???????????????????????? ?? ???????????? ???????????? ???? ?????????? + + + + + + ???????? ???????????? ?????????????? + + + + + ???????? ?????????????????? ?????????????? + + + + + ???????? ?????????????????????????????? ???? ?????????? ?????????????? + + + + + ?????????? ???? ???????????? ?????????????? + + + + + ?????????? ???? ?????????????????? ?????????????? + + + + + + ?????????????? ???????????????? ?????????????? + + + + + ?????????????? ???????????? ???? ???? ?????????? (?????? 224). ???????????????? ?????? ???????????????????? ??????????????. + + + + + + + + + + + + + + + + + + + + + + + + + + + ?????????????? ?????????????? ?????????????????? ?? ?????????????? ???????????????? ?????????? (????) ????????????????????????, ?????????????????????????? ?? ?????????????????? ????????. ?????????????????????? ???????????????? ???????????????????? ??????????. ?????????? ?????????????????????? ???? ?????????????????? ???? ???????????? ???????? (?? ???????? ???????????? ???????????????????????????? ???????????? ???? ???????? ???? ????????????????????????). ???????? ???????????????? ?????????????? ???? 2-?? ?? ?????????? (?????? ????????) ??????????, ???? ???????????? ???????????????????????????? ??????????????, ?????????????????????? ???? ?????????? 1000 ???? ?? ???????????? ??????????. ?????? ???????????????? 2-???? ?? ?????????????????????? ???????????? ???????????????????? ?????????????????? ???????????? ?? ???????? ???? ???????????????????? ???????????????????? ?? ?????????????? ?? ?????? ?????????????? ExportMeteringDeviceRootGUID + + + + + + + + ???????????????????? ???????????????????? ?????????????????????????? ???????? ???? ????????, ?? ?????????????? ???????????????????? ???? ????????????????????????. ?????????????????????? ???????????????? ???????????????????? ??????????????????. ???????? ???? ????????????, ???? ?????????? ???????????????????????????????? ???????????? ???? ???????? ???? ???????????????????????? + + + + + ?????????????????????????? ???? ?? ?????? ??????, ???????????????????????? ?????? ???????????????? 2-???? ?? ?????????????????????? ???????????? ???????????? (????. ?????????????????? ?????????????????? ????????????????). ???????????? ?????????????????????? ????????????????, ???????????????????? ?? ???????????????? exportMeteringDeviceHistoryResult/PagedOutput/ExportMeteringDeviceRootGUID ?????? ???????????????? ?????????????????????? ?????????? ????????????. ?????? ???????????????? ?????????????? ?????????? ???????????? ?????????????? ???? ?????????????????????? + + + + + + ?????? ?????????????? ?????????? (?????? 27) + + + + + ?????? ?????????????????????????? ?????????????? (?????? 2) + + + + + ?????????????????????????? ???? + + + + + + ???????? ?????????? ?? ???????????????????????? ?????? + + + + + ???????? ?????????? ?? ???????????????????????? ???????? + + + + + ?????????????????? ???????????????????????????? + + + + + ???????? ?????????????????? ?????? + + + + + ???????? ?????????????????? ???????? + + + + + ???????? ???????????? ??????????????, ???? ?????????????? ?????????????????????? ?????????????????? ?? ?????????????? ???? (???? ???????? ???????????? ??????????????????). ???????????????? ???? ??????????????????: 1-?? ?????????? ?????????????????????? ???????????????????????? ????????????. ???????????? ???????????????? ?????????????????? ???? (???????????????????????? ???????????????????? inputDateFrom ?? inputDateTo) ???? ???????????? ???????????????? ???? ?????????????? ???????? ???????????????????????????????? ?????????????????????? ?????????????? + + + + + ???????? ?????????????????? ??????????????, ???? ?????????????? ?????????????????????? ?????????????????? ?? ?????????????? ???? (???? ???????? ???????????? ??????????????????). ???????????????? ???? ??????????????????: ?????????????? ????????. ???????????? ???????????????? ?????????????????? ???? (???????????????????????? ???????????????????? inputDateFrom ?? inputDateTo) ???? ???????????? ???????????????? ???? ?????????????? ???????? ???????????????????????????????? ?????????????????????? ?????????????? + + + + + ???????? ???????? ?????????????? ?????? ??????????????????????, ???? ??????????????????, ?????????????????? ?? ?????????????? ??????????????????????, ???????????????????? ?? ????????????????. ???????? ???????? ????????????????????, ???? ?????????? ?????????????????? ?? ???????????????? ???? ???????????????????? + + + + + ???????? ???????? ?????????????? ?????? ??????????????????????, ???? ??????????????????, ?????????????????? ?? ?????????????? ?????????????? ????????????????????????, ???????????????????? ?? ???????????????? (?????? ??????????????, ?????? ???? ???????????????????? ???????? excludeISValues). ???????? ???????? ????????????????????, ???? ?????????? ?????????????????? ?? ???????????????? ???? ???????????????????? + + + + + ???????? ???????? ?????????????? ?????? ??????????????????????, ???? ??????????????????, ?????????????????? ?? ?????????????? ?????????????????????????? ???????????????? ???? ??????????????, ???????????????????? ?? ????????????????. ???????? ???????? ????????????????????, ???? ?????????? ?????????????????? ?? ???????????????? ???? ???????????????????? + + + + + ???????? ???????? ????????????????????, ???? ?? ???????????????? ???????????????????? ???????????? ??????????????????, ?????????????????? ?? ???????????? ???????????????? ?????? ?????????????????????? ?????????????????????????? ???????????????? ???? ??????????????. ?? ?????????????????? ?????????????? ?????????????????????? ?????? ??????????????????. (???????????????????? ????????????????????????????????, ?????????????? ?????????????????????????? ?????????????? ExcludePersonAsDataSource, ExcludeCurrentOrgAsDataSource, ExcludeOtherOrgAsDataSource) + + + + + + + + + + + ?????????????? ?????????????????? ?? ?????????????? ???????????????? ??????????. ???????????????? ?????????????????? ?? ?????????????? ?????????????????????? ?? ???????????????? ?????????????????? (????), ?????????????? ?????????????????? ?????????????? ?????????? ?????? ?????? ????????????????. ???????? ???? ?????????????? ?????????? ???????????????????? ???? ???? ?????????????????????????? ?????????????? (????) ???? ??????????????????, ???? ?????????????????????????? ?????????????????????? ???????????????? ?????????????????? ?? ?????????????? ?? ???? ???? ???? ?????????????????? + + + + + ?????????????????????????? ???? + + + + + ???????????????????? ?????????????????????????? ????????-?????????? ?????????????????? ???? (?? ?????? ??????). ?????????????????????? ????????????, ?????????? ????????????, ?????????? ?? ?????????????? exportMeteringDeviceHistoryRequest ???????????? ?????????? ???????? ?????????????? tns:FIASHouseGuid + + + + + ???????????????????? ?????????????????????????? ????????-?????????? ?????????????????? ???? (???? ????????). ?????????????????????? ????????????, ?????????? ????????????, ?????????? ?? ?????????????? exportMeteringDeviceHistoryRequest ???????????? ?????????? ???????? ?????????????? tns:FIASHouseGuid + + + + + + ?????????????????? ???? ?????????????? ????????????????/?????????????? ????????; ????????; ???????????????? ??????????????. ?????????????????????? ???????????? ?????? ????, ?????????????????????????????? ?????????????????? + + + + + + ?????????????? ?????????????????? + + + + + ?????????????????? + + + + + + ?????????????????? ???? ???????????? + + + + + + + + ????????????, ?? ???????????????? ?????????????????? ?????????????????? + + + + + + + + + + ?????????????????????? ?????????????????? + + + + + ?????????????????? ??????????????, ???? ???????????????? ?????????????? + + + + + + ???????? ???????????? ?????????????? + + + + + ???????? ?????????????????? ?????????????? + + + + + ???????? ?????????????????????????????? ???? ?????????? ?????????????? + + + + + ?????????????????? ???? ???????????? ?????????????? + + + + + ?????????????????? ???? ?????????????????? ?????????????? + + + + + + ?????????????? ???????????????? ?????????????? + + + + + ?????????????? ???????????? ???? ???? ?????????? (?????? 224). ???????????????? ?????? ???????????????????? ??????????????. + + + + + + + + + ?????????????????? ??????????????????, ?????????????????? ?????????????? ???? ?????????????? ????. +(?????????? ?????????????????? ?????????? ???????? ?????????????? ???? ???????????? ?????????? ??????, ?? ?? ?????????????? ???????????? ????) ???????? ???????? = "????????????", ???? ?????????????????????? ??????????????????, ?????????????????? ?????????? ?????? ?? ?? ?????????????? ???????????? ????, ?? ?????????????????? ?????????????? ?????????????????????? ?????? ?????????????????? + + + + + + + + + + + ?????????????????? ???? ?????????????? ????????????????????????????. ?????????????????????? ???????????? ?????? ????, ?????????????????????????????? ?????????????????? + + + + + + ?????????????? ?????????????????? + + + + + ?????????????????? + + + + + + ?????????????????? ???? ???????????? + + + + + + + + ????????????, ?? ???????????????? ?????????????????? ?????????????????? + + + + + + + + + + ?????????????????????? ?????????????????? + + + + + ?????????????????? ??????????????, ???? ???????????????? ?????????????? + + + + + + ???????? ???????????? ?????????????? + + + + + ???????? ?????????????????? ?????????????? + + + + + ???????? ?????????????????????????????? ???? ?????????? ?????????????? + + + + + ?????????????????? ???? ???????????? ?????????????? + + + + + ?????????????????? ???? ?????????????????? ?????????????? + + + + + + ?????????????? ???????????????? ?????????????? + + + + + ?????????????? ???????????? ???? ???? ?????????? (?????? 224). ???????????????? ?????? ???????????????????? ??????????????. + + + + + + + + + ?????????????????? ??????????????????, ?????????????????? ?????????????? ???? ?????????????? ????. +(?????????? ?????????????????? ?????????? ???????? ?????????????? ???? ???????????? ?????????? ??????, ?? ?? ?????????????? ???????????? ????) ???????? ???????? = "????????????", ???? ?????????????????????? ??????????????????, ?????????????????? ?????????? ?????? ?? ?? ?????????????? ???????????? ????, ?? ?????????????????? ?????????????? ?????????????????????? ?????? ?????????????????? + + + + + + + + + + + ???????????? ?????????????????????? ???????????????? ???? (????????????????????????????, ???????????????? ??????????????, ??????, ?????????????? ????????, ???????????????? ????????, ?????????????? ?????????????? ????????). ?????????????????????? ???????????? ?????? ????, ?????????????????????????????? ?????????? ?????????????????????????? ???? + + + + + + + + ?????????????????? ????????????, ?????????????????? ?????????????? ???? ?????????????? ????. +(?????????? ???????????? ?????????? ???????? ?????????????? ???? ???????????? ?????????? ??????, ?? ?? ?????????????? ???????????? ????) ???????? ???????? = "????????????", ???? ?????????????????????? ????????????, ?????????????????? ?????????? ?????? ?? ?? ?????????????? ???????????? ????, ?? ?????????????????? ?????????????? ?????????????????????? ?????? ???????????? + + + + + + + + + + + ???????????? ???? ?????????????????? ???? + + + + + + ?????????????? ??????????????????. ???????????? ???? ?????? "?????????????? ?????????????????? ?????????????? ??????????" (???????????????????? ?????????? 21). + + + + + + + + + + ?????????????? ?????????????? ?????????????????????????? ?????????????????? + + + + + + + + + + + + ??????????????????, ???????????????????????? ?????? ???????????????? ?????????????????? ?? ?????????????? ???? ??????????????, ?????????????????????? ???? ?????????? 1000 ???? ?? ???????????? ??????????. ?????????????????????? ????????????, ?????????? ????????????, ?????????? ?? ?????????????? exportMeteringDeviceHistoryRequest ???????????? ?????????? ???????? ?????????????? tns:FIASHouseGuid + + + + + + ???????????????? ?????????????????????????? ???? ?? ?????? ?????? ?????? ?????????????????? ???????????????????? ?????????? ?????????????? + + + + + ?????????????? ???????????????????? ?????????? ?????????????? + + + + + + + + + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.DeviceMetering/hcs-metering-device-base.xsd b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/hcs-metering-device-base.xsd new file mode 100644 index 0000000..c009401 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/hcs-metering-device-base.xsd @@ -0,0 +1,159 @@ + + + + + + + Идентификатор ПУ + + + + + + Показание ПУ. Значение (15 до запятой, 7 после) + + + + + + + + Коммунальный ресурс и показание ПУ для однотарифного ПУ. Используется при импорте показаний поверки и фиксации показаний ПУ при его замене, а также, как базовый класс для других типов + + + + + Коммунальный ресурс (тепловая энергия, газ, горячая вода, холодная вода, сточные бытовые воды) (НСИ 2) + + + + + Значение + + + + + + + Данные однотарифного ПУ: коммунальный ресурс, последнее полученное показание в единицах измерения ПУ, источник данных о показаниях ПУ. Используется при экспорте данных ПУ + + + + + + + Кем внесено + + + + + Идентификатор организации, которая ввела показания в Систему. Не заполняется, если показания были введены гражданином + + + + + + + + + Данные однотарифного ПУ: коммунальный ресурс, последнее полученное показание в единицах измерения ПУ, источник данных о показаниях ПУ, время внесения в Систему. Используется при экспорте показаний ПУ + + + + + + + Дата и время внесения в Систему + + + + + + + + + Показания ПУ электрической энергии. Используется при импорте показаний поверки и фиксации показаний ПУ при его замене, а также, как базовый класс для других типов + + + + + Значение по тарифу T1 + + + + + Значение по тарифу T2 + + + + + Значение по тарифу T3 + + + + + + + Данные многотарифного ПУ: коммунальный ресурс, последние полученные показания в единицах измерения ПУ, источник данных о показаниях ПУ. Используется при экспорте данных ПУ + + + + + + + Кем внесено + + + + + Идентификатор организации, которая ввела показания в Систему. Не заполняется, если показания были введены гражданином + + + + + + + + + Данные многотарифного ПУ: коммунальный ресурс, последнее полученное показание в единицах измерения ПУ, источник данных о показаниях ПУ, время внесения в Систему. Используется при экспорте показаний ПУ + + + + + + + Дата и время внесения в Систему + + + + + + + + + Объемы потребленных ресурсов по ПУ (электроэнергия, тепловая энергия, газ, горячая вода, холодная вода, сточные бытовые воды) + + + + + Коммунальный ресурс (электроэнергия, тепловая энергия, газ, горячая вода, холодная вода, сточные бытовые воды) (НСИ 2) + + + + + Объем по тарифу T1 + + + + + Объем по тарифу T2 + + + + + Объем по тарифу T3 + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.DeviceMetering/hcs-nsi-base.xsd b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/hcs-nsi-base.xsd new file mode 100644 index 0000000..cbd302d --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/hcs-nsi-base.xsd @@ -0,0 +1,427 @@ + + + + + + + + + + + + Ссылка на справочник + + + + + Код записи справочника + + + + + Идентификатор записи в соответствующем справочнике ГИС ЖКХ + + + + + Значение + + + + + + + + + + + + Скалярный тип. Наименование справочника. Строка не более 200 символов. + + + + + + + + Скалярный тип. Реестровый номер справочника. Код не более 10 символов. + + + + + + + + Составной тип. Наименование, дата и время последнего изменения справочника. + + + + + Реестровый номер справочника. + + + + + Наименование справочника. + + + + + Дата и время последнего изменения справочника. + + + + + + + Перечень справочников с датой последнего изменения каждого из них. + + + + + Дата и время формирования перечня справочников. + + + + + Наименование, дата и время последнего изменения справочника. + + + + + + + + Данные справочника. + + + + + Реестровый номер справочника. + + + + + Дата и время формирования данных справочника. + + + + + Элемент справочника верхнего уровня. + + + + + + + Составной тип. Элемент справочника. + + + + + Код элемента справочника, уникальный в пределах справочника. + + + + + Глобально-уникальный идентификатор элемента справочника. + + + + + + Дата и время последнего изменения элемента справочника (в том числе создания). + + + + + + Дата начала действия значения + + + + + Дата окончания действия значения + + + + + + + Признак актуальности элемента справочника. + + + + + Наименование и значение поля для элемента справочника. + + + + + Дочерний элемент. + + + + + + + Составной тип. Наименование и значение поля для элемента справочника. Абстрактный тип. + + + + + Наименование поля элемента справочника. + + + + + + + Составной тип. Наименование и значение поля типа "Строка" для элемента справочника. + + + + + + + Значение поля элемента справочника типа "Строка". + + + + + + + + + Составной тип. Наименование и значение поля типа "Да/Нет" для элемента справочника. + + + + + + + Значение поля элемента справочника типа "Да/Нет". + + + + + + + + + Составной тип. Наименование и значение поля типа "Вещественное" для элемента справочника. + + + + + + + Значение поля элемента справочника типа "Вещественное". + + + + + + + + + Составной тип. Наименование и значение поля типа "Дата" для элемента справочника. + + + + + + + Значение поля элемента справочника типа "Дата". + + + + + + + + + Составной тип. Наименование и значение поля типа "Целое число" для элемента справочника. + + + + + + + Значение поля элемента справочника типа "Целое число". + + + + + + + + + Составной тип. Наименование и значение поля типа "Перечислимый" для элемента справочника. + + + + + + + Запись элемента справочника типа "Перечислимый". + + + + + + Код поля элемента справочника типа "Перечислимый". + + + + + Значение поля элемента справочника типа "Перечислимый". + + + + + + + + + + + + Составной тип. Наименование и значение поля типа "Ссылка на справочник" для элемента справочника. + + + + + + + Ссылка на справочник. + + + + + + Реестровый номер справочника. + + + + + + + + + + + + + Составной тип. Наименование и значение поля типа "Ссылка на элемент внутреннего справочника" для элемента справочника. + + + + + + + Ссылка на элемент внутреннего справочника. + + + + + + Реестровый номер справочника. + + + + + Ссылка на элемент справочника. + + + + + + + + + + + + Составной тип. Наименование и значение поля типа "Ссылка на элемент справочника ОКЕИ" для элемента справочника. + + + + + + + Код единицы измерения по справочнику ОКЕИ. + + + + + + + + + Составной тип. Наименование и значение поля типа "Ссылка на элемент справочника ФИАС" для элемента справочника. + + + + + + + Ссылка на элемент справочника ФИАС. + + + + + + Идентификационный код позиции в справочнике ФИАС. + + + + + Глобально-уникальный идентификатор адресного объекта в справочнике ФИАС. + + + + + + + + + + + + Составной тип. Наименование и значение поля "Вложение" + + + + + + + Документ + + + + + + + + + Скалярный тип. Наименование поля элемента справочника. Строка не более 200 символов. + + + + + + + + Группа справочника: +NSI - (по умолчанию) общесистемный +NSIRAO - ОЖФ + + + + + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.DeviceMetering/xmldsig-core-schema.xsd b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/xmldsig-core-schema.xsd new file mode 100644 index 0000000..e036087 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.DeviceMetering/xmldsig-core-schema.xsd @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Hcs.Client/Hcs.Client.csproj b/Hcs.Client/Hcs.Client.csproj index 7d460dd..9a22bd3 100644 --- a/Hcs.Client/Hcs.Client.csproj +++ b/Hcs.Client/Hcs.Client.csproj @@ -65,6 +65,7 @@ + @@ -85,6 +86,8 @@ + + @@ -221,6 +224,11 @@ True Reference.svcmap + + True + True + Reference.svcmap + True True @@ -664,6 +672,40 @@ Designer + + Designer + + + + Designer + + + Designer + + + Designer + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Designer + Designer @@ -1408,6 +1450,7 @@ + @@ -1478,6 +1521,12 @@ WCF Proxy Generator Reference.cs + + + + WCF Proxy Generator + Reference.cs + diff --git a/Hcs.Client/app.config b/Hcs.Client/app.config index e438b4c..7a5feaf 100644 --- a/Hcs.Client/app.config +++ b/Hcs.Client/app.config @@ -38,6 +38,10 @@ + + + + @@ -78,6 +82,10 @@ binding="basicHttpBinding" bindingConfiguration="RegOrgBindingAsync1" contract="Service.Async.OrgRegistryCommon.RegOrgPortsTypeAsync" name="RegOrgAsyncPort1" /> + \ No newline at end of file diff --git a/Hcs.TestApp/Hcs.TestApp.csproj b/Hcs.TestApp/Hcs.TestApp.csproj index 45e5340..c7328a3 100644 --- a/Hcs.TestApp/Hcs.TestApp.csproj +++ b/Hcs.TestApp/Hcs.TestApp.csproj @@ -76,6 +76,7 @@ + diff --git a/Hcs.TestApp/TestApp/Program.cs b/Hcs.TestApp/TestApp/Program.cs index 1d7f213..83e7779 100644 --- a/Hcs.TestApp/TestApp/Program.cs +++ b/Hcs.TestApp/TestApp/Program.cs @@ -36,12 +36,15 @@ namespace Hcs.TestApp client.SetSigningCertificate(cert); + var deviceMeteringScenario = new DeviceMeteringScenario(client); var houseManagementScenario = new HouseManagementScenario(client); var nsiScenario = new NsiScenario(client); var nsiCommonScenario = new NsiCommonScenario(client); var orgRegistryCommonScenario = new OrgRegistryCommonScenario(client); try { + //deviceMeteringScenario.ImportMeteringDeviceValues(); + //houseManagementScenario.ExportAccount(); //houseManagementScenario.ExportHouse(); diff --git a/Hcs.TestApp/TestApp/Scenario/DeviceMeteringScenario.cs b/Hcs.TestApp/TestApp/Scenario/DeviceMeteringScenario.cs new file mode 100644 index 0000000..b3e8a26 --- /dev/null +++ b/Hcs.TestApp/TestApp/Scenario/DeviceMeteringScenario.cs @@ -0,0 +1,56 @@ +using Hcs.Client; +using Hcs.Client.Api.Registry; +using Hcs.Service.Async.DeviceMetering; +using System; + +namespace Hcs.TestApp.Scenario +{ + internal class DeviceMeteringScenario(UniClient client) + { + private readonly UniClient client = client; + + internal void ImportMeteringDeviceValues() + { + var values = new importMeteringDeviceValuesRequestMeteringDevicesValues() + { + // TODO: Вставить айди ПУ + Item = "", + ItemElementName = ItemChoiceType.MeteringDeviceRootGUID, + Item1 = new importMeteringDeviceValuesRequestMeteringDevicesValuesOneRateDeviceValue() + { + CurrentValue = [new importMeteringDeviceValuesRequestMeteringDevicesValuesOneRateDeviceValueCurrentValue() + { + Period = new YearMonth() + { + Year = 2025, + Month = 9 + }, + DateValue = new DateTime(2025, 9, 25), + TransportGUID = Guid.NewGuid().ToString(), + // TODO: Переделать работу с НСИ + MunicipalResource = new nsiRef() + { + Code = Registry239.Element4.Code, + GUID = Registry239.Element4.GUID + }, + MeteringValue = "100" + }], + ControlValue = [new OneRateMeteringValueImportType() + { + DateValue = new DateTime(2025, 9, 25), + TransportGUID = Guid.NewGuid().ToString(), + // TODO: Переделать работу с НСИ + MunicipalResource = new nsiRef() + { + Code = Registry239.Element4.Code, + GUID = Registry239.Element4.GUID + }, + MeteringValue = "100" + }] + } + }; + var result = client.DeviceMetering.ImportMeteringDeviceValuesAsync(values).Result; + Console.WriteLine("Scenario execution " + (result ? "succeeded" : "failed")); + } + } +}