|
@@ -793,11 +793,6 @@ class NurseHomeActivity : BaseActivity<NurseHomeActivityPresenter, ActivityNurs
|
|
|
SettingConfig.setHostDaytimeVolume(this, SettingConfiguration.getInstance().dayRingVol)
|
|
|
SettingConfig.setHostNightVolume(this, SettingConfiguration.getInstance().nightRingVol)
|
|
|
|
|
|
- //主机录入音量
|
|
|
- //主机播放音量
|
|
|
- //通话模式
|
|
|
- //分机白天夜晚亮度
|
|
|
- //todo 上面几个服务器暂时没有
|
|
|
//分机白天夜晚护理灯 也就是LED灯的亮度
|
|
|
SettingConfig.setExtensionDaytimeLEDBrightness(this, SettingConfiguration.getInstance().dayNurseLed)
|
|
|
SettingConfig.setExtensionNightLEDBrightness(this, SettingConfiguration.getInstance().nightNurseLed)
|
|
@@ -808,9 +803,6 @@ class NurseHomeActivity : BaseActivity<NurseHomeActivityPresenter, ActivityNurs
|
|
|
SettingConfig.setExtensionCallVolume(this, SettingConfiguration.getInstance().dayBedVol)
|
|
|
//传统转换盒系统音量 没做白昼区分
|
|
|
SettingConfig.setChangeBoxSystemVolume(this, SettingConfiguration.getInstance().dayTransferBoxSystemVol)
|
|
|
- //门口机白天夜晚 亮度
|
|
|
- //门口机系统音量
|
|
|
- //todo 上面几个服务器暂时没有
|
|
|
|
|
|
//门口机通话音量 没做白昼区分
|
|
|
SettingConfig.setDoorPhoneVolume(this, SettingConfiguration.getInstance().dayDoorVol)
|
|
@@ -821,7 +813,11 @@ class NurseHomeActivity : BaseActivity<NurseHomeActivityPresenter, ActivityNurs
|
|
|
}
|
|
|
|
|
|
fun checkApp() {
|
|
|
- presenter.getAppVersion(Constants.part_id, 101) //护士主机可视版
|
|
|
+ if (Constants.DEVICE_TYPE == DeviceTypeEnum.DOCTOR_HOST.value()) {
|
|
|
+ presenter.getAppVersion(Constants.part_id, 2) //医生主机
|
|
|
+ } else {
|
|
|
+ presenter.getAppVersion(Constants.part_id, 101) //护士主机可视版
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -2228,10 +2224,10 @@ class NurseHomeActivity : BaseActivity<NurseHomeActivityPresenter, ActivityNurs
|
|
|
//Constants.CALL_STATE = Constants.CALL_CALLING
|
|
|
//DeviceChannel.calling = true
|
|
|
acceptCall(item, true)
|
|
|
- VoiceUtil.acceptAudioCall(Constants.ids, Constants.fromId, Constants.interactionId)
|
|
|
+ //VoiceUtil.acceptAudioCall(Constants.ids, Constants.fromId, Constants.interactionId)
|
|
|
} else {
|
|
|
showMessage(R.string.net_error)
|
|
|
- VoiceUtil.rejectAudioCall(Constants.ids, Constants.fromId, Constants.interactionId)
|
|
|
+ //VoiceUtil.rejectAudioCall(Constants.ids, Constants.fromId, Constants.interactionId)
|
|
|
}
|
|
|
|
|
|
LedHelper.updateLedInfo(item, false, false)
|