From 1b10882a0a46c8b25331ccd2628f7a2a6db8b13f Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周一, 16 12月 2024 17:35:10 +0800
Subject: [PATCH] 11

---
 CC/iWareCC_ASRS/WCF/CCWcfService.cs |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/CC/iWareCC_ASRS/WCF/CCWcfService.cs b/CC/iWareCC_ASRS/WCF/CCWcfService.cs
index 3bbca78..a0221ba 100644
--- a/CC/iWareCC_ASRS/WCF/CCWcfService.cs
+++ b/CC/iWareCC_ASRS/WCF/CCWcfService.cs
@@ -93,5 +93,32 @@
                 return FunRetEntity.Fail("寮傚父:" + ex.Message);
             }
         }
+
+
+        /// <summary>
+        /// 鎵爜璁板綍娓呴櫎
+        /// </summary>
+        /// <returns></returns>
+        public FunRetEntity WriteStation_PartClear()
+        {
+            try
+            {
+                using (StationServiceClient client = new StationServiceClient())
+                {
+                    var res = client.PartClear((int)EDevice.Station, true, StationLocationEnum.棣栨鎵爜宸ヤ綅.ToString());
+                    if (!res.result)
+                    {
+                        return FunRetEntity.Fail(res.resMsg);
+                    }
+                }
+
+                return FunRetEntity.Success("鎴愬姛", "");
+            }
+            catch (Exception ex)
+            {
+                return FunRetEntity.Fail("寮傚父:" + ex.Message);
+            }
+        }
+
     }
 }

--
Gitblit v1.9.3