| | |
| | | /// <param name="i_listAllFun">全部的设备列表,需要手动指定</param>
|
| | | /// <param name="SelectEvent">根据选择的条件,筛选之后的设备列表(第一个参数是选择的UID,不管有没有用,总之先返回)</param>
|
| | | /// <param name="i_defultSelectId">默认哪个为选择状态</param>
|
| | | public void ShowDeviceFunctionView(Button btnFloor, List<Function> i_listAllFun, Action<string, List<Function>> SelectEvent, string i_defultSelectId = null)
|
| | | public void ShowDeviceFunctionView(Button btnFloor, List<Function> i_listAllFun, Action<string, List<Function>> SelectEvent, string i_defultSelectId = null, int offsetY = 0)
|
| | | {
|
| | | //清缓存
|
| | | this.ClearMemory();
|
| | |
| | | SelectEvent?.Invoke(this.nowShowSelectId, listDevice);
|
| | | SelectEvent = null;
|
| | |
|
| | | }, i_defultSelectId);
|
| | | }, i_defultSelectId, offsetY);
|
| | | }
|
| | |
|
| | | /// <summary>
|