@@ -1,6 +1,7 | |||
|
1 | 1 | import os No newline at end of file |
|
2 | 2 | import library3 No newline at end of file |
|
3 | 3 | import time No newline at end of file |
|
4 | import threading No newline at end of file | |
|
4 | 5 | No newline at end of file |
|
5 | 6 | class ABSServer: No newline at end of file |
|
6 | 7 | No newline at end of file |
@@ -1,8 +1,12 | |||
|
1 | 1 | import file No newline at end of file |
|
2 | 2 | from client3 import * |
|
3 | No newline at end of file | |
|
3 | ||
|
No newline at end of file | ||
|
4 | ns = "4" No newline at end of file | |
|
5 | 4 | No newline at end of file |
|
6 | 5 | absObj = ABSClient(ipDestino="10.10.10.97") No newline at end of file |
|
7 | 6 | #absObj = ABSClient() No newline at end of file |
|
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 | 10 | absObj.getControlModuleStatus(ns) No newline at end of file |
|
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