예제 #1
0
        public RunResultClass ExecSelect()
        {
            RunResultClass ret = new RunResultClass();

            for (int i = 0; i < this.SelectTable.Count; i++)
            {
                CommSecurityProcessClass spc = SingleSecPreProcess((BaseDataItemClass)this.SelectTable[i]);
                this.SelectTable[i, "Enable"] = spc.Enable;
            }
            return(LastProcess(this.SelectTable));
        }
예제 #2
0
        public CommSecurityProcessClass SingleSecPreProcess(BaseDataItemClass dr)
        {
            CommSecurityProcessClass ret = new CommSecurityProcessClass(dr);

            switch (LogicType)
            {
            case CommStrategyLogicType.Reverse:
                ret = this.ReverseSelectSecurity(InParam);
                break;

            case CommStrategyLogicType.Breach:
                ret = this.BreachSelectSecurity(InParam);
                break;

            case CommStrategyLogicType.Balance:
                ret = this.BalanceSelectSecurity(InParam);
                break;

            default:
                break;
            }
            return(ret);
        }
예제 #3
0
 public FirstPointFilter(CommSecurityProcessClass secinfo) : base(secinfo)
 {
 }
예제 #4
0
 public CommFilterLogicBaseClass(CommSecurityProcessClass secinfo)
 {
     SecObj = secinfo;
 }