|
|
@@ -44,6 +44,7 @@ import com.grkj.iscs.model.eventmsg.DeviceExceptionMsg
|
|
|
import com.grkj.iscs.model.eventmsg.DeviceTakeUpdateMsg
|
|
|
import com.grkj.iscs.model.eventmsg.LoadingMsg
|
|
|
import com.grkj.iscs.model.eventmsg.MsgEvent
|
|
|
+import com.grkj.iscs.model.eventmsg.MsgEventConstants
|
|
|
import com.grkj.iscs.model.eventmsg.MsgEventConstants.MSG_EVENT_CURRENT_MODE
|
|
|
import com.grkj.iscs.model.eventmsg.MsgEventConstants.MSG_EVENT_DEVICE_EXCEPTION
|
|
|
import com.grkj.iscs.model.eventmsg.MsgEventConstants.MSG_EVENT_DEVICE_TAKE_UPDATE
|
|
|
@@ -491,7 +492,7 @@ object BusinessManager {
|
|
|
it.slotType == slotTypeList.find { d -> d.dictLabel == "锁" }?.dictValue &&
|
|
|
it.status == slotStatusList.find { d -> d.dictLabel == "异常" }?.dictValue
|
|
|
}
|
|
|
- ?.find { it.row?.toInt() == dockBean.row &&(lockBean.idx+1) == it.col?.toInt() } != null
|
|
|
+ ?.find { it.row?.toInt() == dockBean.row && (lockBean.idx + 1) == it.col?.toInt() } != null
|
|
|
) {
|
|
|
ToastUtils.tip(
|
|
|
MyApplication.instance?.applicationContext!!.getString(
|
|
|
@@ -1433,6 +1434,17 @@ object BusinessManager {
|
|
|
MyApplication.instance!!,
|
|
|
UpdateKeyReturnBO(data.taskCode?.toLong()!!, keyNfc!!)
|
|
|
)
|
|
|
+ if (msg == MyApplication.instance?.applicationContext!!.getString(
|
|
|
+ R.string.ticket_lost
|
|
|
+ )
|
|
|
+ ) {
|
|
|
+ sendEventMsg(
|
|
|
+ MsgEvent(
|
|
|
+ MsgEventConstants.MSG_EVENT_TICKET_FINISHED,
|
|
|
+ null
|
|
|
+ )
|
|
|
+ )
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
} else {
|