//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ namespace WMSPatch.SrmServer { 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="TaskFinishClass", Namespace="http://tempuri.org/")] [System.SerializableAttribute()] public partial class TaskFinishClass : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { [System.NonSerializedAttribute()] private System.Runtime.Serialization.ExtensionDataObject extensionDataField; private bool resultField; private int statusIdField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string messageField; private int isErrorField; [global::System.ComponentModel.BrowsableAttribute(false)] public System.Runtime.Serialization.ExtensionDataObject ExtensionData { get { return this.extensionDataField; } set { this.extensionDataField = value; } } [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)] public bool result { get { return this.resultField; } set { if ((this.resultField.Equals(value) != true)) { this.resultField = value; this.RaisePropertyChanged("result"); } } } [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)] public int statusId { get { return this.statusIdField; } set { if ((this.statusIdField.Equals(value) != true)) { this.statusIdField = value; this.RaisePropertyChanged("statusId"); } } } [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] public string message { get { return this.messageField; } set { if ((object.ReferenceEquals(this.messageField, value) != true)) { this.messageField = value; this.RaisePropertyChanged("message"); } } } [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=3)] public int isError { get { return this.isErrorField; } set { if ((this.isErrorField.Equals(value) != true)) { this.isErrorField = value; this.RaisePropertyChanged("isError"); } } } 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.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="SendTaskClass", Namespace="http://tempuri.org/")] [System.SerializableAttribute()] public partial class SendTaskClass : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { [System.NonSerializedAttribute()] private System.Runtime.Serialization.ExtensionDataObject extensionDataField; private bool resultField; private int statusIdField; private int deviceIdField; private int outTransIdField; private int outTypeField; [global::System.ComponentModel.BrowsableAttribute(false)] public System.Runtime.Serialization.ExtensionDataObject ExtensionData { get { return this.extensionDataField; } set { this.extensionDataField = value; } } [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)] public bool result { get { return this.resultField; } set { if ((this.resultField.Equals(value) != true)) { this.resultField = value; this.RaisePropertyChanged("result"); } } } [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)] public int statusId { get { return this.statusIdField; } set { if ((this.statusIdField.Equals(value) != true)) { this.statusIdField = value; this.RaisePropertyChanged("statusId"); } } } [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=2)] public int deviceId { get { return this.deviceIdField; } set { if ((this.deviceIdField.Equals(value) != true)) { this.deviceIdField = value; this.RaisePropertyChanged("deviceId"); } } } [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=3)] public int outTransId { get { return this.outTransIdField; } set { if ((this.outTransIdField.Equals(value) != true)) { this.outTransIdField = value; this.RaisePropertyChanged("outTransId"); } } } [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=4)] public int outType { get { return this.outTypeField; } set { if ((this.outTypeField.Equals(value) != true)) { this.outTypeField = value; this.RaisePropertyChanged("outType"); } } } 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.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.CollectionDataContractAttribute(Name="ArrayOfInt", Namespace="http://tempuri.org/", ItemName="int")] [System.SerializableAttribute()] public class ArrayOfInt : System.Collections.Generic.List { } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ServiceModel.ServiceContractAttribute(ConfigurationName="SrmServer.ISrmService")] public interface ISrmService { [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/GetSrmInfo", ReplyAction="http://tempuri.org/ISrmService/GetSrmInfoResponse")] [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)] string GetSrmInfo(int srmId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/GetSrmInfo", ReplyAction="http://tempuri.org/ISrmService/GetSrmInfoResponse")] System.Threading.Tasks.Task GetSrmInfoAsync(int srmId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmDelete", ReplyAction="http://tempuri.org/ISrmService/SendSrmDeleteResponse")] [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)] int SendSrmDelete(int srmId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmDelete", ReplyAction="http://tempuri.org/ISrmService/SendSrmDeleteResponse")] System.Threading.Tasks.Task SendSrmDeleteAsync(int srmId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmTaskFinishConfirm", ReplyAction="http://tempuri.org/ISrmService/SendSrmTaskFinishConfirmResponse")] [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)] int SendSrmTaskFinishConfirm(int srmId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmTaskFinishConfirm", ReplyAction="http://tempuri.org/ISrmService/SendSrmTaskFinishConfirmResponse")] System.Threading.Tasks.Task SendSrmTaskFinishConfirmAsync(int srmId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmEStop", ReplyAction="http://tempuri.org/ISrmService/SendSrmEStopResponse")] [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)] int SendSrmEStop(int srmId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmEStop", ReplyAction="http://tempuri.org/ISrmService/SendSrmEStopResponse")] System.Threading.Tasks.Task SendSrmEStopAsync(int srmId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmMove", ReplyAction="http://tempuri.org/ISrmService/SendSrmMoveResponse")] [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)] int SendSrmMove(int srmId, int taskId, string toPlace, int command, int palletType, int taskFather); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmMove", ReplyAction="http://tempuri.org/ISrmService/SendSrmMoveResponse")] System.Threading.Tasks.Task SendSrmMoveAsync(int srmId, int taskId, string toPlace, int command, int palletType, int taskFather); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmTask", ReplyAction="http://tempuri.org/ISrmService/SendSrmTaskResponse")] [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)] int SendSrmTask(int srmId, int taskId, string sourcePlace, string toPlace, int pallet, int taskFather); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmTask", ReplyAction="http://tempuri.org/ISrmService/SendSrmTaskResponse")] System.Threading.Tasks.Task SendSrmTaskAsync(int srmId, int taskId, string sourcePlace, string toPlace, int pallet, int taskFather); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SrmRlsAlert", ReplyAction="http://tempuri.org/ISrmService/SrmRlsAlertResponse")] [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)] void SrmRlsAlert(int srmId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SrmRlsAlert", ReplyAction="http://tempuri.org/ISrmService/SrmRlsAlertResponse")] System.Threading.Tasks.Task SrmRlsAlertAsync(int srmId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/IsTaskFinish", ReplyAction="http://tempuri.org/ISrmService/IsTaskFinishResponse")] [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)] int IsTaskFinish(int srmId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/IsTaskFinish", ReplyAction="http://tempuri.org/ISrmService/IsTaskFinishResponse")] System.Threading.Tasks.Task IsTaskFinishAsync(int srmId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/IsReady", ReplyAction="http://tempuri.org/ISrmService/IsReadyResponse")] [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)] bool IsReady(int srmId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/IsReady", ReplyAction="http://tempuri.org/ISrmService/IsReadyResponse")] System.Threading.Tasks.Task IsReadyAsync(int srmId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/FinishTask", ReplyAction="http://tempuri.org/ISrmService/FinishTaskResponse")] [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)] int FinishTask(int srmId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/FinishTask", ReplyAction="http://tempuri.org/ISrmService/FinishTaskResponse")] System.Threading.Tasks.Task FinishTaskAsync(int srmId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/TaskFinish", ReplyAction="http://tempuri.org/ISrmService/TaskFinishResponse")] [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)] WMSPatch.SrmServer.TaskFinishClass TaskFinish(int taskId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/TaskFinish", ReplyAction="http://tempuri.org/ISrmService/TaskFinishResponse")] System.Threading.Tasks.Task TaskFinishAsync(int taskId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendTask", ReplyAction="http://tempuri.org/ISrmService/SendTaskResponse")] [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)] WMSPatch.SrmServer.SendTaskClass SendTask(int palletType, string sourcePlace, string toPlace, int taskId, int taskType, int outType); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendTask", ReplyAction="http://tempuri.org/ISrmService/SendTaskResponse")] System.Threading.Tasks.Task SendTaskAsync(int palletType, string sourcePlace, string toPlace, int taskId, int taskType, int outType); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmDeleteAll", ReplyAction="http://tempuri.org/ISrmService/SendSrmDeleteAllResponse")] [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)] int SendSrmDeleteAll(int srmID); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmDeleteAll", ReplyAction="http://tempuri.org/ISrmService/SendSrmDeleteAllResponse")] System.Threading.Tasks.Task SendSrmDeleteAllAsync(int srmID); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/DeleteMainTask", ReplyAction="http://tempuri.org/ISrmService/DeleteMainTaskResponse")] WMSPatch.SrmServer.DeleteMainTaskResponse DeleteMainTask(WMSPatch.SrmServer.DeleteMainTaskRequest request); // CODEGEN: 正在生成消息协定,应为该操作具有多个返回值。 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/DeleteMainTask", ReplyAction="http://tempuri.org/ISrmService/DeleteMainTaskResponse")] System.Threading.Tasks.Task DeleteMainTaskAsync(WMSPatch.SrmServer.DeleteMainTaskRequest request); } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ServiceModel.MessageContractAttribute(WrapperName="DeleteMainTask", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] public partial class DeleteMainTaskRequest { [System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)] public int id; public DeleteMainTaskRequest() { } public DeleteMainTaskRequest(int id) { this.id = id; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ServiceModel.MessageContractAttribute(WrapperName="DeleteMainTaskResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] public partial class DeleteMainTaskResponse { [System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)] public WMSPatch.SrmServer.ArrayOfInt tranDoingId; [System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=1)] public WMSPatch.SrmServer.ArrayOfInt rgvDoingId; [System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=2)] public WMSPatch.SrmServer.ArrayOfInt srmDoingId; public DeleteMainTaskResponse() { } public DeleteMainTaskResponse(WMSPatch.SrmServer.ArrayOfInt tranDoingId, WMSPatch.SrmServer.ArrayOfInt rgvDoingId, WMSPatch.SrmServer.ArrayOfInt srmDoingId) { this.tranDoingId = tranDoingId; this.rgvDoingId = rgvDoingId; this.srmDoingId = srmDoingId; } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public interface ISrmServiceChannel : WMSPatch.SrmServer.ISrmService, System.ServiceModel.IClientChannel { } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class SrmServiceClient : System.ServiceModel.ClientBase, WMSPatch.SrmServer.ISrmService { public SrmServiceClient() { } public SrmServiceClient(string endpointConfigurationName) : base(endpointConfigurationName) { } public SrmServiceClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public SrmServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public SrmServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(binding, remoteAddress) { } public string GetSrmInfo(int srmId) { return base.Channel.GetSrmInfo(srmId); } public System.Threading.Tasks.Task GetSrmInfoAsync(int srmId) { return base.Channel.GetSrmInfoAsync(srmId); } public int SendSrmDelete(int srmId) { return base.Channel.SendSrmDelete(srmId); } public System.Threading.Tasks.Task SendSrmDeleteAsync(int srmId) { return base.Channel.SendSrmDeleteAsync(srmId); } public int SendSrmTaskFinishConfirm(int srmId) { return base.Channel.SendSrmTaskFinishConfirm(srmId); } public System.Threading.Tasks.Task SendSrmTaskFinishConfirmAsync(int srmId) { return base.Channel.SendSrmTaskFinishConfirmAsync(srmId); } public int SendSrmEStop(int srmId) { return base.Channel.SendSrmEStop(srmId); } public System.Threading.Tasks.Task SendSrmEStopAsync(int srmId) { return base.Channel.SendSrmEStopAsync(srmId); } public int SendSrmMove(int srmId, int taskId, string toPlace, int command, int palletType, int taskFather) { return base.Channel.SendSrmMove(srmId, taskId, toPlace, command, palletType, taskFather); } public System.Threading.Tasks.Task SendSrmMoveAsync(int srmId, int taskId, string toPlace, int command, int palletType, int taskFather) { return base.Channel.SendSrmMoveAsync(srmId, taskId, toPlace, command, palletType, taskFather); } public int SendSrmTask(int srmId, int taskId, string sourcePlace, string toPlace, int pallet, int taskFather) { return base.Channel.SendSrmTask(srmId, taskId, sourcePlace, toPlace, pallet, taskFather); } public System.Threading.Tasks.Task SendSrmTaskAsync(int srmId, int taskId, string sourcePlace, string toPlace, int pallet, int taskFather) { return base.Channel.SendSrmTaskAsync(srmId, taskId, sourcePlace, toPlace, pallet, taskFather); } public void SrmRlsAlert(int srmId) { base.Channel.SrmRlsAlert(srmId); } public System.Threading.Tasks.Task SrmRlsAlertAsync(int srmId) { return base.Channel.SrmRlsAlertAsync(srmId); } public int IsTaskFinish(int srmId) { return base.Channel.IsTaskFinish(srmId); } public System.Threading.Tasks.Task IsTaskFinishAsync(int srmId) { return base.Channel.IsTaskFinishAsync(srmId); } public bool IsReady(int srmId) { return base.Channel.IsReady(srmId); } public System.Threading.Tasks.Task IsReadyAsync(int srmId) { return base.Channel.IsReadyAsync(srmId); } public int FinishTask(int srmId) { return base.Channel.FinishTask(srmId); } public System.Threading.Tasks.Task FinishTaskAsync(int srmId) { return base.Channel.FinishTaskAsync(srmId); } public WMSPatch.SrmServer.TaskFinishClass TaskFinish(int taskId) { return base.Channel.TaskFinish(taskId); } public System.Threading.Tasks.Task TaskFinishAsync(int taskId) { return base.Channel.TaskFinishAsync(taskId); } public WMSPatch.SrmServer.SendTaskClass SendTask(int palletType, string sourcePlace, string toPlace, int taskId, int taskType, int outType) { return base.Channel.SendTask(palletType, sourcePlace, toPlace, taskId, taskType, outType); } public System.Threading.Tasks.Task SendTaskAsync(int palletType, string sourcePlace, string toPlace, int taskId, int taskType, int outType) { return base.Channel.SendTaskAsync(palletType, sourcePlace, toPlace, taskId, taskType, outType); } public int SendSrmDeleteAll(int srmID) { return base.Channel.SendSrmDeleteAll(srmID); } public System.Threading.Tasks.Task SendSrmDeleteAllAsync(int srmID) { return base.Channel.SendSrmDeleteAllAsync(srmID); } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] WMSPatch.SrmServer.DeleteMainTaskResponse WMSPatch.SrmServer.ISrmService.DeleteMainTask(WMSPatch.SrmServer.DeleteMainTaskRequest request) { return base.Channel.DeleteMainTask(request); } public WMSPatch.SrmServer.ArrayOfInt DeleteMainTask(int id, out WMSPatch.SrmServer.ArrayOfInt rgvDoingId, out WMSPatch.SrmServer.ArrayOfInt srmDoingId) { WMSPatch.SrmServer.DeleteMainTaskRequest inValue = new WMSPatch.SrmServer.DeleteMainTaskRequest(); inValue.id = id; WMSPatch.SrmServer.DeleteMainTaskResponse retVal = ((WMSPatch.SrmServer.ISrmService)(this)).DeleteMainTask(inValue); rgvDoingId = retVal.rgvDoingId; srmDoingId = retVal.srmDoingId; return retVal.tranDoingId; } public System.Threading.Tasks.Task DeleteMainTaskAsync(WMSPatch.SrmServer.DeleteMainTaskRequest request) { return base.Channel.DeleteMainTaskAsync(request); } } }