Esempio n. 1
0
        public bool DoJob()
        {
            InfoReader reader = new InfoReader();
            //reader.LoadSettings(ref settings);
            List <SampleInfo> infos = new List <SampleInfo>();

            infos.Add(reader.ReadInfo());

            //check capacity
            bool bok = CheckCapacity();

            if (!bok)
            {
                log.Error("微孔板数量不够!");
                return(false);
            }
            ReadZValues(ref infos);
            WriteSampleCount(infos.Count);

            for (int i = 0; i < infos.Count; i++)
            {
                generateForSample(infos[i]);
            }
            return(true);
        }
        public bool DoJob()
        {
            InfoReader reader = new InfoReader();
            //reader.LoadSettings(ref settings);
            List<SampleInfo> infos = new List<SampleInfo>();
            infos.Add(reader.ReadInfo());

            //check capacity
            bool bok = CheckCapacity();
            if (!bok)
            {
                log.Error("微孔板数量不够!");
                return false;
            }
            ReadZValues(ref infos);
            WriteSampleCount(infos.Count);
            
            for (int i = 0; i < infos.Count; i++)
            {
                generateForSample(infos[i]);
            }
            return true;
        }