2019-12-09-1
修改显示图标,刷新用户列表等问题;请合并代码;
| | |
| | | 5274=检测无漏水 |
| | | 5275=检测到燃气 |
| | | 5276=检测无燃气 |
| | | 5277=检测到烟幕 |
| | | 5278=检测无烟幕 |
| | | 5277=检测到烟雾 |
| | | 5278=检测无烟雾 |
| | | 5279=添加安防 |
| | | 5280=立即执行 |
| | | 5281=时间范围 |
| | |
| | | <AndroidAsset Include="Assets\Phone\Safeguard\ProtectionRemoveHomeSelected.png" />
|
| | | <AndroidAsset Include="Assets\Phone\Safeguard\WithdrawGarrison.png" />
|
| | | <AndroidAsset Include="Assets\Phone\Safeguard\WithdrawGarrisonSelected.png" />
|
| | | <AndroidAsset Include="Assets\Phone\ZigeeLogic\selectedsensor0.png" />
|
| | | <AndroidAsset Include="Assets\Phone\ZigeeLogic\sensor0.png" />
|
| | | </ItemGroup>
|
| | | <ItemGroup>
|
| | | <AndroidAsset Include="Assets\Phone\Item\InputAccountIcon.png" />
|
| | |
| | | <BundleResource Include="Resources\Phone\Gateway\WiredGateway.png" /> |
| | | <BundleResource Include="Resources\Phone\Gateway\WirelessGateway.png" /> |
| | | <BundleResource Include="Resources\Phone\Gateway\AddGatewaySuccess.png" /> |
| | | <BundleResource Include="Resources\Phone\ZigeeLogic\selectedsensor0.png" /> |
| | | <BundleResource Include="Resources\Phone\ZigeeLogic\sensor0.png" /> |
| | | </ItemGroup> |
| | | <ItemGroup> |
| | | <ProjectReference Include="..\Elian.iOS\Elian.iOS.csproj"> |
| | |
| | | 5274=检测无漏水 |
| | | 5275=检测到燃气 |
| | | 5276=检测无燃气 |
| | | 5277=检测到烟幕 |
| | | 5278=检测无烟幕 |
| | | 5277=检测到烟雾 |
| | | 5278=检测无烟雾 |
| | | 5279=添加安防 |
| | | 5280=立即执行 |
| | | 5281=时间范围 |
old mode 100755
new mode 100644
| | |
| | | /// <summary> |
| | | /// 自动化功能代码入口 |
| | | /// </summary> |
| | | private async void ShowAutotion() |
| | | private void ShowAutotion() |
| | | {
|
| | |
|
| | | functionSceneAutoBodyView.BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor;
|
| | |
| | | }; |
| | | functionSceneAutoBodyView.AddChidren(logicScrolView); |
| | | logicScrolView.SetCornerWithSameRadius(Application.GetRealHeight(58), HDLUtils.RectCornerTopLeft); |
| | | |
| | | |
| | | recommendswitchBtn.MouseUpEventHandler += (sender, e) => |
| | | { |
| | |
| | | }; |
| | | this.AddChidren(middle); |
| | | |
| | | |
| | | var blancolor = new FrameLayout |
| | | { |
| | | Width = Application.GetMinRealAverage(200), |
| | |
| | | }; |
| | | middle.AddChidren(PickerViewfra); |
| | | PickerViewfra.SetCornerWithSameRadius(Application.GetRealHeight(50), HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight); |
| | | |
| | | |
| | | var mUIPickerView = new UIPickerView |
| | | { |
| | |
| | | |
| | | }; |
| | | |
| | | |
| | | var btnsave = new Button |
| | | { |
| | | Y = PickerViewfra.Height - Application.GetRealHeight(260), |
| | |
| | | UserView.HomePage.Instance.PageIndex += 1; |
| | | logicCommunalPage.Show(() => { }); |
| | | }; |
| | | |
| | | } |
| | | } |
| | | } |
| | |
| | | { |
| | | ///从列表移除当前门锁全部的旧数据; |
| | | Send.LockList.Remove(Send.LockList[i]); |
| | | i--; |
| | | } |
| | | } |
| | | Read(); |
| | |
| | | /// </summary> |
| | | public void UserAllView(string macport) |
| | | { |
| | | |
| | | middle.RemoveAll(); |
| | | for (int i = 0; i < Send.LockList.Count; i++) |
| | | { |
| | | var user = Send.LockList[i]; |
| | |
| | | case 21: |
| | | case 22: |
| | | { |
| | | conditionIcon.UnSelectedImagePath = "ZigeeLogic/doormagnetism.png"; |
| | | if (intvalue == "1") |
| | | { |
| | | devicestatus.TextID = MyInternationalizationString.logicopen; |
| | |
| | | break; |
| | | case 40: |
| | | { |
| | | conditionIcon.UnSelectedImagePath = "ZigeeLogic/smoke.png"; |
| | | if (intvalue == "1") |
| | | { |
| | | devicestatus.TextID = MyInternationalizationString.smokescreen; |
| | |
| | | break; |
| | | case 42: |
| | | { |
| | | conditionIcon.UnSelectedImagePath = "ZigeeLogic/waterleakage.png"; |
| | | if (intvalue == "1") |
| | | { |
| | | devicestatus.TextID = MyInternationalizationString.waterleakage; |
| | |
| | | break; |
| | | case 43: |
| | | { |
| | | conditionIcon.UnSelectedImagePath = "ZigeeLogic/gas.png"; |
| | | if (intvalue == "1") |
| | | { |
| | | devicestatus.TextID = MyInternationalizationString.gas; |
| | |
| | | break; |
| | | case 277: |
| | | { |
| | | conditionIcon.UnSelectedImagePath = "ZigeeLogic/waterleakage.png"; |
| | | if (intvalue == "1") |
| | | { |
| | | devicestatus.TextID = MyInternationalizationString.callthepolice; |
| | |
| | | break; |
| | | default: |
| | | { |
| | | conditionIcon.UnSelectedImagePath = "ZigeeLogic/infraredsensor.png"; |
| | | if (intvalue == "1") |
| | | { |
| | | devicestatus.TextID = MyInternationalizationString.callthepolice; |
| | |
| | | VerticalRefreshLayout middle; |
| | | CommonDevice common; |
| | | Dictionary<string, string> editdeviceConditionsInfo; |
| | | |
| | | public void Show(CommonDevice commondevice, Dictionary<string, string> editdeviceConditions = null) |
| | | { |
| | | common = commondevice; |
| | |
| | | { |
| | | ///从列表移除当前门锁全部的旧数据; |
| | | Send.LockList.Remove(Send.LockList[i]); |
| | | i--; |
| | | } |
| | | } |
| | | Read(); |
| | |
| | | /// <param name="macport"></param> |
| | | public void UserList(string macport) |
| | | { |
| | | |
| | | middle.RemoveAll(); |
| | | foreach (var user in Send.LockList) |
| | | { |
| | | if (user.DoorLockMacPort != macport) |
old mode 100755
new mode 100644
old mode 100755
new mode 100644
old mode 100755
new mode 100644
| | |
| | | public void ReadPanelSupportAttribute() |
| | | { |
| | | ReadAttri(Device.Cluster_ID.HdlKey, AttriButeId.HdlKey); |
| | | |
| | | } |
| | | |
| | | #region 读取面板的配置信息 |