From 4bc09867b40731156402dd3c177cb84c0440afb0 Mon Sep 17 00:00:00 2001
From: hudong <Administrator@PC-20250329JZUF>
Date: 星期五, 20 六月 2025 17:27:12 +0800
Subject: [PATCH] 代码优化

---
 api/ZSCM2_SCFL.cs |  123 ++++++++++++++++++++++++----------------
 1 files changed, 73 insertions(+), 50 deletions(-)

diff --git a/api/ZSCM2_SCFL.cs b/api/ZSCM2_SCFL.cs
index 33d5240..217823e 100644
--- a/api/ZSCM2_SCFL.cs
+++ b/api/ZSCM2_SCFL.cs
@@ -25,64 +25,75 @@
 [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")]
 [System.Diagnostics.DebuggerStepThroughAttribute()]
 [System.ComponentModel.DesignerCategoryAttribute("code")]
-[System.Web.Services.WebServiceBindingAttribute(Name="binding", Namespace="urn:sap-com:document:sap:soap:functions:mc-style")]
-public partial class ZSCM2_SCFL : System.Web.Services.Protocols.SoapHttpClientProtocol {
-    
+[System.Web.Services.WebServiceBindingAttribute(Name = "binding", Namespace = "urn:sap-com:document:sap:soap:functions:mc-style")]
+public partial class ZSCM2_SCFL : System.Web.Services.Protocols.SoapHttpClientProtocol
+{
+
     private System.Threading.SendOrPostCallback ZscmScflOperationCompleted;
-    
+
     /// <remarks/>
-    public ZSCM2_SCFL() {
-        this.Url = "http://ceerptest.cee.com.cn:8000/sap/bc/srt/rfc/sap/zscm2_scfl/110/zscm2_scfl/bin" +
-            "ding";
+    public ZSCM2_SCFL()
+    {
+        this.Url = "http://10.89.33.201:8001/sap/bc/srt/rfc/sap/zscm2_scfl/800/zscm2_scfl/bind" +
+            "ing";
     }
-    
+
     /// <remarks/>
     public event ZscmScflCompletedEventHandler ZscmScflCompleted;
-    
+
     /// <remarks/>
-    [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)]
-    [return: System.Xml.Serialization.XmlElementAttribute("ZscmScflResponse", Namespace="urn:sap-com:document:sap:soap:functions:mc-style")]
-    public ZscmScflResponse ZscmScfl([System.Xml.Serialization.XmlElementAttribute("ZscmScfl", Namespace="urn:sap-com:document:sap:soap:functions:mc-style")] ZscmScfl ZscmScfl1) {
+    [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Bare)]
+    [return: System.Xml.Serialization.XmlElementAttribute("ZscmScflResponse", Namespace = "urn:sap-com:document:sap:soap:functions:mc-style")]
+    public ZscmScflResponse ZscmScfl([System.Xml.Serialization.XmlElementAttribute("ZscmScfl", Namespace = "urn:sap-com:document:sap:soap:functions:mc-style")] ZscmScfl ZscmScfl1)
+    {
         object[] results = this.Invoke("ZscmScfl", new object[] {
                     ZscmScfl1});
         return ((ZscmScflResponse)(results[0]));
     }
-    
+
     /// <remarks/>
-    public System.IAsyncResult BeginZscmScfl(ZscmScfl ZscmScfl1, System.AsyncCallback callback, object asyncState) {
+    public System.IAsyncResult BeginZscmScfl(ZscmScfl ZscmScfl1, System.AsyncCallback callback, object asyncState)
+    {
         return this.BeginInvoke("ZscmScfl", new object[] {
                     ZscmScfl1}, callback, asyncState);
     }
-    
+
     /// <remarks/>
-    public ZscmScflResponse EndZscmScfl(System.IAsyncResult asyncResult) {
+    public ZscmScflResponse EndZscmScfl(System.IAsyncResult asyncResult)
+    {
         object[] results = this.EndInvoke(asyncResult);
         return ((ZscmScflResponse)(results[0]));
     }
-    
+
     /// <remarks/>
-    public void ZscmScflAsync(ZscmScfl ZscmScfl1) {
+    public void ZscmScflAsync(ZscmScfl ZscmScfl1)
+    {
         this.ZscmScflAsync(ZscmScfl1, null);
     }
-    
+
     /// <remarks/>
-    public void ZscmScflAsync(ZscmScfl ZscmScfl1, object userState) {
-        if ((this.ZscmScflOperationCompleted == null)) {
+    public void ZscmScflAsync(ZscmScfl ZscmScfl1, object userState)
+    {
+        if ((this.ZscmScflOperationCompleted == null))
+        {
             this.ZscmScflOperationCompleted = new System.Threading.SendOrPostCallback(this.OnZscmScflOperationCompleted);
         }
         this.InvokeAsync("ZscmScfl", new object[] {
                     ZscmScfl1}, this.ZscmScflOperationCompleted, userState);
     }
-    
-    private void OnZscmScflOperationCompleted(object arg) {
-        if ((this.ZscmScflCompleted != null)) {
+
+    private void OnZscmScflOperationCompleted(object arg)
+    {
+        if ((this.ZscmScflCompleted != null))
+        {
             System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
             this.ZscmScflCompleted(this, new ZscmScflCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
         }
     }
-    
+
     /// <remarks/>
-    public new void CancelAsync(object userState) {
+    public new void CancelAsync(object userState)
+    {
         base.CancelAsync(userState);
     }
 }
@@ -92,18 +103,22 @@
 [System.SerializableAttribute()]
 [System.Diagnostics.DebuggerStepThroughAttribute()]
 [System.ComponentModel.DesignerCategoryAttribute("code")]
-[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="urn:sap-com:document:sap:soap:functions:mc-style")]
-public partial class ZscmScfl {
-    
+[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "urn:sap-com:document:sap:soap:functions:mc-style")]
+public partial class ZscmScfl
+{
+
     private string inputField;
-    
+
     /// <remarks/>
-    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
-    public string Input {
-        get {
+    [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
+    public string Input
+    {
+        get
+        {
             return this.inputField;
         }
-        set {
+        set
+        {
             this.inputField = value;
         }
     }
@@ -114,18 +129,22 @@
 [System.SerializableAttribute()]
 [System.Diagnostics.DebuggerStepThroughAttribute()]
 [System.ComponentModel.DesignerCategoryAttribute("code")]
-[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="urn:sap-com:document:sap:soap:functions:mc-style")]
-public partial class ZscmScflResponse {
-    
+[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "urn:sap-com:document:sap:soap:functions:mc-style")]
+public partial class ZscmScflResponse
+{
+
     private string outputField;
-    
+
     /// <remarks/>
-    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
-    public string Output {
-        get {
+    [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
+    public string Output
+    {
+        get
+        {
             return this.outputField;
         }
-        set {
+        set
+        {
             this.outputField = value;
         }
     }
@@ -139,18 +158,22 @@
 [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")]
 [System.Diagnostics.DebuggerStepThroughAttribute()]
 [System.ComponentModel.DesignerCategoryAttribute("code")]
-public partial class ZscmScflCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
-    
+public partial class ZscmScflCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
+{
+
     private object[] results;
-    
-    internal ZscmScflCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
-            base(exception, cancelled, userState) {
+
+    internal ZscmScflCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+            base(exception, cancelled, userState)
+    {
         this.results = results;
     }
-    
+
     /// <remarks/>
-    public ZscmScflResponse Result {
-        get {
+    public ZscmScflResponse Result
+    {
+        get
+        {
             this.RaiseExceptionIfNecessary();
             return ((ZscmScflResponse)(this.results[0]));
         }

--
Gitblit v1.9.1