示例#1
0
        public List <PlantItem> GetPlantItemsByType(ItemType plantItemType)
        {
            List <PlantItem> plantItems = new List <PlantItem>();

            plantItems = SpItemViewModel.GetPlantItems(plantItemType);

            return(plantItems);
        }
示例#2
0
        public List <PlantItem> GetPipeRuns()
        {
            List <PlantItem> plantItems = new List <PlantItem>();
            ItemType         item       = ItemType.PipeRun;

            plantItems = SpItemViewModel.GetPlantItems(item);

            return(plantItems);
        }