Beispiel #1
0
        //[OperationBehavior]
        public System.Int32 DoEx(ICommonDataContract commonData, System.String baseBarCode)
        {
            this.CommonData = commonData;
            try
            {
                BeforeInvoke("UFIDA.U9.Cust.JSDY.BarCode.GetBarCodeFlowNo");
                GetBarCodeFlowNo objectRef = new GetBarCodeFlowNo();

                objectRef.BaseBarCode = baseBarCode;

                //处理返回类型.
                System.Int32 result = objectRef.Do();
                return(result);

                return(result);
            }
            catch (System.Exception e)
            {
                DealException(e);
                throw;
            }
            finally
            {
                FinallyInvoke("UFIDA.U9.Cust.JSDY.BarCode.GetBarCodeFlowNo");
            }
        }
        public override object Do(object obj)
        {
            GetBarCodeFlowNo bpObj = (GetBarCodeFlowNo)obj;

            return(ProductBarCode.GetBarCodeFlowNo(bpObj.BaseBarCode));
        }