@@ -4,7 +4,7 | |||
|
4 | 4 | |
|
5 | 5 | class ABSServer: |
|
6 | 6 | |
|
7 |
def __init__(self,ipSource="localhost", ipDestino="192.168.1.1 |
|
|
7 | def __init__(self,ipSource="localhost", ipDestino="192.168.1.117", portDestino=7000, ipDestino2="192.168.1.225", portDestino2=5500, ftpPortDestino=None): | |
|
8 | 8 | |
|
9 | 9 | self.ipSource = ipSource |
|
10 | 10 | self.ipDestino = ipDestino |
@@ -23,7 +23,7 | |||
|
23 | 23 | |
|
24 | 24 | asServer = True |
|
25 | 25 | self.commServerObj = library.TCPComm(self.ipSource, self.ipDestino, self.portDestino, asServer) |
|
26 | self.commClientObj = library.TCPComm(self.ipSource, self.ipDestino2, self.portDestino2) | |
|
26 | # self.commClientObj = library.TCPComm(self.ipSource, self.ipDestino2, self.portDestino2) | |
|
27 | 27 | #self.ftpCommObj = library.FTPComm(self.ipSource, self.ipDestino, self.ftpPortDestino) |
|
28 | 28 | |
|
29 | 29 | |
@@ -34,7 +34,8 | |||
|
34 | 34 | datarpta = "OK" |
|
35 | 35 | |
|
36 | 36 | if cmd == "SNDF": |
|
37 | self.sendFile2Modules() | |
|
37 | # self.sendFile2Modules() | |
|
38 | pass | |
|
38 | 39 | |
|
39 | 40 | if cmd == "CHGB": |
|
40 | 41 | self.changeBeam() |
General Comments 0
You need to be logged in to leave comments.
Login now