From d151ad916449dd1b081ce515daf893e54ef5511c Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周五, 20 12月 2024 18:08:17 +0800 Subject: [PATCH] 22 --- 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 a0221ba..e1f068f 100644 --- a/CC/iWareCC_ASRS/WCF/CCWcfService.cs +++ b/CC/iWareCC_ASRS/WCF/CCWcfService.cs @@ -120,5 +120,32 @@ } } + + /// <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