public static XQt1974OutBlock1[] Get(string shcode = default) { using (XQt1974 instance = new XQt1974()) { instance.SetFieldData(XQt1974InBlock.BlockName, XQt1974InBlock.F.shcode, 0, shcode); // char 6 if (instance.Request() < 0) { return(null); } var outBlock = instance.GetBlock1s(); return(outBlock); } }
public static XQAllOutBlocks Get(string shcode = default) { using (XQt1974 instance = new XQt1974()) { instance.SetFieldData(XQt1974InBlock.BlockName, XQt1974InBlock.F.shcode, 0, shcode); // char 6 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); } }