protected override bool SetExtXmlData(XmlNode node) { if (node != null && node.FirstChild != null) { if (node.Name.Equals(mRunParamConfig.Name)) { mRunParamConfig.BuildConfig(node); return(true); } else if (node.Name.Equals(mActionParamConfig.Name)) { mActionParamConfig.BuildConfig(node); return(true); } else { return(base.SetExtXmlData(node)); } } return(false); }
protected override bool SetExtXmlData(XmlNode node) { if (node != null && node.FirstChild != null) { if (node.Name.Equals("ActionParamConfig")) { //mActionParamConfig = new CActionParamConfig(this); mActionParamConfig.BuildConfig(node); return(true); } else if (node.Name.Equals("VisionParamConfig")) { // mBlobTrackParamConfig = new CBlobTrackParamConfig(this); mBlobTrackParamConfig.BuildConfig(node); return(true); } else { return(base.SetExtXmlData(node)); } } return(false); }