|
@@ -197,6 +197,20 @@ public class AnalysisUdpUtil {
|
|
|
transfer_bedtobed.setName(data[9]);
|
|
|
EventBus.getDefault().post(new MessageEvent(transfer_bedtobed, Constants.EVENT_UDP));
|
|
|
break;
|
|
|
+ case "call_host_exception": //主机发生异常
|
|
|
+ UdpEntity call_host_exception = new UdpEntity();
|
|
|
+ call_host_exception.setIndexes(data[0]);
|
|
|
+ call_host_exception.setNurseHostID(data[1]);
|
|
|
+ call_host_exception.setDoorwayMachineID(data[2]);
|
|
|
+ call_host_exception.setHeadMachineID(data[3]);
|
|
|
+ call_host_exception.setSipAddress(data[4]);
|
|
|
+ call_host_exception.setRoomNumber(data[5]);
|
|
|
+ call_host_exception.setBedNumber(data[6]);
|
|
|
+ call_host_exception.setLevel(data[7]);
|
|
|
+ call_host_exception.setType(data[8]);
|
|
|
+ call_host_exception.setName(data[9]);
|
|
|
+ EventBus.getDefault().post(new MessageEvent(call_host_exception, Constants.EVENT_UDP));
|
|
|
+ break;
|
|
|
case "back_1":
|
|
|
//呼叫回复");
|
|
|
break;
|