|
@@ -680,6 +680,7 @@ public class CallingDoorActivity extends BaseActivity implements SerialPortUtil.
|
|
|
return;
|
|
|
}
|
|
|
setDeviceNo();
|
|
|
+ tvBedNumList.setText(initDataEntity.getDeviceRoomNum() + "房");
|
|
|
//循环切换网络状态
|
|
|
mWifiHotBindSipStatusConnectorUtil = WifiHotBindSipStatusConnectorUtil.getInstance(context);
|
|
|
mWifiHotBindSipStatusConnectorUtil.sendNetStatus(this, initDataEntity);
|
|
@@ -707,9 +708,9 @@ public class CallingDoorActivity extends BaseActivity implements SerialPortUtil.
|
|
|
try {
|
|
|
showContent();
|
|
|
JSONObject object = new JSONObject(data);
|
|
|
- LogUtil.e("AAAA", object + "");
|
|
|
+ LogUtil.e("getData111", object + "");
|
|
|
if (object.getString("Code").equals("ERROR!")) {
|
|
|
- LogUtil.e("AAAA", "数据不正常");
|
|
|
+ LogUtil.e("getData111", "数据不正常");
|
|
|
handler.sendEmptyMessage(MAIN_DATA_ERROR);
|
|
|
} else {
|
|
|
Gson gson = new Gson();
|
|
@@ -850,6 +851,7 @@ public class CallingDoorActivity extends BaseActivity implements SerialPortUtil.
|
|
|
initDataEntity = (InitDataEntity) getIntent().getSerializableExtra(Constants.INITENTITY);
|
|
|
if (null == initDataEntity) return;
|
|
|
setDeviceNo();
|
|
|
+ tvBedNumList.setText(initDataEntity.getDeviceRoomNum() + "房");
|
|
|
if (!StringUtils.notEmpty(Constants.PartID)) return;
|
|
|
OkHttpUtils
|
|
|
.post()
|
|
@@ -870,9 +872,9 @@ public class CallingDoorActivity extends BaseActivity implements SerialPortUtil.
|
|
|
try {
|
|
|
showContent();
|
|
|
JSONObject object = new JSONObject(data);
|
|
|
- LogUtil.e("AAAA", object + "");
|
|
|
+ LogUtil.e("getData222", object + "");
|
|
|
if (object.getString("Code").equals("ERROR!")) {
|
|
|
- LogUtil.e("AAAA", "数据不正常");
|
|
|
+ LogUtil.e("getData222", "数据不正常");
|
|
|
handler.sendEmptyMessage(MAIN_DATA_ERROR);
|
|
|
} else {
|
|
|
Gson gson = new Gson();
|