lixiaojun
2022-08-09 c7c696753fbe0b8ebf56eb6cfe584601a36c5fb2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using IStation.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace IStation.Server
{
    internal class TransferHelper : IJobHelper
    {
        private Transfer.TransferHelper _helper = null;
      
        public void Start()
        {
            if (_helper != null)
                return;
            _helper = new Transfer.TransferHelper();
            _helper.Start();
        }
 
        public void Cancel()
        {
            if (_helper == null)
                return;
            _helper.Cancel();
        }
    }
}