示例#1
0
        public static XQt1537OutBlock1[] Get(string tmcode = default)
        {
            using (XQt1537 instance = new XQt1537())
            {
                instance.SetFieldData(XQt1537InBlock.BlockName, XQt1537InBlock.F.tmcode, 0, tmcode);                 // char 4

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

                var outBlock = instance.GetBlock1s();
                return(outBlock);
            }
        }
示例#2
0
        public static XQAllOutBlocks Get(string tmcode = default)
        {
            using (XQt1537 instance = new XQt1537())
            {
                instance.SetFieldData(XQt1537InBlock.BlockName, XQt1537InBlock.F.tmcode, 0, tmcode);                 // char 4

                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);
            }
        }