增加d331和b562字节数统计;修改状态查询bug
This commit is contained in:
parent
211cea3a17
commit
38eb913856
@ -32,7 +32,7 @@ public class ApiController {
|
||||
DeviceChannel deviceChannel = OnlineChannels.INSTANCE.getConfigChannel(deviceId);
|
||||
if(deviceChannel == null) deviceChannel = OnlineChannels.INSTANCE.getDataChannel(deviceId);
|
||||
//if(deviceChannel!=null && deviceChannel.isOnline()){
|
||||
if(deviceChannel!=null){
|
||||
if(deviceChannel!=null && deviceChannel.isOnline()){
|
||||
status.put("status", "Online");
|
||||
// send command
|
||||
ByteBuf buf = Unpooled.buffer();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user