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
39
40
41
42
using FLY.OBJComponents.IService;
using FLY.Weight2.IService;
using FLY.Weight2.Server.Model;
using FObjBase;
using FObjBase.Reflect;
using System;
namespace FLY.Weight2.Client
{
public class BulkDbFlowServiceClient : FObjBase.Reflect.Reflect_SeviceClient, IBulkDbFlowService
{
protected override Type InterfaceType => typeof(IBulkDbFlowService);
public BulkDbFlowServiceClient(UInt32 id) : base(id) { }
public BulkDbFlowServiceClient(UInt32 serviceId, string connName) : base(serviceId, connName) { }
#region IBulkDBService
/// <summary>
/// 最后一条数据Id
/// </summary>
public long LastId { get; set; } = -1;
/// <summary>
/// 获取纵向趋势图
/// </summary>
/// <param name="request"></param>
/// <param name="asyncDelegate"></param>
/// <param name="asyncContext"></param>
[Call(typeof(Pack_GetTrendReponse<Lc_Flow>))]
public void GetTrend(
Pack_GetTrendRequest request,
AsyncCBHandler asyncDelegate, object asyncContext)
{
Call(nameof(GetTrend), new { request }, asyncDelegate, asyncContext);
}
#endregion
}
}