internal void InitializeValues(HysteresisFilter filter)
 {
     maxValue    = filter.maxValue;
     highTrigger = filter.highTrigger;
     lowTrigger  = filter.lowTrigger;
     minValue    = filter.minValue;
 }
        public HysteresisFilterConfigWindow(HysteresisFilter filter)
        {
            InitializeComponent();

            this.filter = filter;
            InitializeValues(filter);

            DataContext = this;
        }