1
This commit is contained in:
12
iMES.System/IServices/Quartz/ISys_QuartzLogService.cs
Normal file
12
iMES.System/IServices/Quartz/ISys_QuartzLogService.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
||||
*/
|
||||
using iMES.Core.BaseProvider;
|
||||
using iMES.Entity.DomainModels;
|
||||
|
||||
namespace iMES.System.IServices
|
||||
{
|
||||
public partial interface ISys_QuartzLogService : IService<Sys_QuartzLog>
|
||||
{
|
||||
}
|
||||
}
|
||||
12
iMES.System/IServices/Quartz/ISys_QuartzOptionsService.cs
Normal file
12
iMES.System/IServices/Quartz/ISys_QuartzOptionsService.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
||||
*/
|
||||
using iMES.Core.BaseProvider;
|
||||
using iMES.Entity.DomainModels;
|
||||
|
||||
namespace iMES.System.IServices
|
||||
{
|
||||
public partial interface ISys_QuartzOptionsService : IService<Sys_QuartzOptions>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
*所有关于Sys_QuartzLog类的业务代码接口应在此处编写
|
||||
*/
|
||||
using iMES.Core.BaseProvider;
|
||||
using iMES.Entity.DomainModels;
|
||||
using iMES.Core.Utilities;
|
||||
using System.Linq.Expressions;
|
||||
namespace iMES.System.IServices
|
||||
{
|
||||
public partial interface ISys_QuartzLogService
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
*所有关于Sys_QuartzOptions类的业务代码接口应在此处编写
|
||||
*/
|
||||
using iMES.Core.BaseProvider;
|
||||
using iMES.Entity.DomainModels;
|
||||
using iMES.Core.Utilities;
|
||||
using System.Linq.Expressions;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace iMES.System.IServices
|
||||
{
|
||||
public partial interface ISys_QuartzOptionsService
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 手动执行一次
|
||||
/// </summary>
|
||||
/// <param name="taskOptions"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> Run(Sys_QuartzOptions taskOptions);
|
||||
/// <summary>
|
||||
/// 开启任务
|
||||
/// </summary>
|
||||
/// <param name="schedulerFactory"></param>
|
||||
/// <param name="taskOptions"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> Start(Sys_QuartzOptions taskOptions);
|
||||
/// <summary>
|
||||
/// 暂停任务
|
||||
/// </summary>
|
||||
/// <param name="schedulerFactory"></param>
|
||||
/// <param name="taskOptions"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> Pause(Sys_QuartzOptions taskOptions);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user