public void Execute(IJobExecutionContext context) { //MessageBox.Show("第二个任务"); //温湿度报警定时任务 try { SendMsg.SendJob(); } catch (Exception) { throw; } }