示例#1
0
        internal CommandProcess(FixCallBack report, FixApplication fixapp)
        {
            App = fixapp;

            this.ReportCallBack = report;
            App.ReportCallBack = this.CmdReport;
        }
示例#2
0
        internal CommandProcess(FixCallBack report, FixApplication fixapp)
        {
            App = fixapp;

            this.ReportCallBack = report;
            App.ReportCallBack  = this.CmdReport;
        }
示例#3
0
        internal static dynamic CommandProcessInstance(string target, FixCallBack report)
        {
            if (!string.IsNullOrEmpty(target))
            {
                switch (target)
                {
                case "NHQH":
                case "GLQH":
                case "NANHUA":
                case "SUNGARD":
                    return(new CommandProcess(report, new FixAppKingStar()));//国内金仕达

                case "YUTAFOMD3":
                    return(new CommandProcess(report, new FixAppYuanTa()));//台湾元大

                case "IB":
                    return(new CommandProcess(report, new FixAppIB()));//IB

                default:
                    break;
                }
            }

            return(new CommandProcess(report, new FixApplication()));
        }
示例#4
0
        internal static dynamic CommandProcessInstance(string target, FixCallBack report)
        {
            if (!string.IsNullOrEmpty(target))
            switch (target)
            {
                case "NHQH":
                case "GLQH":
                case "NANHUA":
                case "SUNGARD":
                    return new CommandProcess(report, new FixAppKingStar());//国内金仕达

                case "YUTAFOMD3":
                    return new CommandProcess(report, new FixAppYuanTa());//台湾元大

                case "IB":
                    return new CommandProcess(report, new FixAppIB());//IB

                default:
                    break;
            }

            return new CommandProcess(report, new FixApplication());
        }
示例#5
0
 public void RemoveCallBack(FixCallBack fcb)
 {
     eventCallBack -= fcb;
 }
示例#6
0
 public void AddCallBack(FixCallBack fcb)
 {
     eventCallBack += fcb;
 }