Example #1
0
        public static XQt1981OutBlock1[] Get(char mkt_gb = default)
        {
            using (XQt1981 instance = new XQt1981())
            {
                instance.SetFieldData(XQt1981InBlock.BlockName, XQt1981InBlock.F.mkt_gb, 0, mkt_gb.ToString());                 // char 1

                if (instance.Request() < 0)
                {
                    return(null);
                }

                var outBlock = instance.GetBlock1s();
                return(outBlock);
            }
        }
Example #2
0
        public static XQAllOutBlocks Get(char mkt_gb = default)
        {
            using (XQt1981 instance = new XQt1981())
            {
                instance.SetFieldData(XQt1981InBlock.BlockName, XQt1981InBlock.F.mkt_gb, 0, mkt_gb.ToString());                 // char 1

                if (instance.Request() < 0)
                {
                    return(null);
                }

                XQAllOutBlocks results = new XQAllOutBlocks();
                results.OutBlock = instance.GetBlock();
                if (results.OutBlock.IsValidData == false)
                {
                    return(null);
                }

                results.OutBlock1 = instance.GetBlock1s();
                return(results);
            }
        }