9899100101102103104105106107108
INodeInstance nodeInst = this.getLeavingNodeInstance(); //获取到流向哪个节点 token.setValue(this.getWeight());//获取到弧线上的权值 boolean alive = token.isAlive(); nodeInst.fire(token);//节点触发 return alive; } public Transition getTransition() {
96979899100101102103104105106
}else{//否则流转到下一个节点 INodeInstance nodeInst = this.getLeavingNodeInstance(); token.setValue(this.getWeight()); nodeInst.fire(token);//触发同步器节点 return newAlive; } } public Loop getLoop() {