示例#1
0
文件: Node.py 项目: ForToffee/demo
def node(ownerName, nodeName, *args, **kwargs):
	global theNode
	#trace("IOT.node")
	n = Node.create(nodeName, ownerName=ownerName, *args, **kwargs)
	theNode = n
	return n
示例#2
0
def node(ownerName, nodeName, *args, **kwargs):
    global theNode
    #trace("IOT.node")
    n = Node.create(nodeName, ownerName=ownerName, *args, **kwargs)
    theNode = n
    return n
示例#3
0
文件: Node.py 项目: ForToffee/demo
def create(ownerName, nodeName, *args, **kwargs):
	"""Create a new Node"""
	return Node.create(nodeName, ownerName=ownerName, *args, **kwargs)
示例#4
0
def create(ownerName, nodeName, *args, **kwargs):
    """Create a new Node"""
    return Node.create(nodeName, ownerName=ownerName, *args, **kwargs)