| | |
| | | public class Method |
| | | { |
| | | /// <summary> |
| | | /// 程序主入口 |
| | | /// 红外宝程序主入口 |
| | | /// </summary> |
| | | /// <param name="frame"></param> |
| | | /// <param name="function"></param> |
| | | public void MainView(FrameLayout frame, Entity.Function function,Action action) |
| | | { |
| | | |
| | | Pir pirDevice = new Pir(); |
| | | if (function != null) |
| | | {//数据转换 |
| | |
| | | if (pirJosn != null) |
| | | { |
| | |
|
| | | /* 项目“HDL-ON_iOS”的未合并的更改
|
| | | 在此之前:
|
| | | if (null == Pir.pirDeviceList.Find((c) => c.deviceId == pirJosn.deviceId))
|
| | | 在此之后:
|
| | | if (null == list.pirDeviceList.Find((c) => c.deviceId == pirJosn.deviceId))
|
| | | */
|
| | | if (null == PirDevice.Pir.pirDeviceList.Find((c) => c.deviceId == pirJosn.deviceId)) |
| | | { |
| | | |
| | |
|
| | | /* 项目“HDL-ON_iOS”的未合并的更改
|
| | | 在此之前:
|
| | | Pir.pirDeviceList.Add(pirJosn);
|
| | | 在此之后:
|
| | | list.pirDeviceList.Add(pirJosn);
|
| | | */
|
| | | PirDevice.Pir.pirDeviceList.Add(pirJosn); |
| | | |
| | | } |
| | | } |
| | | } |