@@ -222,11 +222,11 class UPConf(): | |||
|
222 | 222 | |
|
223 | 223 | self.opObjList = [] |
|
224 | 224 | |
|
225 | def addOperation(self, name, priority): | |
|
225 | def addOperation(self, name, priority, type='self'): | |
|
226 | 226 | |
|
227 | 227 | id = len(self.opObjList) + 1 |
|
228 | 228 | |
|
229 | opObj = OperationConf(id, name, priority) | |
|
229 | opObj = OperationConf(id, name, priority, type) | |
|
230 | 230 | |
|
231 | 231 | self.opObjList.append(opObj) |
|
232 | 232 | |
@@ -247,13 +247,16 class OperationConf(): | |||
|
247 | 247 | id = 0 |
|
248 | 248 | name = None |
|
249 | 249 | priority = None |
|
250 | type = 'self' | |
|
251 | ||
|
250 | 252 | parmObjList = [] |
|
251 | 253 | |
|
252 | def __init__(self, id, name, priority): | |
|
254 | def __init__(self, id, name, priority, type): | |
|
253 | 255 | |
|
254 | 256 | self.id = id |
|
255 | 257 | self.name = name |
|
256 | 258 | self.priority = priority |
|
259 | self.type = type | |
|
257 | 260 | |
|
258 | 261 | self.parmObjList = [] |
|
259 | 262 |
General Comments 0
You need to be logged in to leave comments.
Login now