Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -124,7 +124,7 @@ public class DeviceDTO extends TenantDTO { |
124 | 124 | private JsonNode customerAdditionalInfo; |
125 | 125 | |
126 | 126 | public DeviceState getDeviceState() { |
127 | - if (lastOnlineTime == null) { | |
127 | + if (statusTime == null) { | |
128 | 128 | return DeviceState.INACTIVE; |
129 | 129 | } |
130 | 130 | return deviceState; | ... | ... |