コード例 #1
0
        public void OpenExistingVersion7FileUsingExplicit7()
        {
            DssPath path = new DssPath("//SACRAMENTO/PRECIP-INC//1Day/OBS/");

            using (DssReader r = new DssReader(TestUtility.BasePath + "sample7.dss", 6))
            {
                var ts = r.GetTimeSeries(path);
                var dt = ts.ToDataTable();
            }

            using (DssReader r = new DssReader(TestUtility.BasePath + "sample7.dss", 7))
            {
                Assert.IsTrue(r.GetDSSFileVersion() == 7);
            }
        }