##// 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):
42 def sendFile(self, filename):
43
43
44 data = self.__readFile(filename)
44 data = self.__readFile(filename)
45 self.__ConnectionWithCentralControl(cmd = "SNDF", data = data)
45 answer = self.__ConnectionWithCentralControl(cmd = "SNDF", data = data)
46 return answer
46
47
47 def changeBeam(self, newBeam):
48 def changeBeam(self, newBeam):
48
49
49 self.__ConnectionWithCentralControl(cmd = "CHGB", data = newBeam)
50 answer = self.__ConnectionWithCentralControl(cmd = "CHGB", data = newBeam)
51 return answer
50
52
51 def __writeFile(self, filename, data):
53 def __writeFile(self, filename, data):
52
54
General Comments 0
You need to be logged in to leave comments. Login now