131 lines
		
	
	
		
			5.8 KiB
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			131 lines
		
	
	
		
			5.8 KiB
		
	
	
	
		
			C#
		
	
	
	
| //------------------------------------------------------------------------------
 | |
| // <auto-generated>
 | |
| //     此代码由工具生成。
 | |
| //     运行时版本:4.0.30319.42000
 | |
| //
 | |
| //     对此文件的更改可能会导致不正确的行为,并且如果
 | |
| //     重新生成代码,这些更改将会丢失。
 | |
| // </auto-generated>
 | |
| //------------------------------------------------------------------------------
 | |
| 
 | |
| namespace wcfClient.ServiceReference1 {
 | |
|     using System.Runtime.Serialization;
 | |
|     using System;
 | |
|     
 | |
|     
 | |
|     [System.Diagnostics.DebuggerStepThroughAttribute()]
 | |
|     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
 | |
|     [System.Runtime.Serialization.DataContractAttribute(Name="CompositeType", Namespace="http://schemas.datacontract.org/2004/07/WcfService2")]
 | |
|     [System.SerializableAttribute()]
 | |
|     public partial class CompositeType : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
 | |
|         
 | |
|         [System.NonSerializedAttribute()]
 | |
|         private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
 | |
|         
 | |
|         [System.Runtime.Serialization.OptionalFieldAttribute()]
 | |
|         private bool BoolValueField;
 | |
|         
 | |
|         [System.Runtime.Serialization.OptionalFieldAttribute()]
 | |
|         private string StringValueField;
 | |
|         
 | |
|         [global::System.ComponentModel.BrowsableAttribute(false)]
 | |
|         public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
 | |
|             get {
 | |
|                 return this.extensionDataField;
 | |
|             }
 | |
|             set {
 | |
|                 this.extensionDataField = value;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [System.Runtime.Serialization.DataMemberAttribute()]
 | |
|         public bool BoolValue {
 | |
|             get {
 | |
|                 return this.BoolValueField;
 | |
|             }
 | |
|             set {
 | |
|                 if ((this.BoolValueField.Equals(value) != true)) {
 | |
|                     this.BoolValueField = value;
 | |
|                     this.RaisePropertyChanged("BoolValue");
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [System.Runtime.Serialization.DataMemberAttribute()]
 | |
|         public string StringValue {
 | |
|             get {
 | |
|                 return this.StringValueField;
 | |
|             }
 | |
|             set {
 | |
|                 if ((object.ReferenceEquals(this.StringValueField, value) != true)) {
 | |
|                     this.StringValueField = value;
 | |
|                     this.RaisePropertyChanged("StringValue");
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         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.ServiceModel", "4.0.0.0")]
 | |
|     [System.ServiceModel.ServiceContractAttribute(ConfigurationName="ServiceReference1.IService1")]
 | |
|     public interface IService1 {
 | |
|         
 | |
|         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService1/GetData", ReplyAction="http://tempuri.org/IService1/GetDataResponse")]
 | |
|         string GetData(int value);
 | |
|         
 | |
|         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService1/GetDataUsingDataContract", ReplyAction="http://tempuri.org/IService1/GetDataUsingDataContractResponse")]
 | |
|         wcfClient.ServiceReference1.CompositeType GetDataUsingDataContract(wcfClient.ServiceReference1.CompositeType composite);
 | |
|         
 | |
|         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService1/lightTables", ReplyAction="http://tempuri.org/IService1/lightTablesResponse")]
 | |
|         bool lightTables(int led_color, int port, string[] ele_lab_id, string[] ele_address, string[] Out_count);
 | |
|     }
 | |
|     
 | |
|     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
 | |
|     public interface IService1Channel : wcfClient.ServiceReference1.IService1, System.ServiceModel.IClientChannel {
 | |
|     }
 | |
|     
 | |
|     [System.Diagnostics.DebuggerStepThroughAttribute()]
 | |
|     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
 | |
|     public partial class Service1Client : System.ServiceModel.ClientBase<wcfClient.ServiceReference1.IService1>, wcfClient.ServiceReference1.IService1 {
 | |
|         
 | |
|         public Service1Client() {
 | |
|         }
 | |
|         
 | |
|         public Service1Client(string endpointConfigurationName) : 
 | |
|                 base(endpointConfigurationName) {
 | |
|         }
 | |
|         
 | |
|         public Service1Client(string endpointConfigurationName, string remoteAddress) : 
 | |
|                 base(endpointConfigurationName, remoteAddress) {
 | |
|         }
 | |
|         
 | |
|         public Service1Client(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
 | |
|                 base(endpointConfigurationName, remoteAddress) {
 | |
|         }
 | |
|         
 | |
|         public Service1Client(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
 | |
|                 base(binding, remoteAddress) {
 | |
|         }
 | |
|         
 | |
|         public string GetData(int value) {
 | |
|             return base.Channel.GetData(value);
 | |
|         }
 | |
|         
 | |
|         public wcfClient.ServiceReference1.CompositeType GetDataUsingDataContract(wcfClient.ServiceReference1.CompositeType composite) {
 | |
|             return base.Channel.GetDataUsingDataContract(composite);
 | |
|         }
 | |
|         
 | |
|         public bool lightTables(int led_color, int port, string[] ele_lab_id, string[] ele_address, string[] Out_count) {
 | |
|             return base.Channel.lightTables(led_color, port, ele_lab_id, ele_address, Out_count);
 | |
|         }
 | |
|     }
 | |
| }
 |