示例#1
0
        private static void CreateListOfPhonySensors(WaterQualityDET det, int numRows)
        {
            int count = 1;

            for (int index = 0; index < numRows; index++)
            {
                var s = PhonyLookup.CreatePhonySensor(count++);
                det.Instruments.Add(s);
            }
        }
示例#2
0
        private static void CreateListOfPhonySites(WaterQualityDET det, int numRows)
        {
            int count = 1;

            for (int index = 0; index < numRows; index++)
            {
                var dto = PhonyLookup.CreatePhonySite(count++);
                det.Sites.Add(dto);
            }
        }
示例#3
0
        private static void CreateListOfPhonyNets(FishDET det, int numRows)
        {
            int count = 1;

            for (int index = 0; index < numRows; index++)
            {
                var dto = PhonyLookup.CreatePhonyNet(count++);
                det.Nets.Add(dto);
            }
        }
示例#4
0
        //private static void CreateListOfPhonyLifeStages(PreyAvailabilityDET det, int numRows)
        //{
        //    int count = 1;
        //    for (int index = 0; index < numRows; index++)
        //    {
        //        var dto = PhonyLookup.CreatePhonyLifeStage(count++);
        //        det.LifeStages.Add(dto);
        //    }
        //}

        private static void CreateListOfPhonySpecies(PreyAvailabilityDET det, int numRows)
        {
            int count = 1;

            for (int index = 0; index < numRows; index++)
            {
                var dto = PhonyLookup.CreatePhonySpecies(count++);
                det.Species.Add(dto);
            }
        }
示例#5
0
        private static void CreateListOfPhonyInstruments(CrossSectionDET det, int numRows)
        {
            int count = 1;

            for (int index = 0; index < numRows; index++)
            {
                var dto = PhonyLookup.CreatePhonyInstrument(count++);
                det.Instruments.Add(dto);
            }
        }