|  |  |  | 
|---|
|  |  |  | import cn.lihu.jh.module.ecg.controller.admin.room.vo.RoomRespVO; | 
|---|
|  |  |  | import cn.lihu.jh.module.ecg.dal.dataobject.queue.QueueDO; | 
|---|
|  |  |  | import cn.lihu.jh.framework.common.pojo.PageResult; | 
|---|
|  |  |  | import cn.lihu.jh.module.ecg.dal.dataobject.room.RoomDO; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 排队 Service 接口 | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | void startHurryUp(); | 
|---|
|  |  |  | void startBedReload(); | 
|---|
|  |  |  | void startResetRoom(); | 
|---|
|  |  |  | MonitorInfoVO getMonitorInfo(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ErrorCode startBedOpen(Long roomId, String roomName, String bedNo); | 
|---|
|  |  |  | 
|---|
|  |  |  | ErrorCode startBedDoctorOff(Long roomId, String bedNo, Long docId, String docName); | 
|---|
|  |  |  | ErrorCode startNextPatient(Long roomId, String bedNo); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ErrorCode bedOpen(Long roomId, String roomName, String bedNo); | 
|---|
|  |  |  | ErrorCode bedClose(Long roomId, String bedNo); | 
|---|
|  |  |  | ErrorCode bedDoctorPause(Long roomId, String bedNo, Long docId, String docName); | 
|---|
|  |  |  | ErrorCode bedDoctorResume(Long roomId, String bedNo, Long docId, String docName); | 
|---|
|  |  |  | ErrorCode bedDoctorOn(Long roomId, String bedNo, Long docId, String docName); | 
|---|
|  |  |  | ErrorCode bedDoctorOff(Long roomId, String bedNo, Long docId, String docName); | 
|---|
|  |  |  | ErrorCode nextPatient(Long roomId, String bedNo); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ErrorCode bedReload(); | 
|---|
|  |  |  | CommonResult<RoomRespVO> getRoom(Long roomId, String bedNo, Long docId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | void queue(QueueSaveReqVO queueSaveReqVO); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 把医生候诊的队列塞满 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | void hurryup(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 医生叫下一位患者 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | Integer patientJump(String patId, Byte jumped ); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void monitorInfo(); | 
|---|
|  |  |  | RoomDO getDocRoomInfo(Long docId); | 
|---|
|  |  |  | } | 
|---|