/// <summary>
        /// used to set the heart rate
        /// </summary>
        /// <param name="hr">heart rate entered</param>
        public void SetHR(int hr)
        {
            this.maxHr = hr;
            dw1.SetMaxHR(hr);

            file1.SetHR(hr);
            if (file2 != null)
            {
                file2.SetHR(hr);
            }
        }
 /// <summary>
 /// Called to set the hr
 /// </summary>
 /// <param name="hr">the heart rate to set</param>
 public void SetHR(int hr)
 {
     dv.SetMaxHR(hr);
     UpdateSummaryNoDate();
 }