##// END OF EJS Templates
Client changes to return answer to the web page.
imanay -
r166:167
parent child
Show More
@@ -42,11 +42,13
42 def sendFile(self, filename): No newline at end of file
42 def sendFile(self, filename):
43 No newline at end of file
43
44 data = self.__readFile(filename)
44 data = self.__readFile(filename)
No newline at end of file
45 answer = self.__ConnectionWithCentralControl(cmd = "SNDF", data = data)
45 self.__ConnectionWithCentralControl(cmd = "SNDF", data = data) No newline at end of file
No newline at end of file
46 return answer No newline at end of file
46 No newline at end of file
47
47 def changeBeam(self, newBeam): No newline at end of file
48 def changeBeam(self, newBeam):
48
49
No newline at end of file
50 answer = self.__ConnectionWithCentralControl(cmd = "CHGB", data = newBeam)
49 self.__ConnectionWithCentralControl(cmd = "CHGB", data = newBeam) No newline at end of file
No newline at end of file
51 return answer No newline at end of file
50 No newline at end of file
52
51 def __writeFile(self, filename, data): No newline at end of file
53 def __writeFile(self, filename, data):
52 No newline at end of file
54
General Comments 0
You need to be logged in to leave comments. Login now