using Edu.Education.Helper;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
namespace Edu.Education
{
partial class EducationTimerServer : ServiceBase
{
public EducationTimerServer()
{
InitializeComponent();
}
///
/// 在此处添加代码以启动服务。
///
///
protected override void OnStart(string[] args)
{
new QuarzHelper().TeachingPerfTimer().GetAwaiter().GetResult();
new QuarzHelper().OKRPeriodTimer().GetAwaiter().GetResult();
new QuarzHelper().OKRPeriodRuleTimer().GetAwaiter().GetResult();
new QuarzHelper().RevenueReportTimer().GetAwaiter().GetResult();
}
///
/// 在此处添加代码以执行停止服务所需的关闭操作。
///
protected override void OnStop()
{
}
}
}