public override Instrument FromParameters(DetectionSystem parent, string newName, List <Parameter> parameters, uint id) { MCAInstrument instrument = new MCAInstrument(parent, newName, id); Instrument.ApplyStandardInstrumentParameters(instrument, parameters); foreach (Parameter param in parameters) { switch (param.Name) { case "File Extension": instrument.FileExtension = param.Value; break; } } return(instrument); }
public ROIChannel(string newName, MCAInstrument parent, ChannelType newType, uint id) : base(newName, parent, newType, id) { VCType = "ROI"; roi = new ROI(); }