319 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			319 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			C#
		
	
	
	
| //------------------------------------------------------------------------------
 | |
| // <auto-generated>
 | |
| //     此代码由工具生成。
 | |
| //     运行时版本:4.0.30319.42000
 | |
| //
 | |
| //     对此文件的更改可能会导致不正确的行为,并且如果
 | |
| //     重新生成代码,这些更改将会丢失。
 | |
| // </auto-generated>
 | |
| //------------------------------------------------------------------------------
 | |
| 
 | |
| namespace DeiNiu.wms.win.waveRuleService {
 | |
|     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="WcfWaveRule", Namespace="http://schemas.datacontract.org/2004/07/DeiNiu.Wcf")]
 | |
|     [System.SerializableAttribute()]
 | |
|     public partial class WcfWaveRule : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
 | |
|         
 | |
|         [System.NonSerializedAttribute()]
 | |
|         private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
 | |
|         
 | |
|         [System.Runtime.Serialization.OptionalFieldAttribute()]
 | |
|         private int IDField;
 | |
|         
 | |
|         [System.Runtime.Serialization.OptionalFieldAttribute()]
 | |
|         private bool activeField;
 | |
|         
 | |
|         [System.Runtime.Serialization.OptionalFieldAttribute()]
 | |
|         private string createtimeField;
 | |
|         
 | |
|         [System.Runtime.Serialization.OptionalFieldAttribute()]
 | |
|         private bool drField;
 | |
|         
 | |
|         [System.Runtime.Serialization.OptionalFieldAttribute()]
 | |
|         private int intervalField;
 | |
|         
 | |
|         [System.Runtime.Serialization.OptionalFieldAttribute()]
 | |
|         private string lastmodifiedField;
 | |
|         
 | |
|         [System.Runtime.Serialization.OptionalFieldAttribute()]
 | |
|         private int lineIdField;
 | |
|         
 | |
|         [System.Runtime.Serialization.OptionalFieldAttribute()]
 | |
|         private int operaterField;
 | |
|         
 | |
|         [System.Runtime.Serialization.OptionalFieldAttribute()]
 | |
|         private string ownerField;
 | |
|         
 | |
|         [System.Runtime.Serialization.OptionalFieldAttribute()]
 | |
|         private string ruleNameField;
 | |
|         
 | |
|         [System.Runtime.Serialization.OptionalFieldAttribute()]
 | |
|         private string salesField;
 | |
|         
 | |
|         [System.Runtime.Serialization.OptionalFieldAttribute()]
 | |
|         private int typeField;
 | |
|         
 | |
|         [global::System.ComponentModel.BrowsableAttribute(false)]
 | |
|         public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
 | |
|             get {
 | |
|                 return this.extensionDataField;
 | |
|             }
 | |
|             set {
 | |
|                 this.extensionDataField = value;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [System.Runtime.Serialization.DataMemberAttribute()]
 | |
|         public int ID {
 | |
|             get {
 | |
|                 return this.IDField;
 | |
|             }
 | |
|             set {
 | |
|                 if ((this.IDField.Equals(value) != true)) {
 | |
|                     this.IDField = value;
 | |
|                     this.RaisePropertyChanged("ID");
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [System.Runtime.Serialization.DataMemberAttribute()]
 | |
|         public bool active {
 | |
|             get {
 | |
|                 return this.activeField;
 | |
|             }
 | |
|             set {
 | |
|                 if ((this.activeField.Equals(value) != true)) {
 | |
|                     this.activeField = value;
 | |
|                     this.RaisePropertyChanged("active");
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [System.Runtime.Serialization.DataMemberAttribute()]
 | |
|         public string createtime {
 | |
|             get {
 | |
|                 return this.createtimeField;
 | |
|             }
 | |
|             set {
 | |
|                 if ((object.ReferenceEquals(this.createtimeField, value) != true)) {
 | |
|                     this.createtimeField = value;
 | |
|                     this.RaisePropertyChanged("createtime");
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [System.Runtime.Serialization.DataMemberAttribute()]
 | |
|         public bool dr {
 | |
|             get {
 | |
|                 return this.drField;
 | |
|             }
 | |
|             set {
 | |
|                 if ((this.drField.Equals(value) != true)) {
 | |
|                     this.drField = value;
 | |
|                     this.RaisePropertyChanged("dr");
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [System.Runtime.Serialization.DataMemberAttribute()]
 | |
|         public int interval {
 | |
|             get {
 | |
|                 return this.intervalField;
 | |
|             }
 | |
|             set {
 | |
|                 if ((this.intervalField.Equals(value) != true)) {
 | |
|                     this.intervalField = value;
 | |
|                     this.RaisePropertyChanged("interval");
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [System.Runtime.Serialization.DataMemberAttribute()]
 | |
|         public string lastmodified {
 | |
|             get {
 | |
|                 return this.lastmodifiedField;
 | |
|             }
 | |
|             set {
 | |
|                 if ((object.ReferenceEquals(this.lastmodifiedField, value) != true)) {
 | |
|                     this.lastmodifiedField = value;
 | |
|                     this.RaisePropertyChanged("lastmodified");
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [System.Runtime.Serialization.DataMemberAttribute()]
 | |
|         public int lineId {
 | |
|             get {
 | |
|                 return this.lineIdField;
 | |
|             }
 | |
|             set {
 | |
|                 if ((this.lineIdField.Equals(value) != true)) {
 | |
|                     this.lineIdField = value;
 | |
|                     this.RaisePropertyChanged("lineId");
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [System.Runtime.Serialization.DataMemberAttribute()]
 | |
|         public int operater {
 | |
|             get {
 | |
|                 return this.operaterField;
 | |
|             }
 | |
|             set {
 | |
|                 if ((this.operaterField.Equals(value) != true)) {
 | |
|                     this.operaterField = value;
 | |
|                     this.RaisePropertyChanged("operater");
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [System.Runtime.Serialization.DataMemberAttribute()]
 | |
|         public string owner {
 | |
|             get {
 | |
|                 return this.ownerField;
 | |
|             }
 | |
|             set {
 | |
|                 if ((object.ReferenceEquals(this.ownerField, value) != true)) {
 | |
|                     this.ownerField = value;
 | |
|                     this.RaisePropertyChanged("owner");
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [System.Runtime.Serialization.DataMemberAttribute()]
 | |
|         public string ruleName {
 | |
|             get {
 | |
|                 return this.ruleNameField;
 | |
|             }
 | |
|             set {
 | |
|                 if ((object.ReferenceEquals(this.ruleNameField, value) != true)) {
 | |
|                     this.ruleNameField = value;
 | |
|                     this.RaisePropertyChanged("ruleName");
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [System.Runtime.Serialization.DataMemberAttribute()]
 | |
|         public string sales {
 | |
|             get {
 | |
|                 return this.salesField;
 | |
|             }
 | |
|             set {
 | |
|                 if ((object.ReferenceEquals(this.salesField, value) != true)) {
 | |
|                     this.salesField = value;
 | |
|                     this.RaisePropertyChanged("sales");
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [System.Runtime.Serialization.DataMemberAttribute()]
 | |
|         public int type {
 | |
|             get {
 | |
|                 return this.typeField;
 | |
|             }
 | |
|             set {
 | |
|                 if ((this.typeField.Equals(value) != true)) {
 | |
|                     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.ServiceModel", "4.0.0.0")]
 | |
|     [System.ServiceModel.ServiceContractAttribute(ConfigurationName="waveRuleService.IWaveRule")]
 | |
|     public interface IWaveRule {
 | |
|         
 | |
|         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWaveRule/query", ReplyAction="http://tempuri.org/IWaveRule/queryResponse")]
 | |
|         System.Data.DataSet query(string querystr, int rownumStart, int rownumEnd);
 | |
|         
 | |
|         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWaveRule/add", ReplyAction="http://tempuri.org/IWaveRule/addResponse")]
 | |
|         int add(DeiNiu.wms.win.waveRuleService.WcfWaveRule wcfData);
 | |
|         
 | |
|         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWaveRule/update", ReplyAction="http://tempuri.org/IWaveRule/updateResponse")]
 | |
|         int update(DeiNiu.wms.win.waveRuleService.WcfWaveRule wcfData);
 | |
|         
 | |
|         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWaveRule/delete", ReplyAction="http://tempuri.org/IWaveRule/deleteResponse")]
 | |
|         int delete(DeiNiu.wms.win.waveRuleService.WcfWaveRule wcfData);
 | |
|         
 | |
|         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWaveRule/setRule", ReplyAction="http://tempuri.org/IWaveRule/setRuleResponse")]
 | |
|         bool setRule(DeiNiu.wms.win.waveRuleService.WcfWaveRule wcfData);
 | |
|         
 | |
|         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWaveRule/getCurrentActiveRule", ReplyAction="http://tempuri.org/IWaveRule/getCurrentActiveRuleResponse")]
 | |
|         DeiNiu.wms.win.waveRuleService.WcfWaveRule getCurrentActiveRule(DeiNiu.Utils.enumWaveRuleType enumWaveRuleType);
 | |
|         
 | |
|         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWaveRule/getWaveRules", ReplyAction="http://tempuri.org/IWaveRule/getWaveRulesResponse")]
 | |
|         DeiNiu.wms.win.waveRuleService.WcfWaveRule[] getWaveRules(DeiNiu.Utils.enumWaveRuleType type);
 | |
|     }
 | |
|     
 | |
|     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
 | |
|     public interface IWaveRuleChannel : DeiNiu.wms.win.waveRuleService.IWaveRule, System.ServiceModel.IClientChannel {
 | |
|     }
 | |
|     
 | |
|     [System.Diagnostics.DebuggerStepThroughAttribute()]
 | |
|     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
 | |
|     public partial class WaveRuleClient : System.ServiceModel.ClientBase<DeiNiu.wms.win.waveRuleService.IWaveRule>, DeiNiu.wms.win.waveRuleService.IWaveRule {
 | |
|         
 | |
|         public WaveRuleClient() {
 | |
|         }
 | |
|         
 | |
|         public WaveRuleClient(string endpointConfigurationName) : 
 | |
|                 base(endpointConfigurationName) {
 | |
|         }
 | |
|         
 | |
|         public WaveRuleClient(string endpointConfigurationName, string remoteAddress) : 
 | |
|                 base(endpointConfigurationName, remoteAddress) {
 | |
|         }
 | |
|         
 | |
|         public WaveRuleClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
 | |
|                 base(endpointConfigurationName, remoteAddress) {
 | |
|         }
 | |
|         
 | |
|         public WaveRuleClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
 | |
|                 base(binding, remoteAddress) {
 | |
|         }
 | |
|         
 | |
|         public System.Data.DataSet query(string querystr, int rownumStart, int rownumEnd) {
 | |
|             return base.Channel.query(querystr, rownumStart, rownumEnd);
 | |
|         }
 | |
|         
 | |
|         public int add(DeiNiu.wms.win.waveRuleService.WcfWaveRule wcfData) {
 | |
|             return base.Channel.add(wcfData);
 | |
|         }
 | |
|         
 | |
|         public int update(DeiNiu.wms.win.waveRuleService.WcfWaveRule wcfData) {
 | |
|             return base.Channel.update(wcfData);
 | |
|         }
 | |
|         
 | |
|         public int delete(DeiNiu.wms.win.waveRuleService.WcfWaveRule wcfData) {
 | |
|             return base.Channel.delete(wcfData);
 | |
|         }
 | |
|         
 | |
|         public bool setRule(DeiNiu.wms.win.waveRuleService.WcfWaveRule wcfData) {
 | |
|             return base.Channel.setRule(wcfData);
 | |
|         }
 | |
|         
 | |
|         public DeiNiu.wms.win.waveRuleService.WcfWaveRule getCurrentActiveRule(DeiNiu.Utils.enumWaveRuleType enumWaveRuleType) {
 | |
|             return base.Channel.getCurrentActiveRule(enumWaveRuleType);
 | |
|         }
 | |
|         
 | |
|         public DeiNiu.wms.win.waveRuleService.WcfWaveRule[] getWaveRules(DeiNiu.Utils.enumWaveRuleType type) {
 | |
|             return base.Channel.getWaveRules(type);
 | |
|         }
 | |
|     }
 | |
| }
 |