public void PartiallyExecute(Context context, XComponent.Order.UserObject.ExecutionInput transitionEvent, string privateTopic = null) { _internalCommunicationLayer.Send(context, transitionEvent, privateTopic); }
public void SendEvent(StdEnum stdEnum, XComponent.Order.UserObject.ExecutionInput evt, string privateTopic = null) { _internalCommunicationLayer.SendEvent(stdEnum, evt, privateTopic); }
public void SendEvent(StdEnum stateMachineEnum, XComponent.Order.UserObject.ExecutionInput evt, string privateTopic = null) { var incomingEvent = new IncomingEvent(evt != null ? evt : new XComponent.Order.UserObject.ExecutionInput(), IncomingEventType.Transition, HeaderFactory.Create(8, (int)stateMachineEnum, 823593371, privateTopic)); PostOnStateMachine(incomingEvent, stateMachineEnum); }
public void SendEvent(XComponent.Order.UserObject.ExecutionInput evt, string privateTopic = null) { SendEvent(StdEnum.Order, evt != null ? evt : new XComponent.Order.UserObject.ExecutionInput(), privateTopic); }
public void Send(Context context, XComponent.Order.UserObject.ExecutionInput evt, string privateTopic = null) { var incomingEvent = new IncomingEvent(evt != null ? evt : new XComponent.Order.UserObject.ExecutionInput(), IncomingEventType.Transition, HeaderFactory.Create(context, 8, privateTopic)); Agent.Post(_engineAgentsById[context.AgentId], incomingEvent); }
/// <summary> /// Check custom key CheckUserSpecificRule_PartiallyExecuted_From_PartiallyExecuted_Through_PartiallyExecute /// </summary> public static bool CheckUserSpecificRule_PartiallyExecuted_From_PartiallyExecuted_Through_PartiallyExecute(XComponent.Order.UserObject.ExecutionInput executionInput, XComponent.Order.UserObject.Order order, object object_InternalMember) { return(executionInput.Quantity != order.RemainingQuantity); }