Beispiel #1
0
        public static XQt1615OutBlock1[] Get(char gubun1 = default, char gubun2 = default)
        {
            using (XQt1615 instance = new XQt1615())
            {
                instance.SetFieldData(XQt1615InBlock.BlockName, XQt1615InBlock.F.gubun1, 0, gubun1.ToString());                 // char 1
                instance.SetFieldData(XQt1615InBlock.BlockName, XQt1615InBlock.F.gubun2, 0, gubun2.ToString());                 // char 1

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

                var outBlock = instance.GetBlock1s();
                return(outBlock);
            }
        }
Beispiel #2
0
        public static XQAllOutBlocks Get(char gubun1 = default, char gubun2 = default)
        {
            using (XQt1615 instance = new XQt1615())
            {
                instance.SetFieldData(XQt1615InBlock.BlockName, XQt1615InBlock.F.gubun1, 0, gubun1.ToString());                 // char 1
                instance.SetFieldData(XQt1615InBlock.BlockName, XQt1615InBlock.F.gubun2, 0, gubun2.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);
            }
        }