You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using Kingo.Plugin.XZQ_IDG.Helper;
|
|
|
|
|
using Kingo.PluginServiceInterface;
|
|
|
|
|
using UIShell.OSGi;
|
|
|
|
|
|
|
|
|
|
namespace Kingo.Plugin.XZQ_IDG
|
|
|
|
|
{
|
|
|
|
|
public class Activator : IBundleActivator
|
|
|
|
|
{
|
|
|
|
|
XZQ_IDGHelper xZQ_IDGHelper = new XZQ_IDGHelper();
|
|
|
|
|
public void Start(IBundleContext context)
|
|
|
|
|
{
|
|
|
|
|
BundleRuntime.Instance.AddService<IDataChange>(xZQ_IDGHelper);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Stop(IBundleContext context)
|
|
|
|
|
{
|
|
|
|
|
if (xZQ_IDGHelper != null)
|
|
|
|
|
{
|
|
|
|
|
BundleRuntime.Instance.AddService<IDataChange>(xZQ_IDGHelper);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|