| | |
| | | doorLockPage.AddForm(function, btnCollectionIcon, btnName, btnFromFloor); |
| | | break; |
| | | case SPK.IpCam_Imou: |
| | | #if __IOS__ |
| | | #else |
| | | FunctionList.List.GetIpCamImouList(); |
| | | if (string.IsNullOrEmpty(Com.Utils.HdlToLcUtils.Instance.SubAccessToken)) |
| | | { |
| | |
| | | new PublicAssmebly().TipMsg(Language.StringByID(StringId.Tip), Language.StringByID(StringId.huoqushujushibao)); |
| | | }); |
| | | } |
| | | #if __ANDROID__ |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | Application.RunOnMainThread(() =>{ |
| | | try |
| | | { |
| | | Com.Utils.HdlToLcUtils.Instance.SubAccessToken = pack.Data.ToString(); |
| | |
| | | |
| | | } |
| | | }); |
| | | #endif |
| | | } |
| | | } |
| | | else |
| | | { |
| | | Application.RunOnMainThread(() => |
| | |
| | | |
| | | } |
| | | } |
| | | #endif |
| | | break; |
| | | } |
| | | }; |