|
@@ -94,12 +94,10 @@ class screen_path(Load):
|
|
|
|
|
|
Device.statBase(self, deviceInfo)
|
|
|
log_search = {}
|
|
|
- """
|
|
|
if device:
|
|
|
log_search['device_id'] = device
|
|
|
else:
|
|
|
log_search['device_id--ins'] = self.data['setting']['farmInfo']['gateways']
|
|
|
- """
|
|
|
log_search['device_id--ins'] = self.data['setting']['farmInfo']['gateways']
|
|
|
log_search['type_id'] = 2
|
|
|
log_search['farm_id'] = self.data['setting']['farm']
|
|
@@ -190,12 +188,10 @@ class screens_path(Load):
|
|
|
|
|
|
Device.statBase(self, deviceInfo)
|
|
|
log_search = {}
|
|
|
- """
|
|
|
if device:
|
|
|
log_search['device_id'] = device
|
|
|
else:
|
|
|
log_search['device_id--ins'] = devices
|
|
|
- """
|
|
|
log_search['device_id--ins'] = devices
|
|
|
log_search['type_id'] = 2
|
|
|
log_search['farm_id--ins'] = farm
|