Beispiel #1
0
            public static Dictionary <int, IList> GetDataSources()
            {
                d = new Dictionary <int, IList>();
                try
                {
                    switch (DaoGuMainPage.yType)
                    {
                    case 1:
                        d.Add(0, SelectData.getData(SelectSeZePage.DongTaiModels));
                        break;

                    case 2:
                    case 3:
                    case 4:
                    case 5:
                        d.Add(0, SelectData.getData(SelectZhiLiangCanShuPage.DongTaiModels));
                        break;

                    case 6:
                        d.Add(0, SelectData.getData(SelectQiWeiPage.DongTaiModels));
                        break;

                    default:
                        break;
                    }
                }
                catch (Exception e)
                {
                    throw e;
                }
                return(d);
            }
Beispiel #2
0
            public DataSourceGenerator()
            {
                try
                {
                    switch (DaoGuMainPage.yType)
                    {
                    case 1:
                        d.Add(0, SelectData.getData(SelectSeZePage.DongTaiModels));
                        break;

                    case 2:
                    case 3:
                    case 4:
                    case 5:
                        d.Add(0, SelectData.getData(SelectZhiLiangCanShuPage.DongTaiModels));
                        break;

                    case 6:
                        d.Add(0, SelectData.getData(SelectQiWeiPage.DongTaiModels));
                        break;

                    default:
                        break;
                    }
                }
                catch (Exception)
                {
                    return;
                }

                foreach (DataPoint dp in d[0])
                {
                    this.Add(dp);
                }
            }
Beispiel #3
0
        public DataSourceGenerator()
        {
            d = SelectData.getData();

            foreach (DataPoint dp in d[0])
            {
                this.Add(dp);
            }
        }
Beispiel #4
0
 public static Dictionary <int, IList> GetDataSources()
 {
     try
     {
         d = SelectData.getData();
     }
     catch (Exception e)
     {
         throw e;
     }
     return(d);
 }
Beispiel #5
0
 public static Dictionary <int, IList> GetDataSources()
 {
     d = new Dictionary <int, IList>();
     try
     {
         d.Add(0, SelectData.getData(SelectPageBaoZi.DongTaiModels));
     }
     catch (Exception e)
     {
         throw e;
     }
     return(d);
 }
Beispiel #6
0
            public DataSourceGenerator()
            {
                try
                {
                    d.Add(0, SelectData.getData(SelectPage.DongTaiModels));
                }
                catch (Exception)
                {
                    return;
                }

                foreach (DataPoint dp in d[0])
                {
                    this.Add(dp);
                }
            }
Beispiel #7
0
        public DataSourceGenerator()
        {
            try
            {
                d = SelectData.getData();
            }
            catch (Exception)
            {
                return;
            }

            foreach (DataPoint dp in d[0])
            {
                this.Add(dp);
            }
        }
Beispiel #8
0
 public static Dictionary <int, IList> GetDataSources()
 {
     d = SelectData.getData();
     return(d);
 }