ZrAdminNetCore/ZR.Tasks/ITaskSchedulerServer.cs
2022-11-15 18:24:46 +08:00

29 lines
673 B
C#

using Infrastructure.Model;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using ZR.Model.System;
namespace ZR.Tasks
{
public interface ITaskSchedulerServer
{
Task<ApiResult> StartTaskScheduleAsync();
Task<ApiResult> StopTaskScheduleAsync();
Task<ApiResult> AddTaskScheduleAsync(SysTasks tasksQz);
Task<ApiResult> PauseTaskScheduleAsync(SysTasks tasksQz);
Task<ApiResult> ResumeTaskScheduleAsync(SysTasks tasksQz);
Task<ApiResult> DeleteTaskScheduleAsync(SysTasks tasksQz);
Task<ApiResult> RunTaskScheduleAsync(SysTasks tasksQz);
Task<ApiResult> UpdateTaskScheduleAsync(SysTasks tasksQz);
}
}