Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
imanay
- Wed, 02 Oct 2013 15:12:40
Show More
0
trunk/absroot/source/abspy/scripts/getControlModuleStatus_new.py
trunk/absroot/source/abspy/scripts/getControlModuleStatus_new.py
created
10644
+13
0
@@
-0,0
+1,13
1
import file
No newline at end of file
2
from client3 import *
No newline at end of file
3
import sys
No newline at end of file
4
No newline at end of file
5
absObj = ABSClient ( ipDestino = "10.10.10.99" )
No newline at end of file
6
#absObj = ABSClient(ipDestino="10.10.20.27")
No newline at end of file
7
#absObj = ABSClient()
No newline at end of file
8
if len ( sys . argv ) == 2 :
No newline at end of file
9
# ns = "4"
No newline at end of file
10
arg = sys . argv [ 1 ]
No newline at end of file
11
absObj . getControlModuleStatus_test ( arg )
No newline at end of file
12
else :
No newline at end of file
13
print "Only one argument needed."
No newline at end of file
0
trunk/absroot/source/abspy/bin/client3.py
trunk/absroot/source/abspy/bin/client3.py
+9
0
@@
-85,6
+85,15
85
print "======: \n "
No newline at end of file
85
print "======: \n "
86
print bits
No newline at end of file
86
print bits
87
No newline at end of file
87
88
def getControlModuleStatus_test ( self , data ):
No newline at end of file
89
No newline at end of file
90
mnt = self . __ConnectionWithCentralControl ( cmd = "MNTR" , data = data )
No newline at end of file
91
#self.__writeFile("report.txt", data)
No newline at end of file
92
No newline at end of file
93
print "MNTR: \n "
No newline at end of file
94
print "======: \n "
No newline at end of file
95
print mnt
No newline at end of file
96
No newline at end of file
88
def getControlModulePhase ( self , opt , u = "50" , pw = "10" ):
No newline at end of file
97
def getControlModulePhase ( self , opt , u = "50" , pw = "10" ):
89
No newline at end of file
98
90
if opt == '0' :
No newline at end of file
99
if opt == '0' :
0
trunk/absroot/source/abspy/bin/server3.py
trunk/absroot/source/abspy/bin/server3.py
+3
0
@@
-66,6
+66,9
66
No newline at end of file
66
67
if cmd == "NTST" :
No newline at end of file
67
if cmd == "NTST" :
68
datarpta = self . __getConnectionStatus ( cmd = cmd , rx_buffer = rx_buffer )
No newline at end of file
68
datarpta = self . __getConnectionStatus ( cmd = cmd , rx_buffer = rx_buffer )
69
No newline at end of file
70
if cmd == "MNTR" :
No newline at end of file
71
datarpta = self . __getControlModuleStatus_new ( cmd = cmd , rx_buffer = rx_buffer )
No newline at end of file
69
No newline at end of file
72
70
self . commServerObj . sendData ( cmd = cmd , data = datarpta , ipDestino = ipSource )
No newline at end of file
73
self . commServerObj . sendData ( cmd = cmd , data = datarpta , ipDestino = ipSource )
71
No newline at end of file
74
0
trunk/absroot/source/abspy/scripts/starServer.py
trunk/absroot/source/abspy/scripts/starServer.py
+1
-1
@@
-2,7
+2,7
2
from server3 import *
No newline at end of file
2
from server3 import *
3
No newline at end of file
3
4
#absObj = ABSServer(ipDestino="100.100.12.117")
4
#absObj = ABSServer(ipDestino="100.100.12.117")
No newline at end of file
5
absObj = ABSServer ( ipDestino = "10.10.10.99" )
No newline at end of file
5
absObj = ABSServer ( ipDestino = "10.10.10.97" )
No newline at end of file
6
No newline at end of file
6
7
while 1 :
No newline at end of file
7
while 1 :
8
absObj . waitRequest ()
No newline at end of file
8
absObj . waitRequest ()
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages