public static XQAllOutBlocks Get(char gubun = default, char gubun1 = default, char gubun2 = default, string shcode = default, long cts_idx = default) { using (XQt1636 instance = new XQt1636()) { instance.SetFieldData(XQt1636InBlock.BlockName, XQt1636InBlock.F.gubun, 0, gubun.ToString()); // char 1 instance.SetFieldData(XQt1636InBlock.BlockName, XQt1636InBlock.F.gubun1, 0, gubun1.ToString()); // char 1 instance.SetFieldData(XQt1636InBlock.BlockName, XQt1636InBlock.F.gubun2, 0, gubun2.ToString()); // char 1 instance.SetFieldData(XQt1636InBlock.BlockName, XQt1636InBlock.F.shcode, 0, shcode); // char 6 instance.SetFieldData(XQt1636InBlock.BlockName, XQt1636InBlock.F.cts_idx, 0, cts_idx.ToString("d4")); // long 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 XQt1636OutBlock1[] Get(char gubun = default, char gubun1 = default, char gubun2 = default, string shcode = default, long cts_idx = default) { using (XQt1636 instance = new XQt1636()) { instance.SetFieldData(XQt1636InBlock.BlockName, XQt1636InBlock.F.gubun, 0, gubun.ToString()); // char 1 instance.SetFieldData(XQt1636InBlock.BlockName, XQt1636InBlock.F.gubun1, 0, gubun1.ToString()); // char 1 instance.SetFieldData(XQt1636InBlock.BlockName, XQt1636InBlock.F.gubun2, 0, gubun2.ToString()); // char 1 instance.SetFieldData(XQt1636InBlock.BlockName, XQt1636InBlock.F.shcode, 0, shcode); // char 6 instance.SetFieldData(XQt1636InBlock.BlockName, XQt1636InBlock.F.cts_idx, 0, cts_idx.ToString("d4")); // long 4 if (instance.Request() < 0) { return(null); } var outBlock = instance.GetBlock1s(); return(outBlock); } }