//[XmlReplySubstituteExtension("<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope xmlns:soap=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"> <soap:Body> <GetImagingSettingsResponse xmlns=\"http://www.onvif.org/ver20/imaging/wsdl\"> <INCORRECT_TAG_ImagingSettings> <BacklightCompensation xmlns=\"http://www.onvif.org/ver10/schema\"> <Mode>OFF</Mode> <Level>1</Level> </BacklightCompensation> <Brightness xmlns=\"http://www.onvif.org/ver10/schema\">1</Brightness> <ColorSaturation xmlns=\"http://www.onvif.org/ver10/schema\">1</ColorSaturation> <Contrast xmlns=\"http://www.onvif.org/ver10/schema\">1</Contrast> <Exposure xmlns=\"http://www.onvif.org/ver10/schema\"> <Mode>AUTO</Mode> <Priority>LowNoise</Priority> <Window bottom=\"1\" top=\"1\" right=\"1\" left=\"1\" /> <MinExposureTime>1</MinExposureTime> <MaxExposureTime>1</MaxExposureTime> <MinGain>1</MinGain> <MaxGain>1</MaxGain> <MinIris>1</MinIris> <MaxIris>1</MaxIris> <ExposureTime>1</ExposureTime> <Gain>1</Gain> <Iris>1</Iris> </Exposure> <Focus xmlns=\"http://www.onvif.org/ver10/schema\"> <AutoFocusMode>AUTO</AutoFocusMode> <DefaultSpeed>1</DefaultSpeed> <NearLimit>1</NearLimit> <FarLimit>1</FarLimit> <Extension /> </Focus> <IrCutFilter xmlns=\"http://www.onvif.org/ver10/schema\">ON</IrCutFilter> <Sharpness xmlns=\"http://www.onvif.org/ver10/schema\">1</Sharpness> <WideDynamicRange xmlns=\"http://www.onvif.org/ver10/schema\"> <Mode>OFF</Mode> <Level>1</Level> </WideDynamicRange> <WhiteBalance xmlns=\"http://www.onvif.org/ver10/schema\"> <Mode>AUTO</Mode> <CrGain>1</CrGain> <CbGain>1</CbGain> <Extension /> </WhiteBalance> <Extension xmlns=\"http://www.onvif.org/ver10/schema\" /> </INCORRECT_TAG_ImagingSettings> </GetImagingSettingsResponse> </soap:Body></soap:Envelope>")] public override Imaging.ImagingSettings20 GetImagingSettings(string VideoSourceToken) { CheckActionSupported(); CheckSourceExists(VideoSourceToken); Imaging.ImagingSettings20 settings = new Imaging.ImagingSettings20(); //settings.BacklightCompensation = new BacklightCompensation20(); //settings.BacklightCompensation.Mode = Imaging.BacklightCompensationMode.OFF; settings.Brightness = 0; settings.ColorSaturation = 0; settings.Contrast = 255; return(settings); }
public override void SetImagingSettings(string VideoSourceToken, Imaging.ImagingSettings20 ImagingSettings, bool ForcePersistence, bool ForcePersistenceSpecified) { CheckActionSupported(); CheckSourceExists(VideoSourceToken); }