void RunMagicBoxTripWireRule(StreamInfoArgs args, Model model) { AnalyticsVideoDescriptor videoDescr = new AnalyticsVideoDescriptor(); ModuleDescriptor moduleDescriptor = new ModuleDescriptor(model.config, model.configDescription, model.schemes); SynesisTripWireRuleView customview = new SynesisTripWireRuleView(); bool retres = customview.Init(activityContext.container, args, moduleDescriptor); if (!retres) { Error(new Exception("Module is in unproper state. Please delete and create new one.")); } Apply = customview.Apply; StartConfiguring(customview); controlDisposable = customview; }
void RunIncotexAnalytics(StreamInfoArgs args, Model model) { AnalyticsVideoDescriptor videoDescr = new AnalyticsVideoDescriptor(); ModuleDescriptor moduleDescriptor = new ModuleDescriptor(model.config, model.configDescription, model.schemes); ApproAnalyticsConfigView customview = new ApproAnalyticsConfigView(); bool retres = customview.Init(activityContext.container, args, moduleDescriptor); if (!retres) { Error(new Exception("Module is in unproper state. Please delete and create new one.")); } Apply = customview.Apply; StartConfiguring(customview); controlDisposable = customview; }