| | |
| | | if (event.getLightCtrlBackInfo().getAppliancesInfo().getDeviceDeviceID() == appliancesInfo.getDeviceDeviceID() |
| | | && event.getLightCtrlBackInfo().getAppliancesInfo().getDeviceSubnetID() == appliancesInfo.getDeviceSubnetID() |
| | | && event.getLightCtrlBackInfo().getChannelNum() == appliancesInfo.getChannelNum() |
| | | && event.getLightCtrlBackInfo().getPhysicsChannelNum() == appliancesInfo.getPhysicsChannelNum() |
| | | |
| | | && event.getLightCtrlBackInfo().getAppliancesInfo().getDeviceType() == appliancesInfo.getDeviceType() |
| | | ) { |
| | | // 先判断是否超时 |
| | | if (!event.isSuccess()) { |
| | |
| | | case HDLApConfig.TYPE_LIGHT_RELAY: |
| | | case HDLApConfig.TYPE_LIGHT_MIX_DIMMER: |
| | | case HDLApConfig.TYPE_LIGHT_MIX_RELAY: |
| | | if (appliancesInfo.getChannelNum() == event.getAppliancesInfo().getChannelNum()) { |
| | | if (appliancesInfo.getChannelNum() == event.getAppliancesInfo().getChannelNum() && appliancesInfo.getPhysicsChannelNum() == event.getAppliancesInfo().getPhysicsChannelNum()) { |
| | | if (!event.isSuccess()) { |
| | | showToast("获取灯光状态失败,请重新再试"); |
| | | return; |