Пример #1
0
        public string GetBillNo(string bcrid, string lockRefId, string baseValue, List<MESParameterInfo> lstVariablesParameters)
        {
            wsSYS.IwsSYSClient client = new wsSYS.IwsSYSClient();
            string result = string.Empty;
            try
            {
                result = client.GetSingleBillNo(CurrentContextInfo, bcrid, lockRefId, baseValue,
                    lstVariablesParameters.ToArray<MESParameterInfo>());
            }
            catch (Exception ex)
            {
                throw ex;
            }
            finally
            {
                CloseWCF(client);
            }

            return result;
        }
Пример #2
0
        public string GetBillNo(string bcrid)
        {
            wsSYS.IwsSYSClient client = new wsSYS.IwsSYSClient();
            string result = string.Empty;
            try
            {
                result = client.GetSingleBillNo(CurrentContextInfo, bcrid, string.Empty, string.Empty,
                    new List<MESParameterInfo>() { }.ToArray<MESParameterInfo>());
            }
            catch (Exception ex)
            {
                throw ex;
            }
            finally
            {
                CloseWCF(client);
            }

            return result;
        }