Beispiel #1
0
 public static void SetSettings(ImportSettings settings)
 {
   switch (settings.DataFormatVersion)
   {
     case DataFormatVersion.Version1:
       Importer.ch7dtZiPhO = (ImportEngine) new noARWWaXHjp5SfgZ99();
       break;
     case DataFormatVersion.Version2:
       Importer.ch7dtZiPhO = (ImportEngine) new cFIie634SM7fKWplsf();
       break;
   }
   Importer.ch7dtZiPhO.SetSettings(settings);
   Importer.ch7dtZiPhO.Progress += new EventHandler(Importer.QePdpV6cd0);
   Importer.ch7dtZiPhO.Stopped += new EventHandler(Importer.O7BdNtaRUQ);
   Importer.XAxdEyk3y5 = new Thread(new ThreadStart(Importer.ch7dtZiPhO.Run));
   Importer.XAxdEyk3y5.Name = RNaihRhYEl0wUmAftnB.aYu7exFQKN(11326);
 }
Beispiel #2
0
 private ImportSettings AB7g93gpbe()
 {
   ImportSettings importSettings = new ImportSettings();
   importSettings.TAQDataFile = new FileInfo(this.dIhgTXFKKW.Text);
   importSettings.TAQIndexFile = new FileInfo(this.j5jgatsMIh.Text);
   if (this.kFDgOTJaFb.Checked)
     importSettings.DataFormatVersion = DataFormatVersion.Version1;
   if (this.TJwgylPw5p.Checked)
     importSettings.DataFormatVersion = DataFormatVersion.Version2;
   if (this.hDjgIMkWvV.Checked)
     importSettings.DataType = DataType.Quotes;
   if (this.sKcgS1rIWT.Checked)
     importSettings.DataType = DataType.Trades;
   if (this.aNdgq2votA.Checked)
     importSettings.SymbolOption = SymbolOption.All;
   if (this.TXcgCaoj4c.Checked)
     importSettings.SymbolOption = SymbolOption.Existents;
   if (this.fbdg2QpLdD.Checked)
     importSettings.SymbolOption = SymbolOption.Custom;
   importSettings.Symbols = this.lCBg3KbIj8;
   return importSettings;
 }
Beispiel #3
0
 public void SetSettings(ImportSettings settings)
 {
   this.settings = settings;
 }
Beispiel #4
0
 public void SetSettings(ImportSettings settings)
 {
     this.settings = settings;
 }