1234567891011121314151617181920212223242526272829303132333435 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using AppLibs.Host;
- namespace Tps_LQ_Transmitter
- {
- public class Bundle : BaseBundle
- {
- public static IBundle bundle;
- public static IHost host;
- public static AppLibs.Host.ILog log;
- public Bundle()
- {
- this.releaseTime = "2021-07-29";
- this.bundleName = "林泉发射机测试"; //与配置文件<Bundle Name="林泉发射机测试">保持一致
- }
- public override bool Start(IHost host, IBundle bundle)
- {
- Bundle.bundle = bundle;
- Bundle.host = host;
- log = host.GetFirstOrDefaultService<AppLibs.Host.ILog>();
- return base.Start(host, bundle);
- }
- public override bool Stop(IHost host, IBundle bundle)
- {
- return base.Stop(host, bundle);
- }
- }
- }
|