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
36
37
38
using FLY.FeedbackRenZiJia.IService;
using FObjBase;
using FObjBase.Reflect;
using Newtonsoft.Json;
using System;
namespace FLY.FeedbackRenZiJia.Client
{
public class BulkDbServiceClient : FObjBase.Reflect.Reflect_SeviceClient, IBulkDbService
{
protected override Type InterfaceType => typeof(IBulkDbService);
public long LastId { get; set; }
public BulkDbServiceClient(UInt32 serviceId) : base(serviceId) { }
public BulkDbServiceClient(UInt32 serviceId, string connName) : base(serviceId, connName) { }
public void GetFrame(long Id, AsyncCBHandler asyncDelegate, object asyncContext)
{
Call(nameof(GetFrame), new { Id }, asyncDelegate, asyncContext);
}
/// <summary>
/// 获取一幅稳定的数据;
/// </summary>
/// <param name="Id">以Id为起始点, 向前或者向后或者最近稳定的一幅数据</param>
/// <param name="isPre"></param>
/// <param name="asyncDelegate"></param>
/// <param name="asyncContext"></param>
[Call(typeof(GetStableFrameReponse))]
public void GetStableFrame(long id, bool isPre, AsyncCBHandler asyncDelegate, object asyncContext)
{
Call(nameof(GetStableFrame), new { id, isPre }, asyncDelegate, asyncContext);
}
}
}