@@ -1,6 +1,7 | |||||
1 | import os No newline at end of file |
|
1 | import os | |
2 | import library3 No newline at end of file |
|
2 | import library3 | |
3 | import time No newline at end of file |
|
3 | import time | |
|
4 | import threading No newline at end of file | |||
4 | No newline at end of file |
|
5 | ||
5 | class ABSServer: No newline at end of file |
|
6 | class ABSServer: | |
6 | No newline at end of file |
|
7 |
@@ -1,8 +1,12 | |||||
1 | import file No newline at end of file |
|
1 | import file | |
2 | from client3 import * |
|
2 | from client3 import * | |
No newline at end of file |
|
3 | import sys No newline at end of file | ||
3 |
|
||||
No newline at end of file |
|
||||
4 | ns = "4" No newline at end of file |
|
|||
5 | No newline at end of file |
|
4 | ||
6 | absObj = ABSClient(ipDestino="10.10.10.97") No newline at end of file |
|
5 | absObj = ABSClient(ipDestino="10.10.10.97") | |
7 | #absObj = ABSClient() No newline at end of file |
|
6 | #absObj = ABSClient() | |
|
7 | if len(sys.argv) == 2: | |||
|
No newline at end of file | ||||
|
8 | # ns = "4" | |||
|
No newline at end of file | ||||
|
9 | ns = sys.argv[1] No newline at end of file | |||
8 | absObj.getControlModuleStatus(ns) No newline at end of file |
|
10 | absObj.getControlModuleStatus(ns) | |
|
11 | else: | |||
|
No newline at end of file | ||||
|
12 | print "Only one argument needed." No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now