void AddLynDump(EAUtilLynDumpMode lyn) { if (lyn.GetCount() == 0) {//ORG指定がない場合 Data data = new Data("LYNDUMP", lyn.GetDataAll(), DataEnum.LYN, 0); this.DataList.Add(data); return; } int count = lyn.GetCount(); for (int i = 0; i < count; i++) { Data data = new Data("LYNDUMP_" + lyn.GetName(i), lyn.GetData(i), DataEnum.LYN, 0); this.DataList.Add(data); } }
void AddLynDump(EAUtilLynDumpMode lyn, string filename) { if (lyn.GetCount() == 0) {//ORG指定がない場合 if (filename == "") { filename = "LYNDUMP"; } Data data = new Data(filename, this.Dir, lyn.GetDataAll(), DataEnum.LYN, 0); this.DataList.Add(data); return; } int count = lyn.GetCount(); for (int i = 0; i < count; i++) { Data data = new Data("LYNDUMP_" + lyn.GetName(i), lyn.GetData(i), DataEnum.LYN, 0); this.DataList.Add(data); } }