示例#1
0
文件: FdkWrapper.cs 项目: ifzz/FDK
        public void SetupBuilder()
        {
            if (IsConnected)
            {
                ConnectLogic.Disconnect();
                IsConnected = false;
            }
            ConnectLogic = new FdkConnectLogic(Address, Login, Password)
            {
                RootPath = Path
            };

            ConnectLogic.TradeWrapper.SetupBuilder(Address, Login, Password, this.Path);
        }
示例#2
0
        public void SetupBuilder()
        {
            if (IsConnected)
            {
                ConnectLogic.Disconnect();
                IsConnected = false;
            }
            ConnectLogic = new FdkConnectLogic(Address, Login, Password)
            {
                RootPath = Path
            };

            ConnectLogic.TradeWrapper.SetupBuilder(Address, Login, Password, this.Path);
        }