From d89f93c323cc9d72e76b186a135ec6863bd0df4f Mon Sep 17 00:00:00 2001 From: Jake Norbut Date: Mon, 15 Apr 2019 11:05:40 -0500 Subject: [PATCH] Adding MBOService as an export in gui --- src/client/spark/Daemons/ShellServices.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/client/spark/Daemons/ShellServices.cs b/src/client/spark/Daemons/ShellServices.cs index 8fa232571..bcfd91e6e 100644 --- a/src/client/spark/Daemons/ShellServices.cs +++ b/src/client/spark/Daemons/ShellServices.cs @@ -6,6 +6,7 @@ using bts.api.persistence; using bts.api.position; using bts.api.synthetic; using bts.co2; +using bts.md; using bts.metrics; using bts.support; using System.ComponentModel.Composition; @@ -50,6 +51,9 @@ namespace Spark { AlgoServiceWrapper _algo_service_wrapper; [Export] public AlgoServiceWrapper algo_service_wrapper => _algo_service_wrapper ?? (_algo_service_wrapper = new AlgoServiceWrapper(context)); + + [Export] + public MBOService mbo_service => context.locate(); } class AlgoServiceWrapper {