示例#1
0
 public static void ChangeAccount()
 {
     AccountCenter.Instance.IsTDLogin = false;
     if (instance != null)
     {
         instance.Release();
     }
     instance = new TradeAdapter();
     instance.RegisterFront("tcp://" + AccountCenter.Instance.Account.TDAddress);
     instance.Init();
 }
示例#2
0
 public static void ChangeAccount()
 {
     AccountCenter.Instance.IsTDLogin = false;
     if (instance != null)
     {
         instance.Release();
     }
     instance = new TradeAdapter();
     instance.RegisterFront("tcp://" + AccountCenter.Instance.Account.TDAddress);
     instance.Init();
 }