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.
23 lines
582 B
23 lines
582 B
using Kingo.Plugin.IDS.Helper; |
|
using Kingo.PluginServiceInterface; |
|
using UIShell.OSGi; |
|
|
|
namespace Kingo.Plugin.IDS |
|
{ |
|
public class Activator : IBundleActivator |
|
{ |
|
ZLHZHelper xLHZHelper = new ZLHZHelper(); |
|
public void Start(IBundleContext context) |
|
{ |
|
BundleRuntime.Instance.AddService<IDataChange>(xLHZHelper); |
|
} |
|
|
|
public void Stop(IBundleContext context) |
|
{ |
|
if (xLHZHelper != null) |
|
{ |
|
BundleRuntime.Instance.AddService<IDataChange>(xLHZHelper); |
|
} |
|
} |
|
} |
|
}
|
|
|