Merge branch 'Dev-Wxr' into wjc
| | |
| | | 599=Please input name |
| | | 600=Add combined dimming |
| | | 601=Please select two or more devices |
| | | 602=My Home |
| | | 603= In order to protect your personal privacy rights, we hereby notify you and apply for explicit consent authorization. Please read it carefully |
| | | 604= 'On Pro Face Information Collection Protocol' |
| | | 605= If you agree to this agreement, please click the [Agree] button to indicate that you have understood and agreed to the face information collection agreement. |
| | | 606=Account binding is successful.You can continue to complete the device association operation |
| | | 607=Previous page |
| | | 608=Next page |
| | | 609=*The smart entrance machine can automatically identify suspicious personnel at the entrance and initiate a wandering alarm record |
| | | 610=Unable to bind this device. Please purchase this type of product from HDL |
| | | 611=Load more |
| | | 612=Facial Information Collection Protocol |
| | | 613=Revoke Authorization |
| | | 614=Statement on account binding |
| | | 615=After the authorization is revoked, all the devices associated with the brand in on Pro will be unbound, and the relevant use information and device value will also become invalid |
| | | |
| | | |
| | | |
| | |
| | | 599=请输入组名称 |
| | | 600=添加组合调光 |
| | | 601=请选择两个以上的设备 |
| | | 602=我的家庭 |
| | | 603= 为保护您的个人隐私权益,特向您通知并申请明确同意授权。请你仔细阅读 |
| | | 604= 《On Pro人脸信息采集协议》 |
| | | 605= 若同意该协议,请点击【同意】按键,表示您已经理解并同意人脸信息采集协议。 |
| | | 606=账户绑定成功,您可以继续完成设备关联操作 |
| | | 607=上一页 |
| | | 608=下一页 |
| | | 609=*可视对讲可以自动识别门口可疑人员,并发起徘徊报警记录 |
| | | 610=无法绑定该设备,请从河东渠道购买该类型产品 |
| | | 611=加载更多 |
| | | 612=人脸信息采集协议 |
| | | 613=撤回授权 |
| | | 614=关于账号绑定的声明 |
| | | 615=撤销授权后,该品牌关联在On Pro中的设备将全部被解绑,相关使用信息合设备值也将失效 |
| | | |
| | | |
| | | |
| | | |
| | |
| | | 599=Please input name |
| | | 600=Add combined dimming |
| | | 601=Please select two or more devices |
| | | |
| | | 602=My Home |
| | | 603= In order to protect your personal privacy rights, we hereby notify you and apply for explicit consent authorization. Please read it carefully |
| | | 604= 'On Pro Face Information Collection Protocol' |
| | | 605= If you agree to this agreement, please click the [Agree] button to indicate that you have understood and agreed to the face information collection agreement. |
| | | 606=Account binding is successful.You can continue to complete the device association operation |
| | | 607=Previous page |
| | | 608=Next page |
| | | 609=*The smart entrance machine can automatically identify suspicious personnel at the entrance and initiate a wandering alarm record |
| | | 610=Unable to bind this device. Please purchase this type of product from HDL |
| | | 611=Load more |
| | | 612=Facial Information Collection Protocol |
| | | 613=Revoke Authorization |
| | | 614=Statement on account binding |
| | | 615=After the authorization is revoked, all the devices associated with the brand in on Pro will be unbound, and the relevant use information and device value will also become invalid |
| | | |
| | | |
| | | 2532=Visitor Invitation Record |
| | |
| | | 599=Please input name |
| | | 600=Add combined dimming |
| | | 601=Please select two or more devices |
| | | 602=My Home |
| | | 603= In order to protect your personal privacy rights, we hereby notify you and apply for explicit consent authorization. Please read it carefully |
| | | 604= 'On Pro Face Information Collection Protocol' |
| | | 605= If you agree to this agreement, please click the [Agree] button to indicate that you have understood and agreed to the face information collection agreement. |
| | | 606=Account binding is successful.You can continue to complete the device association operation |
| | | 607=Previous page |
| | | 608=Next page |
| | | 609=*The smart entrance machine can automatically identify suspicious personnel at the entrance and initiate a wandering alarm record |
| | | 610=Unable to bind this device. Please purchase this type of product from HDL |
| | | 611=Load more |
| | | 612=Facial Information Collection Protocol |
| | | 613=Revoke Authorization |
| | | 614=Statement on account binding |
| | | 615=After the authorization is revoked, all the devices associated with the brand in on Pro will be unbound, and the relevant use information and device value will also become invalid |
| | | |
| | | |
| | | |
| | | |
| | | 2532=Visitor Invitation Record |
| | |
| | | 599=Please input name |
| | | 600=Add combined dimming |
| | | 601=Please select two or more devices |
| | | 602=My Home |
| | | 603= In order to protect your personal privacy rights, we hereby notify you and apply for explicit consent authorization. Please read it carefully |
| | | 604= 'On Pro Face Information Collection Protocol' |
| | | 605= If you agree to this agreement, please click the [Agree] button to indicate that you have understood and agreed to the face information collection agreement. |
| | | 606=Account binding is successful.You can continue to complete the device association operation |
| | | 607=Previous page |
| | | 608=Next page |
| | | 609=*The smart entrance machine can automatically identify suspicious personnel at the entrance and initiate a wandering alarm record |
| | | 610=Unable to bind this device. Please purchase this type of product from HDL |
| | | 611=Load more |
| | | 612=Facial Information Collection Protocol |
| | | 613=Revoke Authorization |
| | | 614=Statement on account binding |
| | | 615=After the authorization is revoked, all the devices associated with the brand in on Pro will be unbound, and the relevant use information and device value will also become invalid |
| | | |
| | | |
| | | |
| | | 2532=Visitor Invitation Record |
| | |
| | | <PackageReference Include="Square.OkHttp3"> |
| | | <Version>3.14.4</Version> |
| | | </PackageReference> |
| | | <PackageReference Include="Bugly"> |
| | | <Version>4.3.1</Version> |
| | | </PackageReference> |
| | | </ItemGroup> |
| | | <ItemGroup> |
| | | <AndroidAsset Include="Assets\Language.ini" /> |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.7" package="com.hdl.onpro" xmlns:tools="http://schemas.android.com/tools" android:versionCode="202304111"> |
| | | <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.7" package="com.hdl.onpro" xmlns:tools="http://schemas.android.com/tools" android:versionCode="202304071"> |
| | | <uses-sdk android:minSdkVersion="26" android:targetSdkVersion="29" /> |
| | | <!--友盟--> |
| | | <!--<uses-sdk android:minSdkVersion="8"></uses-sdk>--> |
| | |
| | | public void OpenScan(Action<string> action) |
| | | { |
| | | resultAction = action; |
| | | //string cancel = "取消"; |
| | | //string flashText = ""; |
| | | //string titleText = "二维码扫描"; |
| | | //if (Language.CurrentLanguage != "Chinese") |
| | | //{ |
| | | // cancel = "Cancel"; |
| | | // flashText = ""; |
| | | // titleText = "Scan"; |
| | | //} |
| | | |
| | | ((BaseActivity)Shared.Application.Activity).SetCamera(async (obj) => |
| | | { |
| | |
| | | //#endif |
| | | JPushInterface.Init(this); |
| | | |
| | | Com.Chteam.Agent.BuglyAgentHelper.Init(this.ApplicationContext, "316a8f5d83"); |
| | | |
| | | |
| | | |
| | | BaseActivity.OnCreateActoin += (activity, application) => |
| | | { |
| | |
| | | "images": [ |
| | | { |
| | | "filename": "40x40.png", |
| | | "size": "20x20", |
| | | "idiom" : "iphone", |
| | | "scale": "2x", |
| | | "idiom": "iphone" |
| | | "size" : "20x20" |
| | | }, |
| | | { |
| | | "filename": "60x60.png", |
| | | "size": "20x20", |
| | | "idiom" : "iphone", |
| | | "scale": "3x", |
| | | "idiom": "iphone" |
| | | "size" : "20x20" |
| | | }, |
| | | { |
| | | "filename": "58x58.png", |
| | | "size": "29x29", |
| | | "idiom" : "iphone", |
| | | "scale": "2x", |
| | | "idiom": "iphone" |
| | | "size" : "29x29" |
| | | }, |
| | | { |
| | | "filename": "87x87.png", |
| | | "size": "29x29", |
| | | "idiom" : "iphone", |
| | | "scale": "3x", |
| | | "idiom": "iphone" |
| | | "size" : "29x29" |
| | | }, |
| | | { |
| | | "filename": "80x80.png", |
| | | "size": "40x40", |
| | | "idiom" : "iphone", |
| | | "scale": "2x", |
| | | "idiom": "iphone" |
| | | "size" : "40x40" |
| | | }, |
| | | { |
| | | "filename": "120x120.png", |
| | | "size": "40x40", |
| | | "idiom" : "iphone", |
| | | "scale": "3x", |
| | | "idiom": "iphone" |
| | | "size" : "40x40" |
| | | }, |
| | | { |
| | | "filename": "120x120-1.png", |
| | | "size": "60x60", |
| | | "idiom" : "iphone", |
| | | "scale": "2x", |
| | | "idiom": "iphone" |
| | | "size" : "60x60" |
| | | }, |
| | | { |
| | | "filename": "180.png", |
| | | "size": "60x60", |
| | | "idiom" : "iphone", |
| | | "scale": "3x", |
| | | "idiom": "iphone" |
| | | "size" : "60x60" |
| | | }, |
| | | { |
| | | "filename": "20x20.png", |
| | | "size": "20x20", |
| | | "idiom" : "ipad", |
| | | "scale": "1x", |
| | | "idiom": "ipad" |
| | | "size" : "20x20" |
| | | }, |
| | | { |
| | | "filename": "40x40-1.png", |
| | | "size": "20x20", |
| | | "idiom" : "ipad", |
| | | "scale": "2x", |
| | | "idiom": "ipad" |
| | | "size" : "20x20" |
| | | }, |
| | | { |
| | | "filename": "29x29.png", |
| | | "size": "29x29", |
| | | "idiom" : "ipad", |
| | | "scale": "1x", |
| | | "idiom": "ipad" |
| | | "size" : "29x29" |
| | | }, |
| | | { |
| | | "filename": "58x58-1.png", |
| | | "size": "29x29", |
| | | "idiom" : "ipad", |
| | | "scale": "2x", |
| | | "idiom": "ipad" |
| | | "size" : "29x29" |
| | | }, |
| | | { |
| | | "filename": "40x40-2.png", |
| | | "size": "40x40", |
| | | "idiom" : "ipad", |
| | | "scale": "1x", |
| | | "idiom": "ipad" |
| | | "size" : "40x40" |
| | | }, |
| | | { |
| | | "filename": "80x80-1.png", |
| | | "size": "40x40", |
| | | "idiom" : "ipad", |
| | | "scale": "2x", |
| | | "idiom": "ipad" |
| | | "size" : "40x40" |
| | | }, |
| | | { |
| | | "size": "83.5x83.5", |
| | | "scale": "2x", |
| | | "idiom": "ipad" |
| | | }, |
| | | { |
| | | "size": "76x76", |
| | | "idiom" : "ipad", |
| | | "scale": "1x", |
| | | "idiom": "ipad" |
| | | "size" : "76x76" |
| | | }, |
| | | { |
| | | "size": "76x76", |
| | | "idiom" : "ipad", |
| | | "scale": "2x", |
| | | "idiom": "ipad" |
| | | "size" : "76x76" |
| | | }, |
| | | { |
| | | "idiom" : "ipad", |
| | | "scale" : "2x", |
| | | "size" : "83.5x83.5" |
| | | }, |
| | | { |
| | | "filename": "1024.png", |
| | | "size": "1024x1024", |
| | | "idiom" : "ios-marketing", |
| | | "scale": "1x", |
| | | "idiom": "ios-marketing" |
| | | "size" : "1024x1024" |
| | | }, |
| | | { |
| | | "size": "60x60", |
| | | "idiom" : "car", |
| | | "scale": "2x", |
| | | "idiom": "car" |
| | | "size" : "60x60" |
| | | }, |
| | | { |
| | | "size": "60x60", |
| | | "idiom" : "car", |
| | | "scale": "3x", |
| | | "idiom": "car" |
| | | "size" : "60x60" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "role": "notificationCenter", |
| | | "scale" : "2x", |
| | | "size": "24x24", |
| | | "subtype": "38mm", |
| | | "scale": "2x", |
| | | "idiom": "watch" |
| | | "subtype" : "38mm" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "role": "notificationCenter", |
| | | "scale" : "2x", |
| | | "size": "27.5x27.5", |
| | | "subtype": "42mm", |
| | | "scale": "2x", |
| | | "idiom": "watch" |
| | | "subtype" : "42mm" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "role": "companionSettings", |
| | | "size": "29x29", |
| | | "scale": "2x", |
| | | "idiom": "watch" |
| | | "size" : "29x29" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "role": "companionSettings", |
| | | "size": "29x29", |
| | | "scale": "3x", |
| | | "idiom": "watch" |
| | | "size" : "29x29" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "role" : "notificationCenter", |
| | | "scale" : "2x", |
| | | "size" : "33x33", |
| | | "subtype" : "45mm" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "role": "appLauncher", |
| | | "scale" : "2x", |
| | | "size": "40x40", |
| | | "subtype": "38mm", |
| | | "scale": "2x", |
| | | "idiom": "watch" |
| | | "subtype" : "38mm" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "role": "appLauncher", |
| | | "scale" : "2x", |
| | | "size": "44x44", |
| | | "subtype": "40mm", |
| | | "scale": "2x", |
| | | "idiom": "watch" |
| | | "subtype" : "40mm" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "role": "appLauncher", |
| | | "scale" : "2x", |
| | | "size" : "46x46", |
| | | "subtype" : "41mm" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "role" : "appLauncher", |
| | | "scale" : "2x", |
| | | "size": "50x50", |
| | | "subtype": "44mm", |
| | | "scale": "2x", |
| | | "idiom": "watch" |
| | | "subtype" : "44mm" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "role" : "appLauncher", |
| | | "scale" : "2x", |
| | | "size" : "51x51", |
| | | "subtype" : "45mm" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "role": "quickLook", |
| | | "scale" : "2x", |
| | | "size": "86x86", |
| | | "subtype": "38mm", |
| | | "scale": "2x", |
| | | "idiom": "watch" |
| | | "subtype" : "38mm" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "role": "quickLook", |
| | | "scale" : "2x", |
| | | "size": "98x98", |
| | | "subtype": "42mm", |
| | | "scale": "2x", |
| | | "idiom": "watch" |
| | | "subtype" : "42mm" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "role": "quickLook", |
| | | "scale" : "2x", |
| | | "size": "108x108", |
| | | "subtype": "44mm", |
| | | "subtype" : "44mm" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "role" : "quickLook", |
| | | "scale": "2x", |
| | | "idiom": "watch" |
| | | "size" : "117x117", |
| | | "subtype" : "45mm" |
| | | }, |
| | | { |
| | | "size": "1024x1024", |
| | | "idiom" : "watch-marketing", |
| | | "scale": "1x", |
| | | "idiom": "watch-marketing" |
| | | "size" : "1024x1024" |
| | | }, |
| | | { |
| | | "size": "16x16", |
| | | "idiom" : "mac", |
| | | "scale": "1x", |
| | | "idiom": "mac" |
| | | "size" : "16x16" |
| | | }, |
| | | { |
| | | "size": "16x16", |
| | | "idiom" : "mac", |
| | | "scale": "2x", |
| | | "idiom": "mac" |
| | | "size" : "16x16" |
| | | }, |
| | | { |
| | | "size": "32x32", |
| | | "idiom" : "mac", |
| | | "scale": "1x", |
| | | "idiom": "mac" |
| | | "size" : "32x32" |
| | | }, |
| | | { |
| | | "size": "32x32", |
| | | "idiom" : "mac", |
| | | "scale": "2x", |
| | | "idiom": "mac" |
| | | "size" : "32x32" |
| | | }, |
| | | { |
| | | "size": "128x128", |
| | | "idiom" : "mac", |
| | | "scale": "1x", |
| | | "idiom": "mac" |
| | | "size" : "128x128" |
| | | }, |
| | | { |
| | | "size": "128x128", |
| | | "idiom" : "mac", |
| | | "scale": "2x", |
| | | "idiom": "mac" |
| | | "size" : "128x128" |
| | | }, |
| | | { |
| | | "size": "256x256", |
| | | "idiom" : "mac", |
| | | "scale": "1x", |
| | | "idiom": "mac" |
| | | "size" : "256x256" |
| | | }, |
| | | { |
| | | "size": "256x256", |
| | | "idiom" : "mac", |
| | | "scale": "2x", |
| | | "idiom": "mac" |
| | | "size" : "256x256" |
| | | }, |
| | | { |
| | | "size": "512x512", |
| | | "idiom" : "mac", |
| | | "scale": "1x", |
| | | "idiom": "mac" |
| | | "size" : "512x512" |
| | | }, |
| | | { |
| | | "size": "512x512", |
| | | "idiom" : "mac", |
| | | "scale": "2x", |
| | | "idiom": "mac" |
| | | "size" : "512x512" |
| | | } |
| | | ], |
| | | "info": { |
| | | "version": 1, |
| | | "author": "xcode" |
| | | "author" : "xcode", |
| | | "version" : 1 |
| | | } |
| | | } |
| | |
| | | "idiom": "universal" |
| | | }, |
| | | { |
| | | "scale": "1x", |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "light" |
| | | } |
| | | ], |
| | | "idiom": "universal" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom" : "universal" |
| | | }, |
| | | { |
| | | "idiom" : "universal", |
| | | "scale" : "1x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "light" |
| | | } |
| | | ], |
| | | "idiom" : "universal", |
| | | "scale" : "1x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom" : "universal", |
| | | "scale" : "1x" |
| | | }, |
| | | { |
| | | "filename": "device_bg.png", |
| | | "scale": "2x", |
| | | "idiom": "universal" |
| | | "idiom" : "universal", |
| | | "scale" : "2x" |
| | | }, |
| | | { |
| | | "scale": "3x", |
| | | "idiom": "universal" |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "light" |
| | | } |
| | | ], |
| | | "idiom" : "universal", |
| | | "scale" : "2x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom" : "universal", |
| | | "scale" : "2x" |
| | | }, |
| | | { |
| | | "idiom" : "universal", |
| | | "scale" : "3x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "light" |
| | | } |
| | | ], |
| | | "idiom" : "universal", |
| | | "scale" : "3x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom" : "universal", |
| | | "scale" : "3x" |
| | | }, |
| | | { |
| | | "idiom": "iphone" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "light" |
| | | } |
| | | ], |
| | | "idiom" : "iphone" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom" : "iphone" |
| | | }, |
| | | { |
| | | "idiom" : "iphone", |
| | | "scale" : "1x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "light" |
| | | } |
| | | ], |
| | | "idiom" : "iphone", |
| | | "scale" : "1x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom" : "iphone", |
| | | "scale" : "1x" |
| | | }, |
| | | { |
| | | "idiom" : "iphone", |
| | | "scale" : "2x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "light" |
| | | } |
| | | ], |
| | | "idiom" : "iphone", |
| | | "scale" : "2x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom" : "iphone", |
| | | "scale" : "2x" |
| | | }, |
| | | { |
| | | "idiom" : "iphone", |
| | | "scale" : "3x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "light" |
| | | } |
| | | ], |
| | | "idiom" : "iphone", |
| | | "scale" : "3x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom" : "iphone", |
| | | "scale" : "3x" |
| | | }, |
| | | { |
| | | "idiom" : "iphone", |
| | | "scale": "1x", |
| | | "idiom": "iphone" |
| | | "subtype" : "retina4" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "light" |
| | | } |
| | | ], |
| | | "idiom" : "iphone", |
| | | "scale" : "1x", |
| | | "subtype" : "retina4" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom" : "iphone", |
| | | "scale" : "1x", |
| | | "subtype" : "retina4" |
| | | }, |
| | | { |
| | | "idiom" : "iphone", |
| | | "scale": "2x", |
| | | "idiom": "iphone" |
| | | "subtype" : "retina4" |
| | | }, |
| | | { |
| | | "subtype": "retina4", |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "light" |
| | | } |
| | | ], |
| | | "idiom" : "iphone", |
| | | "scale": "2x", |
| | | "idiom": "iphone" |
| | | "subtype" : "retina4" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom" : "iphone", |
| | | "scale" : "2x", |
| | | "subtype" : "retina4" |
| | | }, |
| | | { |
| | | "idiom" : "iphone", |
| | | "scale": "3x", |
| | | "idiom": "iphone" |
| | | "subtype" : "retina4" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "light" |
| | | } |
| | | ], |
| | | "idiom" : "iphone", |
| | | "scale" : "3x", |
| | | "subtype" : "retina4" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom" : "iphone", |
| | | "scale" : "3x", |
| | | "subtype" : "retina4" |
| | | }, |
| | | { |
| | | "idiom": "ipad" |
| | | }, |
| | | { |
| | | "scale": "1x", |
| | | "idiom": "ipad" |
| | | }, |
| | | { |
| | | "scale": "2x", |
| | | "idiom": "ipad" |
| | | }, |
| | | { |
| | | "idiom": "watch" |
| | | }, |
| | | { |
| | | "scale": "2x", |
| | | "idiom": "watch" |
| | | }, |
| | | { |
| | | "screenWidth": "{130,145}", |
| | | "scale": "2x", |
| | | "idiom": "watch" |
| | | }, |
| | | { |
| | | "screenWidth": "{146,165}", |
| | | "scale": "2x", |
| | | "idiom": "watch" |
| | | }, |
| | | { |
| | | "idiom": "mac" |
| | | }, |
| | | { |
| | | "scale": "1x", |
| | | "idiom": "mac" |
| | | }, |
| | | { |
| | | "scale": "2x", |
| | | "idiom": "mac" |
| | | }, |
| | | { |
| | | "idiom": "car" |
| | | }, |
| | | { |
| | | "scale": "2x", |
| | | "idiom": "car" |
| | | }, |
| | | { |
| | | "scale": "3x", |
| | | "idiom": "car" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "idiom": "universal" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "scale": "1x", |
| | | "idiom": "universal" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "scale": "2x", |
| | | "idiom": "universal" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "scale": "3x", |
| | | "idiom": "universal" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "idiom": "iphone" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "scale": "1x", |
| | | "idiom": "iphone" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "scale": "2x", |
| | | "idiom": "iphone" |
| | | }, |
| | | { |
| | | "subtype": "retina4", |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "scale": "2x", |
| | | "idiom": "iphone" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "scale": "3x", |
| | | "idiom": "iphone" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "idiom": "ipad" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "scale": "1x", |
| | | "idiom": "ipad" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "scale": "2x", |
| | | "idiom": "ipad" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "idiom": "watch" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "scale": "2x", |
| | | "idiom": "watch" |
| | | }, |
| | | { |
| | | "screenWidth": "{130,145}", |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "scale": "2x", |
| | | "idiom": "watch" |
| | | }, |
| | | { |
| | | "screenWidth": "{146,165}", |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "scale": "2x", |
| | | "idiom": "watch" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "idiom": "mac" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "scale": "1x", |
| | | "idiom": "mac" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "scale": "2x", |
| | | "idiom": "mac" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "idiom": "car" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "scale": "2x", |
| | | "idiom": "car" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "dark" |
| | | } |
| | | ], |
| | | "scale": "3x", |
| | | "idiom": "car" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "light" |
| | | } |
| | | ], |
| | | "idiom": "universal" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "light" |
| | | } |
| | | ], |
| | | "scale": "1x", |
| | | "idiom": "universal" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "light" |
| | | } |
| | | ], |
| | | "scale": "2x", |
| | | "idiom": "universal" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "light" |
| | | } |
| | | ], |
| | | "scale": "3x", |
| | | "idiom": "universal" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "light" |
| | | } |
| | | ], |
| | | "idiom": "iphone" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "light" |
| | | } |
| | | ], |
| | | "scale": "1x", |
| | | "idiom": "iphone" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "light" |
| | | } |
| | | ], |
| | | "scale": "2x", |
| | | "idiom": "iphone" |
| | | }, |
| | | { |
| | | "subtype": "retina4", |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "light" |
| | | } |
| | | ], |
| | | "scale": "2x", |
| | | "idiom": "iphone" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "light" |
| | | } |
| | | ], |
| | | "scale": "3x", |
| | | "idiom": "iphone" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "light" |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "scale": "1x", |
| | | "idiom": "ipad" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "light" |
| | | } |
| | | ], |
| | | "scale": "2x", |
| | | "idiom": "ipad" |
| | | "idiom" : "ipad", |
| | | "scale" : "1x" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | |
| | | "value": "light" |
| | | } |
| | | ], |
| | | "idiom": "watch" |
| | | "idiom" : "ipad", |
| | | "scale" : "1x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom" : "ipad", |
| | | "scale" : "1x" |
| | | }, |
| | | { |
| | | "idiom" : "ipad", |
| | | "scale" : "2x" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | |
| | | "value": "light" |
| | | } |
| | | ], |
| | | "scale": "2x", |
| | | "idiom": "watch" |
| | | }, |
| | | { |
| | | "screenWidth": "{130,145}", |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "light" |
| | | } |
| | | ], |
| | | "scale": "2x", |
| | | "idiom": "watch" |
| | | }, |
| | | { |
| | | "screenWidth": "{146,165}", |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "light" |
| | | } |
| | | ], |
| | | "scale": "2x", |
| | | "idiom": "watch" |
| | | "idiom" : "ipad", |
| | | "scale" : "2x" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "light" |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom": "mac" |
| | | "idiom" : "ipad", |
| | | "scale" : "2x" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "light" |
| | | } |
| | | ], |
| | | "scale": "1x", |
| | | "idiom": "mac" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "light" |
| | | } |
| | | ], |
| | | "scale": "2x", |
| | | "idiom": "mac" |
| | | "idiom" : "car" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | |
| | | "appearances": [ |
| | | { |
| | | "appearance": "luminosity", |
| | | "value": "light" |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "scale": "2x", |
| | | "idiom": "car" |
| | | }, |
| | | { |
| | | "idiom" : "car", |
| | | "scale" : "2x" |
| | | }, |
| | | { |
| | | "appearances": [ |
| | |
| | | "value": "light" |
| | | } |
| | | ], |
| | | "scale": "3x", |
| | | "idiom": "car" |
| | | "idiom" : "car", |
| | | "scale" : "2x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom" : "car", |
| | | "scale" : "2x" |
| | | }, |
| | | { |
| | | "idiom" : "car", |
| | | "scale" : "3x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "light" |
| | | } |
| | | ], |
| | | "idiom" : "car", |
| | | "scale" : "3x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom" : "car", |
| | | "scale" : "3x" |
| | | }, |
| | | { |
| | | "idiom" : "watch" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "screen-width" : "<=145" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "screen-width" : ">161" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "screen-width" : ">145" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "screen-width" : ">183" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "scale" : "2x" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "scale" : "2x", |
| | | "screen-width" : "<=145" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "scale" : "2x", |
| | | "screen-width" : ">161" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "scale" : "2x", |
| | | "screen-width" : ">145" |
| | | }, |
| | | { |
| | | "idiom" : "watch", |
| | | "scale" : "2x", |
| | | "screen-width" : ">183" |
| | | }, |
| | | { |
| | | "idiom" : "mac" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "light" |
| | | } |
| | | ], |
| | | "idiom" : "mac" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom" : "mac" |
| | | }, |
| | | { |
| | | "idiom" : "mac", |
| | | "scale" : "1x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "light" |
| | | } |
| | | ], |
| | | "idiom" : "mac", |
| | | "scale" : "1x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom" : "mac", |
| | | "scale" : "1x" |
| | | }, |
| | | { |
| | | "idiom" : "mac", |
| | | "scale" : "2x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "light" |
| | | } |
| | | ], |
| | | "idiom" : "mac", |
| | | "scale" : "2x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom" : "mac", |
| | | "scale" : "2x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "light" |
| | | } |
| | | ], |
| | | "idiom" : "watch" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom" : "watch" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "light" |
| | | } |
| | | ], |
| | | "idiom" : "watch", |
| | | "scale" : "2x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom" : "watch", |
| | | "scale" : "2x" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "light" |
| | | } |
| | | ], |
| | | "idiom" : "watch", |
| | | "scale" : "2x", |
| | | "screen-width" : "<=145" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom" : "watch", |
| | | "scale" : "2x", |
| | | "screen-width" : "<=145" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "light" |
| | | } |
| | | ], |
| | | "idiom" : "watch", |
| | | "scale" : "2x", |
| | | "screen-width" : ">145" |
| | | }, |
| | | { |
| | | "appearances" : [ |
| | | { |
| | | "appearance" : "luminosity", |
| | | "value" : "dark" |
| | | } |
| | | ], |
| | | "idiom" : "watch", |
| | | "scale" : "2x", |
| | | "screen-width" : ">145" |
| | | } |
| | | ], |
| | | "info": { |
| | | "version": 1, |
| | | "author": "xcode" |
| | | "author" : "xcode", |
| | | "version" : 1 |
| | | } |
| | | } |
| | |
| | | <key>LSRequiresIPhoneOS</key> |
| | | <true/> |
| | | <key>MinimumOSVersion</key> |
| | | <string>12.2</string> |
| | | <string>12.0</string> |
| | | <key>UIDeviceFamily</key> |
| | | <array> |
| | | <integer>1</integer> |
| | |
| | | </dict> |
| | | <key>UIViewControllerBasedStatusBarAppearance</key> |
| | | <false/> |
| | | <key>XSLaunchImageAssets</key> |
| | | <string>Assets.xcassets/LaunchImage.launchimage</string> |
| | | <key>CFBundleName</key> |
| | | <string>On Pro</string> |
| | | <key>XSAppIconAssets</key> |
| | |
| | | <key>UIStatusBarStyle</key> |
| | | <string>UIStatusBarStyleLightContent</string> |
| | | <key>CFBundleShortVersionString</key> |
| | | <string>1.6.602303301</string> |
| | | <string>1.7</string> |
| | | <key>CFBundleVersion</key> |
| | | <string>1.6.603301</string> |
| | | <string>1.7</string> |
| | | <key>NSAppleMusicUsageDescription</key> |
| | | <string>App needs to access your music library to connect to an external player to play music.</string> |
| | | <key>NSLocationAlwaysUsageDescription</key> |
| | |
| | | <key>NSLocationWhenInUseUsageDescription</key> |
| | | <string>EZ video will be use</string> |
| | | <key>UILaunchStoryboardName</key> |
| | | <string>LaunchScreen</string> |
| | | <string>Main</string> |
| | | <key>XSLaunchImageAssets</key> |
| | | <string>Assets.xcassets/LaunchImage.launchimage</string> |
| | | </dict> |
| | | </plist> |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15400" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM"> |
| | | <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM"> |
| | | <device id="retina6_1" orientation="portrait" appearance="light"/> |
| | | <dependencies> |
| | | <deployment identifier="iOS"/> |
| | | <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15404"/> |
| | | <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/> |
| | | <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> |
| | | </dependencies> |
| | | <scenes> |
| | |
| | | <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3"> |
| | | <rect key="frame" x="0.0" y="0.0" width="414" height="896"/> |
| | | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
| | | <subviews> |
| | | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="gAz-Vf-lRO"> |
| | | <rect key="frame" x="111" y="366" width="176" height="139"/> |
| | | <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> |
| | | </imageView> |
| | | </subviews> |
| | | <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
| | | </view> |
| | | </viewController> |
| | | <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/> |
| | | </objects> |
| | | <point key="canvasLocation" x="53" y="375"/> |
| | | <point key="canvasLocation" x="52.173913043478265" y="375"/> |
| | | </scene> |
| | | </scenes> |
| | | </document> |
| | |
| | | 599=Please input name |
| | | 600=Add combined dimming |
| | | 601=Please select two or more devices |
| | | 602=My Home |
| | | 603= In order to protect your personal privacy rights, we hereby notify you and apply for explicit consent authorization. Please read it carefully |
| | | 604= 'On Pro Face Information Collection Protocol' |
| | | 605= If you agree to this agreement, please click the [Agree] button to indicate that you have understood and agreed to the face information collection agreement. |
| | | 606=Account binding is successful.You can continue to complete the device association operation |
| | | 607=Previous page |
| | | 608=Next page |
| | | 609=*The smart entrance machine can automatically identify suspicious personnel at the entrance and initiate a wandering alarm record |
| | | 610=Unable to bind this device. Please purchase this type of product from HDL |
| | | 611=Load more |
| | | 612=Facial Information Collection Protocol |
| | | 613=Revoke Authorization |
| | | 614=Statement on account binding |
| | | 615=After the authorization is revoked, all the devices associated with the brand in on Pro will be unbound, and the relevant use information and device value will also become invalid |
| | | |
| | | |
| | | |
| | |
| | | 8511=User Education |
| | | 8512=Serial number |
| | | 8513=Model |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | |
| | | 599=请输入组名称 |
| | | 600=添加组合调光 |
| | | 601=请选择两个以上的设备 |
| | | 602=我的家庭 |
| | | 603= 为保护您的个人隐私权益,特向您通知并申请明确同意授权。请你仔细阅读 |
| | | 604= 《On Pro人脸信息采集协议》 |
| | | 605= 若同意该协议,请点击【同意】按键,表示您已经理解并同意人脸信息采集协议。 |
| | | 606=账户绑定成功,您可以继续完成设备关联操作 |
| | | 607=上一页 |
| | | 608=下一页 |
| | | 609=*可视对讲可以自动识别门口可疑人员,并发起徘徊报警记录 |
| | | 610=无法绑定该设备,请从河东渠道购买该类型产品 |
| | | 611=加载更多 |
| | | 612=人脸信息采集协议 |
| | | 613=撤回授权 |
| | | 614=关于账号绑定的声明 |
| | | 615=撤销授权后,该品牌关联在On Pro中的设备将全部被解绑,相关使用信息合设备值也将失效 |
| | | |
| | | |
| | | |
| | | |
| | |
| | | 8511=用户人员 |
| | | 8512=序列号 |
| | | 8513=型号 |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | |
| | | 599=Please input name |
| | | 600=Add combined dimming |
| | | 601=Please select two or more devices |
| | | |
| | | 602=My Home |
| | | 603= In order to protect your personal privacy rights, we hereby notify you and apply for explicit consent authorization. Please read it carefully |
| | | 604= 'On Pro Face Information Collection Protocol' |
| | | 605= If you agree to this agreement, please click the [Agree] button to indicate that you have understood and agreed to the face information collection agreement. |
| | | 606=Account binding is successful.You can continue to complete the device association operation |
| | | 607=Previous page |
| | | 608=Next page |
| | | 609=*The smart entrance machine can automatically identify suspicious personnel at the entrance and initiate a wandering alarm record |
| | | 610=Unable to bind this device. Please purchase this type of product from HDL |
| | | 611=Load more |
| | | 612=Facial Information Collection Protocol |
| | | 613=Revoke Authorization |
| | | 614=Statement on account binding |
| | | 615=After the authorization is revoked, all the devices associated with the brand in on Pro will be unbound, and the relevant use information and device value will also become invalid |
| | | |
| | | |
| | | 2532=Visitor Invitation Record |
| | |
| | | 599=Please input name |
| | | 600=Add combined dimming |
| | | 601=Please select two or more devices |
| | | 602=My Home |
| | | 603= In order to protect your personal privacy rights, we hereby notify you and apply for explicit consent authorization. Please read it carefully |
| | | 604= 'On Pro Face Information Collection Protocol' |
| | | 605= If you agree to this agreement, please click the [Agree] button to indicate that you have understood and agreed to the face information collection agreement. |
| | | 606=Account binding is successful.You can continue to complete the device association operation |
| | | 607=Previous page |
| | | 608=Next page |
| | | 609=*The smart entrance machine can automatically identify suspicious personnel at the entrance and initiate a wandering alarm record |
| | | 610=Unable to bind this device. Please purchase this type of product from HDL |
| | | 611=Load more |
| | | 612=Facial Information Collection Protocol |
| | | 613=Revoke Authorization |
| | | 614=Statement on account binding |
| | | 615=After the authorization is revoked, all the devices associated with the brand in on Pro will be unbound, and the relevant use information and device value will also become invalid |
| | | |
| | | |
| | | |
| | | |
| | | 2532=Visitor Invitation Record |
| | |
| | | 599=Please input name |
| | | 600=Add combined dimming |
| | | 601=Please select two or more devices |
| | | 602=My Home |
| | | 603= In order to protect your personal privacy rights, we hereby notify you and apply for explicit consent authorization. Please read it carefully |
| | | 604= 'On Pro Face Information Collection Protocol' |
| | | 605= If you agree to this agreement, please click the [Agree] button to indicate that you have understood and agreed to the face information collection agreement. |
| | | 606=Account binding is successful.You can continue to complete the device association operation |
| | | 607=Previous page |
| | | 608=Next page |
| | | 609=*The smart entrance machine can automatically identify suspicious personnel at the entrance and initiate a wandering alarm record |
| | | 610=Unable to bind this device. Please purchase this type of product from HDL |
| | | 611=Load more |
| | | 612=Facial Information Collection Protocol |
| | | 613=Revoke Authorization |
| | | 614=Statement on account binding |
| | | 615=After the authorization is revoked, all the devices associated with the brand in on Pro will be unbound, and the relevant use information and device value will also become invalid |
| | | |
| | | |
| | | |
| | | 2532=Visitor Invitation Record |
| | |
| | | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| | | <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6214" systemVersion="14A314h" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES"> |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES"> |
| | | <device id="retina6_1" orientation="portrait" appearance="light"/> |
| | | <dependencies> |
| | | <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6207" /> |
| | | <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1" /> |
| | | <deployment identifier="iOS"/> |
| | | <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/> |
| | | <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> |
| | | </dependencies> |
| | | <objects> |
| | | <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" /> |
| | |
| | | <rect key="frame" x="0.0" y="0.0" width="480" height="480" /> |
| | | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES" /> |
| | | <subviews> |
| | | <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" Copyright (c) 2017 " textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" |
| | | minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye"> |
| | | <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text=" Copyright (c) 2017 " textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye"> |
| | | <rect key="frame" x="20" y="439" width="441" height="21" /> |
| | | <fontDescription key="fontDescription" type="system" pointSize="17" /> |
| | | <color key="textColor" cocoaTouchSystemColor="darkTextColor" /> |
| | | <color key="textColor" systemColor="darkTextColor"/> |
| | | <nil key="highlightedColor" /> |
| | | </label> |
| | | <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="HDL_ON_iOS" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" |
| | | minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX"> |
| | | <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="HDL_ON_iOS" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX"> |
| | | <rect key="frame" x="20" y="140" width="441" height="43" /> |
| | | <fontDescription key="fontDescription" type="boldSystem" pointSize="36" /> |
| | | <color key="textColor" cocoaTouchSystemColor="darkTextColor" /> |
| | | <color key="textColor" systemColor="darkTextColor"/> |
| | | <nil key="highlightedColor" /> |
| | | </label> |
| | | </subviews> |
| | | <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite" /> |
| | | <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
| | | <constraints> |
| | | <constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC" /> |
| | | <constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk" /> |
| | |
| | | <point key="canvasLocation" x="548" y="455" /> |
| | | </view> |
| | | </objects> |
| | | <resources> |
| | | <systemColor name="darkTextColor"> |
| | | <color white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
| | | </systemColor> |
| | | </resources> |
| | | </document> |
| | |
| | | /// </summary> |
| | | public void CheckLogout() |
| | | { |
| | | #if __IOS__ |
| | | try{ |
| | | HDL_ON_iOS.AppDelegate.rootViewController.PopToRootViewController(false); |
| | | }catch(Exception ex){ |
| | | MainPage.Log($"回到跟类失败:{ex.Message}"); |
| | | } |
| | | #else |
| | | //Application.Activity.StartActivity() |
| | | #endif |
| | | |
| | | //测试账号,不挤下线 |
| | | switch (UserInfo.Current.AccountString) |
| | | { |
| | |
| | | //账号在别处登陆,被踢下线 跳转到登录页面 |
| | | new Alert(Language.StringByID(StringId.Tip), Language.StringByID(StringId.LoggedOnOtherDevices), Language.StringByID(StringId.Close)).Show(); |
| | | |
| | | try |
| | | { |
| | | Logout(); |
| | | }catch (Exception ex) |
| | | { |
| | | MainPage.Log($"挤下线异常:{ex.Message}"); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | UserInfo.Current.LastTime = DateTime.MinValue; |
| | | UserInfo.Current.SaveUserInfo(); |
| | | DB_ResidenceData.Instance.EixtAccount(); |
| | | MainPage.Log("退出账号清空数据"); |
| | | //4.注销HDLSIP账号登录 2021-08-20 |
| | | HDLLinphone.Current.LogoutAllAccount(); |
| | | MainPage.Log("注销HDLSIP账号登录"); |
| | | |
| | | #if __IOS__ |
| | | //5.全视通登出 |
| | |
| | | { |
| | | if (waitPage != null) |
| | | { |
| | | waitPage.Hide(); |
| | | waitPage.RemoveFromParent(); |
| | | waitPage = null; |
| | | } |
| | |
| | | public static class StringId |
| | | { |
| | | /// <summary> |
| | | /// 撤销授权后,该品牌关联在On Pro中的设备将全部被解绑,相关使用信息合设备值也将失效 |
| | | /// </summary> |
| | | public const int RevokeAuthorizationTip = 615; |
| | | /// <summary> |
| | | /// 关于账号绑定的声明 |
| | | /// </summary> |
| | | public const int AboutBindAcountTip = 614; |
| | | /// <summary> |
| | | /// 确定撤回授权 |
| | | /// </summary> |
| | | public const int ConfirmRevocationOfAuthorization = 613; |
| | | /// <summary> |
| | | /// 人脸采集协议 |
| | | /// </summary> |
| | | public const int GetFaceProtocol = 612; |
| | | /// <summary> |
| | | /// 加载更多 |
| | | /// </summary> |
| | | public const int LoadMore = 611; |
| | | /// <summary> |
| | | /// 无法绑定该设备,请从河东渠道购买该类型产品 |
| | | /// </summary> |
| | | public const int UnableToBindThisDeviceTip = 610; |
| | | /// <summary> |
| | | /// "*可视对讲可以自动识别门口可疑人员,并发起徘徊报警记录 |
| | | /// </summary> |
| | | public const int SmartDoorstepMachineAlarmPrompt = 609; |
| | | /// <summary> |
| | | /// 上一页 |
| | | /// </summary> |
| | | public const int NextPage = 608; |
| | | /// <summary> |
| | | /// 上一页 |
| | | /// </summary> |
| | | public const int PreviousPage = 607; |
| | | /// <summary> |
| | | /// 账户绑定成功,您可以继续完成设备关联操作 |
| | | /// </summary> |
| | | public const int BindIotAccountTip = 606; |
| | | /// <summary> |
| | | /// 若同意该协议,请点击【同意】按键,表示您已经理解并同意人脸信息采集协议。 |
| | | /// </summary> |
| | | public const int FaceProTipText3 = 605; |
| | | /// <summary> |
| | | /// 《On Pro人脸信息采集协议》 |
| | | /// </summary> |
| | | public const int FaceProTipText2 = 604; |
| | | /// <summary> |
| | | /// 为保护您的个人隐私权益,特向您通知并申请明确同意授权。请你仔细阅读 |
| | | /// </summary> |
| | | public const int FaceProTipText1 = 603; |
| | | /// <summary> |
| | | /// 我的家庭 |
| | | /// </summary> |
| | | public const int MyHome = 602; |
| | | /// <summary> |
| | | /// 请选择2个以上的设备 |
| | | /// </summary> |
| | | public const int PlsSelectMoreData = 601; |
| | |
| | | } |
| | | } |
| | | /// <summary> |
| | | /// 本地控制群控主题 |
| | | /// </summary> |
| | | public string ControlGroupControlTopic |
| | | { |
| | | get |
| | | { |
| | | return $"/user/{Control.Ins.GatewayId}/custom/device/group/control/down"; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 本地控制红外设备功能主题 |
| | | /// </summary> |
| | | public string ControlIrFunctionTopic |
| | |
| | | } |
| | | set |
| | | { |
| | | try |
| | | { |
| | | if (_GatewayOnline_Cloud != value) |
| | | { |
| | | _GatewayOnline_Cloud = value; |
| | |
| | | HomePage.LoadEvent_CheckLinkStatus(); |
| | | } |
| | | } |
| | | }catch(Exception ex) |
| | | { |
| | | MainPage.Log($"Set GatewayCloudOnline Error:{ex.Message}"); |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | { |
| | | receiveThread = new Thread(() => |
| | | { |
| | | try |
| | | { |
| | | while (isConnected) |
| | | { |
| | | if (_tcpClient == null) |
| | |
| | | } |
| | | catch (Exception) { } |
| | | } |
| | | |
| | | }catch (Exception ex) |
| | | { |
| | | MainPage.Log($"tcp ReceiveMessage error :{ex.Message}"); |
| | | } |
| | | }); |
| | | //receiveThread.IsBackground = true; |
| | | receiveThread.Start(); |
| | |
| | | { |
| | | Dictionary<string, object> d = new Dictionary<string, object>(); |
| | | d.Add("homeId", DB_ResidenceData.Instance.CurrentRegion.id); |
| | | //d.Add("gatewayId", DB_ResidenceData.Instance.HomeGateway.gatewayId); |
| | | d.Add("infos", groupControls); |
| | | var requestJson = HttpUtil.GetSignRequestJson(d); |
| | | var pack = HttpUtil.RequestHttpsPostFroHome(NewAPI.Api_Post_AddGroupControl, requestJson); |
| | | var pack = HttpUtil.RequestHttpsPostFroHome(NewAPI.Api_Post_UpdateGroupControl, requestJson); |
| | | return pack; |
| | | } |
| | | |
| | |
| | | /// 固定域名,正式环境 |
| | | /// 公共域名就近解析 |
| | | /// </summary> |
| | | public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com"; |
| | | //public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com"; |
| | | //public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com"; |
| | | public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com"; |
| | | const string APP_KEY = "HDL-HOME-APP-TEST"; |
| | | const string SECRET_KEY = "WeJ8TY88vbakCcnvH8G1tDUqzLWY8yss"; |
| | | //public const string GlobalRequestHttpsHost = "http://59.41.255.150:7777";//mmmm |
| | |
| | | |
| | | Shared.IOS.HDLLinphoneSDK.HDLLinPhoneSDK.Instance().LogoutAllLinphoneUser(); |
| | | #else |
| | | if (HDLLinphoneKit.Instance != null) |
| | | { |
| | | HDLLinphoneKit.Instance.Logout(); |
| | | } |
| | | else |
| | | { |
| | | |
| | | } |
| | | #endif |
| | | } |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 第一次申请定位权限,用户拒绝之后,不能再次申请(Android) |
| | | /// </summary> |
| | | public bool CheckGPS_IsFirst = true; |
| | | |
| | | } |
| | | } |
| | |
| | | /// </summary> |
| | | public static void GoLoginPage(UserInfo userInfo = null) |
| | | { |
| | | BaseView.RemoveAll(); |
| | | try |
| | | { |
| | | for (int i = 0; i < BaseView.ChildrenCount; i++) |
| | | { |
| | | BaseView.GetChildren(i).RemoveFromParent(); |
| | | } |
| | | } |
| | | catch { } |
| | | BaseView.BackgroundColor = CSS_Color.BackgroundColor; |
| | | var fisrtView = new UI.UI1Login.LoginPage(); |
| | | fisrtView.BackgroundColor = CSS_Color.MainBackgroundColor; |
| | |
| | | /// <param name="pageShowEvent">主页显示之后触发的事件(没有住宅的话,则不会触发)</param> |
| | | public static void GoUserPage(bool downloadData, bool isFirstOpen = false, Action pageShowEvent = null) |
| | | { |
| | | BaseView.RemoveAll(); |
| | | try |
| | | { |
| | | for (int i = 0; i < BaseView.ChildrenCount; i++) |
| | | { |
| | | BaseView.GetChildren(i).RemoveFromParent(); |
| | | } |
| | | } |
| | | catch { } |
| | | #region 后退事件 |
| | | BasePageView = new PageLayout(); |
| | | BasePageView.ScrollEnabled = false; |
| | |
| | | //跳转到功能信息设置页面 |
| | | switch (function.spk) |
| | | { |
| | | case SPK.GroupControl: |
| | | var dialog = new GroupControlPage(FunctionList.List.groupControls.Find((obj) => obj.sid == function.sid)); |
| | | dialog.ShowDialog(); |
| | | break; |
| | | case SPK.AirSwitch: |
| | | var airSwitchPage = new AirSwitchPage(function); |
| | | MainPage.BasePageView.AddChidren(airSwitchPage); |
| | |
| | | try |
| | | { |
| | | int index = 0; |
| | | var list = FunctionList.List.GetDeviceFunctionList(); |
| | | var list = new List<Function>(); |
| | | list.AddRange(FunctionList.List.GetDeviceFunctionList()); |
| | | list.AddRange(FunctionList.List.groupControls);//加入群控 |
| | | foreach (var function in list) |
| | | { |
| | |
| | | btnState.Text = function.lastState; |
| | | } |
| | | } |
| | | |
| | | else |
| | | { |
| | | btnIcon.UnSelectedImagePath = $"FunctionIcon/Icon/HomeIcon/{function.IconName}_blue.png"; |
| | |
| | | SelectedImagePath = "Public/SwitchOn.png", |
| | | }; |
| | | view.AddChidren(btnSwitch); |
| | | |
| | | if (function.spk == SPK.GroupControl) |
| | | { |
| | | btnIcon.UnSelectedImagePath = $"FunctionIcon/Icon/HomeIcon/lightswitch_blue.png"; |
| | | btnIcon.SelectedImagePath = $"FunctionIcon/Icon/HomeIcon/lightswitch_white.png"; |
| | | } |
| | | else |
| | | { |
| | | btnIcon.UnSelectedImagePath = $"FunctionIcon/Icon/HomeIcon/{function.IconName}_blue.png"; |
| | | btnIcon.SelectedImagePath = $"FunctionIcon/Icon/HomeIcon/{function.IconName}_white.png"; |
| | | } |
| | | LoadEvent_SwitchFunction(function, btnSwitch); |
| | | } |
| | | //取消收藏事件 |
| | |
| | | TextAlignment = TextAlignment.Center, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | Text = "加载更多", |
| | | TextID = StringId.LoadMore, |
| | | }; |
| | | if (Language.CurrentLanguage != "Chinese") |
| | | { |
| | | btnAppend.Text = "Load more"; |
| | | } |
| | | functionListView.AddChidren(btnAppend); |
| | | btnAppend.MouseUpEventHandler = (sender, e) => |
| | | { |
| | |
| | | using System; |
| | | |
| | | using System; |
| | | using HDL_ON.Entity; |
| | | using HDL_ON.UI.CSS; |
| | | using Shared; |
| | |
| | | { |
| | | continue; |
| | | } |
| | | #if DEBUG |
| | | //throw new ArgumentNullException(); |
| | | #endif |
| | | |
| | | functionListView.AddChidren(new Button() { Height = Application.GetRealHeight(12) }); |
| | | |
| | |
| | | functionListView.AddChidren(functionDiv); |
| | | } |
| | | } |
| | | try |
| | | { |
| | | foreach (var scene in room.GetRoomScenes(false)) |
| | | { |
| | | if (scene == null) |
| | | { |
| | | continue; |
| | | } |
| | | functionListView.AddChidren(new Button() { Height = Application.GetRealHeight(12) }); |
| | | var sceneRow = new FrameLayout() |
| | | { |
| | |
| | | functionListView.AddChidren(sceneRow); |
| | | LoadSceneRow(sceneRow, scene); |
| | | } |
| | | }catch (Exception ex) |
| | | { |
| | | MainPage.Log($"RoomPage LoadPage Error:{ex.Message}"); |
| | | } |
| | | } |
| | | |
| | | |
| | |
| | | var bindResult = Newtonsoft.Json.JsonConvert.DeserializeObject<ResponsePackNew>(msg); |
| | | if (bindResult != null) |
| | | { |
| | | string tipTitle = Language.StringByID(StringId.Tip); |
| | | if (bindResult.Code == "147021") { |
| | | string tipTitle = "提示"; |
| | | string tipMsg = "无法绑定该设备,请从河东渠道购买该类型产品"; |
| | | if (Language.CurrentLanguage != "Chinese") |
| | | { |
| | | tipTitle = "Tip"; |
| | | tipMsg = "Unable to bind this device. Please purchase this type of product from HDL"; |
| | | } |
| | | string tipMsg = Language.StringByID(StringId.UnableToBindThisDeviceTip); |
| | | new PublicAssmebly().TipMsg(tipTitle, tipMsg); |
| | | } |
| | | else |
| | | { |
| | | string tipTitle = "提示"; |
| | | string tipMsg = $"{bindResult.message}({bindResult.Code})"; |
| | | if (Language.CurrentLanguage != "Chinese") |
| | | { |
| | | tipTitle = "Tip"; |
| | | } |
| | | new PublicAssmebly().TipMsg(tipTitle, tipMsg); |
| | | } |
| | | } |
| | |
| | | var bindResult = Newtonsoft.Json.JsonConvert.DeserializeObject<ResponsePackNew>(msg); |
| | | if (bindResult != null) |
| | | { |
| | | string tipTitle = Language.StringByID(StringId.Tip); |
| | | if (bindResult.Code == "147021") |
| | | { |
| | | string tipTitle = "提示"; |
| | | string tipMsg = "无法绑定该设备,请从河东渠道购买该类型产品"; |
| | | if (Language.CurrentLanguage != "Chinese") |
| | | { |
| | | tipTitle = "Tip"; |
| | | tipMsg = "Unable to bind this device. Please purchase this type of product from HDL"; |
| | | } |
| | | string tipMsg = Language.StringByID(StringId.UnableToBindThisDeviceTip); |
| | | new PublicAssmebly().TipMsg(tipTitle, tipMsg); |
| | | } |
| | | else |
| | | { |
| | | string tipTitle = "提示"; |
| | | string tipMsg = $"{bindResult.message}({bindResult.Code})"; |
| | | if (Language.CurrentLanguage != "Chinese") |
| | | { |
| | | tipTitle = "Tip"; |
| | | } |
| | | new PublicAssmebly().TipMsg(tipTitle, tipMsg); |
| | | } |
| | | } |
| | |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | Padding = new Padding(0, Application.GetRealWidth(16), 0, Application.GetRealWidth(16)), |
| | | Text = "账户绑定成功,您可以继续完成设备关联操作", |
| | | TextID = StringId.BindIotAccountTip, |
| | | IsMoreLines = true, |
| | | }; |
| | | contentView.AddChidren(btnMsg); |
| | | if(Language.CurrentLanguage != "Chinese") |
| | | { |
| | | btnMsg.Text = "Account binding is successful.You can continue to complete the device association operation"; |
| | | } |
| | | |
| | | Button btnLine = new Button() |
| | | { |
| | |
| | | TextSize = 21, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | IsBold = true, |
| | | Text = "关于账号绑定的声明" |
| | | TextID = StringId.AboutBindAcountTip, |
| | | }; |
| | | contentView.AddChidren(btnTipTitle); |
| | | if (Language.CurrentLanguage != "Chinese") |
| | | { |
| | | btnTipTitle.Text = "Statement on account binding"; |
| | | } |
| | | |
| | | var btnTipText = new Button() |
| | | { |
| | |
| | | BackgroundColor= CSS_Color.MainColor, |
| | | TextColor = CSS_Color.MainBackgroundColor, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | Text = "同意授权", |
| | | TextID = StringId.Agree, |
| | | Radius = (uint)Application.GetRealHeight(22) |
| | | }; |
| | | optionView.AddChidren(btnComfirm); |
| | | if (Language.CurrentLanguage != "Chinese") |
| | | { |
| | | btnComfirm.Text = "Consent authorization"; |
| | | } |
| | | |
| | | |
| | | if (!brand_Iot.hasAuthorization) |
| | | { |
| | |
| | | } |
| | | else |
| | | { |
| | | btnComfirm.Text = "解除授权"; |
| | | if (Language.CurrentLanguage != "Chinese") |
| | | { |
| | | btnComfirm.Text = "Cancel authorization"; |
| | | } |
| | | btnComfirm.TextID = StringId.Cancel; |
| | | btnComfirm.MouseUpEventHandler = (sender, e) => |
| | | { |
| | | Dialog dialog = new Dialog() |
| | |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | Padding = new Padding(0,Application.GetRealWidth(16),0,Application.GetRealWidth(16)), |
| | | Text = "撤销授权后,该品牌关联在On Pro中的设备将全部被解绑,相关使用信息合设备值也将失效", |
| | | TextID = StringId.RevokeAuthorizationTip, |
| | | IsMoreLines = true, |
| | | }; |
| | | contentView2.AddChidren(btnMsg); |
| | | if (Language.CurrentLanguage != "Chinese") |
| | | { |
| | | btnMsg.Text = "After the authorization is revoked, all the devices associated with the brand in on Pro will be unbound, and the relevant use information and device value will also become invalid"; |
| | | } |
| | | |
| | | Button btnLine = new Button() |
| | | { |
| | |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | SelectedTextColor = CSS_Color.MainBackgroundColor, |
| | | SelectedBackgroundColor = CSS_Color.MainColor, |
| | | Text = "确定撤回授权", |
| | | TextID = StringId.ConfirmRevocationOfAuthorization, |
| | | }; |
| | | if (Language.CurrentLanguage != "Chinese") |
| | | { |
| | | btnConfirm.Text = "Confirm to withdraw authorization"; |
| | | } |
| | | btnConfirm.SetCornerWithSameRadius(Application.GetMinRealAverage(10), HDLUtils.RectCornerBottomLeft); |
| | | btnConfirm.SetCornerWithSameRadius(Application.GetMinRealAverage(10), HDLUtils.RectCornerBottomRight); |
| | | contentView2.AddChidren(btnConfirm); |
| | |
| | | } |
| | | else |
| | | { |
| | | if (Language.CurrentLanguage != "Chinese") |
| | | { |
| | | new Alert("", "Operation failed", "").Show(); |
| | | } |
| | | else |
| | | { |
| | | new Alert("", "操作失败", "").Show(); |
| | | } |
| | | new Alert("", Language.StringByID(StringId.OperationFailed), "").Show(); |
| | | } |
| | | } |
| | | catch { } |
| | |
| | | this.RemoveFromParent(); |
| | | return; |
| | | } |
| | | groupControl.sids.Clear(); |
| | | foreach (var light in groupControlLightList) |
| | | { |
| | | try |
| | | { |
| | | var gc = new GroupControlFunction(); |
| | | gc.sid = light.sid; |
| | | gc.spk = light.spk; |
| | | groupControl.sids.Add(gc); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | MainPage.Log($"新增群控转换数据异常:{ex.Message}"); |
| | | } |
| | | } |
| | | |
| | | var pack = Common.ApiUtlis.Ins.HttpRequest.EditGroupControl(new List<GroupControl>() { groupControl }); |
| | | if (pack != null) |
| | | { |
| | |
| | | TextAlignment = TextAlignment.Center, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | Text = "加载更多", |
| | | TextID = StringId.LoadMore, |
| | | }; |
| | | if (Language.CurrentLanguage != "Chinese") |
| | | { |
| | | btnAppend.Text = "Load more"; |
| | | } |
| | | functionListView.AddChidren(btnAppend); |
| | | btnAppend.MouseUpEventHandler = (sender, e) => |
| | | { |
| | |
| | | using System.Collections.Generic; |
| | | using HDL_ON.Common; |
| | | using HDL_ON.DAL.Server; |
| | | using HDL_ON.DriverLayer; |
| | | using Shared; |
| | | |
| | | namespace HDL_ON.Entity |
| | |
| | | { |
| | | try |
| | | { |
| | | |
| | | if (DriverLayer.Control.Ins.GatewayOnline_Local) |
| | | { |
| | | var controlValues = new Dictionary<string, string>(); |
| | | foreach (var p in pairs) |
| | | { |
| | | controlValues.Add("key", p.Key); |
| | | controlValues.Add("value", p.Value.ToString()); |
| | | } |
| | | var functionControlDataObj = GetGatewayAlinkControlData(controlValues); |
| | | var functionControlDataJson = Newtonsoft.Json.JsonConvert.SerializeObject(functionControlDataObj); |
| | | var sendBytes = DriverLayer.Control.Ins.ConvertSendBodyData(CommunicationTopic.ct.ControlFunctionTopic, functionControlDataJson); |
| | | new Control_Udp().SendLocalHdlLinkData(sendBytes, functionControlDataObj.id, 3); |
| | | MainPage.Log($"本地通讯 发送HDL-Link数据:{functionControlDataJson}"); |
| | | } |
| | | else |
| | | { |
| | | |
| | | var controlValues = new Dictionary<string, object>(); |
| | | foreach(var p in pairs) |
| | | { |
| | |
| | | } |
| | | } |
| | | } |
| | | } |
| | | catch (Exception ex){ |
| | | MainPage.Log($"群控控制失败: {ex.Message}"); |
| | | } |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.TextualColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | Text = " 为保护您的个人隐私权益,特向您通知并申请明确同意授权。请你仔细阅读", |
| | | TextID =StringId.FaceProTipText1, |
| | | IsMoreLines = true, |
| | | }; |
| | | if(Language.CurrentLanguage != "Chinese") |
| | | { |
| | | btnMsg.Text = " In order to protect your personal privacy rights, we hereby notify you and apply for explicit consent authorization. Please read it carefully"; |
| | | } |
| | | contentView.AddChidren(btnMsg); |
| | | |
| | | Button btnMsg1 = new Button() |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.MainColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | Text = " 《On Pro人脸信息采集协议》", |
| | | TextID = StringId.FaceProTipText2, |
| | | IsMoreLines = true, |
| | | }; |
| | | if (Language.CurrentLanguage != "Chinese") |
| | | { |
| | | btnMsg1.Text = " 'On Pro Face Information Collection Protocol'"; |
| | | } |
| | | |
| | | contentView.AddChidren(btnMsg1); |
| | | |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.TextualColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | Text = " 若同意该协议,请点击【同意】按键,表示您已经理解并同意人脸信息采集协议。", |
| | | TextID = StringId.FaceProTipText3, |
| | | IsMoreLines = true, |
| | | }; |
| | | if (Language.CurrentLanguage != "Chinese") |
| | | { |
| | | btnMsg2.Text = " If you agree to this agreement, please click the [Agree] button to indicate that you have understood and agreed to the face information collection agreement."; |
| | | } |
| | | contentView.AddChidren(btnMsg2); |
| | | |
| | | Button btnLine2 = new Button() |
| | |
| | | { |
| | | url = "https://developer.hdlcontrol.com/Face information collection protocol.html"; |
| | | } |
| | | new WebViewDialog().LoadPage("人脸信息采集协议", url); |
| | | new WebViewDialog().LoadPage(Language.StringByID(StringId.GetFaceProtocol), url); |
| | | |
| | | dialog.Close(); |
| | | }; |
| | |
| | | Width = Application.GetRealWidth(374 / 2), |
| | | Height = Application.GetRealHeight(50) - 1, |
| | | BackgroundColor = CSS.CSS_Color.MainBackgroundColor, |
| | | Text = "上一页", |
| | | TextID = StringId.PreviousPage, |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = CSS.CSS_Color.TextualColor, |
| | | TextSize = CSS.CSS_FontSize.TextFontSize, |
| | | }; |
| | | if(Language.CurrentLanguage != "Chinese") |
| | | { |
| | | btnPre.Text = "Previous"; |
| | | } |
| | | |
| | | bottomOptionView.AddChidren(btnPre); |
| | | btnPre.MouseUpEventHandler = (sender33, e33) => { |
| | | if (pageIndex < 1) |
| | |
| | | Width = Application.GetRealWidth(374 / 2), |
| | | Height = Application.GetRealHeight(50) - 1, |
| | | BackgroundColor = CSS.CSS_Color.MainBackgroundColor, |
| | | Text = "下一页", |
| | | TextID = StringId.NextPage, |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = CSS.CSS_Color.TextualColor, |
| | | TextSize = CSS.CSS_FontSize.TextFontSize, |
| | | }; |
| | | if(Language.CurrentLanguage != "Chinese") |
| | | { |
| | | btnNext.Text = "Next"; |
| | | } |
| | | |
| | | bottomOptionView.AddChidren(btnNext); |
| | | btnNext.MouseUpEventHandler = (sender33, e33) => { |
| | |
| | | var btnTitleText2 = new Button() |
| | | { |
| | | X = btnCollection.Right, |
| | | Text = "我的家庭", |
| | | TextID = StringId.MyHome, |
| | | TextSize = 16, |
| | | TextColor = 0xFF242424, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | |
| | | Height = Application.GetRealHeight(54), |
| | | }; |
| | | subTitleView.AddChidren(btnTitleText2); |
| | | if(Language.CurrentLanguage != "Chinese") |
| | | { |
| | | btnTitleText2.Text = "My Home"; |
| | | } |
| | | |
| | | int subFunctionCount = 0; |
| | | |
| | |
| | | public void LoadPage() |
| | | { |
| | | bodyView.BackgroundColor = CSS_Color.BackgroundColor; |
| | | new TopViewDiv(bodyView, Language.StringByID(StringId.LocationManagement)).LoadTopView(backAction); |
| | | new TopViewDiv(bodyView, Language.StringByID(StringId.LocationManagement)).LoadTopView(); |
| | | |
| | | contentView = new VerticalScrolViewLayout() |
| | | { |
| | |
| | | TextID = StringId.OFF, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | Radius = (uint)Application.GetRealWidth(5), |
| | | IsSelected = true, |
| | | //BorderWidth = 1, |
| | | //BorderColor = 0x00000000 |
| | | }; |
| | | view.AddChidren(btnClose); |
| | | |
| | |
| | | TextAlignment = TextAlignment.Center, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | Text = "加载更多", |
| | | TextID = StringId.LoadMore, |
| | | }; |
| | | if (Language.CurrentLanguage != "Chinese") |
| | | { |
| | | btnAppend.Text = "Load more"; |
| | | } |
| | | functionListView.AddChidren(btnAppend); |
| | | btnAppend.MouseUpEventHandler = (sender, e) => |
| | | { |
| | |
| | | } |
| | | else |
| | | { |
| | | var removeTemp = functions.Find((obj) => obj.deviceId == function.deviceId); |
| | | var removeTemp = functions.Find((obj) => obj.sid == function.deviceId); |
| | | if (removeTemp != null) |
| | | { |
| | | functions.Remove(removeTemp); |
| | |
| | | TextAlignment = TextAlignment.Center, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | Text = "加载更多", |
| | | TextID = StringId.LoadMore, |
| | | }; |
| | | if (Language.CurrentLanguage != "Chinese") |
| | | { |
| | | btnAppend.Text = "Load more"; |
| | | } |
| | | functionListView.AddChidren(btnAppend); |
| | | btnAppend.MouseUpEventHandler = (sender, e) => |
| | | { |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.PromptingColor1, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | Text = "*可视对讲可以自动识别门口可疑人员,并发起徘徊报警记录" |
| | | TextID =StringId.SmartDoorstepMachineAlarmPrompt, |
| | | }; |
| | | if(Language.CurrentLanguage != "Chinese") |
| | | { |
| | | btnTipMsg.Text = "*Visual intercom can automatically identify suspicious persons at the door and initiate wandering alarm records"; |
| | | } |
| | | bodyView.AddChidren(btnTipMsg); |
| | | |
| | | contentView = new VerticalScrolViewLayout() |
| | |
| | | //开启定位服务 |
| | | try |
| | | { |
| | | if (DB_ResidenceData.Instance.CheckGPS_IsFirst) |
| | | { |
| | | DB_ResidenceData.Instance.CheckGPS_IsFirst = false; |
| | | Shared.Application.StartGPSLocationService(); |
| | | } |
| | | }catch(Exception ex) |
| | | { |
| | | MainPage.Log("开启定位服务异常:" + ex.Message); |
| | |
| | | /// 固定域名,正式环境 |
| | | /// 公共域名就近解析 |
| | | /// </summary> |
| | | public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com"; |
| | | //public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com"; |
| | | //public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com"; |
| | | public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com"; |
| | | const string APP_KEY = "HDL-HOME-APP-TEST"; |
| | | const string SECRET_KEY = "WeJ8TY88vbakCcnvH8G1tDUqzLWY8yss"; |
| | | //public const string GlobalRequestHttpsHost = "http://59.41.255.150:7777";//mmmm |