lixiaojun
2024-08-20 b9fd3931700cd17a7d77182f3d88ed69fff357f4
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
30
31
32
33
34
35
namespace Yw.Service
{
    /// <summary>
    /// 
    /// </summary>
    public class RunRealRecordExchangeHelper : Yw.Exchange.IRunRealRecordExchangeHelper
    {
        private readonly Yw.Exchange.IRunRealRecordExchangeHelper _helper =
                    ExchangeCreateHelper.CreateExchange<Yw.Exchange.IRunRealRecordExchangeHelper>();
 
        /// <summary>
        /// 推送
        /// </summary>
        public bool Push(List<Yw.Model.RunRealRecord> list)
        {
            return _helper.Push(list);
        }
 
        /// <summary>
        /// 接收
        /// </summary>
        public bool Receive(Func<List<Yw.Model.RunRealRecord>, bool> func)
        {
            return _helper.Receive(func);
        }
 
        /// <summary>
        /// 关闭
        /// </summary>
        public void Close()
        {
            _helper.Close();
        }
    }
}