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 = "林泉发射机测试"; //与配置文件保持一致 } public override bool Start(IHost host, IBundle bundle) { Bundle.bundle = bundle; Bundle.host = host; log = host.GetFirstOrDefaultService(); return base.Start(host, bundle); } public override bool Stop(IHost host, IBundle bundle) { return base.Stop(host, bundle); } } }