Пример #1
0
        public static EnumValueCollection GetListFrom(ICamera aCamera, uint aType, EnumValueCollection aCollection)
        {
            EnumValueCollection result = new EnumValueCollection();

            uint[] rawValues = aCamera.GetAvailableValues(aType);

            ArrayList unsupported = new ArrayList();

            for (int i = 0; i < rawValues.Length; i++)
            {
                uint enumValue = rawValues[i];
                if (enumValue != 0)
                {
                    try
                    {
                        result.Add(aCollection[enumValue]);
                    }
                    catch
                    {
                        unsupported.Add(enumValue);
                    }
                }
            }

            return(result);
        }
Пример #2
0
 static Aperture()
 {
     Apertures.Add(new Aperture(ApertureEnum.f0, "F0"));
     Apertures.Add(new Aperture(ApertureEnum.f1, "F1"));
     Apertures.Add(new Aperture(ApertureEnum.f1_1, "F1.1"));
     Apertures.Add(new Aperture(ApertureEnum.f1_2, "F1.2"));
     Apertures.Add(new Aperture(ApertureEnum.f1_2_stepOneThird, "F1.2"));
     Apertures.Add(new Aperture(ApertureEnum.f1_4, "F1.4"));
     Apertures.Add(new Aperture(ApertureEnum.f1_6, "F1.6"));
     Apertures.Add(new Aperture(ApertureEnum.f1_8, "F1.8"));
     Apertures.Add(new Aperture(ApertureEnum.f1_8_stepOneThird, "F1.8"));
     Apertures.Add(new Aperture(ApertureEnum.f2, "F2"));
     Apertures.Add(new Aperture(ApertureEnum.f2_2, "F2.2"));
     Apertures.Add(new Aperture(ApertureEnum.f2_5, "F2.5"));
     Apertures.Add(new Aperture(ApertureEnum.f2_5_stepOneThird, "F2.5"));
     Apertures.Add(new Aperture(ApertureEnum.f2_8, "F2.8"));
     Apertures.Add(new Aperture(ApertureEnum.f3_2, "F3.2"));
     Apertures.Add(new Aperture(ApertureEnum.f3_5, "F3.5"));
     Apertures.Add(new Aperture(ApertureEnum.f3_5_stepOneThird, "F3.5"));
     Apertures.Add(new Aperture(ApertureEnum.f4, "F4"));
     Apertures.Add(new Aperture(ApertureEnum.f4_5, "F4.5"));
     Apertures.Add(new Aperture(ApertureEnum.f4_5_stepOneThird, "F4.5"));
     Apertures.Add(new Aperture(ApertureEnum.f5, "F5.0"));
     Apertures.Add(new Aperture(ApertureEnum.f5_6, "F5.6"));
     Apertures.Add(new Aperture(ApertureEnum.f6_3, "F6.3"));
     Apertures.Add(new Aperture(ApertureEnum.f6_7, "F6.7"));
     Apertures.Add(new Aperture(ApertureEnum.f7_1, "F7.1"));
     Apertures.Add(new Aperture(ApertureEnum.f8, "F8"));
     Apertures.Add(new Aperture(ApertureEnum.f9, "F9"));
     Apertures.Add(new Aperture(ApertureEnum.f9_5, "F9.5"));
     Apertures.Add(new Aperture(ApertureEnum.f10, "F10"));
     Apertures.Add(new Aperture(ApertureEnum.f11, "F11"));
     Apertures.Add(new Aperture(ApertureEnum.f13, "F13"));
     Apertures.Add(new Aperture(ApertureEnum.f13_stepOneThird, "F13"));
     Apertures.Add(new Aperture(ApertureEnum.f14, "F14"));
     Apertures.Add(new Aperture(ApertureEnum.f16, "F16"));
     Apertures.Add(new Aperture(ApertureEnum.f18, "F18"));
     Apertures.Add(new Aperture(ApertureEnum.f19, "F19"));
     Apertures.Add(new Aperture(ApertureEnum.f20, "F20"));
     Apertures.Add(new Aperture(ApertureEnum.f22, "F22"));
     Apertures.Add(new Aperture(ApertureEnum.f25, "F25"));
     Apertures.Add(new Aperture(ApertureEnum.f27, "F27"));
     Apertures.Add(new Aperture(ApertureEnum.f29, "F29"));
     Apertures.Add(new Aperture(ApertureEnum.f32, "F32"));
     Apertures.Add(new Aperture(ApertureEnum.f36, "F36"));
     Apertures.Add(new Aperture(ApertureEnum.f38, "F38"));
     Apertures.Add(new Aperture(ApertureEnum.f40, "F40"));
     Apertures.Add(new Aperture(ApertureEnum.f45, "F45"));
     Apertures.Add(new Aperture(ApertureEnum.f51, "F51"));
     Apertures.Add(new Aperture(ApertureEnum.f54, "F54"));
     Apertures.Add(new Aperture(ApertureEnum.f57, "F57"));
     Apertures.Add(new Aperture(ApertureEnum.f64, "F64"));
     Apertures.Add(new Aperture(ApertureEnum.f72, "F72"));
     Apertures.Add(new Aperture(ApertureEnum.f76, "F76"));
     Apertures.Add(new Aperture(ApertureEnum.f80, "F80"));
     Apertures.Add(new Aperture(ApertureEnum.f91, "F91"));
 }
Пример #3
0
        static Exposal()
        {
            delays.Add(ExposalEnum.tZero, 0);
            delays.Add(ExposalEnum.tBulb, double.MaxValue);
            delays.Add(ExposalEnum.t30, 30);
            delays.Add(ExposalEnum.t25, 25);
            delays.Add(ExposalEnum.t20, 20);
            delays.Add(ExposalEnum.t20_stepOneThird, 20);
            delays.Add(ExposalEnum.t15, 15);
            delays.Add(ExposalEnum.t13, 13);
            delays.Add(ExposalEnum.t10, 10);
            delays.Add(ExposalEnum.t10_stepOneThird, 10);
            delays.Add(ExposalEnum.t8, 8);
            delays.Add(ExposalEnum.t6, 6);
            delays.Add(ExposalEnum.t6_stepOneThird, 6);
            delays.Add(ExposalEnum.t5, 5);
            delays.Add(ExposalEnum.t4, 4);
            delays.Add(ExposalEnum.t3dot2, 3.2);
            delays.Add(ExposalEnum.t3, 3);
            delays.Add(ExposalEnum.t2dot5, 2.5);
            delays.Add(ExposalEnum.t2, 2);
            delays.Add(ExposalEnum.t1dot6, 1.6);
            delays.Add(ExposalEnum.t1dot5, 1.5);
            delays.Add(ExposalEnum.t1dot3, 1.3);
            delays.Add(ExposalEnum.t1, 1);
            delays.Add(ExposalEnum.t0dot8, 0.8);
            delays.Add(ExposalEnum.t0dot7, 0.7);
            delays.Add(ExposalEnum.t0dot6, 0.6);
            delays.Add(ExposalEnum.t0dot5, 0.5);
            delays.Add(ExposalEnum.t0dot4, 0.4);
            delays.Add(ExposalEnum.t0dot3, 0.3);
            delays.Add(ExposalEnum.t0dot3_stepOneThird, 0 / 3);
            delays.Add(ExposalEnum.t1_4, 1 / 4);
            delays.Add(ExposalEnum.t1_5, 1 / 5);
            delays.Add(ExposalEnum.t1_6, 1 / 6);
            delays.Add(ExposalEnum.t1_6_stepOneThird, 1 / 6);
            delays.Add(ExposalEnum.t1_8, 1 / 8);
            delays.Add(ExposalEnum.t1_10, 1 / 10);
            delays.Add(ExposalEnum.t1_10_stepOneThird, 1 / 10);
            delays.Add(ExposalEnum.t1_13, 1 / 13);
            delays.Add(ExposalEnum.t1_15, 1 / 15);
            delays.Add(ExposalEnum.t1_20, 1 / 20);
            delays.Add(ExposalEnum.t1_20_stepOneThird, 1 / 20);
            delays.Add(ExposalEnum.t1_25, 1 / 25);
            delays.Add(ExposalEnum.t1_30, 1 / 30);
            delays.Add(ExposalEnum.t1_40, 1 / 40);
            delays.Add(ExposalEnum.t1_45, 1 / 45);
            delays.Add(ExposalEnum.t1_50, 1 / 50);
            delays.Add(ExposalEnum.t1_60, 1 / 60);
            delays.Add(ExposalEnum.t1_80, 1 / 80);
            delays.Add(ExposalEnum.t1_90, 1 / 90);
            delays.Add(ExposalEnum.t1_100, 1 / 100);
            delays.Add(ExposalEnum.t1_125, 1 / 125);
            delays.Add(ExposalEnum.t1_160, 1 / 160);
            delays.Add(ExposalEnum.t1_180, 1 / 180);
            delays.Add(ExposalEnum.t1_200, 1 / 200);
            delays.Add(ExposalEnum.t1_250, 1 / 250);
            delays.Add(ExposalEnum.t1_320, 1 / 320);
            delays.Add(ExposalEnum.t1_350, 1 / 350);
            delays.Add(ExposalEnum.t1_400, 1 / 400);
            delays.Add(ExposalEnum.t1_500, 1 / 500);
            delays.Add(ExposalEnum.t1_640, 1 / 640);
            delays.Add(ExposalEnum.t1_750, 1 / 750);
            delays.Add(ExposalEnum.t1_800, 1 / 800);
            delays.Add(ExposalEnum.t1_1000, 1 / 1000);
            delays.Add(ExposalEnum.t1_1250, 1 / 1250);
            delays.Add(ExposalEnum.t1_1500, 1 / 1500);
            delays.Add(ExposalEnum.t1_1600, 1 / 1600);
            delays.Add(ExposalEnum.t1_2000, 1 / 2000);
            delays.Add(ExposalEnum.t1_2500, 1 / 2500);
            delays.Add(ExposalEnum.t1_3000, 1 / 3000);
            delays.Add(ExposalEnum.t1_3200, 1 / 3200);
            delays.Add(ExposalEnum.t1_4000, 1 / 4000);
            delays.Add(ExposalEnum.t1_5000, 1 / 5000);
            delays.Add(ExposalEnum.t1_6000, 1 / 6000);
            delays.Add(ExposalEnum.t1_6400, 1 / 6400);
            delays.Add(ExposalEnum.t1_8000, 1 / 8000);


            Exposals.Add(new Exposal(ExposalEnum.tZero, "0"));
            Exposals.Add(new Exposal(ExposalEnum.tBulb, "Bulb"));
            Exposals.Add(new Exposal(ExposalEnum.t30, "30\""));
            Exposals.Add(new Exposal(ExposalEnum.t25, "25\""));
            Exposals.Add(new Exposal(ExposalEnum.t20, "20\""));
            Exposals.Add(new Exposal(ExposalEnum.t20_stepOneThird, "20\""));
            Exposals.Add(new Exposal(ExposalEnum.t15, "15\""));
            Exposals.Add(new Exposal(ExposalEnum.t13, "13\""));
            Exposals.Add(new Exposal(ExposalEnum.t10, "10\""));
            Exposals.Add(new Exposal(ExposalEnum.t10_stepOneThird, "10\""));
            Exposals.Add(new Exposal(ExposalEnum.t8, "8\""));
            Exposals.Add(new Exposal(ExposalEnum.t6, "6\""));
            Exposals.Add(new Exposal(ExposalEnum.t6_stepOneThird, "6\""));
            Exposals.Add(new Exposal(ExposalEnum.t5, "5\""));
            Exposals.Add(new Exposal(ExposalEnum.t4, "4\""));
            Exposals.Add(new Exposal(ExposalEnum.t3dot2, "3\"2"));
            Exposals.Add(new Exposal(ExposalEnum.t3, "3\""));
            Exposals.Add(new Exposal(ExposalEnum.t2dot5, "2\"5"));
            Exposals.Add(new Exposal(ExposalEnum.t2, "2\""));
            Exposals.Add(new Exposal(ExposalEnum.t1dot6, "1\"6"));
            Exposals.Add(new Exposal(ExposalEnum.t1dot5, "1\"5"));
            Exposals.Add(new Exposal(ExposalEnum.t1dot3, "1\"3"));
            Exposals.Add(new Exposal(ExposalEnum.t1, "1\""));
            Exposals.Add(new Exposal(ExposalEnum.t0dot8, "0\"8"));
            Exposals.Add(new Exposal(ExposalEnum.t0dot7, "0\"7"));
            Exposals.Add(new Exposal(ExposalEnum.t0dot6, "0\"6"));
            Exposals.Add(new Exposal(ExposalEnum.t0dot5, "0\"5"));
            Exposals.Add(new Exposal(ExposalEnum.t0dot4, "0\"4"));
            Exposals.Add(new Exposal(ExposalEnum.t0dot3, "0\"3"));
            Exposals.Add(new Exposal(ExposalEnum.t0dot3_stepOneThird, "0\"3"));
            Exposals.Add(new Exposal(ExposalEnum.t1_4, "1/4"));
            Exposals.Add(new Exposal(ExposalEnum.t1_5, "1/5"));
            Exposals.Add(new Exposal(ExposalEnum.t1_6, "1/6"));
            Exposals.Add(new Exposal(ExposalEnum.t1_6_stepOneThird, "1/6"));
            Exposals.Add(new Exposal(ExposalEnum.t1_8, "1/8"));
            Exposals.Add(new Exposal(ExposalEnum.t1_10, "1/10"));
            Exposals.Add(new Exposal(ExposalEnum.t1_10_stepOneThird, "1/10"));
            Exposals.Add(new Exposal(ExposalEnum.t1_13, "1/13"));
            Exposals.Add(new Exposal(ExposalEnum.t1_15, "1/15"));
            Exposals.Add(new Exposal(ExposalEnum.t1_20, "1/20"));
            Exposals.Add(new Exposal(ExposalEnum.t1_20_stepOneThird, "1/20"));
            Exposals.Add(new Exposal(ExposalEnum.t1_25, "1/25"));
            Exposals.Add(new Exposal(ExposalEnum.t1_30, "1/30"));
            Exposals.Add(new Exposal(ExposalEnum.t1_40, "1/40"));
            Exposals.Add(new Exposal(ExposalEnum.t1_45, "1/45"));
            Exposals.Add(new Exposal(ExposalEnum.t1_50, "1/50"));
            Exposals.Add(new Exposal(ExposalEnum.t1_60, "1/60"));
            Exposals.Add(new Exposal(ExposalEnum.t1_80, "1/80"));
            Exposals.Add(new Exposal(ExposalEnum.t1_90, "1/90"));
            Exposals.Add(new Exposal(ExposalEnum.t1_100, "1/100"));
            Exposals.Add(new Exposal(ExposalEnum.t1_125, "1/125"));
            Exposals.Add(new Exposal(ExposalEnum.t1_160, "1/160"));
            Exposals.Add(new Exposal(ExposalEnum.t1_180, "1/180"));
            Exposals.Add(new Exposal(ExposalEnum.t1_200, "1/200"));
            Exposals.Add(new Exposal(ExposalEnum.t1_250, "1/250"));
            Exposals.Add(new Exposal(ExposalEnum.t1_320, "1/320"));
            Exposals.Add(new Exposal(ExposalEnum.t1_350, "1/350"));
            Exposals.Add(new Exposal(ExposalEnum.t1_400, "1/400"));
            Exposals.Add(new Exposal(ExposalEnum.t1_500, "1/500"));
            Exposals.Add(new Exposal(ExposalEnum.t1_640, "1/640"));
            Exposals.Add(new Exposal(ExposalEnum.t1_750, "1/750"));
            Exposals.Add(new Exposal(ExposalEnum.t1_800, "1/800"));
            Exposals.Add(new Exposal(ExposalEnum.t1_1000, "1/1000"));
            Exposals.Add(new Exposal(ExposalEnum.t1_1250, "1/1250"));
            Exposals.Add(new Exposal(ExposalEnum.t1_1500, "1/1500"));
            Exposals.Add(new Exposal(ExposalEnum.t1_1600, "1/1600"));
            Exposals.Add(new Exposal(ExposalEnum.t1_2000, "1/2000"));
            Exposals.Add(new Exposal(ExposalEnum.t1_2500, "1/2500"));
            Exposals.Add(new Exposal(ExposalEnum.t1_3000, "1/3000"));
            Exposals.Add(new Exposal(ExposalEnum.t1_3200, "1/3200"));
            Exposals.Add(new Exposal(ExposalEnum.t1_4000, "1/4000"));
            Exposals.Add(new Exposal(ExposalEnum.t1_5000, "1/5000"));
            Exposals.Add(new Exposal(ExposalEnum.t1_6000, "1/6000"));
            Exposals.Add(new Exposal(ExposalEnum.t1_6400, "1/6400"));
            Exposals.Add(new Exposal(ExposalEnum.t1_8000, "1/8000"));
        }
Пример #4
0
 static IsoSpeed()
 {
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.isoAuto, "Iso AUTO"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso6, "Iso 6"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso12, "Iso 12"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso25, "Iso 25"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso50, "Iso 50"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso100, "Iso 100"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso125, "Iso 125"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso160, "Iso 160"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso200, "Iso 200"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso250, "Iso 250"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso320, "Iso 320"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso400, "Iso 400"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso500, "Iso 500"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso640, "Iso 640"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso800, "Iso 800"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso1000, "Iso 1000"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso1250, "Iso 1250"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso1600, "Iso 1600"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso2000, "Iso 2000"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso2500, "Iso 2500"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso3200, "Iso 3200"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso4000, "Iso 4000"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso5000, "Iso 5000"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso6400, "Iso 6400"));
     IsoSpeeds.Add(new IsoSpeed(IsoSpeedEnum.iso12800, "Iso 12800"));
 }
Пример #5
0
        static ImageQuality()
        {
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_L, "L"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_M1, "M1"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_M2, "M2"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_S, "S"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_RAW, "Raw"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_RAW_L, "Raw+L"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_RAW_M1, "Raw+M1"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_RAW_M2, "Raw+M2"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_RAW_S, "Raw+S"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_sRAW, "sRaw"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_sRAW_L, "sRaw+L"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_sRAW_M1, "sRaw+M1"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_sRAW_M2, "sRaw+M2"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_sRAW_S, "sRaw+S"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_sRAW_L_hq, "sRaw+L HQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_sRAW_L_lq, "sRaw+L LQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_sRAW_M_hq, "sRaw+M HQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_sRAW_M_lq, "sRaw+M LQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_sRAW_S_hq, "sRaw+S HQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_sRAW_S_lq, "sRaw+S LQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_L_hq, "L HQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_M_hq, "M HQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_S_hq, "S HQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_L_lq, "L LQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_M_lq, "M LQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_S_lq, "S LQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_RAW_L_hq, "Raw+L HQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_RAW_M_hq, "Raw+M HQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_RAW_S_hq, "Raw+S HQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_RAW_L_lq, "Raw+L LQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_RAW_M_lq, "Raw+M LQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_RAW_S_lq, "Raw+S LQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_sRAW1, "sRaw1"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_sRAW1_L_hq, "sRaw1+L HQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_sRAW1_L_lq, "sRaw1+L LQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_sRAW1_M_hq, "sRaw1+M HQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_sRAW1_M_lq, "sRaw1+M LQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_sRAW1_S_hq, "sRaw1+S HQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.PPT_sRAW1_S_lq, "sRaw1+s LQ"));

            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_L, "L"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_M1, "M1"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_M2, "M2"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_S, "S"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_RAW_type_one, "Raw"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_RAW_L, "Raw+L"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_RAW_M1, "Raw+M1"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_RAW_M2, "Raw+M2"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_RAW_S, "Raw+S"));

            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_L_hq, "L HQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_M_hq, "M HQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_S_hq, "S HQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_L_lq, "L LQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_M_lq, "M LQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_S_lq, "S LQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_RAW_type_two, "Raw"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_RAW_L_hq, "Raw+L HQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_RAW_M_hq, "Raw+M HQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_RAW_S_hq, "Raw+S HQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_RAW_L_lq, "Raw+L LQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_RAW_M_lq, "Raw+M LQ"));
            ImageQualityValues.Add(new ImageQuality(ImageQualityEnum.Legacy_RAW_S_lq, "Raw+S LQ"));
        }
Пример #6
0
 static SaveTo()
 {
     SaveToValues.Add(new SaveTo(SaveToEnum.Save_both_ways, "Both ways"));
     SaveToValues.Add(new SaveTo(SaveToEnum.Save_by_downloading_to_a_host_computer, "Download to host"));
     SaveToValues.Add(new SaveTo(SaveToEnum.Save_on_a_memory_card_of_a_remote_camera, "On the camera card"));
 }