コード例 #1
0
        protected override Series CreateFromConnectionString()
        {
            UsgsGroundWaterLevelSeries s = new UsgsGroundWaterLevelSeries(
                ConnectionStringUtility.GetToken(ConnectionString, "site_no", ""));

            return(s);
        }
コード例 #2
0
        //public UsgsGroundWaterLevelSeries(int sdi, TimeSeriesDatabase db)
        //    : base(sdi, db)
        //{
        //    m_site_no = ConnectionStringUtility.GetToken(ConnectionString, "site_no", "");
        //}

        public static UsgsGroundWaterLevelSeries Read(string site_no, DateTime t1, DateTime t2)
        {
            UsgsGroundWaterLevelSeries s = new UsgsGroundWaterLevelSeries(site_no);

            s.Read(t1, t2);
            return(s);
        }