//on fire takes a firelevel as argument and
        public void OnFire(EFireLevel fireLvl)
        {
            FireAlarmType fireEvent = new FireAlarmType(fireLvl);

            if (feHandler != null)
                feHandler(this, fireEvent);
        }
        //on fire takes a firelevel as argument and
        public void OnFire(EFireLevel fireLvl)
        {
            FireAlarmType fireEvent = new FireAlarmType(fireLvl);

            if (feHandler != null)
            {
                feHandler(this, fireEvent);
            }
        }
 public FireAlarmType(EFireLevel fireLvl)
 {
     this.fireLvl = fireLvl;
 }
 public FireAlarmType(EFireLevel fireLvl)
 {
     this.fireLvl = fireLvl;
 }