void CreateSMAction(IFlow flow, IFlowNode from, IFlowNode to, int beginIndex, int endIndex) { var fa = flow.CreateAction(from, to) as StateMachine.CIIPXpoTransition; fa.BeginItemPointIndex = beginIndex; fa.EndItemPointIndex = endIndex; }
void CreateAction(IFlow flow, IFlowNode from, IFlowNode to, int beginIndex, int endIndex) { var fa = flow.CreateAction(from, to) as FlowAction; fa.Created(); fa.BeginItemPointIndex = beginIndex; fa.EndItemPointIndex = endIndex; }