public void BoilAlarm(object sender, BoiledEventArgs e) { Console.WriteLine($"logo:{heater.logo},type:{heater.type}"); Console.WriteLine(e.temperature); Console.WriteLine(); }