//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ namespace ExternalDataSync.ESB_history { [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ServiceModel.ServiceContractAttribute(Namespace="http://zk.ws.epichust.com/", ConfigurationName="ESB_history.EquipHistoryInterface")] public interface EquipHistoryInterface { // CODEGEN: 参数“return”需要其他方案信息,使用参数模式无法捕获这些信息。特定特性为“System.Xml.Serialization.XmlElementAttribute”。 [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] [return: System.ServiceModel.MessageParameterAttribute(Name="return")] ExternalDataSync.ESB_history.historyResponse history(ExternalDataSync.ESB_history.history request); [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] System.Threading.Tasks.Task historyAsync(ExternalDataSync.ESB_history.history request); } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")] public partial class interfaceRequestHeader : object, System.ComponentModel.INotifyPropertyChanged { private string interfaceIDField; private string messageIDField; private string receiverField; private string senderField; private string transIDField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)] public string interfaceID { get { return this.interfaceIDField; } set { this.interfaceIDField = value; this.RaisePropertyChanged("interfaceID"); } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)] public string messageID { get { return this.messageIDField; } set { this.messageIDField = value; this.RaisePropertyChanged("messageID"); } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)] public string receiver { get { return this.receiverField; } set { this.receiverField = value; this.RaisePropertyChanged("receiver"); } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)] public string sender { get { return this.senderField; } set { this.senderField = value; this.RaisePropertyChanged("sender"); } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)] public string transID { get { return this.transIDField; } set { this.transIDField = value; this.RaisePropertyChanged("transID"); } } 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.Xml", "4.8.4161.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")] public partial class interfaceResponse : object, System.ComponentModel.INotifyPropertyChanged { private string commentField; private string interfaceIDField; private string messageIDField; private string resultCodeField; private string resultMessageField; private string resultTypeField; private string transIDField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)] public string comment { get { return this.commentField; } set { this.commentField = value; this.RaisePropertyChanged("comment"); } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)] public string interfaceID { get { return this.interfaceIDField; } set { this.interfaceIDField = value; this.RaisePropertyChanged("interfaceID"); } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)] public string messageID { get { return this.messageIDField; } set { this.messageIDField = value; this.RaisePropertyChanged("messageID"); } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)] public string resultCode { get { return this.resultCodeField; } set { this.resultCodeField = value; this.RaisePropertyChanged("resultCode"); } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)] public string resultMessage { get { return this.resultMessageField; } set { this.resultMessageField = value; this.RaisePropertyChanged("resultMessage"); } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)] public string resultType { get { return this.resultTypeField; } set { this.resultTypeField = value; this.RaisePropertyChanged("resultType"); } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)] public string transID { get { return this.transIDField; } set { this.transIDField = value; this.RaisePropertyChanged("transID"); } } 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.Xml", "4.8.4161.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")] public partial class equipHistoryInfoTo : object, System.ComponentModel.INotifyPropertyChanged { private string equipCodeField; private string equipStateField; private string opCodeField; private string siteField; private string stateStartTimeField; private string stateSwtichTimeField; private string stateValueField; private string workCellCodeField; private string workCenterField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)] public string equipCode { get { return this.equipCodeField; } set { this.equipCodeField = value; this.RaisePropertyChanged("equipCode"); } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)] public string equipState { get { return this.equipStateField; } set { this.equipStateField = value; this.RaisePropertyChanged("equipState"); } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)] public string opCode { get { return this.opCodeField; } set { this.opCodeField = value; this.RaisePropertyChanged("opCode"); } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)] public string site { get { return this.siteField; } set { this.siteField = value; this.RaisePropertyChanged("site"); } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)] public string stateStartTime { get { return this.stateStartTimeField; } set { this.stateStartTimeField = value; this.RaisePropertyChanged("stateStartTime"); } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)] public string stateSwtichTime { get { return this.stateSwtichTimeField; } set { this.stateSwtichTimeField = value; this.RaisePropertyChanged("stateSwtichTime"); } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)] public string stateValue { get { return this.stateValueField; } set { this.stateValueField = value; this.RaisePropertyChanged("stateValue"); } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=7)] public string workCellCode { get { return this.workCellCodeField; } set { this.workCellCodeField = value; this.RaisePropertyChanged("workCellCode"); } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=8)] public string workCenter { get { return this.workCenterField; } set { this.workCenterField = value; this.RaisePropertyChanged("workCenter"); } } 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.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(WrapperName="history", WrapperNamespace="http://zk.ws.epichust.com/", IsWrapped=true)] public partial class history { [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=0)] [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public ExternalDataSync.ESB_history.interfaceRequestHeader arg0; [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=1)] [System.Xml.Serialization.XmlElementAttribute("arg1", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public ExternalDataSync.ESB_history.equipHistoryInfoTo[] arg1; public history() { } public history(ExternalDataSync.ESB_history.interfaceRequestHeader arg0, ExternalDataSync.ESB_history.equipHistoryInfoTo[] arg1) { this.arg0 = arg0; this.arg1 = arg1; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(WrapperName="historyResponse", WrapperNamespace="http://zk.ws.epichust.com/", IsWrapped=true)] public partial class historyResponse { [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=0)] [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public ExternalDataSync.ESB_history.interfaceResponse @return; public historyResponse() { } public historyResponse(ExternalDataSync.ESB_history.interfaceResponse @return) { this.@return = @return; } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public interface EquipHistoryInterfaceChannel : ExternalDataSync.ESB_history.EquipHistoryInterface, System.ServiceModel.IClientChannel { } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class EquipHistoryInterfaceClient : System.ServiceModel.ClientBase, ExternalDataSync.ESB_history.EquipHistoryInterface { public EquipHistoryInterfaceClient() { } public EquipHistoryInterfaceClient(string endpointConfigurationName) : base(endpointConfigurationName) { } public EquipHistoryInterfaceClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public EquipHistoryInterfaceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public EquipHistoryInterfaceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(binding, remoteAddress) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] ExternalDataSync.ESB_history.historyResponse ExternalDataSync.ESB_history.EquipHistoryInterface.history(ExternalDataSync.ESB_history.history request) { return base.Channel.history(request); } public ExternalDataSync.ESB_history.interfaceResponse history(ExternalDataSync.ESB_history.interfaceRequestHeader arg0, ExternalDataSync.ESB_history.equipHistoryInfoTo[] arg1) { ExternalDataSync.ESB_history.history inValue = new ExternalDataSync.ESB_history.history(); inValue.arg0 = arg0; inValue.arg1 = arg1; ExternalDataSync.ESB_history.historyResponse retVal = ((ExternalDataSync.ESB_history.EquipHistoryInterface)(this)).history(inValue); return retVal.@return; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] System.Threading.Tasks.Task ExternalDataSync.ESB_history.EquipHistoryInterface.historyAsync(ExternalDataSync.ESB_history.history request) { return base.Channel.historyAsync(request); } public System.Threading.Tasks.Task historyAsync(ExternalDataSync.ESB_history.interfaceRequestHeader arg0, ExternalDataSync.ESB_history.equipHistoryInfoTo[] arg1) { ExternalDataSync.ESB_history.history inValue = new ExternalDataSync.ESB_history.history(); inValue.arg0 = arg0; inValue.arg1 = arg1; return ((ExternalDataSync.ESB_history.EquipHistoryInterface)(this)).historyAsync(inValue); } } }