示例#1
0
 def __init__(self):
     api.add(self, "port_out", crest.Output(res, 7777))
示例#2
0
 def __init__(self):
     api.add(self, "port_in", crest.Input(res, 5555))
示例#3
0
 def __init__(self):
     api.add(self, "second_state", crest.State())
示例#4
0
 def __init__(self):
     api.add(self, "sub", SubEntity())
示例#5
0
 def __init__(self):
     api.add(self, "state", newstate)