@@ -292,6 +292,8 @@ class Device(object):
@staticmethod
def statBase(self, deviceInfo={}, device = False):
+ if not device:
+ device = self.input('device')
method = self.input('method', 'maxmin')
if not device:
#如果没有,就获取sensor的第一个
@@ -241,7 +241,8 @@ class out_path(Load):
@Web.auth
@Web.setting
def get(self):
- Device.out(self)
+ #Device.out(self)
+ print 22
self.view("device/out.html")
#设备日志