Пример #1
0
 def __init__(self,name,node,func,sendtime=False):
     if(sendtime):
         BasicOrigin.__init__(self,node,name,len(func(0,0)),Units.UNK)
     else:
         BasicOrigin.__init__(self,node,name,len(func()),Units.UNK)
     self._sendtime=sendtime
     self.func=func
Пример #2
0
 def __init__(self, name, node, dimensions):
     BasicOrigin.__init__(self, node, name, dimensions, Units.UNK)
     self._value = [0] * dimensions
Пример #3
0
 def __init__(self,name,node,func):
     BasicOrigin.__init__(self,node,name,len(func()),Units.UNK)
     self.func=func
Пример #4
0
 def __init__(self, name, node, func):
     BasicOrigin.__init__(self, node, name, len(func()), Units.UNK)
     self.func = func
Пример #5
0
 def __init__(self, name, node, dimensions):
     BasicOrigin.__init__(self, node, name, dimensions, Units.UNK)
     self._value = [0] * dimensions