/// <summary>
        /// 显示温度方法
        /// </summary>
        /// <param name="sender">触发对象</param>
        /// <param name="e">触发参数</param>
        public static void ShowTemperature(Object sender, Heater.BoiledEventArgs e)
        {
            //将sender强转为触发对象
            Heater heater = (Heater)sender;

            //显示产地和品牌
            Console.WriteLine("Display:{0}-{1};", heater.area, heater.type);
            //显示当前温度
            Console.WriteLine("Display:水快烧开了,当前温度{0}度", e.temperature);
            Console.WriteLine();
        }
        /// <summary>
        /// 报警方法
        /// </summary>
        /// <param name="sender">触发对象</param>
        /// <param name="e">触发参数</param>
        public void MakeAlert(Object sender, Heater.BoiledEventArgs e)
        {
            //将sender强转为触发对象
            Heater heater = (Heater)sender;

            //显示产地和品牌
            Console.WriteLine("Alarm:{0} - {1};", heater.type, heater.area);
            //报警
            Console.WriteLine("Alarm:滴滴滴,水已经{0}度了;", e.temperature);
            Console.WriteLine();
        }