BeizeValveBackend/ZR.Tasks/ITaskSchedulerServer.cs

26 lines
609 B
C#
Raw Normal View History

2024-11-28 13:36:05 +08:00
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);
}
}