public SweepMember(ISweeper parent, SweepMember_Input input, IReqOrderInput orderGenInput, IReqOrderPolicy reqOrderPolicy, IResumePolicy resumePolicy, IBalancePolicy balancePolicy) { this.Parent = parent; this.Input = input; this.Share = new SweepMember_Share(orderGenInput, reqOrderPolicy, resumePolicy, balancePolicy); this._state = new S1_RequestOrderState(this); }
public void Run() { this._state = this._state.Run(this.Input, this.Share); }