public static XQAllOutBlocks Get(string focode = default, char bdgubun = default, int nmin = default, char tcgubun = default, int cnt = default) { using (XQt8409 instance = new XQt8409()) { instance.SetFieldData(XQt8409InBlock.BlockName, XQt8409InBlock.F.focode, 0, focode); // char 8 instance.SetFieldData(XQt8409InBlock.BlockName, XQt8409InBlock.F.bdgubun, 0, bdgubun.ToString()); // char 1 instance.SetFieldData(XQt8409InBlock.BlockName, XQt8409InBlock.F.nmin, 0, nmin.ToString("d3")); // int 3 instance.SetFieldData(XQt8409InBlock.BlockName, XQt8409InBlock.F.tcgubun, 0, tcgubun.ToString()); // char 1 instance.SetFieldData(XQt8409InBlock.BlockName, XQt8409InBlock.F.cnt, 0, cnt.ToString("d4")); // int 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); } }
public static XQt8409OutBlock1[] Get(string focode = default, char bdgubun = default, int nmin = default, char tcgubun = default, int cnt = default) { using (XQt8409 instance = new XQt8409()) { instance.SetFieldData(XQt8409InBlock.BlockName, XQt8409InBlock.F.focode, 0, focode); // char 8 instance.SetFieldData(XQt8409InBlock.BlockName, XQt8409InBlock.F.bdgubun, 0, bdgubun.ToString()); // char 1 instance.SetFieldData(XQt8409InBlock.BlockName, XQt8409InBlock.F.nmin, 0, nmin.ToString("d3")); // int 3 instance.SetFieldData(XQt8409InBlock.BlockName, XQt8409InBlock.F.tcgubun, 0, tcgubun.ToString()); // char 1 instance.SetFieldData(XQt8409InBlock.BlockName, XQt8409InBlock.F.cnt, 0, cnt.ToString("d4")); // int 4 if (instance.Request() < 0) { return(null); } var outBlock = instance.GetBlock1s(); return(outBlock); } }