예제 #1
0
 public Rates(DataBase_Rates DBRates)
 {
     American  = DBRates.American;
     ASK       = DBRates.ASK;
     BID       = DBRates.BID;
     CCY_Token = DBRates.CCY_Token;
     CLOSE     = DBRates.CLOSE;
     Dealable  = DBRates.Dealable;
     Decimals  = DBRates.Decimals;
     HIGH      = DBRates.HIGH;
     LOW       = DBRates.LOW;
     Time      = DBRates.Time;
 }
예제 #2
0
        public DataBase_Rates ToDataBase()
        {
            DataBase_Rates DBRates = new DataBase_Rates();

            DBRates.American  = American;
            DBRates.ASK       = ASK;
            DBRates.BID       = BID;
            DBRates.CCY_Token = CCY_Token;
            DBRates.CLOSE     = CLOSE;
            DBRates.Dealable  = Dealable;
            DBRates.Decimals  = Decimals;
            DBRates.HIGH      = HIGH;
            DBRates.LOW       = LOW;
            DBRates.Time      = Time;

            return(DBRates);
        }