Commit 2270e8fb authored by 潘栩锋's avatar 潘栩锋 🚴

GetSample 添加 更多报警

parent 9671ddff
using FLY.Thick.Base.IService;
using FObjBase;
using FObjBase.Reflect;
using System;
using System.Collections.Generic;
using System.Linq;
namespace FLY.Thick.Base.Client
......@@ -90,6 +93,12 @@ namespace FLY.Thick.Base.Client
{
Call(nameof(Apply));
}
[Call(typeof(List<List<TempFilterData>>))]
public void GetTempFilterDatas(AsyncCBHandler asyncDelegate, object asyncContext)
{
Call(nameof(GetTempFilterDatas),null, asyncDelegate,asyncContext);
}
#endregion
}
......
......@@ -90,6 +90,9 @@ namespace FLY.Thick.Base.IService
/// 应用
/// </summary>
void Apply();
[Call(typeof(List<List<TempFilterData>>))]
void GetTempFilterDatas(AsyncCBHandler asyncDelegate, object asyncContext);
}
......
......@@ -707,17 +707,15 @@ _end:
/// </summary>
/// <param name="asyncCB"></param>
/// <param name="asyncContext"></param>
public void GetTempFilterDatas(AsyncCBHandler asyncCB, object asyncContext)
public void GetTempFilterDatas(AsyncCBHandler asyncDelegate, object asyncContext)
{
List<List<TempFilterData>> ret = new List<List<TempFilterData>>();
for (int i = 0; i < Samples.Count(); i++) {
SampleCell sample = Samples[i];
if (sample.Enable)
ret.Add(tempFilters[i].GetDatas());
else
ret.Add(null);
}
asyncCB(asyncContext, ret);
asyncDelegate(asyncContext, ret);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment