//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ // // 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。 // #pragma warning disable 1591 namespace DeviceWCS.srmSER { using System.Diagnostics; using System; using System.Xml.Serialization; using System.ComponentModel; using System.Web.Services.Protocols; using System.Web.Services; /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Web.Services.WebServiceBindingAttribute(Name="BasicHttpBinding_ISrmService", Namespace="http://tempuri.org/")] public partial class SrmService : System.Web.Services.Protocols.SoapHttpClientProtocol { private System.Threading.SendOrPostCallback GetSrmInfoOperationCompleted; private System.Threading.SendOrPostCallback SendSrmDeleteOperationCompleted; private System.Threading.SendOrPostCallback SendSrmTaskFinishConfirmOperationCompleted; private System.Threading.SendOrPostCallback SendSrmEStopOperationCompleted; private System.Threading.SendOrPostCallback SendSrmMoveOperationCompleted; private System.Threading.SendOrPostCallback SendSrmTaskOperationCompleted; private System.Threading.SendOrPostCallback SrmRlsAlertOperationCompleted; private System.Threading.SendOrPostCallback IsTaskFinishOperationCompleted; private System.Threading.SendOrPostCallback IsReadyOperationCompleted; private System.Threading.SendOrPostCallback FinishTaskOperationCompleted; private System.Threading.SendOrPostCallback DeleteMainTaskOperationCompleted; private System.Threading.SendOrPostCallback DeleteMainTaskByContainerNameOperationCompleted; private System.Threading.SendOrPostCallback IsNotAlarmOperationCompleted; private System.Threading.SendOrPostCallback UseAutoMoveOperationCompleted; private bool useDefaultCredentialsSetExplicitly; /// public SrmService() { this.Url = global::DeviceWCS.Properties.Settings.Default.DeviceWCS_srmSER_SrmService; if ((this.IsLocalFileSystemWebService(this.Url) == true)) { this.UseDefaultCredentials = true; this.useDefaultCredentialsSetExplicitly = false; } else { this.useDefaultCredentialsSetExplicitly = true; } } public new string Url { get { return base.Url; } set { if ((((this.IsLocalFileSystemWebService(base.Url) == true) && (this.useDefaultCredentialsSetExplicitly == false)) && (this.IsLocalFileSystemWebService(value) == false))) { base.UseDefaultCredentials = false; } base.Url = value; } } public new bool UseDefaultCredentials { get { return base.UseDefaultCredentials; } set { base.UseDefaultCredentials = value; this.useDefaultCredentialsSetExplicitly = true; } } /// public event GetSrmInfoCompletedEventHandler GetSrmInfoCompleted; /// public event SendSrmDeleteCompletedEventHandler SendSrmDeleteCompleted; /// public event SendSrmTaskFinishConfirmCompletedEventHandler SendSrmTaskFinishConfirmCompleted; /// public event SendSrmEStopCompletedEventHandler SendSrmEStopCompleted; /// public event SendSrmMoveCompletedEventHandler SendSrmMoveCompleted; /// public event SendSrmTaskCompletedEventHandler SendSrmTaskCompleted; /// public event SrmRlsAlertCompletedEventHandler SrmRlsAlertCompleted; /// public event IsTaskFinishCompletedEventHandler IsTaskFinishCompleted; /// public event IsReadyCompletedEventHandler IsReadyCompleted; /// public event FinishTaskCompletedEventHandler FinishTaskCompleted; /// public event DeleteMainTaskCompletedEventHandler DeleteMainTaskCompleted; /// public event DeleteMainTaskByContainerNameCompletedEventHandler DeleteMainTaskByContainerNameCompleted; /// public event IsNotAlarmCompletedEventHandler IsNotAlarmCompleted; /// public event UseAutoMoveCompletedEventHandler UseAutoMoveCompleted; /// [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/GetSrmInfo", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] public string GetSrmInfo(int srmId) { object[] results = this.Invoke("GetSrmInfo", new object[] { srmId}); return ((string)(results[0])); } /// public void GetSrmInfoAsync(int srmId) { this.GetSrmInfoAsync(srmId, null); } /// public void GetSrmInfoAsync(int srmId, object userState) { if ((this.GetSrmInfoOperationCompleted == null)) { this.GetSrmInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSrmInfoOperationCompleted); } this.InvokeAsync("GetSrmInfo", new object[] { srmId}, this.GetSrmInfoOperationCompleted, userState); } private void OnGetSrmInfoOperationCompleted(object arg) { if ((this.GetSrmInfoCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetSrmInfoCompleted(this, new GetSrmInfoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/SendSrmDelete", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] public int SendSrmDelete(int srmId) { object[] results = this.Invoke("SendSrmDelete", new object[] { srmId}); return ((int)(results[0])); } /// public void SendSrmDeleteAsync(int srmId) { this.SendSrmDeleteAsync(srmId, null); } /// public void SendSrmDeleteAsync(int srmId, object userState) { if ((this.SendSrmDeleteOperationCompleted == null)) { this.SendSrmDeleteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendSrmDeleteOperationCompleted); } this.InvokeAsync("SendSrmDelete", new object[] { srmId}, this.SendSrmDeleteOperationCompleted, userState); } private void OnSendSrmDeleteOperationCompleted(object arg) { if ((this.SendSrmDeleteCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SendSrmDeleteCompleted(this, new SendSrmDeleteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/SendSrmTaskFinishConfirm", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] public int SendSrmTaskFinishConfirm(int srmId) { object[] results = this.Invoke("SendSrmTaskFinishConfirm", new object[] { srmId}); return ((int)(results[0])); } /// public void SendSrmTaskFinishConfirmAsync(int srmId) { this.SendSrmTaskFinishConfirmAsync(srmId, null); } /// public void SendSrmTaskFinishConfirmAsync(int srmId, object userState) { if ((this.SendSrmTaskFinishConfirmOperationCompleted == null)) { this.SendSrmTaskFinishConfirmOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendSrmTaskFinishConfirmOperationCompleted); } this.InvokeAsync("SendSrmTaskFinishConfirm", new object[] { srmId}, this.SendSrmTaskFinishConfirmOperationCompleted, userState); } private void OnSendSrmTaskFinishConfirmOperationCompleted(object arg) { if ((this.SendSrmTaskFinishConfirmCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SendSrmTaskFinishConfirmCompleted(this, new SendSrmTaskFinishConfirmCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/SendSrmEStop", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] public int SendSrmEStop(int srmId) { object[] results = this.Invoke("SendSrmEStop", new object[] { srmId}); return ((int)(results[0])); } /// public void SendSrmEStopAsync(int srmId) { this.SendSrmEStopAsync(srmId, null); } /// public void SendSrmEStopAsync(int srmId, object userState) { if ((this.SendSrmEStopOperationCompleted == null)) { this.SendSrmEStopOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendSrmEStopOperationCompleted); } this.InvokeAsync("SendSrmEStop", new object[] { srmId}, this.SendSrmEStopOperationCompleted, userState); } private void OnSendSrmEStopOperationCompleted(object arg) { if ((this.SendSrmEStopCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SendSrmEStopCompleted(this, new SendSrmEStopCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/SendSrmMove", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] public int SendSrmMove(int srmId, int taskId, string toPlace, int command, int palletType, int taskFather) { object[] results = this.Invoke("SendSrmMove", new object[] { srmId, taskId, toPlace, command, palletType, taskFather}); return ((int)(results[0])); } /// public void SendSrmMoveAsync(int srmId, int taskId, string toPlace, int command, int palletType, int taskFather) { this.SendSrmMoveAsync(srmId, taskId, toPlace, command, palletType, taskFather, null); } /// public void SendSrmMoveAsync(int srmId, int taskId, string toPlace, int command, int palletType, int taskFather, object userState) { if ((this.SendSrmMoveOperationCompleted == null)) { this.SendSrmMoveOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendSrmMoveOperationCompleted); } this.InvokeAsync("SendSrmMove", new object[] { srmId, taskId, toPlace, command, palletType, taskFather}, this.SendSrmMoveOperationCompleted, userState); } private void OnSendSrmMoveOperationCompleted(object arg) { if ((this.SendSrmMoveCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SendSrmMoveCompleted(this, new SendSrmMoveCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/SendSrmTask", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] public int SendSrmTask(int srmId, int taskId, string sourcePlace, string toPlace, int pallet, int taskFather) { object[] results = this.Invoke("SendSrmTask", new object[] { srmId, taskId, sourcePlace, toPlace, pallet, taskFather}); return ((int)(results[0])); } /// public void SendSrmTaskAsync(int srmId, int taskId, string sourcePlace, string toPlace, int pallet, int taskFather) { this.SendSrmTaskAsync(srmId, taskId, sourcePlace, toPlace, pallet, taskFather, null); } /// public void SendSrmTaskAsync(int srmId, int taskId, string sourcePlace, string toPlace, int pallet, int taskFather, object userState) { if ((this.SendSrmTaskOperationCompleted == null)) { this.SendSrmTaskOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendSrmTaskOperationCompleted); } this.InvokeAsync("SendSrmTask", new object[] { srmId, taskId, sourcePlace, toPlace, pallet, taskFather}, this.SendSrmTaskOperationCompleted, userState); } private void OnSendSrmTaskOperationCompleted(object arg) { if ((this.SendSrmTaskCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SendSrmTaskCompleted(this, new SendSrmTaskCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/SrmRlsAlert", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] public void SrmRlsAlert(int srmId) { this.Invoke("SrmRlsAlert", new object[] { srmId}); } /// public void SrmRlsAlertAsync(int srmId) { this.SrmRlsAlertAsync(srmId, null); } /// public void SrmRlsAlertAsync(int srmId, object userState) { if ((this.SrmRlsAlertOperationCompleted == null)) { this.SrmRlsAlertOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSrmRlsAlertOperationCompleted); } this.InvokeAsync("SrmRlsAlert", new object[] { srmId}, this.SrmRlsAlertOperationCompleted, userState); } private void OnSrmRlsAlertOperationCompleted(object arg) { if ((this.SrmRlsAlertCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SrmRlsAlertCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/IsTaskFinish", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] public int IsTaskFinish(int srmId) { object[] results = this.Invoke("IsTaskFinish", new object[] { srmId}); return ((int)(results[0])); } /// public void IsTaskFinishAsync(int srmId) { this.IsTaskFinishAsync(srmId, null); } /// public void IsTaskFinishAsync(int srmId, object userState) { if ((this.IsTaskFinishOperationCompleted == null)) { this.IsTaskFinishOperationCompleted = new System.Threading.SendOrPostCallback(this.OnIsTaskFinishOperationCompleted); } this.InvokeAsync("IsTaskFinish", new object[] { srmId}, this.IsTaskFinishOperationCompleted, userState); } private void OnIsTaskFinishOperationCompleted(object arg) { if ((this.IsTaskFinishCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.IsTaskFinishCompleted(this, new IsTaskFinishCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/IsReady", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] public bool IsReady(int srmId) { object[] results = this.Invoke("IsReady", new object[] { srmId}); return ((bool)(results[0])); } /// public void IsReadyAsync(int srmId) { this.IsReadyAsync(srmId, null); } /// public void IsReadyAsync(int srmId, object userState) { if ((this.IsReadyOperationCompleted == null)) { this.IsReadyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnIsReadyOperationCompleted); } this.InvokeAsync("IsReady", new object[] { srmId}, this.IsReadyOperationCompleted, userState); } private void OnIsReadyOperationCompleted(object arg) { if ((this.IsReadyCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.IsReadyCompleted(this, new IsReadyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/FinishTask", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] public int FinishTask(int srmId) { object[] results = this.Invoke("FinishTask", new object[] { srmId}); return ((int)(results[0])); } /// public void FinishTaskAsync(int srmId) { this.FinishTaskAsync(srmId, null); } /// public void FinishTaskAsync(int srmId, object userState) { if ((this.FinishTaskOperationCompleted == null)) { this.FinishTaskOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFinishTaskOperationCompleted); } this.InvokeAsync("FinishTask", new object[] { srmId}, this.FinishTaskOperationCompleted, userState); } private void OnFinishTaskOperationCompleted(object arg) { if ((this.FinishTaskCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.FinishTaskCompleted(this, new FinishTaskCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/DeleteMainTask", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] public bool DeleteMainTask(int id, [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://tempuri.org/", IsNullable=false)] out int[] tranDoingId, [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://tempuri.org/", IsNullable=false)] out int[] rgvDoingId, [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://tempuri.org/", IsNullable=false)] out int[] srmDoingId, [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://tempuri.org/")] out string[] placeList, out int dir) { object[] results = this.Invoke("DeleteMainTask", new object[] { id}); tranDoingId = ((int[])(results[1])); rgvDoingId = ((int[])(results[2])); srmDoingId = ((int[])(results[3])); placeList = ((string[])(results[4])); dir = ((int)(results[5])); return ((bool)(results[0])); } /// public void DeleteMainTaskAsync(int id) { this.DeleteMainTaskAsync(id, null); } /// public void DeleteMainTaskAsync(int id, object userState) { if ((this.DeleteMainTaskOperationCompleted == null)) { this.DeleteMainTaskOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteMainTaskOperationCompleted); } this.InvokeAsync("DeleteMainTask", new object[] { id}, this.DeleteMainTaskOperationCompleted, userState); } private void OnDeleteMainTaskOperationCompleted(object arg) { if ((this.DeleteMainTaskCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteMainTaskCompleted(this, new DeleteMainTaskCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/DeleteMainTaskByContainerName", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] public bool DeleteMainTaskByContainerName(string containerName, [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://tempuri.org/", IsNullable=false)] out int[] tranDoingId, [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://tempuri.org/", IsNullable=false)] out int[] rgvDoingId, [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://tempuri.org/", IsNullable=false)] out int[] srmDoingId, [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://tempuri.org/")] out string[] placeList, out int dir) { object[] results = this.Invoke("DeleteMainTaskByContainerName", new object[] { containerName}); tranDoingId = ((int[])(results[1])); rgvDoingId = ((int[])(results[2])); srmDoingId = ((int[])(results[3])); placeList = ((string[])(results[4])); dir = ((int)(results[5])); return ((bool)(results[0])); } /// public void DeleteMainTaskByContainerNameAsync(string containerName) { this.DeleteMainTaskByContainerNameAsync(containerName, null); } /// public void DeleteMainTaskByContainerNameAsync(string containerName, object userState) { if ((this.DeleteMainTaskByContainerNameOperationCompleted == null)) { this.DeleteMainTaskByContainerNameOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteMainTaskByContainerNameOperationCompleted); } this.InvokeAsync("DeleteMainTaskByContainerName", new object[] { containerName}, this.DeleteMainTaskByContainerNameOperationCompleted, userState); } private void OnDeleteMainTaskByContainerNameOperationCompleted(object arg) { if ((this.DeleteMainTaskByContainerNameCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteMainTaskByContainerNameCompleted(this, new DeleteMainTaskByContainerNameCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/IsNotAlarm", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] public bool IsNotAlarm(int srmId) { object[] results = this.Invoke("IsNotAlarm", new object[] { srmId}); return ((bool)(results[0])); } /// public void IsNotAlarmAsync(int srmId) { this.IsNotAlarmAsync(srmId, null); } /// public void IsNotAlarmAsync(int srmId, object userState) { if ((this.IsNotAlarmOperationCompleted == null)) { this.IsNotAlarmOperationCompleted = new System.Threading.SendOrPostCallback(this.OnIsNotAlarmOperationCompleted); } this.InvokeAsync("IsNotAlarm", new object[] { srmId}, this.IsNotAlarmOperationCompleted, userState); } private void OnIsNotAlarmOperationCompleted(object arg) { if ((this.IsNotAlarmCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.IsNotAlarmCompleted(this, new IsNotAlarmCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/UseAutoMove", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] public bool UseAutoMove(int srmId) { object[] results = this.Invoke("UseAutoMove", new object[] { srmId}); return ((bool)(results[0])); } /// public void UseAutoMoveAsync(int srmId) { this.UseAutoMoveAsync(srmId, null); } /// public void UseAutoMoveAsync(int srmId, object userState) { if ((this.UseAutoMoveOperationCompleted == null)) { this.UseAutoMoveOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUseAutoMoveOperationCompleted); } this.InvokeAsync("UseAutoMove", new object[] { srmId}, this.UseAutoMoveOperationCompleted, userState); } private void OnUseAutoMoveOperationCompleted(object arg) { if ((this.UseAutoMoveCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UseAutoMoveCompleted(this, new UseAutoMoveCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// public new void CancelAsync(object userState) { base.CancelAsync(userState); } private bool IsLocalFileSystemWebService(string url) { if (((url == null) || (url == string.Empty))) { return false; } System.Uri wsUri = new System.Uri(url); if (((wsUri.Port >= 1024) && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) { return true; } return false; } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] public delegate void GetSrmInfoCompletedEventHandler(object sender, GetSrmInfoCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetSrmInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetSrmInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { this.RaiseExceptionIfNecessary(); return ((string)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] public delegate void SendSrmDeleteCompletedEventHandler(object sender, SendSrmDeleteCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class SendSrmDeleteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal SendSrmDeleteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public int Result { get { this.RaiseExceptionIfNecessary(); return ((int)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] public delegate void SendSrmTaskFinishConfirmCompletedEventHandler(object sender, SendSrmTaskFinishConfirmCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class SendSrmTaskFinishConfirmCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal SendSrmTaskFinishConfirmCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public int Result { get { this.RaiseExceptionIfNecessary(); return ((int)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] public delegate void SendSrmEStopCompletedEventHandler(object sender, SendSrmEStopCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class SendSrmEStopCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal SendSrmEStopCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public int Result { get { this.RaiseExceptionIfNecessary(); return ((int)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] public delegate void SendSrmMoveCompletedEventHandler(object sender, SendSrmMoveCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class SendSrmMoveCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal SendSrmMoveCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public int Result { get { this.RaiseExceptionIfNecessary(); return ((int)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] public delegate void SendSrmTaskCompletedEventHandler(object sender, SendSrmTaskCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class SendSrmTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal SendSrmTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public int Result { get { this.RaiseExceptionIfNecessary(); return ((int)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] public delegate void SrmRlsAlertCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] public delegate void IsTaskFinishCompletedEventHandler(object sender, IsTaskFinishCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class IsTaskFinishCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal IsTaskFinishCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public int Result { get { this.RaiseExceptionIfNecessary(); return ((int)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] public delegate void IsReadyCompletedEventHandler(object sender, IsReadyCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class IsReadyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal IsReadyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public bool Result { get { this.RaiseExceptionIfNecessary(); return ((bool)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] public delegate void FinishTaskCompletedEventHandler(object sender, FinishTaskCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class FinishTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal FinishTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public int Result { get { this.RaiseExceptionIfNecessary(); return ((int)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] public delegate void DeleteMainTaskCompletedEventHandler(object sender, DeleteMainTaskCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class DeleteMainTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal DeleteMainTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public bool Result { get { this.RaiseExceptionIfNecessary(); return ((bool)(this.results[0])); } } /// public int[] tranDoingId { get { this.RaiseExceptionIfNecessary(); return ((int[])(this.results[1])); } } /// public int[] rgvDoingId { get { this.RaiseExceptionIfNecessary(); return ((int[])(this.results[2])); } } /// public int[] srmDoingId { get { this.RaiseExceptionIfNecessary(); return ((int[])(this.results[3])); } } /// public string[] placeList { get { this.RaiseExceptionIfNecessary(); return ((string[])(this.results[4])); } } /// public int dir { get { this.RaiseExceptionIfNecessary(); return ((int)(this.results[5])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] public delegate void DeleteMainTaskByContainerNameCompletedEventHandler(object sender, DeleteMainTaskByContainerNameCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class DeleteMainTaskByContainerNameCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal DeleteMainTaskByContainerNameCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public bool Result { get { this.RaiseExceptionIfNecessary(); return ((bool)(this.results[0])); } } /// public int[] tranDoingId { get { this.RaiseExceptionIfNecessary(); return ((int[])(this.results[1])); } } /// public int[] rgvDoingId { get { this.RaiseExceptionIfNecessary(); return ((int[])(this.results[2])); } } /// public int[] srmDoingId { get { this.RaiseExceptionIfNecessary(); return ((int[])(this.results[3])); } } /// public string[] placeList { get { this.RaiseExceptionIfNecessary(); return ((string[])(this.results[4])); } } /// public int dir { get { this.RaiseExceptionIfNecessary(); return ((int)(this.results[5])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] public delegate void IsNotAlarmCompletedEventHandler(object sender, IsNotAlarmCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class IsNotAlarmCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal IsNotAlarmCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public bool Result { get { this.RaiseExceptionIfNecessary(); return ((bool)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] public delegate void UseAutoMoveCompletedEventHandler(object sender, UseAutoMoveCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class UseAutoMoveCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal UseAutoMoveCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public bool Result { get { this.RaiseExceptionIfNecessary(); return ((bool)(this.results[0])); } } } } #pragma warning restore 1591