public BrightnessContrastSettings()
        {
            _IsApplyContrast         = new IVLControlProperties();
            _IsApplyContrast.name    = "IsApplyContrast";
            _IsApplyContrast.val     = true.ToString();
            _IsApplyContrast.type    = "bool";
            _IsApplyContrast.control = "System.Windows.Forms.RadioButton";
            _IsApplyContrast.text    = "Apply Contrast";

            _IsApplyBrightness         = new IVLControlProperties();
            _IsApplyBrightness.name    = "IsApplyBrightness";
            _IsApplyBrightness.val     = true.ToString();
            _IsApplyBrightness.type    = "bool";
            _IsApplyBrightness.control = "System.Windows.Forms.RadioButton";
            _IsApplyBrightness.text    = "Apply Brightness";

            _BrightnessVal         = new IVLControlProperties();
            _BrightnessVal.name    = "BrightnessVal";
            _BrightnessVal.val     = "3";
            _BrightnessVal.type    = "int";
            _BrightnessVal.control = "System.Windows.Forms.NumericUpDown";
            _BrightnessVal.text    = "Brightness Value";
            _BrightnessVal.min     = 0;
            _BrightnessVal.max     = 100;

            _ContrastVAl         = new IVLControlProperties();
            _ContrastVAl.name    = "ContrastVAl";
            _ContrastVAl.val     = "1";
            _ContrastVAl.type    = "int";
            _ContrastVAl.control = "System.Windows.Forms.NumericUpDown";
            _ContrastVAl.text    = "Contrast Value";
            _ContrastVAl.min     = -20;
            _ContrastVAl.max     = 20;
        }
        public AnnotationColorSelection()
        {
            _CupColor         = new IVLControlProperties();
            _CupColor.name    = "CupColor";
            _CupColor.type    = "string";
            _CupColor.val     = "Blue";
            _CupColor.control = "System.Windows.Forms.ComboBox";
            _CupColor.text    = "Cup Color";
            _CupColor.range   = "Aqua,Blue,Black,Cyan,DarkBlue,Green,Grey,Khaki,LimeGreen";

            _DiscColor         = new IVLControlProperties();
            _DiscColor.name    = "DiscColor";
            _DiscColor.type    = "string";
            _DiscColor.val     = "Black";
            _DiscColor.control = "System.Windows.Forms.ComboBox";
            _DiscColor.text    = "Disc Color";
            _DiscColor.range   = "Aqua,Blue,Black,Cyan,DarkBlue,Green,Grey,Khaki,LimeGreen";


            _AnnotationMarkingColor         = new IVLControlProperties();
            _AnnotationMarkingColor.name    = "AnnotationMarkingColor";
            _AnnotationMarkingColor.type    = "string";
            _AnnotationMarkingColor.val     = "Black";
            _AnnotationMarkingColor.control = "System.Windows.Forms.ComboBox";
            _AnnotationMarkingColor.text    = "Annotation Marking Color";
            _AnnotationMarkingColor.range   = "Aqua,Blue,Black,Cyan,DarkBlue,Green,Grey,Khaki,LimeGreen";
        }
Example #3
0
        public AnnotationColorSelection()
        {
            try
            {
                _CupColor         = new IVLControlProperties();
                _CupColor.name    = "CupColor";
                _CupColor.type    = "string";
                _CupColor.val     = "Blue";
                _CupColor.control = "System.Windows.Forms.ComboBox";
                _CupColor.text    = "Cup Color";
                _CupColor.range   = "Aqua,Blue,Black,Cyan,DarkBlue,Green,Grey,Khaki,LimeGreen";

                _DiscColor         = new IVLControlProperties();
                _DiscColor.name    = "DiscColor";
                _DiscColor.type    = "string";
                _DiscColor.val     = "Black";
                _DiscColor.control = "System.Windows.Forms.ComboBox";
                _DiscColor.text    = "Disc Color";
                _DiscColor.range   = "Aqua,Blue,Black,Cyan,DarkBlue,Green,Grey,Khaki,LimeGreen";

                _AnnotationMarkingColor         = new IVLControlProperties();
                _AnnotationMarkingColor.name    = "AnnotationMarkingColor";
                _AnnotationMarkingColor.type    = "string";
                _AnnotationMarkingColor.val     = "Black";
                _AnnotationMarkingColor.control = "System.Windows.Forms.ComboBox";
                _AnnotationMarkingColor.text    = "Annotation Marking Color";
                _AnnotationMarkingColor.range   = "Aqua,Blue,Black,Cyan,DarkBlue,Green,Grey,Khaki,LimeGreen";
            }
            catch (Exception ex)
            {
                Common.ExceptionLogWriter.WriteLog(ex, Exception_Log);
            }
        }
        public ClaheSettings()
        {
            try
            {
                _IsApplyClaheSettings         = new IVLControlProperties();
                _IsApplyClaheSettings.name    = "isApplyClaheSettings";
                _IsApplyClaheSettings.val     = true.ToString();
                _IsApplyClaheSettings.type    = "bool";
                _IsApplyClaheSettings.control = "System.Windows.Forms.RadioButton";
                _IsApplyClaheSettings.text    = "Apply Clahe";

                _ClipValue         = new IVLControlProperties();
                _ClipValue.name    = "ClipValue";
                _ClipValue.val     = "0.002";
                _ClipValue.type    = "float";
                _ClipValue.control = "System.Windows.Forms.NumericUpDown";
                _ClipValue.text    = "Clip Value";
                _ClipValue.min     = 0;
                _ClipValue.max     = 1;
            }
            catch (Exception ex)
            {
                Common.ExceptionLogWriter.WriteLog(ex, Exception_Log);
            }
        }
        public ImageShiftSettings()
        {
            _IsApplyImageShift         = new IVLControlProperties();
            _IsApplyImageShift.name    = "isApplyImageShift";
            _IsApplyImageShift.val     = true.ToString();
            _IsApplyImageShift.type    = "bool";
            _IsApplyImageShift.control = "System.Windows.Forms.RadioButton";
            _IsApplyImageShift.text    = "Apply Image Shift";

            _ImageShiftX         = new IVLControlProperties();
            _ImageShiftX.name    = "ImageShiftX";
            _ImageShiftX.val     = "4";
            _ImageShiftX.type    = "int";
            _ImageShiftX.control = "System.Windows.Forms.NumericUpDown";
            _ImageShiftX.text    = "Image ShiftX";
            _ImageShiftX.min     = 1;
            _ImageShiftX.max     = 100;

            _ImageShiftY         = new IVLControlProperties();
            _ImageShiftY.name    = "ImageShiftY";
            _ImageShiftY.val     = "3";
            _ImageShiftY.type    = "int";
            _ImageShiftY.control = "System.Windows.Forms.NumericUpDown";
            _ImageShiftY.text    = "Image ShiftY";
            _ImageShiftY.min     = 1;
            _ImageShiftY.max     = 100;
        }
        public ImageShiftSettings()
        {
            try
            {
                _IsApplyImageShift         = new IVLControlProperties();
                _IsApplyImageShift.name    = "isApplyImageShift";
                _IsApplyImageShift.val     = true.ToString();
                _IsApplyImageShift.type    = "bool";
                _IsApplyImageShift.control = "System.Windows.Forms.RadioButton";
                _IsApplyImageShift.text    = "Apply Image Shift";

                _ImageShiftX         = new IVLControlProperties();
                _ImageShiftX.name    = "ImageShiftX";
                _ImageShiftX.val     = "4";
                _ImageShiftX.type    = "int";
                _ImageShiftX.control = "System.Windows.Forms.NumericUpDown";
                _ImageShiftX.text    = "Image ShiftX";
                _ImageShiftX.min     = 1;
                _ImageShiftX.max     = 100;

                _ImageShiftY         = new IVLControlProperties();
                _ImageShiftY.name    = "ImageShiftY";
                _ImageShiftY.val     = "3";
                _ImageShiftY.type    = "int";
                _ImageShiftY.control = "System.Windows.Forms.NumericUpDown";
                _ImageShiftY.text    = "Image ShiftY";
                _ImageShiftY.min     = 1;
                _ImageShiftY.max     = 100;
            }
            catch (Exception ex)
            {
                Common.ExceptionLogWriter.WriteLog(ex, Exception_Log);
            }
        }
Example #7
0
        private IVLControlProperties getControlProp(Control c)
        {
            IVLControlProperties cp = new IVLControlProperties();

            //cp.control = c;

            return(cp);
        }
Example #8
0
 public EmrUI()
 {
     _IntuCloudButtonVisible         = new IVLControlProperties();
     _IntuCloudButtonVisible.name    = "IntuCloudButtonVisible";
     _IntuCloudButtonVisible.val     = false.ToString();
     _IntuCloudButtonVisible.type    = "bool";
     _IntuCloudButtonVisible.control = "System.Windows.Forms.RadioButton";
     _IntuCloudButtonVisible.text    = "IntuCloud Button Visible";
 }
Example #9
0
        private void addLeaf(IVLControlProperties ctrl, int lvl, string parentName, Control c)
        {
            XmlLeaf_UC node = new XmlLeaf_UC(ctrl.text, ctrl.val.ToString(), parentName, lvl, ctrl.min, ctrl.max, ctrl);

            node.Left = hIndent + 5 * lvl;
            node.Top  = vIndent;
            c.Controls.Add(node);
            vIndent += 30;
        }
Example #10
0
 public PrinterSettings()
 {
     _adobePrintDelay         = new IVLControlProperties();
     _adobePrintDelay.name    = "adobePrintDelay";
     _adobePrintDelay.val     = "20000";
     _adobePrintDelay.type    = "int";
     _adobePrintDelay.control = "System.Windows.Forms.NumericUpDown";
     _adobePrintDelay.text    = "Adobe Print Delay";
     _adobePrintDelay.min     = 10000;
     _adobePrintDelay.max     = 30000;
     _adobePrintDelay.range   = _adobePrintDelay.min.ToString() + " to " + _adobePrintDelay.max.ToString();
 }
        public UnsharpMaskSettings()
        {
            try
            {
                _IsApplyUnsharpSettings         = new IVLControlProperties();
                _IsApplyUnsharpSettings.name    = "IsApplyUnsharpSettings";
                _IsApplyUnsharpSettings.val     = true.ToString();
                _IsApplyUnsharpSettings.type    = "bool";
                _IsApplyUnsharpSettings.control = "System.Windows.Forms.RadioButton";
                _IsApplyUnsharpSettings.text    = "Apply Unsharp Mask ";

                _UnSharpAmount         = new IVLControlProperties();
                _UnSharpAmount.name    = "UnSharpAmount";
                _UnSharpAmount.val     = "0.5";
                _UnSharpAmount.type    = "float";
                _UnSharpAmount.control = "System.Windows.Forms.NumericUpDown";
                _UnSharpAmount.text    = "UnSharp Amount";
                _UnSharpAmount.min     = 0;
                _UnSharpAmount.max     = 3;

                _MedianFilter         = new IVLControlProperties();
                _MedianFilter.name    = "MedianFilter";
                _MedianFilter.val     = "3";
                _MedianFilter.type    = "int";
                _MedianFilter.control = "System.Windows.Forms.NumericUpDown";
                _MedianFilter.text    = "Median Filter";
                _MedianFilter.min     = 0;
                _MedianFilter.max     = 100;

                _UnSharpRadius         = new IVLControlProperties();
                _UnSharpRadius.name    = "UnSharpAmount";
                _UnSharpRadius.val     = "9";
                _UnSharpRadius.type    = "int";
                _UnSharpRadius.control = "System.Windows.Forms.NumericUpDown";
                _UnSharpRadius.text    = "UnSharp Radius";
                _UnSharpRadius.min     = 0;
                _UnSharpRadius.max     = 255;

                _Threshold         = new IVLControlProperties();
                _Threshold.name    = "Threshold";
                _Threshold.val     = "40";
                _Threshold.type    = "int";
                _Threshold.control = "System.Windows.Forms.NumericUpDown";
                _Threshold.text    = "Threshold";
                _Threshold.min     = 0;
                _Threshold.max     = 255;
            }
            catch (Exception ex)
            {
                Common.ExceptionLogWriter.WriteLog(ex, Exception_Log);
            }
        }
        public static object StringVal2Object(IVLControlProperties prop)
        {
            object ConvertedVal = null;

            switch (prop.type)
            {
            case "string":
            {
                ConvertedVal = prop.val;
                break;
            }

            case "int":
            {
                ConvertedVal = Convert.ToInt32(prop.val);
                break;
            }

            case "double":
            {
                ConvertedVal = Convert.ToDouble(prop.val);

                ConvertedVal = prop.val;
                break;
            }

            case "float":
            {
                ConvertedVal = Convert.ToSingle(prop.val);;
                break;
            }

            case "byte":
            {
                ConvertedVal = Convert.ToByte(prop.val);;
                break;
            }

            case "bool":
            {
                ConvertedVal = Convert.ToBoolean(prop.val);
                break;
            }

            default:
            {
                ConvertedVal = prop.val;
                break;
            }
            }
            return(ConvertedVal);
        }
        public LutSettings()
        {
            try
            {
                _IsApplyLutSettings         = new IVLControlProperties();
                _IsApplyLutSettings.name    = "IsApplyLutSettings";
                _IsApplyLutSettings.val     = true.ToString();
                _IsApplyLutSettings.type    = "bool";
                _IsApplyLutSettings.control = "System.Windows.Forms.RadioButton";
                _IsApplyLutSettings.text    = "Apply Lut";

                _LUTSineFactor         = new IVLControlProperties();
                _LUTSineFactor.name    = "LUTSineFactor";
                _LUTSineFactor.val     = "35";
                _LUTSineFactor.type    = "int";
                _LUTSineFactor.control = "System.Windows.Forms.NumericUpDown";
                _LUTSineFactor.text    = "LutSine Factor";
                _LUTSineFactor.min     = 0;
                _LUTSineFactor.max     = 255;

                _LUTInterval1         = new IVLControlProperties();
                _LUTInterval1.name    = "LUTInterval1";
                _LUTInterval1.val     = "50";
                _LUTInterval1.type    = "int";
                _LUTInterval1.control = "System.Windows.Forms.NumericUpDown";
                _LUTInterval1.text    = "Lut Interval1";
                _LUTInterval1.min     = 0;
                _LUTInterval1.max     = 255;

                _LUTInterval2         = new IVLControlProperties();
                _LUTInterval2.name    = "LUTInterval2";
                _LUTInterval2.val     = "130";
                _LUTInterval2.type    = "int";
                _LUTInterval2.control = "System.Windows.Forms.NumericUpDown";
                _LUTInterval2.text    = "Lut Interval2";
                _LUTInterval2.min     = 0;
                _LUTInterval2.max     = 255;

                _LUTOffset         = new IVLControlProperties();
                _LUTOffset.name    = "LUTOffset";
                _LUTOffset.val     = "0";
                _LUTOffset.type    = "int";
                _LUTOffset.control = "System.Windows.Forms.NumericUpDown";
                _LUTOffset.text    = "Lut Offset";
                _LUTOffset.min     = 0;
                _LUTOffset.max     = 255;
            }
            catch (Exception ex)
            {
                Common.ExceptionLogWriter.WriteLog(ex, Exception_Log);
            }
        }
        public VignattingSettings()
        {
            try
            {
                _IsApplyVignatting         = new IVLControlProperties();
                _IsApplyVignatting.name    = "isApplyVignatting";
                _IsApplyVignatting.val     = false.ToString();
                _IsApplyVignatting.type    = "bool";
                _IsApplyVignatting.control = "System.Windows.Forms.RadioButton";
                _IsApplyVignatting.text    = "Apply Vignatting";

                _ApplyLiveParabola         = new IVLControlProperties();
                _ApplyLiveParabola.name    = "ApplyLiveParabola";
                _ApplyLiveParabola.val     = false.ToString();
                _ApplyLiveParabola.type    = "bool";
                _ApplyLiveParabola.control = "System.Windows.Forms.RadioButton";
                _ApplyLiveParabola.text    = "Apply Live Parabola";

                _VignattingRadiusLive         = new IVLControlProperties();
                _VignattingRadiusLive.name    = "VignattingRadiusLive";
                _VignattingRadiusLive.val     = "800";
                _VignattingRadiusLive.type    = "int";
                _VignattingRadiusLive.control = "System.Windows.Forms.NumericUpDown";
                _VignattingRadiusLive.text    = "Vignatting Radius Live";

                _VignattingRadiusPostProcessing         = new IVLControlProperties();
                _VignattingRadiusPostProcessing.name    = "VignattingRadiusPostProcessing";
                _VignattingRadiusPostProcessing.val     = "1000";
                _VignattingRadiusPostProcessing.type    = "int";
                _VignattingRadiusPostProcessing.control = "System.Windows.Forms.NumericUpDown";
                _VignattingRadiusPostProcessing.text    = "Vignatting Radius Post Processing";

                _VignattingPercentageFactorLive         = new IVLControlProperties();
                _VignattingPercentageFactorLive.name    = "VignattingPercentageFactorLive";
                _VignattingPercentageFactorLive.val     = "0.9";
                _VignattingPercentageFactorLive.type    = "float";
                _VignattingPercentageFactorLive.control = "System.Windows.Forms.NumericUpDown";
                _VignattingPercentageFactorLive.text    = "Vignatting Percentage Factor Live";

                _VignattingPercentageFactorPostProcessing         = new IVLControlProperties();
                _VignattingPercentageFactorPostProcessing.name    = "VignattingPercentageFactorPostProcessing";
                _VignattingPercentageFactorPostProcessing.val     = "1.0";
                _VignattingPercentageFactorPostProcessing.type    = "float";
                _VignattingPercentageFactorPostProcessing.control = "System.Windows.Forms.NumericUpDown";
                _VignattingPercentageFactorPostProcessing.text    = "Vignatting Percentage Factor Post Processing";
            }
            catch (Exception ex)
            {
                Common.ExceptionLogWriter.WriteLog(ex, Exception_Log);
            }
        }
Example #15
0
        public static void setValueIterate(PropertyInfo[] p, string key, string val, object obj)
        {
            object obj1 = obj;

            for (int i = 0; i < p.Length; i++)
            {
                obj = p[i].GetValue(obj1);
                IVLControlProperties ctrlProp = obj as IVLControlProperties;
                if (ctrlProp.text == key)
                {
                    ctrlProp.val = val.ToString();
                    break;
                }
            }
        }
Example #16
0
        public void addBranchL(PropertyInfo[] branch, string parentName, int iLevel, Control c, object obj)
        {
            object     obj1 = obj;
            XmlLeaf_UC node = new XmlLeaf_UC(parentName, null, parentName, iLevel + 1, 0, 100000);

            node.Left = hIndent + 5 * (iLevel + 1);
            node.Top  = vIndent;
            c.Controls.Add(node);
            vIndent += 30;
            for (int i = 0; i < branch.Length; i++)
            {
                obj = branch[i].GetValue(obj1);
                IVLControlProperties controlProperties = obj as IVLControlProperties;
                addLeaf(controlProperties, iLevel, parentName, c);
            }
        }
        public UnsharpMaskSettings()
        {
            _IsApplyUnsharpSettings         = new IVLControlProperties();
            _IsApplyUnsharpSettings.name    = "IsApplyUnsharpSettings";
            _IsApplyUnsharpSettings.val     = true.ToString();
            _IsApplyUnsharpSettings.type    = "bool";
            _IsApplyUnsharpSettings.control = "System.Windows.Forms.RadioButton";
            _IsApplyUnsharpSettings.text    = "Apply Unsharp Settings";

            _UnSharpAmount         = new IVLControlProperties();
            _UnSharpAmount.name    = "UnSharpAmount";
            _UnSharpAmount.val     = "0.5";
            _UnSharpAmount.type    = "float";
            _UnSharpAmount.control = "System.Windows.Forms.NumericUpDown";
            _UnSharpAmount.text    = "UnSharp Amount";
            _UnSharpAmount.min     = 0;
            _UnSharpAmount.max     = 10;

            _UnSharpRadius         = new IVLControlProperties();
            _UnSharpRadius.name    = "UnSharpAmount";
            _UnSharpRadius.val     = "9";
            _UnSharpRadius.type    = "int";
            _UnSharpRadius.control = "System.Windows.Forms.NumericUpDown";
            _UnSharpRadius.text    = "UnSharp Radius";
            _UnSharpRadius.min     = 0;
            _UnSharpRadius.max     = 255;

            _Threshold         = new IVLControlProperties();
            _Threshold.name    = "Threshold";
            _Threshold.val     = "40";
            _Threshold.type    = "int";
            _Threshold.control = "System.Windows.Forms.NumericUpDown";
            _Threshold.text    = "Threshold";
            _Threshold.min     = 0;
            _Threshold.max     = 255;

            _MedFilter         = new IVLControlProperties();
            _MedFilter.name    = "MedFilter";
            _MedFilter.val     = "7";
            _MedFilter.type    = "int";
            _MedFilter.control = "System.Windows.Forms.NumericUpDown";
            _MedFilter.text    = "Threshold";
            _MedFilter.min     = 1;
            _MedFilter.max     = 255;
        }
        public LutSettings()
        {
            _IsApplyLutSettings         = new IVLControlProperties();
            _IsApplyLutSettings.name    = "IsApplyLutSettings";
            _IsApplyLutSettings.val     = true.ToString();
            _IsApplyLutSettings.type    = "bool";
            _IsApplyLutSettings.control = "System.Windows.Forms.RadioButton";
            _IsApplyLutSettings.text    = "Apply Lut";

            _LUTSineFactor         = new IVLControlProperties();
            _LUTSineFactor.name    = "LUTSineFactor";
            _LUTSineFactor.val     = "40";
            _LUTSineFactor.type    = "int";
            _LUTSineFactor.control = "System.Windows.Forms.NumericUpDown";
            _LUTSineFactor.text    = "LutSine Factor";
            _LUTSineFactor.min     = 0;
            _LUTSineFactor.max     = 255;

            _LUTInterval1         = new IVLControlProperties();
            _LUTInterval1.name    = "LUTInterval1";
            _LUTInterval1.val     = "50";
            _LUTInterval1.type    = "int";
            _LUTInterval1.control = "System.Windows.Forms.NumericUpDown";
            _LUTInterval1.text    = "Lut Interval1";
            _LUTInterval1.min     = 0;
            _LUTInterval1.max     = 255;

            _LUTInterval2         = new IVLControlProperties();
            _LUTInterval2.name    = "LUTInterval2";
            _LUTInterval2.val     = "170";
            _LUTInterval2.type    = "int";
            _LUTInterval2.control = "System.Windows.Forms.NumericUpDown";
            _LUTInterval2.text    = "Lut Interval2";
            _LUTInterval2.min     = 0;
            _LUTInterval2.max     = 255;

            _LUTOffset         = new IVLControlProperties();
            _LUTOffset.name    = "LUTOffset";
            _LUTOffset.val     = "25";
            _LUTOffset.type    = "int";
            _LUTOffset.control = "System.Windows.Forms.NumericUpDown";
            _LUTOffset.text    = "Lut Offset";
            _LUTOffset.min     = 0;
            _LUTOffset.max     = 255;
        }
Example #19
0
        public void addBranchL(FieldInfo[] branch, string parentName, int iLevel, Control c, object obj)
        {
            XmlLeaf_UC tmp = new XmlLeaf_UC(parentName, null, parentName, iLevel, 0, 100000);

            tmp.Left = hIndent + (iLevel - 1) * 30;
            tmp.Top  = vIndent;
            c.Controls.Add(tmp);
            vIndent += 30;
            object obj1 = obj;

            for (int i = 0; i < branch.Length; i++)
            {
                if (!branch[i].FieldType.Name.Equals("IVLControlProperties"))
                {
                    temp = branch[i].FieldType.GetFields(System.Reflection.BindingFlags.Public | BindingFlags.Instance);
                    if (temp.Length == 0)
                    {
                        PropertyInfo[] pinf = branch[i].FieldType.GetProperties(System.Reflection.BindingFlags.Public | BindingFlags.Instance);
                        try
                        {
                            obj = branch[i].GetValue(obj1);
                        }
                        catch (Exception ex)
                        {
                            throw;
                        }

                        string[] strArr = branch[i].Name.Split('.');
                        addBranchL(pinf, strArr[0], iLevel, c, obj);
                    }
                    else if (temp.Length > 0)
                    {
                        addBranchL(temp, branch[i].Name, iLevel + 1, c, obj);
                    }
                }
                else
                {
                    obj = branch[i].GetValue(obj1);
                    IVLControlProperties controlProperties = obj as IVLControlProperties;
                    addLeaf(controlProperties, iLevel, parentName, c);
                }
            }
        }
Example #20
0
 public PrinterSettings()
 {
     try
     {
         _adobePrintDelay         = new IVLControlProperties();
         _adobePrintDelay.name    = "adobePrintDelay";
         _adobePrintDelay.val     = "20000";
         _adobePrintDelay.type    = "int";
         _adobePrintDelay.control = "System.Windows.Forms.NumericUpDown";
         _adobePrintDelay.text    = "Adobe Print Delay";
         _adobePrintDelay.min     = 10000;
         _adobePrintDelay.max     = 30000;
         _adobePrintDelay.range   = _adobePrintDelay.min.ToString() + " to " + _adobePrintDelay.max.ToString();
     }
     catch (Exception ex)
     {
         Common.ExceptionLogWriter.WriteLog(ex, Exception_Log);
     }
 }
Example #21
0
        public EmailSettings()
        {
            EmailReplyToList         = new IVLControlProperties();
            EmailReplyToList.name    = "emailReplyToList";
            EmailReplyToList.val     = "";
            EmailReplyToList.type    = "string";
            EmailReplyToList.control = "System.Windows.Forms.TextBox";
            EmailReplyToList.text    = "Email Reply To List";
            EmailReplyToList.length  = 100000;

            EmailToList         = new IVLControlProperties();
            EmailToList.name    = "emailToList";
            EmailToList.val     = "[email protected];";
            EmailToList.type    = "string";
            EmailToList.control = "System.Windows.Forms.TextBox";
            EmailToList.text    = "Email To List";
            EmailToList.length  = 100000;

            EmailCCList         = new IVLControlProperties();
            EmailCCList.name    = "emailCCList";
            EmailCCList.val     = "";
            EmailCCList.type    = "string";
            EmailCCList.control = "System.Windows.Forms.TextBox";
            EmailCCList.text    = "Email CC List";
            EmailCCList.length  = 100000;

            EmailBCCList         = new IVLControlProperties();
            EmailBCCList.name    = "emailBCCList";
            EmailBCCList.val     = "";
            EmailBCCList.type    = "string";
            EmailBCCList.control = "System.Windows.Forms.TextBox";
            EmailBCCList.text    = "Email BCC List";
            EmailBCCList.length  = 100000;

            ShowEmailWindow         = new IVLControlProperties();
            ShowEmailWindow.name    = "showEmailWindow";
            ShowEmailWindow.val     = "true";
            ShowEmailWindow.type    = "bool";
            ShowEmailWindow.control = "System.Windows.Forms.RadioButton";
            ShowEmailWindow.text    = "Show Email Window";
        }
        public MaskSettings()
        {
            try
            {
                _MaskWidth         = new IVLControlProperties();
                _MaskWidth.name    = "maskWidth";
                _MaskWidth.val     = "2000";
                _MaskWidth.type    = "int";
                _MaskWidth.control = "System.Windows.Forms.NumericUpDown";
                _MaskWidth.text    = "Mask Width";
                _MaskWidth.min     = 1;
                _MaskWidth.max     = 10000;

                _MaskHeight         = new IVLControlProperties();
                _MaskHeight.name    = "maskHeight";
                _MaskHeight.val     = "2000";
                _MaskHeight.type    = "int";
                _MaskHeight.control = "System.Windows.Forms.NumericUpDown";
                _MaskHeight.text    = "Mask Height";
                _MaskHeight.min     = 1;
                _MaskHeight.max     = 10000;

                _IsApplyMask         = new IVLControlProperties();
                _IsApplyMask.name    = "isApplyMask";
                _IsApplyMask.val     = false.ToString();
                _IsApplyMask.type    = "bool";
                _IsApplyMask.control = "System.Windows.Forms.RadioButton";
                _IsApplyMask.text    = "Apply Mask";

                _ApplyLiveMask         = new IVLControlProperties();
                _ApplyLiveMask.name    = "ApplyLiveMask";
                _ApplyLiveMask.val     = false.ToString();
                _ApplyLiveMask.type    = "bool";
                _ApplyLiveMask.control = "System.Windows.Forms.RadioButton";
                _ApplyLiveMask.text    = "Apply Live Mask";
            }
            catch (Exception ex)
            {
                Common.ExceptionLogWriter.WriteLog(ex, Exception_Log);
            }
        }
        public MaskSettings()
        {
            _MaskWidth         = new IVLControlProperties();
            _MaskWidth.name    = "maskWidth";
            _MaskWidth.val     = "2400";
            _MaskWidth.type    = "int";
            _MaskWidth.control = "System.Windows.Forms.NumericUpDown";
            _MaskWidth.text    = "Mask Width";
            _MaskWidth.min     = 1;
            _MaskWidth.max     = 10000;

            _MaskHeight         = new IVLControlProperties();
            _MaskHeight.name    = "maskHeight";
            _MaskHeight.val     = "2400";
            _MaskHeight.type    = "int";
            _MaskHeight.control = "System.Windows.Forms.NumericUpDown";
            _MaskHeight.text    = "Mask Height";
            _MaskHeight.min     = 1;
            _MaskHeight.max     = 10000;

            _IsApplyMask         = new IVLControlProperties();
            _IsApplyMask.name    = "isApplyMask";
            _IsApplyMask.val     = false.ToString();
            _IsApplyMask.type    = "bool";
            _IsApplyMask.control = "System.Windows.Forms.RadioButton";
            _IsApplyMask.text    = "Apply Mask";

            _ApplyLogo         = new IVLControlProperties();
            _ApplyLogo.name    = "ApplyLogo";
            _ApplyLogo.val     = false.ToString();
            _ApplyLogo.type    = "bool";
            _ApplyLogo.control = "System.Windows.Forms.RadioButton";
            _ApplyLogo.text    = "Apply Logo";

            _ApplyLiveMask         = new IVLControlProperties();
            _ApplyLiveMask.name    = "ApplyLiveMask";
            _ApplyLiveMask.val     = false.ToString();
            _ApplyLiveMask.type    = "bool";
            _ApplyLiveMask.control = "System.Windows.Forms.RadioButton";
            _ApplyLiveMask.text    = "Apply Live Mask";
        }
Example #24
0
 public void traverseControlProperties(PropertyInfo[] pinf, object obj)
 {
     for (int i = 0; i < pinf.Length; i++)
     {
         try
         {
             obj = pinf[i].GetValue(obj);
             IVLControlProperties ctrlProp = obj as IVLControlProperties;
             string controlPropertyLabel   = ctrlProp.name.Replace(" ", "");
             controlPropertyLabel = controlPropertyLabel.ToLower();
             TraveseDicNodes(controlPropertyLabel, XmlReadWrite.dic);
             //if (controlPropertyLabel == currentItem.Key.ToLower())
             {
                 ctrlProp.val = currentItem.Value.ToString();
                 pinf[i].SetValue(obj, ctrlProp);
             }
         }
         catch (Exception ex)
         {
             throw;
         }
     }
 }
        public ImageNameSettings()
        {
            ChangeImageName         = new IVLControlProperties();
            ChangeImageName.name    = "ChangeImageName";
            ChangeImageName.type    = "bool";
            ChangeImageName.val     = false.ToString();
            ChangeImageName.control = "System.Windows.Forms.RadioButton";
            ChangeImageName.text    = "Change Image Name";

            IsMRNPresent         = new IVLControlProperties();
            IsMRNPresent.name    = "IsMRNPresent";
            IsMRNPresent.type    = "bool";
            IsMRNPresent.val     = false.ToString();
            IsMRNPresent.control = "System.Windows.Forms.RadioButton";
            IsMRNPresent.text    = "Is MRN Present ";

            IsFirstNamePresent         = new IVLControlProperties();
            IsFirstNamePresent.name    = "IsFirstNamePresent";
            IsFirstNamePresent.type    = "bool";
            IsFirstNamePresent.val     = false.ToString();
            IsFirstNamePresent.control = "System.Windows.Forms.RadioButton";
            IsFirstNamePresent.text    = "Is First Name Present";

            IsLastNamePresent         = new IVLControlProperties();
            IsLastNamePresent.name    = "IsLastNamePresent";
            IsLastNamePresent.type    = "bool";
            IsLastNamePresent.val     = false.ToString();
            IsLastNamePresent.control = "System.Windows.Forms.RadioButton";
            IsLastNamePresent.text    = "Is Last Name Present";

            IsEyeSidePresent         = new IVLControlProperties();
            IsEyeSidePresent.name    = "IsEyeSidePresent";
            IsEyeSidePresent.type    = "bool";
            IsEyeSidePresent.val     = false.ToString();
            IsEyeSidePresent.control = "System.Windows.Forms.RadioButton";
            IsEyeSidePresent.text    = "Is Eye Side Present";
        }
        public ClaheSettings()
        {
            _IsApplyClaheSettings         = new IVLControlProperties();
            _IsApplyClaheSettings.name    = "isApplyClaheSettings";
            _IsApplyClaheSettings.val     = true.ToString();
            _IsApplyClaheSettings.type    = "bool";
            _IsApplyClaheSettings.control = "System.Windows.Forms.RadioButton";
            _IsApplyClaheSettings.text    = "Apply Clahe";

            _ClipValueR         = new IVLControlProperties();
            _ClipValueR.name    = "ClipValueR";
            _ClipValueR.val     = "0.0002";
            _ClipValueR.type    = "float";
            _ClipValueR.control = "System.Windows.Forms.NumericUpDown";
            _ClipValueR.text    = "Clip Value Red";
            _ClipValueR.min     = 0;
            _ClipValueR.max     = 1;

            _ClipValueG         = new IVLControlProperties();
            _ClipValueG.name    = "ClipValueG";
            _ClipValueG.val     = "0.0002";
            _ClipValueG.type    = "float";
            _ClipValueG.control = "System.Windows.Forms.NumericUpDown";
            _ClipValueG.text    = "Clip Value Green";
            _ClipValueG.min     = 0;
            _ClipValueG.max     = 1;


            _ClipValueB         = new IVLControlProperties();
            _ClipValueB.name    = "ClipValueB";
            _ClipValueB.val     = "0.0002";
            _ClipValueB.type    = "float";
            _ClipValueB.control = "System.Windows.Forms.NumericUpDown";
            _ClipValueB.text    = "Clip Value Blue";
            _ClipValueB.min     = 0;
            _ClipValueB.max     = 1;
        }
Example #27
0
        public CameraSettings()
        {
            DeviceID         = new IVLControlProperties();
            DeviceID.name    = "DeviceID";
            DeviceID.type    = "string";
            DeviceID.val     = "";
            DeviceID.control = "System.Windows.Forms.TextBox";
            DeviceID.text    = "Device ID";
            DeviceID.length  = 16;
            DeviceID.range   = "Eg:03-1706-011";

            _CameraModel         = new IVLControlProperties();
            _CameraModel.name    = "CameraModel";
            _CameraModel.type    = "string";
            _CameraModel.val     = "C";
            _CameraModel.control = "System.Windows.Forms.ComboBox";
            _CameraModel.text    = "Camera Model";
            _CameraModel.range   = "A,B,C,D";


            _SaveFramesCount         = new IVLControlProperties();
            _SaveFramesCount.name    = "SaveFramesCount";
            _SaveFramesCount.val     = "8";
            _SaveFramesCount.type    = "int";
            _SaveFramesCount.control = "System.Windows.Forms.NumericUpDown";
            _SaveFramesCount.text    = "Save Frames Count";
            _SaveFramesCount.min     = 1;
            _SaveFramesCount.max     = 30;


            _DarkFrameDetectionValue         = new IVLControlProperties();
            _DarkFrameDetectionValue.name    = "DarkFrameDetectionValue";
            _DarkFrameDetectionValue.val     = "100";
            _DarkFrameDetectionValue.type    = "int";
            _DarkFrameDetectionValue.control = "System.Windows.Forms.NumericUpDown";
            _DarkFrameDetectionValue.text    = "Dark FrameDetection Value";
            _DarkFrameDetectionValue.min     = 1;
            _DarkFrameDetectionValue.max     = 255;

            _MotorPositiveColor         = new IVLControlProperties();
            _MotorPositiveColor.name    = "_MotorPositiveColor";
            _MotorPositiveColor.type    = "string";
            _MotorPositiveColor.val     = "Blue";
            _MotorPositiveColor.control = "System.Windows.Forms.ComboBox";
            _MotorPositiveColor.text    = "Motor Positive Color";
            _MotorPositiveColor.range   = "Aqua,Blue,Black,Cyan,Red,DarkBlue,Green,Grey,Khaki,LimeGreen,YellowGreen";

            _MotorNegativeColor         = new IVLControlProperties();
            _MotorNegativeColor.name    = "_MotorNegativeColor";
            _MotorNegativeColor.type    = "string";
            _MotorNegativeColor.val     = "YellowGreen";
            _MotorNegativeColor.control = "System.Windows.Forms.ComboBox";
            _MotorNegativeColor.text    = "Motor Negative Color";
            _MotorNegativeColor.range   = "Aqua,Blue,Black,Cyan,Red,DarkBlue,Green,Grey,Khaki,LimeGreen,YellowGreen";

            _ImageWidth         = new IVLControlProperties();
            _ImageWidth.name    = "ImageWidth";
            _ImageWidth.val     = "2048";
            _ImageWidth.type    = "int";
            _ImageWidth.control = "System.Windows.Forms.NumericUpDown";
            _ImageWidth.text    = "Image Width";
            _ImageWidth.min     = 1;
            _ImageWidth.max     = 10000;

            _ImageHeight         = new IVLControlProperties();
            _ImageHeight.name    = "ImageHeight";
            _ImageHeight.val     = "1536";
            _ImageHeight.type    = "int";
            _ImageHeight.control = "System.Windows.Forms.NumericUpDown";
            _ImageHeight.text    = "Image Height";
            _ImageHeight.min     = 1;
            _ImageHeight.max     = 10000;

            _KnobIndexDifferenceValue         = new IVLControlProperties();
            _KnobIndexDifferenceValue.name    = "KnobIndexDifferenceValue";
            _KnobIndexDifferenceValue.val     = "23";
            _KnobIndexDifferenceValue.type    = "int";
            _KnobIndexDifferenceValue.control = "System.Windows.Forms.NumericUpDown";
            _KnobIndexDifferenceValue.text    = "KnobIndex Difference Value";
            _KnobIndexDifferenceValue.min     = 1;
            _KnobIndexDifferenceValue.max     = 43;

            _ResumeLiveCnt         = new IVLControlProperties();
            _ResumeLiveCnt.name    = "ResumeLiveCnt";
            _ResumeLiveCnt.val     = "3";
            _ResumeLiveCnt.type    = "int";
            _ResumeLiveCnt.control = "System.Windows.Forms.NumericUpDown";
            _ResumeLiveCnt.text    = "Resume Live Count";
            _ResumeLiveCnt.min     = 1;
            _ResumeLiveCnt.max     = 10;

            _Temperature         = new IVLControlProperties();
            _Temperature.name    = "Temperature";
            _Temperature.val     = "6500";
            _Temperature.type    = "int";
            _Temperature.control = "System.Windows.Forms.NumericUpDown";
            _Temperature.text    = "Temperature";;
            _Temperature.min     = 2500;
            _Temperature.max     = 15000;

            _Tint         = new IVLControlProperties();
            _Tint.name    = "tint";
            _Tint.val     = "1000";
            _Tint.type    = "int";
            _Tint.control = "System.Windows.Forms.NumericUpDown";
            _Tint.text    = "Tint";
            _Tint.min     = 650;
            _Tint.max     = 5000;

            _presetGain         = new IVLControlProperties();
            _presetGain.name    = "presetGain";
            _presetGain.val     = "180";
            _presetGain.type    = "int";
            _presetGain.control = "System.Windows.Forms.NumericUpDown";
            _presetGain.text    = "Preset Gain";
            _presetGain.min     = 1;
            _presetGain.max     = 5000;

            _DigitalGain         = new IVLControlProperties();
            _DigitalGain.name    = "digitalGain";
            _DigitalGain.val     = "23";
            _DigitalGain.type    = "int";
            _DigitalGain.control = "System.Windows.Forms.NumericUpDown";
            _DigitalGain.text    = "Digital Gain";
            _DigitalGain.min     = -5000;
            _DigitalGain.max     = 5000;

            _LiveDigitalGain         = new IVLControlProperties();
            _LiveDigitalGain.name    = "LiveDigitalGain";
            _LiveDigitalGain.val     = "23";
            _LiveDigitalGain.type    = "int";
            _LiveDigitalGain.control = "System.Windows.Forms.NumericUpDown";
            _LiveDigitalGain.text    = "Live Digital Gain";
            _LiveDigitalGain.min     = -5000;
            _LiveDigitalGain.max     = 5000;

            _Exposure         = new IVLControlProperties();
            _Exposure.name    = "Exposure";
            _Exposure.val     = "77376";
            _Exposure.type    = "int";
            _Exposure.control = "System.Windows.Forms.NumericUpDown";
            _Exposure.text    = "Exposure";
            _Exposure.min     = 2500;
            _Exposure.max     = 300000;

            _FlashExposure         = new IVLControlProperties();
            _FlashExposure.name    = "FlashExposure";
            _FlashExposure.val     = "77376";
            _FlashExposure.type    = "int";
            _FlashExposure.control = "System.Windows.Forms.NumericUpDown";
            _FlashExposure.text    = "Flash Exposure";
            _FlashExposure.min     = 2500;
            _FlashExposure.max     = 300000;

            _exposureIndex         = new IVLControlProperties();
            _exposureIndex.name    = "exposureIndex";
            _exposureIndex.val     = "63";
            _exposureIndex.type    = "int";
            _exposureIndex.control = "System.Windows.Forms.NumericUpDown";
            _exposureIndex.text    = "Exposure Index";
            _exposureIndex.min     = 0;
            _exposureIndex.max     = 63;

            _Saturation         = new IVLControlProperties();
            _Saturation.name    = "Saturation";
            _Saturation.val     = "110";
            _Saturation.type    = "int";
            _Saturation.control = "System.Windows.Forms.NumericUpDown";
            _Saturation.text    = "Saturation";

            _ImageOpticalCentreX         = new IVLControlProperties();
            _ImageOpticalCentreX.name    = "ImageOpticalCentreX";
            _ImageOpticalCentreX.val     = "1024";
            _ImageOpticalCentreX.type    = "int";
            _ImageOpticalCentreX.control = "System.Windows.Forms.NumericUpDown";
            _ImageOpticalCentreX.text    = "Image Optical CentreX";
            _ImageOpticalCentreX.min     = 1;
            _ImageOpticalCentreX.max     = 10000;

            _ImageOpticalCentreY         = new IVLControlProperties();
            _ImageOpticalCentreY.name    = "ImageOpticalCentreY";
            _ImageOpticalCentreY.val     = "768";
            _ImageOpticalCentreY.type    = "int";
            _ImageOpticalCentreY.control = "System.Windows.Forms.NumericUpDown";
            _ImageOpticalCentreY.text    = "Image Optical CentreY";
            _ImageOpticalCentreY.min     = 1;
            _ImageOpticalCentreY.max     = 10000;

            _ImageROIY         = new IVLControlProperties();
            _ImageROIY.name    = "ImageROIY";
            _ImageROIY.val     = "0";
            _ImageROIY.type    = "int";
            _ImageROIY.control = "System.Windows.Forms.NumericUpDown";
            _ImageROIY.text    = "Image ROI Y";
            _ImageROIY.min     = 0;
            _ImageROIY.max     = 10000;

            _ImageROIX         = new IVLControlProperties();
            _ImageROIX.name    = "ImageROIX";
            _ImageROIX.val     = "0";
            _ImageROIX.type    = "int";
            _ImageROIX.control = "System.Windows.Forms.NumericUpDown";
            _ImageROIX.text    = "Image ROI X";
            _ImageROIX.min     = 0;
            _ImageROIX.max     = 10000;

            _LiveGainDefault         = new IVLControlProperties();
            _LiveGainDefault.name    = "LiveGainDefault";
            _LiveGainDefault.val     = "Low";
            _LiveGainDefault.type    = "int";
            _LiveGainDefault.control = "System.Windows.Forms.ComboBox";
            _LiveGainDefault.text    = " Live Gain Default";
            _LiveGainDefault.range   = "Low,Medium,High";

            LiveCurrentGainLevel         = new IVLControlProperties();
            LiveCurrentGainLevel.name    = "LiveCurrentGainLevel";
            LiveCurrentGainLevel.val     = "Low";
            LiveCurrentGainLevel.type    = "int";
            LiveCurrentGainLevel.control = "System.Windows.Forms.ComboBox";
            LiveCurrentGainLevel.text    = " Live Current Gain Level";
            LiveCurrentGainLevel.range   = "Low,Medium,High";



            _LiveGainLow         = new IVLControlProperties();
            _LiveGainLow.name    = "LiveGainLow";
            _LiveGainLow.val     = "100";
            _LiveGainLow.type    = "int";
            _LiveGainLow.control = "System.Windows.Forms.NumericUpDown";
            _LiveGainLow.text    = " Live Low Gain";
            _LiveGainLow.min     = 100;
            _LiveGainLow.max     = 5000;

            _LiveGainMedium         = new IVLControlProperties();
            _LiveGainMedium.name    = "LiveGainMedium";
            _LiveGainMedium.val     = "300";
            _LiveGainMedium.type    = "int";
            _LiveGainMedium.control = "System.Windows.Forms.NumericUpDown";
            _LiveGainMedium.text    = "Live Medium Gain";
            _LiveGainMedium.min     = 100;
            _LiveGainMedium.max     = 5000;

            _LiveGainHigh         = new IVLControlProperties();
            _LiveGainHigh.name    = "LiveGainHigh";
            _LiveGainHigh.val     = "400";
            _LiveGainHigh.type    = "int";
            _LiveGainHigh.control = "System.Windows.Forms.NumericUpDown";
            _LiveGainHigh.text    = "Live High Gain";
            _LiveGainHigh.min     = 100;
            _LiveGainHigh.max     = 5000;

            _DigitalGainDefault         = new IVLControlProperties();
            _DigitalGainDefault.name    = "DigitalGainDefault";
            _DigitalGainDefault.val     = "Low";
            _DigitalGainDefault.type    = "int";
            _DigitalGainDefault.control = "System.Windows.Forms.ComboBox";
            _DigitalGainDefault.text    = " Digital Gain Default";
            _DigitalGainDefault.range   = "Low,Medium,High";

            CaptureCurrentGainLevel         = new IVLControlProperties();
            CaptureCurrentGainLevel.name    = "CaptureCurrentGainLevel";
            CaptureCurrentGainLevel.val     = "Low";
            CaptureCurrentGainLevel.type    = "int";
            CaptureCurrentGainLevel.control = "System.Windows.Forms.ComboBox";
            CaptureCurrentGainLevel.text    = " Capture Current Gain Level";
            CaptureCurrentGainLevel.range   = "Low,Medium,High";

            _DigitalGainLow         = new IVLControlProperties();
            _DigitalGainLow.name    = "DigitalGainLow";
            _DigitalGainLow.val     = "300";
            _DigitalGainLow.type    = "int";
            _DigitalGainLow.control = "System.Windows.Forms.NumericUpDown";
            _DigitalGainLow.text    = "Digital Low Gain";
            _DigitalGainLow.min     = 100;
            _DigitalGainLow.max     = 5000;

            _DigitalGainMedium         = new IVLControlProperties();
            _DigitalGainMedium.name    = "DigitalGainMedium";
            _DigitalGainMedium.val     = "400";
            _DigitalGainMedium.type    = "int";
            _DigitalGainMedium.control = "System.Windows.Forms.NumericUpDown";
            _DigitalGainMedium.text    = "Digital Medium Gain";
            _DigitalGainMedium.min     = 100;
            _DigitalGainMedium.max     = 5000;

            _DigitalGainHigh         = new IVLControlProperties();
            _DigitalGainHigh.name    = "DigitalGainHigh";
            _DigitalGainHigh.val     = "500";
            _DigitalGainHigh.type    = "int";
            _DigitalGainHigh.control = "System.Windows.Forms.NumericUpDown";
            _DigitalGainHigh.text    = "Digital High Gain";
            _DigitalGainHigh.min     = 100;
            _DigitalGainHigh.max     = 5000;

            IsContinousCapture         = new IVLControlProperties();
            IsContinousCapture.name    = "IsContinousCapture";
            IsContinousCapture.val     = false.ToString();
            IsContinousCapture.type    = "bool";
            IsContinousCapture.control = "System.Windows.Forms.RadioButton";
            IsContinousCapture.text    = "Is Continous Capture";

            EnableMonoChromeMode         = new IVLControlProperties();
            EnableMonoChromeMode.name    = "EnableMonoChromeMode";
            EnableMonoChromeMode.val     = false.ToString();
            EnableMonoChromeMode.type    = "bool";
            EnableMonoChromeMode.control = "System.Windows.Forms.RadioButton";
            EnableMonoChromeMode.text    = "Enable Mono Chrome Mode";


            _Enable14Bit         = new IVLControlProperties();
            _Enable14Bit.name    = "Enable14Bit";
            _Enable14Bit.val     = false.ToString();
            _Enable14Bit.type    = "bool";
            _Enable14Bit.control = "System.Windows.Forms.RadioButton";
            _Enable14Bit.text    = "Enable 14Bit";

            _EnableWB         = new IVLControlProperties();
            _EnableWB.name    = "EnableWB";
            _EnableWB.val     = false.ToString();
            _EnableWB.type    = "bool";
            _EnableWB.control = "System.Windows.Forms.RadioButton";
            _EnableWB.text    = "Enable WB";

            EnableCC         = new IVLControlProperties();
            EnableCC.name    = "EnableCC";
            EnableCC.val     = false.ToString();
            EnableCC.type    = "bool";
            EnableCC.control = "System.Windows.Forms.RadioButton";
            EnableCC.text    = "Enable CC";

            _EnableVerticalFlip         = new IVLControlProperties();
            _EnableVerticalFlip.name    = "EnableVerticalFlip";
            _EnableVerticalFlip.val     = false.ToString();
            _EnableVerticalFlip.type    = "bool";
            _EnableVerticalFlip.control = "System.Windows.Forms.RadioButton";
            _EnableVerticalFlip.text    = "Enable Vertical Flip";

            _EnableHorizontalFlip         = new IVLControlProperties();
            _EnableHorizontalFlip.name    = "EnableHorizontalFlip";
            _EnableHorizontalFlip.val     = false.ToString();
            _EnableHorizontalFlip.type    = "bool";
            _EnableHorizontalFlip.control = "System.Windows.Forms.RadioButton";
            _EnableHorizontalFlip.text    = "Enable Horizontal Flip";

            _EnableRawMode         = new IVLControlProperties();
            _EnableRawMode.name    = "EnableRawMode";
            _EnableRawMode.val     = false.ToString();//for prime and ffa by dashan
            _EnableRawMode.type    = "bool";
            _EnableRawMode.control = "System.Windows.Forms.RadioButton";
            _EnableRawMode.text    = "Enable Raw Mode";

            _ResumeLabelVisible         = new IVLControlProperties();
            _ResumeLabelVisible.name    = "ResumeLabelVisible";
            _ResumeLabelVisible.val     = true.ToString();
            _ResumeLabelVisible.type    = "bool";
            _ResumeLabelVisible.control = "System.Windows.Forms.RadioButton";
            _ResumeLabelVisible.text    = "Resume Label Visible";

            _ShowCaptureFailure         = new IVLControlProperties();
            _ShowCaptureFailure.name    = "ShowCaptureFailure";
            _ShowCaptureFailure.val     = true.ToString();
            _ShowCaptureFailure.type    = "bool";
            _ShowCaptureFailure.control = "System.Windows.Forms.RadioButton";
            _ShowCaptureFailure.text    = "Show Capture Failure";

            _FrameDetectionValue         = new IVLControlProperties();
            _FrameDetectionValue.name    = "FrameDetectionValue";
            _FrameDetectionValue.val     = "2.5";
            _FrameDetectionValue.type    = "float";
            _FrameDetectionValue.control = "System.Windows.Forms.NumericUpDown";
            _FrameDetectionValue.text    = "Frame Detection Value";
            _FrameDetectionValue.min     = 1;
            _FrameDetectionValue.max     = 100;

            _IRTemperature         = new IVLControlProperties();
            _IRTemperature.name    = "IRTemperature";
            _IRTemperature.val     = "6500";
            _IRTemperature.type    = "int";
            _IRTemperature.control = "System.Windows.Forms.NumericUpDown";
            _IRTemperature.text    = "IR Temperature";
            _IRTemperature.min     = 2000;
            _IRTemperature.max     = 15000;

            _FlashTemperature         = new IVLControlProperties();
            _FlashTemperature.name    = "FlashTemperature";
            _FlashTemperature.val     = "6500";
            _FlashTemperature.type    = "int";
            _FlashTemperature.control = "System.Windows.Forms.NumericUpDown";
            _FlashTemperature.text    = "Flash Temperature";
            _FlashTemperature.min     = 2000;
            _FlashTemperature.max     = 15000;

            _IRTint         = new IVLControlProperties();
            _IRTint.name    = "IRTint";
            _IRTint.val     = "1200";
            _IRTint.type    = "int";
            _IRTint.control = "System.Windows.Forms.NumericUpDown";
            _IRTint.text    = "IR Tint ";
            _IRTint.min     = 200;
            _IRTint.max     = 2500;

            _FlashTint         = new IVLControlProperties();
            _FlashTint.name    = "FlashTint";
            _FlashTint.val     = "1200";
            _FlashTint.type    = "int";
            _FlashTint.control = "System.Windows.Forms.NumericUpDown";
            _FlashTint.text    = "Flash Tint ";
            _FlashTint.min     = 200;
            _FlashTint.max     = 2500;

            LiveLedSource         = new IVLControlProperties();
            LiveLedSource.name    = "LiveLedSource";
            LiveLedSource.val     = "IR";
            LiveLedSource.type    = "int";
            LiveLedSource.control = "System.Windows.Forms.ComboBox";
            LiveLedSource.text    = " Live Led Source";
            LiveLedSource.range   = "IR,Flash,Blue";

            DefaultLiveLedSource         = new IVLControlProperties();
            DefaultLiveLedSource.name    = "DefaultLiveLedSource";
            DefaultLiveLedSource.val     = "IR";
            DefaultLiveLedSource.type    = "int";
            DefaultLiveLedSource.control = "System.Windows.Forms.ComboBox";
            DefaultLiveLedSource.text    = "Default Live Led Source";
            DefaultLiveLedSource.range   = "IR,Flash,Blue";

            IRCheckValue         = new IVLControlProperties();
            IRCheckValue.name    = "IRCheckValue";
            IRCheckValue.val     = "1.5";
            IRCheckValue.type    = "double";
            IRCheckValue.control = "System.Windows.Forms.NumericUpDown";
            IRCheckValue.text    = "IR Check Value";
            IRCheckValue.min     = 0;
            IRCheckValue.max     = 3.0;


            RedAnalogGain         = new IVLControlProperties();
            RedAnalogGain.name    = "RedAnalogGain";
            RedAnalogGain.val     = "1";
            RedAnalogGain.type    = "double";
            RedAnalogGain.control = "System.Windows.Forms.NumericUpDown";
            RedAnalogGain.text    = "Red Analog Gain";
            RedAnalogGain.min     = 0;
            RedAnalogGain.max     = 255;


            GreenAnalogGain         = new IVLControlProperties();
            GreenAnalogGain.name    = "GreenAnalogGain";
            GreenAnalogGain.val     = "1";
            GreenAnalogGain.type    = "double";
            GreenAnalogGain.control = "System.Windows.Forms.NumericUpDown";
            GreenAnalogGain.text    = "Green Analog Gain";
            GreenAnalogGain.min     = 0;
            GreenAnalogGain.max     = 255;

            BlueAnalogGain         = new IVLControlProperties();
            BlueAnalogGain.name    = "BlueAnalogGain";
            BlueAnalogGain.val     = "1";
            BlueAnalogGain.type    = "double";
            BlueAnalogGain.control = "System.Windows.Forms.NumericUpDown";
            BlueAnalogGain.text    = "Blue Analog Gain";
            BlueAnalogGain.min     = 0;
            BlueAnalogGain.max     = 255;

            LiveGain         = new IVLControlProperties();
            LiveGain.name    = "LiveGain";
            LiveGain.val     = "100";
            LiveGain.type    = "int";
            LiveGain.control = "System.Windows.Forms.NumericUpDown";
            LiveGain.text    = "Live Gain For UI";
            LiveGain.min     = -5000;
            LiveGain.max     = 5000;


            CaptureGain         = new IVLControlProperties();
            CaptureGain.name    = "CaptureGain";
            CaptureGain.val     = "100";
            CaptureGain.type    = "int";
            CaptureGain.control = "System.Windows.Forms.NumericUpDown";
            CaptureGain.text    = "Capture Gain For UI";
            CaptureGain.min     = -5000;
            CaptureGain.max     = 5000;

            CameraStandbyTime         = new IVLControlProperties();
            CameraStandbyTime.name    = "CameraStandbyTime";
            CameraStandbyTime.val     = "10";
            CameraStandbyTime.type    = "int";
            CameraStandbyTime.control = "System.Windows.Forms.NumericUpDown";
            CameraStandbyTime.text    = " Camera Stand by Time";
            CameraStandbyTime.min     = 1;
            CameraStandbyTime.max     = 255;



            DelayAfterFlashOffDone         = new IVLControlProperties();
            DelayAfterFlashOffDone.name    = "DelayAfterFlashOffDone";
            DelayAfterFlashOffDone.val     = "300";
            DelayAfterFlashOffDone.type    = "int";
            DelayAfterFlashOffDone.control = "System.Windows.Forms.NumericUpDown";
            DelayAfterFlashOffDone.text    = "  Delay After Flash Off Done";
            DelayAfterFlashOffDone.min     = 1;
            DelayAfterFlashOffDone.max     = 10000;
        }
Example #28
0
        public LiveImaging()
        {
            _CaptureBtnVisible         = new IVLControlProperties();
            _CaptureBtnVisible.name    = "CaptureBtnVisible";
            _CaptureBtnVisible.val     = true.ToString();
            _CaptureBtnVisible.type    = "bool";
            _CaptureBtnVisible.control = "System.Windows.Forms.RadioButton";
            _CaptureBtnVisible.text    = "Capture Button Visible";

            _SaveBtnVisible         = new IVLControlProperties();
            _SaveBtnVisible.name    = "SaveBtnVisible";
            _SaveBtnVisible.val     = false.ToString();
            _SaveBtnVisible.type    = "bool";
            _SaveBtnVisible.control = "System.Windows.Forms.RadioButton";
            _SaveBtnVisible.text    = "Save Button Visible";

            _BrowseBtnVisible         = new IVLControlProperties();
            _BrowseBtnVisible.name    = "BrowseBtnVisible";
            _BrowseBtnVisible.val     = false.ToString();
            _BrowseBtnVisible.type    = "bool";
            _BrowseBtnVisible.control = "System.Windows.Forms.RadioButton";
            _BrowseBtnVisible.text    = "Browse Button Visible";

            _PosteriorVisible         = new IVLControlProperties();
            _PosteriorVisible.name    = "PosteriorVisible";
            _PosteriorVisible.val     = true.ToString();
            _PosteriorVisible.type    = "bool";
            _PosteriorVisible.control = "System.Windows.Forms.RadioButton";
            _PosteriorVisible.text    = "Prime Button Visible";

            _AnteriorVisible         = new IVLControlProperties();
            _AnteriorVisible.name    = "AnteriorVisible";
            _AnteriorVisible.val     = false.ToString();
            _AnteriorVisible.type    = "bool";
            _AnteriorVisible.control = "System.Windows.Forms.RadioButton";
            _AnteriorVisible.text    = "Anterior Button Visible";

            FfaVisible         = new IVLControlProperties();
            FfaVisible.name    = "FfaVisible";
            FfaVisible.val     = false.ToString();
            FfaVisible.type    = "bool";
            FfaVisible.control = "System.Windows.Forms.RadioButton";
            FfaVisible.text    = "FFA Button Visible";


            StartFFATimerButtonVisible         = new IVLControlProperties();
            StartFFATimerButtonVisible.name    = "StartFFATimerButtonVisible";
            StartFFATimerButtonVisible.val     = false.ToString();
            StartFFATimerButtonVisible.type    = "bool";
            StartFFATimerButtonVisible.control = "System.Windows.Forms.RadioButton";
            StartFFATimerButtonVisible.text    = "Start FFA Timer Button Visible";

            FfaColorVisible         = new IVLControlProperties();
            FfaColorVisible.name    = "FfaColorVisible";
            FfaColorVisible.val     = false.ToString();
            FfaColorVisible.type    = "bool";
            FfaColorVisible.control = "System.Windows.Forms.RadioButton";
            FfaColorVisible.text    = "FFA Color Button Visible";

            FortyFiveButtonVisible         = new IVLControlProperties();
            FortyFiveButtonVisible.name    = "FortyFiveButtonVisible";
            FortyFiveButtonVisible.val     = false.ToString();
            FortyFiveButtonVisible.type    = "bool";
            FortyFiveButtonVisible.control = "System.Windows.Forms.RadioButton";
            FortyFiveButtonVisible.text    = "Forty Five Button Visible";


            _FlashBtnVisible         = new IVLControlProperties();
            _FlashBtnVisible.name    = "FlashBtnVisible";
            _FlashBtnVisible.val     = false.ToString();
            _FlashBtnVisible.type    = "bool";
            _FlashBtnVisible.control = "System.Windows.Forms.RadioButton";
            _FlashBtnVisible.text    = "Flash Button Visible";

            _IRBtnVisible         = new IVLControlProperties();
            _IRBtnVisible.name    = "IRBtnVisible";
            _IRBtnVisible.val     = false.ToString();
            _IRBtnVisible.type    = "bool";
            _IRBtnVisible.control = "System.Windows.Forms.RadioButton";
            _IRBtnVisible.text    = "IR Button Visible";

            _RightLeftVisble         = new IVLControlProperties();
            _RightLeftVisble.name    = "RightLeftVisble";
            _RightLeftVisble.val     = true.ToString();
            _RightLeftVisble.type    = "bool";
            _RightLeftVisble.control = "System.Windows.Forms.RadioButton";
            _RightLeftVisble.text    = "Right Left Visible";

            _LiveGainVisble         = new IVLControlProperties();
            _LiveGainVisble.name    = "LiveGainVisble";
            _LiveGainVisble.val     = true.ToString();
            _LiveGainVisble.type    = "bool";
            _LiveGainVisble.control = "System.Windows.Forms.RadioButton";
            _LiveGainVisble.text    = "Live Gain Visible";

            _LiveExposureVisble         = new IVLControlProperties();
            _LiveExposureVisble.name    = "LiveExposureVisble";
            _LiveExposureVisble.val     = true.ToString();
            _LiveExposureVisble.type    = "bool";
            _LiveExposureVisble.control = "System.Windows.Forms.RadioButton";
            _LiveExposureVisble.text    = "Live Exposure Visible";

            _FlashExposureVisble         = new IVLControlProperties();
            _FlashExposureVisble.name    = "FlashExposureVisble";
            _FlashExposureVisble.val     = true.ToString();
            _FlashExposureVisble.type    = "bool";
            _FlashExposureVisble.control = "System.Windows.Forms.RadioButton";
            _FlashExposureVisble.text    = "Flash Exposure Visible";

            _FlashGainVisble         = new IVLControlProperties();
            _FlashGainVisble.name    = "FlashGainVisble";
            _FlashGainVisble.val     = true.ToString();
            _FlashGainVisble.type    = "bool";
            _FlashGainVisble.control = "System.Windows.Forms.RadioButton";
            _FlashGainVisble.text    = "Flash Gain Visible";

            _MotorStepsVisible         = new IVLControlProperties();
            _MotorStepsVisible.name    = "MotorStepsVisible";
            _MotorStepsVisible.val     = true.ToString();
            _MotorStepsVisible.type    = "bool";
            _MotorStepsVisible.control = "System.Windows.Forms.RadioButton";
            _MotorStepsVisible.text    = "Motor Steps Visible";

            ShowLiveSource         = new IVLControlProperties();
            ShowLiveSource.name    = "ShowLiveSource";
            ShowLiveSource.val     = true.ToString();
            ShowLiveSource.type    = "bool";
            ShowLiveSource.control = "System.Windows.Forms.RadioButton";
            ShowLiveSource.text    = "Show Live Source";
        }
Example #29
0
        public ViewImagingUI()
        {
            _GenerateReportBtnVisible         = new IVLControlProperties();
            _GenerateReportBtnVisible.name    = "GenerateReportBtnVisible";
            _GenerateReportBtnVisible.val     = true.ToString();
            _GenerateReportBtnVisible.type    = "bool";
            _GenerateReportBtnVisible.control = "System.Windows.Forms.RadioButton";
            _GenerateReportBtnVisible.text    = "Generate Report Button Visible";

            _GenerateAnnotationBtnVisible         = new IVLControlProperties();
            _GenerateAnnotationBtnVisible.name    = "GenerateAnnotationBtnVisible";
            _GenerateAnnotationBtnVisible.val     = true.ToString();
            _GenerateAnnotationBtnVisible.type    = "bool";
            _GenerateAnnotationBtnVisible.control = "System.Windows.Forms.RadioButton";
            _GenerateAnnotationBtnVisible.text    = "Generate Annotation Button Visible";

            _GenerateCDRBtnVisible         = new IVLControlProperties();
            _GenerateCDRBtnVisible.name    = "GenerateCDRBtnVisible";
            _GenerateCDRBtnVisible.val     = true.ToString();
            _GenerateCDRBtnVisible.type    = "bool";
            _GenerateCDRBtnVisible.control = "System.Windows.Forms.RadioButton";
            _GenerateCDRBtnVisible.text    = "Generate CDR Button Visible";

            _ZoomFunctionVisble         = new IVLControlProperties();
            _ZoomFunctionVisble.name    = "ZoomFunctionVisble";
            _ZoomFunctionVisble.val     = true.ToString();
            _ZoomFunctionVisble.type    = "bool";
            _ZoomFunctionVisble.control = "System.Windows.Forms.RadioButton";
            _ZoomFunctionVisble.text    = "Zoom Function Visible";

            _BrightnessFunctionVisble         = new IVLControlProperties();
            _BrightnessFunctionVisble.name    = "BrightnessFunctionVisble";
            _BrightnessFunctionVisble.val     = true.ToString();
            _BrightnessFunctionVisble.type    = "bool";
            _BrightnessFunctionVisble.control = "System.Windows.Forms.RadioButton";
            _BrightnessFunctionVisble.text    = "Brightness Function Visible";

            _ContrastFunctionVisble         = new IVLControlProperties();
            _ContrastFunctionVisble.name    = "ContrastFunctionVisble";
            _ContrastFunctionVisble.val     = true.ToString();
            _ContrastFunctionVisble.type    = "bool";
            _ContrastFunctionVisble.control = "System.Windows.Forms.RadioButton";
            _ContrastFunctionVisble.text    = "Contrast Function Visible";

            _SaveFunctionVisble         = new IVLControlProperties();
            _SaveFunctionVisble.name    = "SaveFunctionVisble";
            _SaveFunctionVisble.val     = true.ToString();
            _SaveFunctionVisble.type    = "bool";
            _SaveFunctionVisble.control = "System.Windows.Forms.RadioButton";
            _SaveFunctionVisble.text    = "Save Function Visible";

            _SaveAsFunctionVisble         = new IVLControlProperties();
            _SaveAsFunctionVisble.name    = "SaveAsFunctionVisble";
            _SaveAsFunctionVisble.val     = true.ToString();
            _SaveAsFunctionVisble.type    = "bool";
            _SaveAsFunctionVisble.control = "System.Windows.Forms.RadioButton";
            _SaveAsFunctionVisble.text    = "SaveAs Function Visible";

            _ExportFunctionVisble         = new IVLControlProperties();
            _ExportFunctionVisble.name    = "ExportFunctionVisble";
            _ExportFunctionVisble.val     = true.ToString();
            _ExportFunctionVisble.type    = "bool";
            _ExportFunctionVisble.control = "System.Windows.Forms.RadioButton";
            _ExportFunctionVisble.text    = "Export Function Visible";

            _RightLeftVisble         = new IVLControlProperties();
            _RightLeftVisble.name    = "RightLeftVisble";
            _RightLeftVisble.val     = true.ToString();
            _RightLeftVisble.type    = "bool";
            _RightLeftVisble.control = "System.Windows.Forms.RadioButton";
            _RightLeftVisble.text    = "Right Left Visible";

            _ShowFiltersVisble         = new IVLControlProperties();
            _ShowFiltersVisble.name    = "ShowFiltersVisble";
            _ShowFiltersVisble.val     = true.ToString();
            _ShowFiltersVisble.type    = "bool";
            _ShowFiltersVisble.control = "System.Windows.Forms.RadioButton";
            _ShowFiltersVisble.text    = "Show Filters Visible";

            _RemovePostProcessingBtnVisible         = new IVLControlProperties();
            _RemovePostProcessingBtnVisible.name    = "RemovePostProcessingBtnVisible";
            _RemovePostProcessingBtnVisible.val     = true.ToString();
            _RemovePostProcessingBtnVisible.type    = "bool";
            _RemovePostProcessingBtnVisible.control = "System.Windows.Forms.RadioButton";
            _RemovePostProcessingBtnVisible.text    = "Remove PostProcessing Button Visible";

            _PostProcessingLabelVisible         = new IVLControlProperties();
            _PostProcessingLabelVisible.name    = "PostProcessingLabelVisible";
            _PostProcessingLabelVisible.val     = true.ToString();
            _PostProcessingLabelVisible.type    = "bool";
            _PostProcessingLabelVisible.control = "System.Windows.Forms.RadioButton";
            _PostProcessingLabelVisible.text    = "PostProcessing Label Visible";

            _ReportWindowClose         = new IVLControlProperties();
            _ReportWindowClose.name    = "ReportWindowClose";
            _ReportWindowClose.val     = true.ToString();
            _ReportWindowClose.type    = "bool";
            _ReportWindowClose.control = "System.Windows.Forms.RadioButton";
            _ReportWindowClose.text    = "Close Report After Saving";
        }
        //private static IVLControlProperties mrnSavePath = null;

        //public IVLControlProperties MRNSavePath
        //{
        //    get { return mrnSavePath; }
        //    set { mrnSavePath = value; }
        //}


        public ImageStorageSettings()
        {
            _IsPng         = new IVLControlProperties();
            _IsPng.name    = "FlashExposureVisble";
            _IsPng.val     = true.ToString();
            _IsPng.type    = "bool";
            _IsPng.control = "System.Windows.Forms.RadioButton";
            _IsPng.text    = "Png";

            _IslocalStorange         = new IVLControlProperties();
            _IslocalStorange.name    = "IslocalStorange";
            _IslocalStorange.val     = true.ToString();
            _IslocalStorange.type    = "bool";
            _IslocalStorange.control = "System.Windows.Forms.RadioButton";
            _IslocalStorange.text    = "Local Storage";


            _IsRemoteStorage         = new IVLControlProperties();
            _IsRemoteStorage.name    = "IsRemoteStorage";
            _IsRemoteStorage.val     = false.ToString();
            _IsRemoteStorage.type    = "bool";
            _IsRemoteStorage.control = "System.Windows.Forms.RadioButton";
            _IsRemoteStorage.text    = "Remote Storage";


            _LocalStoragePath         = new IVLControlProperties();
            _LocalStoragePath.name    = "LocalStoragePath";
            _LocalStoragePath.type    = "string";
            _LocalStoragePath.val     = @"C:\IVLImageRepo\Images";
            _LocalStoragePath.control = "System.Windows.Forms.TextBox";
            _LocalStoragePath.text    = "Local Storage Path";

            _ExportImagePath         = new IVLControlProperties();
            _ExportImagePath.name    = "ExportImagePath";
            _ExportImagePath.type    = "string";
            _ExportImagePath.val     = @"C:\Users\IVL-Anoop\Desktop";
            _ExportImagePath.control = "System.Windows.Forms.TextBox";
            _ExportImagePath.text    = "Export Image Path";

            _LocalProcessedImagePath         = new IVLControlProperties();
            _LocalProcessedImagePath.name    = "LocalProcessedImagePath";
            _LocalProcessedImagePath.type    = "string";
            _LocalProcessedImagePath.val     = @"C:\IVLImageRepo\Images";
            _LocalProcessedImagePath.control = "System.Windows.Forms.TextBox";
            _LocalProcessedImagePath.text    = "Local Processed Image Path";

            _NumberingFormat         = new IVLControlProperties();
            _NumberingFormat.name    = "NumberingFormat";
            _NumberingFormat.type    = "string";
            _NumberingFormat.val     = "";
            _NumberingFormat.control = "System.Windows.Forms.TextBox";
            _NumberingFormat.text    = "Numbering Format";



            _ArchivingPeriodicity         = new IVLControlProperties();
            _ArchivingPeriodicity.name    = "ArchivingPeriodicity";
            _ArchivingPeriodicity.type    = "int";
            _ArchivingPeriodicity.val     = "1";
            _ArchivingPeriodicity.control = "System.Windows.Forms.NumericUpDown";
            _ArchivingPeriodicity.text    = "Archiving Periodicity";


            _dbName         = new IVLControlProperties();
            _dbName.name    = "dbName";
            _dbName.type    = "string";
            _dbName.val     = "patient";
            _dbName.control = "System.Windows.Forms.ComboBox";
            _dbName.text    = "Database Name";
            _dbName.range   = "patient,demo";

            _compressionRatio         = new IVLControlProperties();
            _compressionRatio.name    = "compressionRatio";
            _compressionRatio.type    = "int";
            _compressionRatio.val     = "95";
            _compressionRatio.control = "System.Windows.Forms.ComboBox";
            _compressionRatio.text    = "Compression Ratio";
            _compressionRatio.range   = "50,55,60,65,70,75,80,85,90,95,100";

            _ImageSaveFormat         = new IVLControlProperties();
            _ImageSaveFormat.name    = "ImageSaveFormat";
            _ImageSaveFormat.type    = "string";
            _ImageSaveFormat.val     = "Jpg";
            _ImageSaveFormat.control = "System.Windows.Forms.ComboBox";
            _ImageSaveFormat.text    = "Image Save Format";
            _ImageSaveFormat.range   = "Jpg, Png, Bmp, Tiff ";

            _dbPath         = new IVLControlProperties();
            _dbPath.name    = "dbPath";
            _dbPath.type    = "string";
            _dbPath.val     = @"C:\";;
            _dbPath.control = "System.Windows.Forms.TextBox";
            _dbPath.text    = "Database Path";
            _dbName.length  = 40;

            IsShowExtViewer         = new IVLControlProperties();
            IsShowExtViewer.name    = "IsShowExtViewer";
            IsShowExtViewer.val     = false.ToString();
            IsShowExtViewer.type    = "bool";
            IsShowExtViewer.control = "System.Windows.Forms.RadioButton";
            IsShowExtViewer.text    = "Is Show Ext Viewer";

            _IsIrSave         = new IVLControlProperties();
            _IsIrSave.name    = "isIrSave";
            _IsIrSave.val     = true.ToString();
            _IsIrSave.type    = "bool";
            _IsIrSave.control = "System.Windows.Forms.RadioButton";
            _IsIrSave.text    = "Save IR";

            _IsRawSave         = new IVLControlProperties();
            _IsRawSave.name    = "isRawSave";
            _IsRawSave.val     = true.ToString();
            _IsRawSave.type    = "bool";
            _IsRawSave.control = "System.Windows.Forms.RadioButton";
            _IsRawSave.text    = "Save Raw";


            _IsProcessedImageSave         = new IVLControlProperties();
            _IsProcessedImageSave.name    = "isProcessedImageSave";
            _IsProcessedImageSave.val     = true.ToString();
            _IsProcessedImageSave.type    = "bool";
            _IsProcessedImageSave.control = "System.Windows.Forms.RadioButton";
            _IsProcessedImageSave.text    = "Save Processed Image";

            _IsRawImageSave         = new IVLControlProperties();
            _IsRawImageSave.name    = "isRawImageSave";
            _IsRawImageSave.val     = true.ToString();
            _IsRawImageSave.type    = "bool";
            _IsRawImageSave.control = "System.Windows.Forms.RadioButton";
            _IsRawImageSave.text    = "Save Raw Image";


            IsMrnFolder         = new IVLControlProperties();
            IsMrnFolder.name    = "IsMrnFolder";
            IsMrnFolder.val     = false.ToString();
            IsMrnFolder.type    = "bool";
            IsMrnFolder.control = "System.Windows.Forms.RadioButton";
            IsMrnFolder.text    = "Is Mrn Folder";

            //MRNSavePath = new IVLControlProperties();
            //MRNSavePath.name = "MRNSavePath";
            //MRNSavePath.type = "string";
            //MRNSavePath.val = @"C:\IntuVision\Images";
            //MRNSavePath.control = "System.Windows.Forms.TextBox";
            //MRNSavePath.text = "MRN Save Path";
        }