Exemplo n.º 1
0
 /// <summary>
 /// Constructor that can be use to create restore ChartPoint of its DataBase equivalent
 /// </summary>
 /// <param name="DBCPoint"></param>
 public ChartPoint(DataBase_ChartPoint DBCPoint)
 {
     CLOSE = DBCPoint.CLOSE;
     OPEN  = DBCPoint.OPEN;
     HIGH  = DBCPoint.HIGH;
     LOW   = DBCPoint.LOW;
     Time  = DBCPoint.Time;
 }
Exemplo n.º 2
0
        /// <summary>
        /// Allows to convert chart point to its DataBase equivelent that can be store lates in the Hard Drive
        /// </summary>
        /// <returns>Returns DataBase equivelent of ChartPoint </returns>
        public DataBase_ChartPoint ToDataBase()
        {
            DataBase_ChartPoint DBCPoint = new DataBase_ChartPoint();


            DBCPoint.CLOSE = CLOSE;
            DBCPoint.OPEN  = OPEN;
            DBCPoint.HIGH  = HIGH;
            DBCPoint.LOW   = LOW;
            DBCPoint.Time  = Time;

            return(DBCPoint);
        }