| | |
| | | private DeviceQueryItem camera1;
|
| | | private DeviceQueryItem camera2;
|
| | |
|
| | | public DeviceQueryItem getCamera2() {
|
| | | return camera2;
|
| | | }
|
| | |
|
| | | public DeviceQueryItem getCamera1() {
|
| | | return camera1;
|
| | | }
|
| | |
|
| | | public void clearAll() {
|
| | | fragment_device_left_wifi_check_box.setChecked(false);
|
| | | fragment_device_left_lan_check_box.setChecked(false);
|
| | |
| | | camera1.setPassword(fragment_device_right_camera1_password.getText().toString());
|
| | | camera1.setDeviceId(camera1.getDeviceId());
|
| | | }
|
| | | DeviceMng.getInstance().saveDevice(params, camera1);
|
| | | DeviceMng.getInstance().updateDevice(params, camera1);
|
| | | }
|
| | |
|
| | | @OnClick(R.id.fragment_device_right_camera2_save)
|
| | |
| | | camera2.setPassword(fragment_device_right_camera2_password.getText().toString());
|
| | | camera2.setDeviceId(camera2.getDeviceId());
|
| | | }
|
| | | DeviceMng.getInstance().saveDevice(params, camera2);
|
| | | DeviceMng.getInstance().updateDevice(params, camera2);
|
| | | }
|
| | |
|
| | | @OnClick(R.id.fragment_device_right_camera1_brand_more)
|