public List <StarvedInput> StarvedInputs()
        {
            List <StarvedInput> results = new List <StarvedInput>();

            foreach (string prodId in output.ComponentIds)
            {
                Product prod        = ProductDictionaryController.GetProduct(prodId);
                double  consumption = prod.GetTotalProduction(structureCount);

                double input = inputs.First(x => x.output.ProductId == prod.ProductId).GetTotalProduction();

                if (consumption > input)
                {
                    results.Add(new StarvedInput(consumption, input, prod.ProductName));
                }
            }

            return(results);
        }
 public void AddComponent(string prodId)
 {
     componentIds.Add(ProductDictionaryController.GetProduct(prodId).ProductId);
 }