| | |
| | | package com.zy.core.netty.handle; |
| | | |
| | | import com.core.common.DateUtils; |
| | | import com.zy.asrs.service.impl.MainServiceImpl; |
| | | import com.zy.core.netty.AbstractInboundHandler; |
| | | import com.zy.core.netty.cache.ChannelCache; |
| | |
| | | String now = "20" + fire3030.getYear() + "-" + fire3030.getMonth() + "-" + fire3030.getDay() |
| | | + " " + fire3030.getHour() + ":" + fire3030.getMinute() + ":" + fire3030.getSeconds(); |
| | | |
| | | Constant.FIRE_HEARTBEAT.put(fire3030.getNo().toString(), DateUtils.convert(now)); |
| | | ChannelCache.setChannel(String.valueOf(fire3030.getNo()), ctx.channel()); |
| | | Constant.errorMap.remove(fire3030.getNo()); |
| | | break; |
| | | case FIRE_ALARM: |
| | | |