public ReceiveInventoryViewModel()
 {
     InventoryLocations =
         new[]
     {
         new InventoryLocationType {
             Id = 1, Description = "Fridge"
         },
         new InventoryLocationType {
             Id = 2, Description = "Pantry"
         },
         new InventoryLocationType {
             Id = 3, Description = "Freezer"
         },
     };
     Item =
         new MasterInventory
     {
         Id            = 99,
         Name          = "Some fancy new thing",
         LocationId    = 2,
         UnitOfMeasure = "boxes",
         UnitQty       = 1,
         MinQuantity   = 0,
         MaxQuantity   = 5,
         IsActive      = true,
     };
 }
 public ReceiveInventoryViewModel(BBQRMSEntities dataService, Controls.IMessageBus messageBus)
 {
     // TODO: Complete member initialization
     DataService        = dataService;
     MessageBus         = messageBus;
     InventoryLocations = DataService.InventoryLocationTypes.Execute();
     _masterInventory   = MasterInventory.CreateMasterInventory(0, "New Inventory", 0, 0, null, 0, 0, true);
 }
 // Use this for initialization
 void Start()
 {
     Inventory.ItemUsed    += Inventory_ItemUsed;
     Inventory.ItemRemoved += Inventory_ItemRemoved;
     Inventory              = GameObject.FindWithTag("Inventory").GetComponent <MasterInventory>();
     HUD             = GameObject.FindWithTag("HUD").GetComponent <MasterHUD>();
     DetectionBar    = GameObject.FindWithTag("DetectionBar");
     StaminaBar      = GameObject.FindWithTag("StaminaBar");
     BulletTimeBar   = GameObject.FindWithTag("BulletTimeBar");
     InventoryPanel  = GameObject.FindWithTag("InventoryPanel");
     SleepDartHUD    = GameObject.FindWithTag("SleepDartHUD");
     BuffDeBuffPanel = GameObject.FindWithTag("BuffDebuff");
 }