public List <PlantItem> GetPlantItemsByType(ItemType plantItemType) { List <PlantItem> plantItems = new List <PlantItem>(); plantItems = SpItemViewModel.GetPlantItems(plantItemType); return(plantItems); }
public List <PlantItem> GetPipeRuns() { List <PlantItem> plantItems = new List <PlantItem>(); ItemType item = ItemType.PipeRun; plantItems = SpItemViewModel.GetPlantItems(item); return(plantItems); }