##// END OF EJS Templates
jroprocessing:...
Miguel Valdez -
r191:58293a972ca2
parent child
Show More
@@ -232,7 +232,9 class JRODataIO:
232
232
233 raise ValueError, "Not implemented"
233 raise ValueError, "Not implemented"
234
234
235
235 def getOuput(self):
236
237 return self.dataOut
236
238
237 class JRODataReader(JRODataIO):
239 class JRODataReader(JRODataIO):
238
240
@@ -138,6 +138,14 class ProcessingUnit:
138 if operationConf.type == 'other':
138 if operationConf.type == 'other':
139 self.callObject(operationConf.id, **kwargs)
139 self.callObject(operationConf.id, **kwargs)
140 return
140 return
141
142 def setInput(self, dataIn):
143
144 self.dataIn = dataIn
145
146 def getOutput(self):
147
148 return self.dataOut
141
149
142 class Operation():
150 class Operation():
143
151
@@ -184,18 +192,6 class VoltageProc(ProcessingUnit):
184
192
185 self.objectDict = {}
193 self.objectDict = {}
186 self.dataOut = Voltage()
194 self.dataOut = Voltage()
187
188
189 def setup(self, dataIn=None, dataOut=None):
190
191 self.dataIn = dataIn
192
193 if self.dataOut == None:
194 dataOut = Voltage()
195
196 self.dataOut = dataOut
197
198 return self.dataOut
199
195
200 def init(self):
196 def init(self):
201
197
General Comments 0
You need to be logged in to leave comments. Login now