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