コード例 #1
0
        /// <summary>
        /// 获取实时类响应报文的返回值
        /// </summary>
        /// <returns>返回值</returns>
        public string GetRtnValueOnline()
        {
            string result = string.Empty;

            result = BasicOperation.GetOnlineTranscationReturnValue(1);
            Random r   = new Random();
            int    num = r.Next(50);

            for (int i = 0; i < RtnCodeArray.Length; i++)
            {
                if (num == RtnCodeArray[i])
                {
                    result = BasicOperation.GetOnlineTranscationReturnValue(num);
                    break;
                }
            }
            this.RtnInfo = BasicOperation.GetFhxxByFhz(result);

            return(result);
        }