//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行时版本:4.0.30319.42000
//
//     对此文件的更改可能会导致不正确的行为，并且如果
//     重新生成代码，这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------

// 
// 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。
// 
#pragma warning disable 1591

namespace ConsoleApp6.localhost {
    using System.Diagnostics;
    using System;
    using System.Xml.Serialization;
    using System.ComponentModel;
    using System.Web.Services.Protocols;
    using System.Web.Services;
    
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="blwwsSoap", Namespace="http://www.blw.com/")]
    public partial class blwws : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        private System.Threading.SendOrPostCallback CheckInOperationCompleted;
        
        private System.Threading.SendOrPostCallback CheckIn2OperationCompleted;
        
        private System.Threading.SendOrPostCallback UploadPhotoOperationCompleted;
        
        private System.Threading.SendOrPostCallback ChangePhoneNumberOperationCompleted;
        
        private System.Threading.SendOrPostCallback CheckOutOperationCompleted;
        
        private System.Threading.SendOrPostCallback RentRoomOperationCompleted;
        
        private System.Threading.SendOrPostCallback PushBaoJing_IsEnableOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetPushBaoJing_IsEnableOperationCompleted;
        
        private System.Threading.SendOrPostCallback AddHotelInfoOperationCompleted;
        
        private bool useDefaultCredentialsSetExplicitly;
        
        /// <remarks/>
        public blwws() {
            this.Url = global::ConsoleApp6.Properties.Settings.Default.ConsoleApp6_localhost_blwws;
            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;
            }
        }
        
        /// <remarks/>
        public event CheckInCompletedEventHandler CheckInCompleted;
        
        /// <remarks/>
        public event CheckIn2CompletedEventHandler CheckIn2Completed;
        
        /// <remarks/>
        public event UploadPhotoCompletedEventHandler UploadPhotoCompleted;
        
        /// <remarks/>
        public event ChangePhoneNumberCompletedEventHandler ChangePhoneNumberCompleted;
        
        /// <remarks/>
        public event CheckOutCompletedEventHandler CheckOutCompleted;
        
        /// <remarks/>
        public event RentRoomCompletedEventHandler RentRoomCompleted;
        
        /// <remarks/>
        public event PushBaoJing_IsEnableCompletedEventHandler PushBaoJing_IsEnableCompleted;
        
        /// <remarks/>
        public event GetPushBaoJing_IsEnableCompletedEventHandler GetPushBaoJing_IsEnableCompleted;
        
        /// <remarks/>
        public event AddHotelInfoCompletedEventHandler AddHotelInfoCompleted;
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.blw.com/CheckIn", RequestNamespace="http://www.blw.com/", ResponseNamespace="http://www.blw.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool CheckIn(string key, string code, string roomNumber, System.DateTime checkInDate, string xmlString, ref string errorMsg, string phoneNumber, string idNumber) {
            object[] results = this.Invoke("CheckIn", new object[] {
                        key,
                        code,
                        roomNumber,
                        checkInDate,
                        xmlString,
                        errorMsg,
                        phoneNumber,
                        idNumber});
            errorMsg = ((string)(results[1]));
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void CheckInAsync(string key, string code, string roomNumber, System.DateTime checkInDate, string xmlString, string errorMsg, string phoneNumber, string idNumber) {
            this.CheckInAsync(key, code, roomNumber, checkInDate, xmlString, errorMsg, phoneNumber, idNumber, null);
        }
        
        /// <remarks/>
        public void CheckInAsync(string key, string code, string roomNumber, System.DateTime checkInDate, string xmlString, string errorMsg, string phoneNumber, string idNumber, object userState) {
            if ((this.CheckInOperationCompleted == null)) {
                this.CheckInOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckInOperationCompleted);
            }
            this.InvokeAsync("CheckIn", new object[] {
                        key,
                        code,
                        roomNumber,
                        checkInDate,
                        xmlString,
                        errorMsg,
                        phoneNumber,
                        idNumber}, this.CheckInOperationCompleted, userState);
        }
        
        private void OnCheckInOperationCompleted(object arg) {
            if ((this.CheckInCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.CheckInCompleted(this, new CheckInCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.blw.com/CheckIn2", RequestNamespace="http://www.blw.com/", ResponseNamespace="http://www.blw.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool CheckIn2(string key, string code, string roomNumber, System.DateTime checkInDate, string xmlString, ref string errorMsg, ref long checkInID, string phoneNumber, string idNumber) {
            object[] results = this.Invoke("CheckIn2", new object[] {
                        key,
                        code,
                        roomNumber,
                        checkInDate,
                        xmlString,
                        errorMsg,
                        checkInID,
                        phoneNumber,
                        idNumber});
            errorMsg = ((string)(results[1]));
            checkInID = ((long)(results[2]));
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void CheckIn2Async(string key, string code, string roomNumber, System.DateTime checkInDate, string xmlString, string errorMsg, long checkInID, string phoneNumber, string idNumber) {
            this.CheckIn2Async(key, code, roomNumber, checkInDate, xmlString, errorMsg, checkInID, phoneNumber, idNumber, null);
        }
        
        /// <remarks/>
        public void CheckIn2Async(string key, string code, string roomNumber, System.DateTime checkInDate, string xmlString, string errorMsg, long checkInID, string phoneNumber, string idNumber, object userState) {
            if ((this.CheckIn2OperationCompleted == null)) {
                this.CheckIn2OperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckIn2OperationCompleted);
            }
            this.InvokeAsync("CheckIn2", new object[] {
                        key,
                        code,
                        roomNumber,
                        checkInDate,
                        xmlString,
                        errorMsg,
                        checkInID,
                        phoneNumber,
                        idNumber}, this.CheckIn2OperationCompleted, userState);
        }
        
        private void OnCheckIn2OperationCompleted(object arg) {
            if ((this.CheckIn2Completed != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.CheckIn2Completed(this, new CheckIn2CompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.blw.com/UploadPhoto", RequestNamespace="http://www.blw.com/", ResponseNamespace="http://www.blw.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool UploadPhoto(string key, string code, long checkInID, int idType, string idCard, string name, int sex, string birthday, string photoUrl, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] photo, ref string errorMsg) {
            object[] results = this.Invoke("UploadPhoto", new object[] {
                        key,
                        code,
                        checkInID,
                        idType,
                        idCard,
                        name,
                        sex,
                        birthday,
                        photoUrl,
                        photo,
                        errorMsg});
            errorMsg = ((string)(results[1]));
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void UploadPhotoAsync(string key, string code, long checkInID, int idType, string idCard, string name, int sex, string birthday, string photoUrl, byte[] photo, string errorMsg) {
            this.UploadPhotoAsync(key, code, checkInID, idType, idCard, name, sex, birthday, photoUrl, photo, errorMsg, null);
        }
        
        /// <remarks/>
        public void UploadPhotoAsync(string key, string code, long checkInID, int idType, string idCard, string name, int sex, string birthday, string photoUrl, byte[] photo, string errorMsg, object userState) {
            if ((this.UploadPhotoOperationCompleted == null)) {
                this.UploadPhotoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUploadPhotoOperationCompleted);
            }
            this.InvokeAsync("UploadPhoto", new object[] {
                        key,
                        code,
                        checkInID,
                        idType,
                        idCard,
                        name,
                        sex,
                        birthday,
                        photoUrl,
                        photo,
                        errorMsg}, this.UploadPhotoOperationCompleted, userState);
        }
        
        private void OnUploadPhotoOperationCompleted(object arg) {
            if ((this.UploadPhotoCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.UploadPhotoCompleted(this, new UploadPhotoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.blw.com/ChangePhoneNumber", RequestNamespace="http://www.blw.com/", ResponseNamespace="http://www.blw.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool ChangePhoneNumber(string key, string code, string roomNumber, string phoneNumber, string idNumber, ref string errorMsg) {
            object[] results = this.Invoke("ChangePhoneNumber", new object[] {
                        key,
                        code,
                        roomNumber,
                        phoneNumber,
                        idNumber,
                        errorMsg});
            errorMsg = ((string)(results[1]));
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void ChangePhoneNumberAsync(string key, string code, string roomNumber, string phoneNumber, string idNumber, string errorMsg) {
            this.ChangePhoneNumberAsync(key, code, roomNumber, phoneNumber, idNumber, errorMsg, null);
        }
        
        /// <remarks/>
        public void ChangePhoneNumberAsync(string key, string code, string roomNumber, string phoneNumber, string idNumber, string errorMsg, object userState) {
            if ((this.ChangePhoneNumberOperationCompleted == null)) {
                this.ChangePhoneNumberOperationCompleted = new System.Threading.SendOrPostCallback(this.OnChangePhoneNumberOperationCompleted);
            }
            this.InvokeAsync("ChangePhoneNumber", new object[] {
                        key,
                        code,
                        roomNumber,
                        phoneNumber,
                        idNumber,
                        errorMsg}, this.ChangePhoneNumberOperationCompleted, userState);
        }
        
        private void OnChangePhoneNumberOperationCompleted(object arg) {
            if ((this.ChangePhoneNumberCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.ChangePhoneNumberCompleted(this, new ChangePhoneNumberCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.blw.com/CheckOut", RequestNamespace="http://www.blw.com/", ResponseNamespace="http://www.blw.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool CheckOut(string key, string code, string roomNumber, System.DateTime checkOutDate, ref string errorMsg) {
            object[] results = this.Invoke("CheckOut", new object[] {
                        key,
                        code,
                        roomNumber,
                        checkOutDate,
                        errorMsg});
            errorMsg = ((string)(results[1]));
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void CheckOutAsync(string key, string code, string roomNumber, System.DateTime checkOutDate, string errorMsg) {
            this.CheckOutAsync(key, code, roomNumber, checkOutDate, errorMsg, null);
        }
        
        /// <remarks/>
        public void CheckOutAsync(string key, string code, string roomNumber, System.DateTime checkOutDate, string errorMsg, object userState) {
            if ((this.CheckOutOperationCompleted == null)) {
                this.CheckOutOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckOutOperationCompleted);
            }
            this.InvokeAsync("CheckOut", new object[] {
                        key,
                        code,
                        roomNumber,
                        checkOutDate,
                        errorMsg}, this.CheckOutOperationCompleted, userState);
        }
        
        private void OnCheckOutOperationCompleted(object arg) {
            if ((this.CheckOutCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.CheckOutCompleted(this, new CheckOutCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.blw.com/RentRoom", RequestNamespace="http://www.blw.com/", ResponseNamespace="http://www.blw.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool RentRoom(string key, string code, string roomNumber, System.DateTime rentDate, ref string errorMsg) {
            object[] results = this.Invoke("RentRoom", new object[] {
                        key,
                        code,
                        roomNumber,
                        rentDate,
                        errorMsg});
            errorMsg = ((string)(results[1]));
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void RentRoomAsync(string key, string code, string roomNumber, System.DateTime rentDate, string errorMsg) {
            this.RentRoomAsync(key, code, roomNumber, rentDate, errorMsg, null);
        }
        
        /// <remarks/>
        public void RentRoomAsync(string key, string code, string roomNumber, System.DateTime rentDate, string errorMsg, object userState) {
            if ((this.RentRoomOperationCompleted == null)) {
                this.RentRoomOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRentRoomOperationCompleted);
            }
            this.InvokeAsync("RentRoom", new object[] {
                        key,
                        code,
                        roomNumber,
                        rentDate,
                        errorMsg}, this.RentRoomOperationCompleted, userState);
        }
        
        private void OnRentRoomOperationCompleted(object arg) {
            if ((this.RentRoomCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.RentRoomCompleted(this, new RentRoomCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.blw.com/PushBaoJing_IsEnable", RequestNamespace="http://www.blw.com/", ResponseNamespace="http://www.blw.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public void PushBaoJing_IsEnable(string key, string code, bool isable) {
            this.Invoke("PushBaoJing_IsEnable", new object[] {
                        key,
                        code,
                        isable});
        }
        
        /// <remarks/>
        public void PushBaoJing_IsEnableAsync(string key, string code, bool isable) {
            this.PushBaoJing_IsEnableAsync(key, code, isable, null);
        }
        
        /// <remarks/>
        public void PushBaoJing_IsEnableAsync(string key, string code, bool isable, object userState) {
            if ((this.PushBaoJing_IsEnableOperationCompleted == null)) {
                this.PushBaoJing_IsEnableOperationCompleted = new System.Threading.SendOrPostCallback(this.OnPushBaoJing_IsEnableOperationCompleted);
            }
            this.InvokeAsync("PushBaoJing_IsEnable", new object[] {
                        key,
                        code,
                        isable}, this.PushBaoJing_IsEnableOperationCompleted, userState);
        }
        
        private void OnPushBaoJing_IsEnableOperationCompleted(object arg) {
            if ((this.PushBaoJing_IsEnableCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.PushBaoJing_IsEnableCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.blw.com/GetPushBaoJing_IsEnable", RequestNamespace="http://www.blw.com/", ResponseNamespace="http://www.blw.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int GetPushBaoJing_IsEnable(string key, string code) {
            object[] results = this.Invoke("GetPushBaoJing_IsEnable", new object[] {
                        key,
                        code});
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        public void GetPushBaoJing_IsEnableAsync(string key, string code) {
            this.GetPushBaoJing_IsEnableAsync(key, code, null);
        }
        
        /// <remarks/>
        public void GetPushBaoJing_IsEnableAsync(string key, string code, object userState) {
            if ((this.GetPushBaoJing_IsEnableOperationCompleted == null)) {
                this.GetPushBaoJing_IsEnableOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetPushBaoJing_IsEnableOperationCompleted);
            }
            this.InvokeAsync("GetPushBaoJing_IsEnable", new object[] {
                        key,
                        code}, this.GetPushBaoJing_IsEnableOperationCompleted, userState);
        }
        
        private void OnGetPushBaoJing_IsEnableOperationCompleted(object arg) {
            if ((this.GetPushBaoJing_IsEnableCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetPushBaoJing_IsEnableCompleted(this, new GetPushBaoJing_IsEnableCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.blw.com/AddHotelInfo", RequestNamespace="http://www.blw.com/", ResponseNamespace="http://www.blw.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int AddHotelInfo(string key, string Code, string HotelName, int HotelId) {
            object[] results = this.Invoke("AddHotelInfo", new object[] {
                        key,
                        Code,
                        HotelName,
                        HotelId});
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        public void AddHotelInfoAsync(string key, string Code, string HotelName, int HotelId) {
            this.AddHotelInfoAsync(key, Code, HotelName, HotelId, null);
        }
        
        /// <remarks/>
        public void AddHotelInfoAsync(string key, string Code, string HotelName, int HotelId, object userState) {
            if ((this.AddHotelInfoOperationCompleted == null)) {
                this.AddHotelInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddHotelInfoOperationCompleted);
            }
            this.InvokeAsync("AddHotelInfo", new object[] {
                        key,
                        Code,
                        HotelName,
                        HotelId}, this.AddHotelInfoOperationCompleted, userState);
        }
        
        private void OnAddHotelInfoOperationCompleted(object arg) {
            if ((this.AddHotelInfoCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.AddHotelInfoCompleted(this, new AddHotelInfoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        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;
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
    public delegate void CheckInCompletedEventHandler(object sender, CheckInCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class CheckInCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal CheckInCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public bool Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
        
        /// <remarks/>
        public string errorMsg {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[1]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
    public delegate void CheckIn2CompletedEventHandler(object sender, CheckIn2CompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class CheckIn2CompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal CheckIn2CompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public bool Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
        
        /// <remarks/>
        public string errorMsg {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[1]));
            }
        }
        
        /// <remarks/>
        public long checkInID {
            get {
                this.RaiseExceptionIfNecessary();
                return ((long)(this.results[2]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
    public delegate void UploadPhotoCompletedEventHandler(object sender, UploadPhotoCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class UploadPhotoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal UploadPhotoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public bool Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
        
        /// <remarks/>
        public string errorMsg {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[1]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
    public delegate void ChangePhoneNumberCompletedEventHandler(object sender, ChangePhoneNumberCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class ChangePhoneNumberCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal ChangePhoneNumberCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public bool Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
        
        /// <remarks/>
        public string errorMsg {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[1]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
    public delegate void CheckOutCompletedEventHandler(object sender, CheckOutCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class CheckOutCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal CheckOutCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public bool Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
        
        /// <remarks/>
        public string errorMsg {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[1]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
    public delegate void RentRoomCompletedEventHandler(object sender, RentRoomCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class RentRoomCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal RentRoomCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public bool Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
        
        /// <remarks/>
        public string errorMsg {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[1]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
    public delegate void PushBaoJing_IsEnableCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
    public delegate void GetPushBaoJing_IsEnableCompletedEventHandler(object sender, GetPushBaoJing_IsEnableCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetPushBaoJing_IsEnableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetPushBaoJing_IsEnableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public int Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
    public delegate void AddHotelInfoCompletedEventHandler(object sender, AddHotelInfoCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class AddHotelInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal AddHotelInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public int Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }
}

#pragma warning restore 1591