|
@@ -408,9 +408,8 @@ class oa2DiscoveryDevice(TemplateView):
|
|
else:
|
|
else:
|
|
return response.json(0, res={'msg': 'error'})
|
|
return response.json(0, res={'msg': 'error'})
|
|
|
|
|
|
-
|
|
|
|
|
|
+#新增
|
|
def testRunSendStop(UID, PWD, MSG):
|
|
def testRunSendStop(UID, PWD, MSG):
|
|
- time.sleep(60)
|
|
|
|
command = "./pushtool {UID} {PWD} {MSG} 0".format(UID=UID, PWD=PWD, MSG=MSG)
|
|
command = "./pushtool {UID} {PWD} {MSG} 0".format(UID=UID, PWD=PWD, MSG=MSG)
|
|
print('command=>{command}'.format(command=command))
|
|
print('command=>{command}'.format(command=command))
|
|
try:
|
|
try:
|