Пример #1
0
        public frmVaultViewer(string tradeSysCode, string tokenNum)
        {
            InitializeComponent();
            vaultSvcDal = new VaultServiceDal(Properties.Settings.Default.ExtSvcAPIBaseUrl,
                                              Properties.Settings.Default.ExtSvcAPIUserName, Properties.Settings.Default.ExtSvcAPIPassword);

            LoadVaultViewer(tradeSysCode, tokenNum);
        }
Пример #2
0
        public frmVaultViewer(string tradeSysCode,string tokenNum)
        {
            InitializeComponent();
            vaultSvcDal = new VaultServiceDal(Properties.Settings.Default.ExtSvcAPIBaseUrl,
                Properties.Settings.Default.ExtSvcAPIUserName, Properties.Settings.Default.ExtSvcAPIPassword);

            LoadVaultViewer(tradeSysCode, tokenNum);
        }
Пример #3
0
 public frmVaultViewer()
 {
     InitializeComponent();
     //svcApiUrl = Properties.Settings.Default.ExtSvcAPIBaseUrl;
     //svcApiUserName = Properties.Settings.Default.ExtSvcAPIUserName;
     //svcApiPassword = Properties.Settings.Default.ExtSvcAPIPassword;
     vaultSvcDal = new VaultServiceDal(Properties.Settings.Default.ExtSvcAPIBaseUrl,
                                       Properties.Settings.Default.ExtSvcAPIUserName, Properties.Settings.Default.ExtSvcAPIPassword);
 }
Пример #4
0
 public frmVaultViewer()
 {
     InitializeComponent();
     //svcApiUrl = Properties.Settings.Default.ExtSvcAPIBaseUrl;
     //svcApiUserName = Properties.Settings.Default.ExtSvcAPIUserName;
     //svcApiPassword = Properties.Settings.Default.ExtSvcAPIPassword;
     vaultSvcDal = new VaultServiceDal(Properties.Settings.Default.ExtSvcAPIBaseUrl,
         Properties.Settings.Default.ExtSvcAPIUserName, Properties.Settings.Default.ExtSvcAPIPassword);
 }
Пример #5
0
        public void TestVaultServiceAPI()
        {
            VaultServiceDal vaultServiceDal = new VaultServiceDal(vaultSvcUrl, vaultSvcUserName, vaultSvcPassword);

            string tradingSysCode = "SYMPH";
            string ticketNo = "IF-1106-09";
            //Dictionary<string, string> docQueryDic = new Dictionary<string, string>();
            //docQueryDic.Add("key", "value");
            string result = "";
            //result = vaultServiceDal.GetDocumentInfoList(tradingSysCode, ticketNo, null);


        }