private void ImagePropertyChanged(object sender, HalChangedEventArgs e) { numUpDown_StartX.Maximum = (decimal)subject.Operator.OwnedImagePropertyParam.OffsetX_Max; numUpDown_StartX.Minimum = (decimal)subject.Operator.OwnedImagePropertyParam.OffsetX_Min; numUpDown_StartX.Value = (decimal)subject.Operator.OwnedImagePropertyParam.OffsetX; numUpDown_StartY.Maximum = (decimal)subject.Operator.OwnedImagePropertyParam.OffsetY_Max; numUpDown_StartY.Minimum = (decimal)subject.Operator.OwnedImagePropertyParam.OffsetY_Min; numUpDown_StartY.Value = (decimal)subject.Operator.OwnedImagePropertyParam.OffsetY; numUpDown_Width.Maximum = (decimal)subject.Operator.OwnedImagePropertyParam.Width_Max; numUpDown_Width.Minimum = (decimal)subject.Operator.OwnedImagePropertyParam.Width_Min; numUpDown_Width.Value = (decimal)subject.Operator.OwnedImagePropertyParam.Width; numUpDown_Height.Maximum = (decimal)subject.Operator.OwnedImagePropertyParam.Height_Max; numUpDown_Height.Minimum = (decimal)subject.Operator.OwnedImagePropertyParam.Height_Min; numUpDown_Height.Value = (decimal)subject.Operator.OwnedImagePropertyParam.Height; }
private void TriggerChnaged(object sender, HalChangedEventArgs e) { chk_TriggerEnable.Checked = subject.Operator.OwnedTriggerParam.TriggeModel; cmb_TriggerSource.Text = subject.Operator.OwnedTriggerParam.CurrentTriggerSource; }
private void BrightnessChanged(object sender, HalChangedEventArgs e) { SetBrightnessParam(); }
private void ContrastChanged(object sender, HalChangedEventArgs e) { SetContrastParam(); }
private void ExposureChanged(object sender, HalChangedEventArgs e) { SetExsposureParam(); }