Beispiel #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="no"></param>
        /// <returns></returns>
        public ChartSession GetChartSession(int no)
        {
            ChartSession obj = _css[no];

            if (obj == null)
            {
                _css[no] = new ChartSession();
                return(_css[no]);
            }
            else
            {
                return(obj);
            }
        }
Beispiel #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="no"></param>
 /// <returns></returns>
 public ChartSession GetChartSession(int no)
 {
     ChartSession obj = _css[no];
     if (obj == null)
     {
         _css[no] = new ChartSession();
         return _css[no];
     }
     else
     {
         return obj;
     }
 }