ZrAdminNetCore/ZR.Tasks/ITaskSchedulerServer.cs
2023-12-08 09:21:55 +08:00

26 lines
609 B
C#

using Infrastructure.Model;
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);
}
}