public override IConfig Clone() { CConfig config = new CVisionMonitorConfig(Name); config.SystemContext = SystemContext; this.CopyTo(config); return(config); }
public static IMonitorConfig BuildVisionMonitorConfig(IMonitorSystemContext context, string xml) { CVisionMonitorConfig config = new CVisionMonitorConfig(); config.SystemContext = context; if (config.BuildConfig(xml)) { return(config); } else { return(null); } }