222
schangxiang@126.com
2024-12-18 4a68e02a9dbffe0b215ceb1d9758ccb17329e523
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);
            }
        }
    }
}