old mode 100644
new mode 100755
File was renamed from Home0630/Shared/Phone/Device/Logic/SkipView.cs |
| | |
| | | /// <summary> |
| | | /// 其它界面跳进来的入口 |
| | | /// </summary> |
| | | public async static void SkipAddLogic(int intvalue, DoorLock doorLock = null, UserCenter.MemberInfoRes accountObj = null) |
| | | public async static void SkipAddLogic(int intvalue, DoorLock doorLock = null, UserCenter.MemberInfoRes accountObj = null) |
| | | { |
| | | /// 0.正常自动化;1.门锁自动化;2.Sone门锁; |
| | | switch (intvalue) |
| | |
| | | /// <param name="refresview">Refresview.</param> |
| | | private static async void Automationview(VerticalRefreshLayout refresview, bool no) |
| | | { |
| | | |
| | | |
| | | refresview.RemoveAll(); |
| | | if (Common.Logic.LogicList.Count == 0 && no == false) |
| | | { |
| | |
| | | //实现android显示逻辑列表的圆角; |
| | | fLayout.SetCornerWithSameRadius(Application.GetRealHeight(58), HDLUtils.RectCornerTopLeft); |
| | | logicRowlayout.SetCornerWithSameRadius(Application.GetRealHeight(58), HDLUtils.RectCornerTopLeft); |
| | | |
| | | |
| | | } |
| | | i++; |
| | | var logicnameBtn = new Button |
| | |
| | | /// </summary> |
| | | public static async System.Threading.Tasks.Task<int> Exist(int valueInt, ZigBee.Device.DoorLock doorLock) |
| | | { |
| | | |
| | | |
| | | int exist = 0; |
| | | var IdList = await Send.GetLogicId(valueInt); |
| | | if (IdList.Count != 0) |
| | |
| | | //(考虑性能默认删除成功,直接返回成功结果true) |
| | | _if = true; |
| | | Send.DelLogic(id); |
| | | |
| | | |
| | | |
| | | } |
| | | } |
| | |
| | | |
| | | } |
| | | } |
| | | |