|
@@ -1077,6 +1077,11 @@ public class CallingBedFragment extends BaseFragment implements SicknessBedAdapt
|
|
*/
|
|
*/
|
|
@OnClick(R.id.right_in_calling_layout_iv_call)
|
|
@OnClick(R.id.right_in_calling_layout_iv_call)
|
|
public void Call(View view) {
|
|
public void Call(View view) {
|
|
|
|
+ if (true) {
|
|
|
|
+ ToastUtil.showToast("不支持通话!");
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+
|
|
currentTime = System.currentTimeMillis();
|
|
currentTime = System.currentTimeMillis();
|
|
if (currentTime - lastClickTime > CLICK_DELAY_TIME) {
|
|
if (currentTime - lastClickTime > CLICK_DELAY_TIME) {
|
|
lastClickTime = currentTime;
|
|
lastClickTime = currentTime;
|
|
@@ -1320,7 +1325,7 @@ public class CallingBedFragment extends BaseFragment implements SicknessBedAdapt
|
|
} else {
|
|
} else {
|
|
if (!Constants.CALL_STATE.equals(Constants.STANDBY)) return;
|
|
if (!Constants.CALL_STATE.equals(Constants.STANDBY)) return;
|
|
if (MyApplication.callEntityList.get(position).getType().equals(Constants.WSHROOM_CALL)) {
|
|
if (MyApplication.callEntityList.get(position).getType().equals(Constants.WSHROOM_CALL)) {
|
|
- showToast("不支持卫生间通话");
|
|
|
|
|
|
+ showToast("当前不支持通话");
|
|
vRightCallListInfo.setVisibility(View.GONE);
|
|
vRightCallListInfo.setVisibility(View.GONE);
|
|
vRightPatientInfo.setVisibility(View.VISIBLE);
|
|
vRightPatientInfo.setVisibility(View.VISIBLE);
|
|
vRightCallInfo.setVisibility(View.GONE);
|
|
vRightCallInfo.setVisibility(View.GONE);
|
|
@@ -1898,7 +1903,7 @@ public class CallingBedFragment extends BaseFragment implements SicknessBedAdapt
|
|
}
|
|
}
|
|
if (!TextUtils.isEmpty(speechText)) {
|
|
if (!TextUtils.isEmpty(speechText)) {
|
|
loopingUdpentity = entity;
|
|
loopingUdpentity = entity;
|
|
- showUrgentWindow(entity);
|
|
|
|
|
|
+ //showUrgentWindow(entity);
|
|
//紧急呼叫和请求增援及特级护理呼叫优先
|
|
//紧急呼叫和请求增援及特级护理呼叫优先
|
|
if (entity.getType().equals(Constants.WSHROOM_CALL)
|
|
if (entity.getType().equals(Constants.WSHROOM_CALL)
|
|
|| entity.getType().equals(Constants.ROOMHELP_CALL)
|
|
|| entity.getType().equals(Constants.ROOMHELP_CALL)
|
|
@@ -1948,7 +1953,7 @@ public class CallingBedFragment extends BaseFragment implements SicknessBedAdapt
|
|
}
|
|
}
|
|
break;
|
|
break;
|
|
case Constants.WSHROOM_CALL://卫生间
|
|
case Constants.WSHROOM_CALL://卫生间
|
|
- text = rnb + "房卫生间紧急呼叫";
|
|
|
|
|
|
+ text = rnb + "房紧急呼叫";
|
|
break;
|
|
break;
|
|
case Constants.MANAGER_CALL://总控机
|
|
case Constants.MANAGER_CALL://总控机
|
|
text = "总控制室呼叫";
|
|
text = "总控制室呼叫";
|
|
@@ -2364,7 +2369,7 @@ public class CallingBedFragment extends BaseFragment implements SicknessBedAdapt
|
|
resIdlist.add(PalyPhonetics.getResIdInt(s));
|
|
resIdlist.add(PalyPhonetics.getResIdInt(s));
|
|
}
|
|
}
|
|
resIdlist.add(R.raw.fang);
|
|
resIdlist.add(R.raw.fang);
|
|
- resIdlist.add(R.raw.weishejian);
|
|
|
|
|
|
+ //resIdlist.add(R.raw.weishejian);
|
|
resIdlist.add(R.raw.jinjihujiao);
|
|
resIdlist.add(R.raw.jinjihujiao);
|
|
}
|
|
}
|
|
break;
|
|
break;
|
|
@@ -2403,7 +2408,7 @@ public class CallingBedFragment extends BaseFragment implements SicknessBedAdapt
|
|
} else {
|
|
} else {
|
|
PalyPhonetics.speakEntityList.add(udpEntity);
|
|
PalyPhonetics.speakEntityList.add(udpEntity);
|
|
}
|
|
}
|
|
- showUrgentWindow(udpEntity);
|
|
|
|
|
|
+ //showUrgentWindow(udpEntity);
|
|
}
|
|
}
|
|
|
|
|
|
public void startPalyPhonetics() {
|
|
public void startPalyPhonetics() {
|