示例#1
0
        public UserDataReaderFromDataBase(ConfigFileReader configReader)
        {
            dbHandler   = new DbHandler(configReader.GetAmtHostName(), configReader.GetAmtPort(), configReader.GetAmtdbName(), configReader.GetAmtUserName(), configReader.GetAmtUserPassword());
            orderPrices = new List <Tuple <Int64, double, short, short, int, int, string> >();
            orderPriceAgainstOrderId = new List <Tuple <long, short, SpreadLogModel> >();


            alphaDataTable = new DataTable();
        }
 public AppCompInitializer()
 {
     listOfParticipants = new List <string>();
     configReader       = new ConfigFileReader(ConfigurationManager.AppSettings["startupConfig"]);
 }
示例#3
0
 public void SetConfigReaderAndUserDataReaderFromDataBase(ConfigFileReader configReaderObj)
 {
     configReader           = (ConfigFileReader)configReaderObj;
     UserDataReaderDataBase = new UserDataReaderFromDataBase(configReader);
 }