Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public ROIChannel(string newName, MCAInstrument parent, ChannelType newType, uint id) : base(newName, parent, newType, id)
 {
     VCType = "ROI";
     roi    = new ROI();
 }