using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.Framework.Core;
using VIZ.Package.Domain;

namespace VIZ.Package.Module
{
    /// <summary>
    /// 包装任务服务
    /// </summary>
    public interface IPackageTaskService : IService
    {
        /// <summary>
        /// 注册任务
        /// </summary>
        /// <param name="task">任务</param>
        void Register(PackageTaskModel task);

        /// <summary>
        /// 取消任务
        /// </summary>
        /// <param name="task">任务</param>
        void Cancel(PackageTaskModel task);
    }
}
