public PasswordChangingForm(DllSelector selectedDll) { this.InitializeComponent(); this.selectedDll = selectedDll; }
public Transaq() { this.name = "Finam Transaq"; this.description = "Finam Transaq Provider"; this.id = (byte) 117; this.url = "http://www.finam.ru/"; this.selectedDll = DllSelector.txmlconnector_dll; this.selectedSecurity = SecuritySelector.seccode; this.host = "127.0.0.1"; this.port = 0; this.username = ""; this.logLevelConn = "0"; this.logLevelInit = "2"; this.rqdelay = 100; this.micexRegisters = false; this.sessionTimeout = 120; this.requestTimeout = 20; this.proxyUsing = ""; this.proxyType = ""; this.proxyHost = ""; this.proxyPort = 0; this.proxyUsername = ""; this.proxyPassword = ""; this.isInitialize = false; this.positions = new TransaqPositions(); this.marketById = new Dictionary<int, TransaqMarket>(); this.boardById = new Dictionary<string, TransaqBoard>(); this.candleKindByPeriod = new Dictionary<long, TransaqCandleKind>(); this.instrumentBySymbol = new Dictionary<string, Instrument>(); this.securityBySecId = new Dictionary<int, TransaqSecurity>(); this.securityBySCB = new Dictionary<string, TransaqSecurity>(); this.tickEndTimeBySecId = new Dictionary<int, DateTime>(); this.tickEndTimeBySCB = new Dictionary<string, DateTime>(); this.hdrBySecId = new Dictionary<int, HistoricalDataRequest>(); this.hdrBySCB = new Dictionary<string, HistoricalDataRequest>(); this.openBookBySecId = new Dictionary<int, OpenBook>(); this.openBookBySCB = new Dictionary<string, OpenBook>(); this.bidOfferPairBySecId = new Dictionary<int, BidOfferPair>(); this.bidOfferPairBySCB = new Dictionary<string, BidOfferPair>(); this.rwClientById = new ReaderWriterLockSlim(); this.rwClientLimits = new ReaderWriterLockSlim(); this.clientById = new Dictionary<string, TransaqClient>(); this.clientLimits = new Dictionary<string, TransaqClientLimit>(); this.brokerAccountByClientId = new Dictionary<string, BrokerAccount>(); this.rwOrderByOrdId = new ReaderWriterLockSlim(); this.rwOrderByOrdNo = new ReaderWriterLockSlim(); this.rwTransaqOrderByTrId = new ReaderWriterLockSlim(); this.rwTransaqStopOrderByTrId = new ReaderWriterLockSlim(); this.orderByOrdId = new Dictionary<string, Order>(); this.orderByOrdNo = new Dictionary<long, Order>(); this.transaqOrderByTrId = new Dictionary<long, TransaqOrder>(); this.transaqStopOrderByTrId = new Dictionary<long, TransaqStopOrder>(); this.clientTradeNo = new Dictionary<long, object>(); this.balanceByOrderNoForCancel = new Dictionary<long, double>(); ProxyUsingSelectorEditor.t = this; }