From c667629f6f7b9cdb15958fc560bd2bf83f36cdf6 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周二, 24 12月 2024 11:33:42 +0800
Subject: [PATCH] 22
---
CC/iWareCC_ASRS/WCF/CCWcfService.cs | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 54 insertions(+), 0 deletions(-)
diff --git a/CC/iWareCC_ASRS/WCF/CCWcfService.cs b/CC/iWareCC_ASRS/WCF/CCWcfService.cs
index 3bbca78..e1f068f 100644
--- a/CC/iWareCC_ASRS/WCF/CCWcfService.cs
+++ b/CC/iWareCC_ASRS/WCF/CCWcfService.cs
@@ -93,5 +93,59 @@
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);
+ }
+ }
+
+
+ /// <summary>
+ /// 涓嬬嚎鏀捐鏂瑰悜
+ /// </summary>
+ /// <param name="iscomplete"></param>
+ /// <returns></returns>
+ public FunRetEntity WriteQiTaoInfo(bool iscomplete)
+ {
+ try
+ {
+ using (StationServiceClient client = new StationServiceClient())
+ {
+ var res = client.WriteQiTaoInfo((int)EDevice.Station, StationLocationEnum.BZ30.ToString(), iscomplete);
+ if (!res.result)
+ {
+ return FunRetEntity.Fail(res.resMsg);
+ }
+ }
+
+ return FunRetEntity.Success("鎴愬姛", "");
+ }
+ catch (Exception ex)
+ {
+ return FunRetEntity.Fail("寮傚父:" + ex.Message);
+ }
+ }
+
}
}
--
Gitblit v1.9.3