//------------------------------------------------------------------------------
//
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
//
//------------------------------------------------------------------------------
//
// 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。
//
#pragma warning disable 1591
namespace TimedUpload.WebReference {
using System;
using System.Web.Services;
using System.Diagnostics;
using System.Web.Services.Protocols;
using System.Xml.Serialization;
using System.ComponentModel;
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3062.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="MeterReadingImplServiceSoapBinding", Namespace="http://service.webService.jh.com/")]
public partial class MeterReadingImplService : System.Web.Services.Protocols.SoapHttpClientProtocol {
private System.Threading.SendOrPostCallback UPValveControlStateOperationCompleted;
private System.Threading.SendOrPostCallback UPMeterReadOperationCompleted;
private System.Threading.SendOrPostCallback ValveControlOperationCompleted;
private System.Threading.SendOrPostCallback getMeterInfoOperationCompleted;
private System.Threading.SendOrPostCallback UPUserYeOperationCompleted;
private System.Threading.SendOrPostCallback getUserYeOperationCompleted;
private bool useDefaultCredentialsSetExplicitly;
///
public MeterReadingImplService() {
this.Url = global::TimedUpload.Properties.Settings.Default.TimedUpload_WebReference_MeterReadingImplService;
if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
this.UseDefaultCredentials = true;
this.useDefaultCredentialsSetExplicitly = false;
}
else {
this.useDefaultCredentialsSetExplicitly = true;
}
}
public new string Url {
get {
return base.Url;
}
set {
if ((((this.IsLocalFileSystemWebService(base.Url) == true)
&& (this.useDefaultCredentialsSetExplicitly == false))
&& (this.IsLocalFileSystemWebService(value) == false))) {
base.UseDefaultCredentials = false;
}
base.Url = value;
}
}
public new bool UseDefaultCredentials {
get {
return base.UseDefaultCredentials;
}
set {
base.UseDefaultCredentials = value;
this.useDefaultCredentialsSetExplicitly = true;
}
}
///
public event UPValveControlStateCompletedEventHandler UPValveControlStateCompleted;
///
public event UPMeterReadCompletedEventHandler UPMeterReadCompleted;
///
public event ValveControlCompletedEventHandler ValveControlCompleted;
///
public event getMeterInfoCompletedEventHandler getMeterInfoCompleted;
///
public event UPUserYeCompletedEventHandler UPUserYeCompleted;
///
public event getUserYeCompletedEventHandler getUserYeCompleted;
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://service.webService.jh.com/", ResponseNamespace="http://service.webService.jh.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("return", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public bool UPValveControlState([System.Xml.Serialization.XmlElementAttribute("ValveControlState", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] valveControlState[] ValveControlState, [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string metersort_id) {
object[] results = this.Invoke("UPValveControlState", new object[] {
ValveControlState,
metersort_id});
return ((bool)(results[0]));
}
///
public void UPValveControlStateAsync(valveControlState[] ValveControlState, string metersort_id) {
this.UPValveControlStateAsync(ValveControlState, metersort_id, null);
}
///
public void UPValveControlStateAsync(valveControlState[] ValveControlState, string metersort_id, object userState) {
if ((this.UPValveControlStateOperationCompleted == null)) {
this.UPValveControlStateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUPValveControlStateOperationCompleted);
}
this.InvokeAsync("UPValveControlState", new object[] {
ValveControlState,
metersort_id}, this.UPValveControlStateOperationCompleted, userState);
}
private void OnUPValveControlStateOperationCompleted(object arg) {
if ((this.UPValveControlStateCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.UPValveControlStateCompleted(this, new UPValveControlStateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://service.webService.jh.com/", ResponseNamespace="http://service.webService.jh.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("return", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string UPMeterRead([System.Xml.Serialization.XmlElementAttribute("meterRead", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] meterRead[] meterRead, [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string metersort_id) {
object[] results = this.Invoke("UPMeterRead", new object[] {
meterRead,
metersort_id});
return ((string)(results[0]));
}
///
public void UPMeterReadAsync(meterRead[] meterRead, string metersort_id) {
this.UPMeterReadAsync(meterRead, metersort_id, null);
}
///
public void UPMeterReadAsync(meterRead[] meterRead, string metersort_id, object userState) {
if ((this.UPMeterReadOperationCompleted == null)) {
this.UPMeterReadOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUPMeterReadOperationCompleted);
}
this.InvokeAsync("UPMeterRead", new object[] {
meterRead,
metersort_id}, this.UPMeterReadOperationCompleted, userState);
}
private void OnUPMeterReadOperationCompleted(object arg) {
if ((this.UPMeterReadCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.UPMeterReadCompleted(this, new UPMeterReadCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://service.webService.jh.com/", ResponseNamespace="http://service.webService.jh.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("return", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public valveControlList[] ValveControl([System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string metersort_id) {
object[] results = this.Invoke("ValveControl", new object[] {
metersort_id});
return ((valveControlList[])(results[0]));
}
///
public void ValveControlAsync(string metersort_id) {
this.ValveControlAsync(metersort_id, null);
}
///
public void ValveControlAsync(string metersort_id, object userState) {
if ((this.ValveControlOperationCompleted == null)) {
this.ValveControlOperationCompleted = new System.Threading.SendOrPostCallback(this.OnValveControlOperationCompleted);
}
this.InvokeAsync("ValveControl", new object[] {
metersort_id}, this.ValveControlOperationCompleted, userState);
}
private void OnValveControlOperationCompleted(object arg) {
if ((this.ValveControlCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.ValveControlCompleted(this, new ValveControlCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://service.webService.jh.com/", ResponseNamespace="http://service.webService.jh.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("return", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public meterInfo[] getMeterInfo([System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string metersort_id) {
object[] results = this.Invoke("getMeterInfo", new object[] {
metersort_id});
return ((meterInfo[])(results[0]));
}
///
public void getMeterInfoAsync(string metersort_id) {
this.getMeterInfoAsync(metersort_id, null);
}
///
public void getMeterInfoAsync(string metersort_id, object userState) {
if ((this.getMeterInfoOperationCompleted == null)) {
this.getMeterInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetMeterInfoOperationCompleted);
}
this.InvokeAsync("getMeterInfo", new object[] {
metersort_id}, this.getMeterInfoOperationCompleted, userState);
}
private void OngetMeterInfoOperationCompleted(object arg) {
if ((this.getMeterInfoCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.getMeterInfoCompleted(this, new getMeterInfoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://service.webService.jh.com/", ResponseNamespace="http://service.webService.jh.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("return", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public bool UPUserYe([System.Xml.Serialization.XmlElementAttribute("UserYe", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] userYe[] UserYe, [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string metersort_id) {
object[] results = this.Invoke("UPUserYe", new object[] {
UserYe,
metersort_id});
return ((bool)(results[0]));
}
///
public void UPUserYeAsync(userYe[] UserYe, string metersort_id) {
this.UPUserYeAsync(UserYe, metersort_id, null);
}
///
public void UPUserYeAsync(userYe[] UserYe, string metersort_id, object userState) {
if ((this.UPUserYeOperationCompleted == null)) {
this.UPUserYeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUPUserYeOperationCompleted);
}
this.InvokeAsync("UPUserYe", new object[] {
UserYe,
metersort_id}, this.UPUserYeOperationCompleted, userState);
}
private void OnUPUserYeOperationCompleted(object arg) {
if ((this.UPUserYeCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.UPUserYeCompleted(this, new UPUserYeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://service.webService.jh.com/", ResponseNamespace="http://service.webService.jh.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("return", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public valueUserYe[] getUserYe([System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string metersort_id) {
object[] results = this.Invoke("getUserYe", new object[] {
metersort_id});
return ((valueUserYe[])(results[0]));
}
///
public void getUserYeAsync(string metersort_id) {
this.getUserYeAsync(metersort_id, null);
}
///
public void getUserYeAsync(string metersort_id, object userState) {
if ((this.getUserYeOperationCompleted == null)) {
this.getUserYeOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetUserYeOperationCompleted);
}
this.InvokeAsync("getUserYe", new object[] {
metersort_id}, this.getUserYeOperationCompleted, userState);
}
private void OngetUserYeOperationCompleted(object arg) {
if ((this.getUserYeCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.getUserYeCompleted(this, new getUserYeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
public new void CancelAsync(object userState) {
base.CancelAsync(userState);
}
private bool IsLocalFileSystemWebService(string url) {
if (((url == null)
|| (url == string.Empty))) {
return false;
}
System.Uri wsUri = new System.Uri(url);
if (((wsUri.Port >= 1024)
&& (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
return true;
}
return false;
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3062.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://service.webService.jh.com/")]
public partial class valveControlState {
private string controlTimeField;
private string idField;
private string meterStateField;
private string resultField;
private string stateField;
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string controlTime {
get {
return this.controlTimeField;
}
set {
this.controlTimeField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string id {
get {
return this.idField;
}
set {
this.idField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string meterState {
get {
return this.meterStateField;
}
set {
this.meterStateField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string result {
get {
return this.resultField;
}
set {
this.resultField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string state {
get {
return this.stateField;
}
set {
this.stateField = value;
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3062.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://service.webService.jh.com/")]
public partial class valueUserYe {
private string jfdateField;
private double jfjeField;
private bool jfjeFieldSpecified;
private string memoField;
private string meteraddressField;
private string unit_noField;
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string jfdate {
get {
return this.jfdateField;
}
set {
this.jfdateField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public double jfje {
get {
return this.jfjeField;
}
set {
this.jfjeField = value;
}
}
///
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool jfjeSpecified {
get {
return this.jfjeFieldSpecified;
}
set {
this.jfjeFieldSpecified = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string memo {
get {
return this.memoField;
}
set {
this.memoField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string meteraddress {
get {
return this.meteraddressField;
}
set {
this.meteraddressField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string unit_no {
get {
return this.unit_noField;
}
set {
this.unit_noField = value;
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3062.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://service.webService.jh.com/")]
public partial class userYe {
private string inflagField;
private string unit_noField;
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string inflag {
get {
return this.inflagField;
}
set {
this.inflagField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string unit_no {
get {
return this.unit_noField;
}
set {
this.unit_noField = value;
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3062.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://service.webService.jh.com/")]
public partial class meterInfo {
private string addressField;
private string anzhrqField;
private string areanameField;
private string cbynameField;
private string loginField;
private string meterStateField;
private string meteraddressField;
private string meteraddress1Field;
private string termField;
private string unitnameField;
private string unitnoField;
private string waternoField;
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string address {
get {
return this.addressField;
}
set {
this.addressField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string anzhrq {
get {
return this.anzhrqField;
}
set {
this.anzhrqField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string areaname {
get {
return this.areanameField;
}
set {
this.areanameField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string cbyname {
get {
return this.cbynameField;
}
set {
this.cbynameField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string login {
get {
return this.loginField;
}
set {
this.loginField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string meterState {
get {
return this.meterStateField;
}
set {
this.meterStateField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string meteraddress {
get {
return this.meteraddressField;
}
set {
this.meteraddressField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string meteraddress1 {
get {
return this.meteraddress1Field;
}
set {
this.meteraddress1Field = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string term {
get {
return this.termField;
}
set {
this.termField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string unitname {
get {
return this.unitnameField;
}
set {
this.unitnameField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string unitno {
get {
return this.unitnoField;
}
set {
this.unitnoField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string waterno {
get {
return this.waternoField;
}
set {
this.waternoField = value;
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3062.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://service.webService.jh.com/")]
public partial class valveControlList {
private string controlTimeField;
private int idField;
private bool idFieldSpecified;
private string meteraddressField;
private string meteraddress1Field;
private string operatorField;
private string valveStateField;
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string controlTime {
get {
return this.controlTimeField;
}
set {
this.controlTimeField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public int id {
get {
return this.idField;
}
set {
this.idField = value;
}
}
///
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool idSpecified {
get {
return this.idFieldSpecified;
}
set {
this.idFieldSpecified = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string meteraddress {
get {
return this.meteraddressField;
}
set {
this.meteraddressField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string meteraddress1 {
get {
return this.meteraddress1Field;
}
set {
this.meteraddress1Field = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string @operator {
get {
return this.operatorField;
}
set {
this.operatorField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string valveState {
get {
return this.valveStateField;
}
set {
this.valveStateField = value;
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3062.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://service.webService.jh.com/")]
public partial class meterRead {
private string cgrField;
private string dlField;
private string kgbjField;
private string meterAddressField;
private string meterAddress1Field;
private string meterStateField;
private string metersort_idField;
private string readDateField;
private double readNumField;
private string xhqdField;
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string cgr {
get {
return this.cgrField;
}
set {
this.cgrField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string dl {
get {
return this.dlField;
}
set {
this.dlField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string kgbj {
get {
return this.kgbjField;
}
set {
this.kgbjField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string meterAddress {
get {
return this.meterAddressField;
}
set {
this.meterAddressField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string meterAddress1 {
get {
return this.meterAddress1Field;
}
set {
this.meterAddress1Field = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string meterState {
get {
return this.meterStateField;
}
set {
this.meterStateField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string metersort_id {
get {
return this.metersort_idField;
}
set {
this.metersort_idField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string readDate {
get {
return this.readDateField;
}
set {
this.readDateField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public double readNum {
get {
return this.readNumField;
}
set {
this.readNumField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string xhqd {
get {
return this.xhqdField;
}
set {
this.xhqdField = value;
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3062.0")]
public delegate void UPValveControlStateCompletedEventHandler(object sender, UPValveControlStateCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3062.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class UPValveControlStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal UPValveControlStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public bool Result {
get {
this.RaiseExceptionIfNecessary();
return ((bool)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3062.0")]
public delegate void UPMeterReadCompletedEventHandler(object sender, UPMeterReadCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3062.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class UPMeterReadCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal UPMeterReadCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3062.0")]
public delegate void ValveControlCompletedEventHandler(object sender, ValveControlCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3062.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class ValveControlCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal ValveControlCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public valveControlList[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((valveControlList[])(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3062.0")]
public delegate void getMeterInfoCompletedEventHandler(object sender, getMeterInfoCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3062.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class getMeterInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal getMeterInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public meterInfo[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((meterInfo[])(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3062.0")]
public delegate void UPUserYeCompletedEventHandler(object sender, UPUserYeCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3062.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class UPUserYeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal UPUserYeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public bool Result {
get {
this.RaiseExceptionIfNecessary();
return ((bool)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3062.0")]
public delegate void getUserYeCompletedEventHandler(object sender, getUserYeCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3062.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class getUserYeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal getUserYeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public valueUserYe[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((valueUserYe[])(this.results[0]));
}
}
}
}
#pragma warning restore 1591