private HalAcqOperator(SerializationInfo info, StreamingContext context) { exposureParam = (IHalAcqExposure)info.GetValue("exposureParam", typeof(IHalAcqExposure)); brightnessParam = (IHalAcqBrightness)info.GetValue("brightnessParam", typeof(IHalAcqBrightness)); contrastParam = (IHalAcqContrast)info.GetValue("contrastParam", typeof(IHalAcqContrast)); triggerParam = (IHalAcqTrigger)info.GetValue("triggerParam", typeof(IHalAcqTrigger)); imagePropertyParam = (IHalAcqImageProperty)info.GetValue("imagePropertyParam", typeof(IHalAcqImageProperty)); }
public HalAcqOperator(ref HTuple acqHnadle) { if (acqHnadle.TupleNotEqual(null)) { __acqHandle = acqHnadle; exposureParam = new HalAcqExposure(ref __acqHandle); brightnessParam = new HalAcqBrightness(ref __acqHandle); contrastParam = new HalAcqContrast(ref __acqHandle); triggerParam = new HalAcqTrigger(ref __acqHandle); imagePropertyParam = new HalAcqImageProperty(ref __acqHandle); } }