public override SubRecord CreateUninitializedSubRecord(string subRecordName) { switch (subRecordName) { case "NAME": NAME = new NAMESubRecord(); return(NAME); case "DATA": DATA = new DATASubRecord(); return(DATA); case "NNAM": NNAM = new NNAMSubRecord(); break; case "INDX": INDX = new INDXSubRecord(); break; case "CNAM": CNAM = new CNAMSubRecord(); break; case "INTV": INTV = new INTVSubRecord(); break; } return(null); }
public override SubRecord CreateUninitializedSubRecord(string subRecordName) { switch (subRecordName) { case "NAME": NAME = new NAMESubRecord(); return(NAME); case "FNAM": FNAM = new FNAMSubRecord(); return(FNAM); case "MODL": MODL = new MODLSubRecord(); return(MODL); case "RNAM": RNAM = new RNAMSubRecord(); return(RNAM); case "ANAM": ANAM = new ANAMSubRecord(); return(ANAM); case "BNAM": BNAM = new BNAMSubRecord(); return(BNAM); case "CNAM": CNAM = new CNAMSubRecord(); return(CNAM); case "KNAM": KNAM = new KNAMSubRecord(); return(KNAM); case "NPDT": NPDT = new NPDTSubRecord(); return(NPDT); case "FLAG": FLAG = new FLAGSubRecord(); return(FLAG); //case "NPCO": //NPCO = new NPCOSubRecord(); //return NPCO; case "AIDT": AIDT = new AIDTSubRecord(); return(AIDT); case "AI_W": AI_W = new AI_WSubRecord(); return(AI_W); //case "AI_T": //AI_T = new AI_TSubRecord(); //return AI_T; //case "AI_F": //AI_F = new AI_FSubRecord(); //return AI_F; case "AI_E": AI_E = new AI_ESubRecord(); return(AI_E); case "CNDT": CNDT = new CNDTSubRecord(); return(CNDT); case "AI_A": AI_A = new AI_ASubRecord(); return(AI_A); case "DODT": DODT = new DODTSubRecord(); return(DODT); case "DNAM": DNAM = new DNAMSubRecord(); return(DNAM); case "XSCL": XSCL = new XSCLSubRecord(); return(XSCL); } return(null); }