Esempio n. 1
0
        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;
        }
Esempio n. 2
0
 private void TriggerChnaged(object sender, HalChangedEventArgs e)
 {
     chk_TriggerEnable.Checked = subject.Operator.OwnedTriggerParam.TriggeModel;
     cmb_TriggerSource.Text    = subject.Operator.OwnedTriggerParam.CurrentTriggerSource;
 }
Esempio n. 3
0
 private void BrightnessChanged(object sender, HalChangedEventArgs e)
 {
     SetBrightnessParam();
 }
Esempio n. 4
0
 private void ContrastChanged(object sender, HalChangedEventArgs e)
 {
     SetContrastParam();
 }
Esempio n. 5
0
 private void ExposureChanged(object sender, HalChangedEventArgs e)
 {
     SetExsposureParam();
 }