//------------------------------------------------------------------------------
//
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
//
//------------------------------------------------------------------------------
namespace WebApi_QQJF.SrmServer {
using System.Runtime.Serialization;
using System;
[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.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.CollectionDataContractAttribute(Name="ArrayOfString", Namespace="http://tempuri.org/", ItemName="string")]
[System.SerializableAttribute()]
public class ArrayOfString : 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/DeleteMainTask", ReplyAction="http://tempuri.org/ISrmService/DeleteMainTaskResponse")]
WebApi_QQJF.SrmServer.DeleteMainTaskResponse DeleteMainTask(WebApi_QQJF.SrmServer.DeleteMainTaskRequest request);
// CODEGEN: 正在生成消息协定,应为该操作具有多个返回值。
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/DeleteMainTask", ReplyAction="http://tempuri.org/ISrmService/DeleteMainTaskResponse")]
System.Threading.Tasks.Task DeleteMainTaskAsync(WebApi_QQJF.SrmServer.DeleteMainTaskRequest request);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/IsNotAlarm", ReplyAction="http://tempuri.org/ISrmService/IsNotAlarmResponse")]
[System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)]
bool IsNotAlarm(int srmId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/IsNotAlarm", ReplyAction="http://tempuri.org/ISrmService/IsNotAlarmResponse")]
System.Threading.Tasks.Task IsNotAlarmAsync(int srmId);
}
[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 bool DeleteMainTaskResult;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=1)]
public WebApi_QQJF.SrmServer.ArrayOfInt tranDoingId;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=2)]
public WebApi_QQJF.SrmServer.ArrayOfInt rgvDoingId;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=3)]
public WebApi_QQJF.SrmServer.ArrayOfInt srmDoingId;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=4)]
public WebApi_QQJF.SrmServer.ArrayOfString placeList;
public DeleteMainTaskResponse() {
}
public DeleteMainTaskResponse(bool DeleteMainTaskResult, WebApi_QQJF.SrmServer.ArrayOfInt tranDoingId, WebApi_QQJF.SrmServer.ArrayOfInt rgvDoingId, WebApi_QQJF.SrmServer.ArrayOfInt srmDoingId, WebApi_QQJF.SrmServer.ArrayOfString placeList) {
this.DeleteMainTaskResult = DeleteMainTaskResult;
this.tranDoingId = tranDoingId;
this.rgvDoingId = rgvDoingId;
this.srmDoingId = srmDoingId;
this.placeList = placeList;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface ISrmServiceChannel : WebApi_QQJF.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, WebApi_QQJF.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);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
WebApi_QQJF.SrmServer.DeleteMainTaskResponse WebApi_QQJF.SrmServer.ISrmService.DeleteMainTask(WebApi_QQJF.SrmServer.DeleteMainTaskRequest request) {
return base.Channel.DeleteMainTask(request);
}
public bool DeleteMainTask(int id, out WebApi_QQJF.SrmServer.ArrayOfInt tranDoingId, out WebApi_QQJF.SrmServer.ArrayOfInt rgvDoingId, out WebApi_QQJF.SrmServer.ArrayOfInt srmDoingId, out WebApi_QQJF.SrmServer.ArrayOfString placeList) {
WebApi_QQJF.SrmServer.DeleteMainTaskRequest inValue = new WebApi_QQJF.SrmServer.DeleteMainTaskRequest();
inValue.id = id;
WebApi_QQJF.SrmServer.DeleteMainTaskResponse retVal = ((WebApi_QQJF.SrmServer.ISrmService)(this)).DeleteMainTask(inValue);
tranDoingId = retVal.tranDoingId;
rgvDoingId = retVal.rgvDoingId;
srmDoingId = retVal.srmDoingId;
placeList = retVal.placeList;
return retVal.DeleteMainTaskResult;
}
public System.Threading.Tasks.Task DeleteMainTaskAsync(WebApi_QQJF.SrmServer.DeleteMainTaskRequest request) {
return base.Channel.DeleteMainTaskAsync(request);
}
public bool IsNotAlarm(int srmId) {
return base.Channel.IsNotAlarm(srmId);
}
public System.Threading.Tasks.Task IsNotAlarmAsync(int srmId) {
return base.Channel.IsNotAlarmAsync(srmId);
}
}
}