|
@@ -315,6 +315,9 @@ public class CallingDoorActivity extends BaseActivity implements View.OnClickLis
|
|
//点击屏幕取消病床呼叫通知
|
|
//点击屏幕取消病床呼叫通知
|
|
if (ScreenExtinguishUtil.getInstance(this).isClickLightNum >= 6 && rvBedNotice.getVisibility() == View.VISIBLE) {
|
|
if (ScreenExtinguishUtil.getInstance(this).isClickLightNum >= 6 && rvBedNotice.getVisibility() == View.VISIBLE) {
|
|
rvBedNotice.setVisibility(View.GONE);
|
|
rvBedNotice.setVisibility(View.GONE);
|
|
|
|
+ if (loopVoice != null) {
|
|
|
|
+ loopVoice.setPalyDismiss(true);
|
|
|
|
+ }
|
|
if (!groupEntities.isEmpty())
|
|
if (!groupEntities.isEmpty())
|
|
groupEntities.clear();
|
|
groupEntities.clear();
|
|
mGroupAdapter.notifyDataSetChanged();
|
|
mGroupAdapter.notifyDataSetChanged();
|
|
@@ -329,6 +332,9 @@ public class CallingDoorActivity extends BaseActivity implements View.OnClickLis
|
|
//点击屏幕取消病床呼叫通知
|
|
//点击屏幕取消病床呼叫通知
|
|
if (ScreenExtinguishUtil.getInstance(this).isClickLightNum >= 6 && rvBedNotice.getVisibility() == View.VISIBLE) {
|
|
if (ScreenExtinguishUtil.getInstance(this).isClickLightNum >= 6 && rvBedNotice.getVisibility() == View.VISIBLE) {
|
|
rvBedNotice.setVisibility(View.GONE);
|
|
rvBedNotice.setVisibility(View.GONE);
|
|
|
|
+ if (loopVoice != null) {
|
|
|
|
+ loopVoice.setPalyDismiss(true);
|
|
|
|
+ }
|
|
if (!groupEntities.isEmpty())
|
|
if (!groupEntities.isEmpty())
|
|
groupEntities.clear();
|
|
groupEntities.clear();
|
|
mGroupAdapter.notifyDataSetChanged();
|
|
mGroupAdapter.notifyDataSetChanged();
|
|
@@ -1001,7 +1007,8 @@ public class CallingDoorActivity extends BaseActivity implements View.OnClickLis
|
|
{
|
|
{
|
|
if (!udpEntity.getRoomNumber().equals("暂无") && !udpEntity.getBedNumber().equals("暂无") && Integer.valueOf(udpEntity.getType()) == 2) {
|
|
if (!udpEntity.getRoomNumber().equals("暂无") && !udpEntity.getBedNumber().equals("暂无") && Integer.valueOf(udpEntity.getType()) == 2) {
|
|
try {
|
|
try {
|
|
- mGroupAdapter.deleteData(/*udpEntity.getRoomNumber() + "房" +*/ udpEntity.getBedNumber() + "床" + "呼叫");
|
|
|
|
|
|
+ mGroupAdapter.deleteData(udpEntity.getRoomNumber() + "房" + udpEntity.getBedNumber() + "床" + "呼叫");
|
|
|
|
+ //mGroupAdapter.deleteData(/*udpEntity.getRoomNumber() + "房" +*/ udpEntity.getBedNumber() + "床" + "呼叫");
|
|
} catch (InvocationTargetException e) {
|
|
} catch (InvocationTargetException e) {
|
|
e.printStackTrace();
|
|
e.printStackTrace();
|
|
} finally {
|
|
} finally {
|
|
@@ -1016,6 +1023,9 @@ public class CallingDoorActivity extends BaseActivity implements View.OnClickLis
|
|
}
|
|
}
|
|
if (groupEntities.size() == 0) {
|
|
if (groupEntities.size() == 0) {
|
|
LogUtil.i("-------", "groupEntities.size() == 0");
|
|
LogUtil.i("-------", "groupEntities.size() == 0");
|
|
|
|
+ if (loopVoice != null) {
|
|
|
|
+ loopVoice.setPalyDismiss(true);
|
|
|
|
+ }
|
|
rvBedNotice.stop();
|
|
rvBedNotice.stop();
|
|
rvBedNotice.setVisibility(View.GONE);
|
|
rvBedNotice.setVisibility(View.GONE);
|
|
}
|
|
}
|
|
@@ -1152,6 +1162,9 @@ public class CallingDoorActivity extends BaseActivity implements View.OnClickLis
|
|
}
|
|
}
|
|
if (groupEntities.size() == 0) {
|
|
if (groupEntities.size() == 0) {
|
|
LogUtil.i("-------", "groupEntities.size() == 0");
|
|
LogUtil.i("-------", "groupEntities.size() == 0");
|
|
|
|
+ if (loopVoice != null) {
|
|
|
|
+ loopVoice.setPalyDismiss(true);
|
|
|
|
+ }
|
|
rvBedNotice.stop();
|
|
rvBedNotice.stop();
|
|
rvBedNotice.setVisibility(View.GONE);
|
|
rvBedNotice.setVisibility(View.GONE);
|
|
}
|
|
}
|