static void StatusReport(IEnumerable <Household> households, RabbitMqClient rabbitMqClient)
 {
     foreach (var house in households)
     {
         foreach (var measurementDevice in house.Devices)
         {
             var newStatus = measurementDevice.GenerateAStatusReport(house.ID);
             rabbitMqClient.SendMessage(message: newStatus, routingKey: "status");
         }
     }
 }
 static void MeasurementReport(IEnumerable <Household> households, RabbitMqClient rabbitMqClient)
 {
     foreach (var house in households)
     {
         foreach (var measurementDevice in house.Devices)
         {
             var newMeasurement = measurementDevice.GenerateAMeasurement();
             rabbitMqClient.SendMessage(message: newMeasurement, routingKey: newMeasurement.ExpenditureType.ToString().ToLower());
         }
     }
 }