##// END OF EJS Templates
imanay -
r233:234
parent child
Show More
@@ -45,7 +45,7
45 answer = self.__ConnectionWithCentralControl(cmd = "SNDF", data = data) No newline at end of file
45 answer = self.__ConnectionWithCentralControl(cmd = "SNDF", data = data)
46 return answer No newline at end of file
46 return answer
47
47
No newline at end of file
48 def readFile(self): No newline at end of file
48 def readFile(self, filename): No newline at end of file
49 No newline at end of file
49
50 data = "optional" No newline at end of file
50 data = "optional"
51 file = self.__ConnectionWithCentralControl(cmd = "GETF", data = data) No newline at end of file
51 file = self.__ConnectionWithCentralControl(cmd = "GETF", data = data)
@@ -239,6 +239,8
239 file = self.__ConnectionWithControlModules(rx_buffer,cmd,id) No newline at end of file
239 file = self.__ConnectionWithControlModules(rx_buffer,cmd,id)
240 del self.rxFile[id-1] No newline at end of file
240 del self.rxFile[id-1]
241 self.rxFile.insert(id-1, file) No newline at end of file
241 self.rxFile.insert(id-1, file)
242
No newline at end of file
243 return self.rxFile No newline at end of file
242 No newline at end of file
244
243 def __changeBeam(self, cmd, rx_buffer): No newline at end of file
245 def __changeBeam(self, cmd, rx_buffer):
244 No newline at end of file
246
@@ -11,14 +11,9
11 def __init__(self): No newline at end of file
11 def __init__(self):
12 self.output = "" No newline at end of file
12 self.output = ""
13
13
No newline at end of file
14 def execute(self): No newline at end of file
14 def execute(self, filename):
No newline at end of file
15 if os.path.exists(filename):
No newline at end of file
16 #absObj = ABSClient(ipDestino="10.10.10.97") No newline at end of file
17 absObj = ABSClient(ipDestino="10.10.20.27")
15 absObj = ABSClient(ipDestino="10.10.20.27")
No newline at end of file
16 self.output = absObj.readFile() No newline at end of file
18 self.output = absObj.readFile(filename)
No newline at end of file
19 #pass
No newline at end of file
20 else:
No newline at end of file
21 print "No file" No newline at end of file
22 No newline at end of file
17
23 def getOutput(self): No newline at end of file
18 def getOutput(self):
24 return self.output No newline at end of file
19 return self.output
General Comments 0
You need to be logged in to leave comments. Login now