277 lines
9.8 KiB
C#
277 lines
9.8 KiB
C#
|
//------------------------------------------------------------------------------
|
|||
|
// <auto-generated>
|
|||
|
// 此代码由工具生成。
|
|||
|
// 运行时版本:4.0.30319.42000
|
|||
|
//
|
|||
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|||
|
// 重新生成代码,这些更改将会丢失。
|
|||
|
// </auto-generated>
|
|||
|
//------------------------------------------------------------------------------
|
|||
|
|
|||
|
namespace DeiNiu.wms.win.testOnline {
|
|||
|
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="WcfOnline", Namespace="http://schemas.datacontract.org/2004/07/DeiNiu.wms.Data.Model.Wcf")]
|
|||
|
[System.SerializableAttribute()]
|
|||
|
public partial class WcfOnline : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
|||
|
|
|||
|
[System.NonSerializedAttribute()]
|
|||
|
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private string contactField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private string create_timeField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private string custIdField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private string custNameField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private bool drField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private string endDateField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private int idField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private string lastmodifiedField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private string msgField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private int operaterField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private string phoneField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private int stateField;
|
|||
|
|
|||
|
[global::System.ComponentModel.BrowsableAttribute(false)]
|
|||
|
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
|
|||
|
get {
|
|||
|
return this.extensionDataField;
|
|||
|
}
|
|||
|
set {
|
|||
|
this.extensionDataField = value;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|||
|
public string contact {
|
|||
|
get {
|
|||
|
return this.contactField;
|
|||
|
}
|
|||
|
set {
|
|||
|
if ((object.ReferenceEquals(this.contactField, value) != true)) {
|
|||
|
this.contactField = value;
|
|||
|
this.RaisePropertyChanged("contact");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|||
|
public string create_time {
|
|||
|
get {
|
|||
|
return this.create_timeField;
|
|||
|
}
|
|||
|
set {
|
|||
|
if ((object.ReferenceEquals(this.create_timeField, value) != true)) {
|
|||
|
this.create_timeField = value;
|
|||
|
this.RaisePropertyChanged("create_time");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|||
|
public string custId {
|
|||
|
get {
|
|||
|
return this.custIdField;
|
|||
|
}
|
|||
|
set {
|
|||
|
if ((object.ReferenceEquals(this.custIdField, value) != true)) {
|
|||
|
this.custIdField = value;
|
|||
|
this.RaisePropertyChanged("custId");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|||
|
public string custName {
|
|||
|
get {
|
|||
|
return this.custNameField;
|
|||
|
}
|
|||
|
set {
|
|||
|
if ((object.ReferenceEquals(this.custNameField, value) != true)) {
|
|||
|
this.custNameField = value;
|
|||
|
this.RaisePropertyChanged("custName");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[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 string endDate {
|
|||
|
get {
|
|||
|
return this.endDateField;
|
|||
|
}
|
|||
|
set {
|
|||
|
if ((object.ReferenceEquals(this.endDateField, value) != true)) {
|
|||
|
this.endDateField = value;
|
|||
|
this.RaisePropertyChanged("endDate");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[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 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 string msg {
|
|||
|
get {
|
|||
|
return this.msgField;
|
|||
|
}
|
|||
|
set {
|
|||
|
if ((object.ReferenceEquals(this.msgField, value) != true)) {
|
|||
|
this.msgField = value;
|
|||
|
this.RaisePropertyChanged("msg");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[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 phone {
|
|||
|
get {
|
|||
|
return this.phoneField;
|
|||
|
}
|
|||
|
set {
|
|||
|
if ((object.ReferenceEquals(this.phoneField, value) != true)) {
|
|||
|
this.phoneField = value;
|
|||
|
this.RaisePropertyChanged("phone");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|||
|
public int state {
|
|||
|
get {
|
|||
|
return this.stateField;
|
|||
|
}
|
|||
|
set {
|
|||
|
if ((this.stateField.Equals(value) != true)) {
|
|||
|
this.stateField = value;
|
|||
|
this.RaisePropertyChanged("state");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
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="testOnline.IOnline")]
|
|||
|
public interface IOnline {
|
|||
|
|
|||
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOnline/getObj", ReplyAction="http://tempuri.org/IOnline/getObjResponse")]
|
|||
|
DeiNiu.wms.win.testOnline.WcfOnline getObj(int id);
|
|||
|
}
|
|||
|
|
|||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|||
|
public interface IOnlineChannel : DeiNiu.wms.win.testOnline.IOnline, System.ServiceModel.IClientChannel {
|
|||
|
}
|
|||
|
|
|||
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|||
|
public partial class OnlineClient : System.ServiceModel.ClientBase<DeiNiu.wms.win.testOnline.IOnline>, DeiNiu.wms.win.testOnline.IOnline {
|
|||
|
|
|||
|
public OnlineClient() {
|
|||
|
}
|
|||
|
|
|||
|
public OnlineClient(string endpointConfigurationName) :
|
|||
|
base(endpointConfigurationName) {
|
|||
|
}
|
|||
|
|
|||
|
public OnlineClient(string endpointConfigurationName, string remoteAddress) :
|
|||
|
base(endpointConfigurationName, remoteAddress) {
|
|||
|
}
|
|||
|
|
|||
|
public OnlineClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
|||
|
base(endpointConfigurationName, remoteAddress) {
|
|||
|
}
|
|||
|
|
|||
|
public OnlineClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
|||
|
base(binding, remoteAddress) {
|
|||
|
}
|
|||
|
|
|||
|
public DeiNiu.wms.win.testOnline.WcfOnline getObj(int id) {
|
|||
|
return base.Channel.getObj(id);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|