using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Api.SignToken
{
    /// <summary>
    /// 配送物品计划
    /// </summary>
    public interface IDistributionPlanService
    {        
        /// <summary>
        /// 添加计划任务 - 来源 HangfireDistributionPlanController
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<string> AddDistriWorkOrderPlanAsync(string planid);

        /// <summary>
        /// 自动定时计划 - 自动分配
        /// </summary>
        /// <param name="wotype"></param>
        /// <returns></returns>
        Task<string> SaveAutoAssignAsync(int wotype);

        /// <summary>
        /// 超时系统评价工单
        /// </summary>
        /// <param name="score"></param>
        /// <param name="createusername"></param>
        /// <param name="channel"></param>
        /// <returns></returns>
        Task<string> TimeOutEvaluateAsync(int score, string createusername, int channel);

        /// <summary>
        /// 获取计划定时事件详情
        /// </summary>
        /// <param name="wotype"></param>
        /// <returns></returns>
        Task<string> GetHangfirePlanInfo(string id);
    }
}
