コード例 #1
0
ファイル: UsaceSeries.cs プロジェクト: usbr/Pisces
 public UsaceSeries(string path )
 {
     m_path = path;
     ExternalDataSource = true;
     var dsspath = new Hec.HecDssPath(path);
     DataQueryInfo info = new DataQueryInfo(dsspath);
     Name = info.Name;
     Parameter = info.Parameter;
     Units = info.Units;
     ConnectionString = "DssPath=" + m_path;
     base.Provider = "UsaceSeries";
     Source = "hecdss"; // for icon name
 }
コード例 #2
0
        public UsaceSeries(string path)
        {
            m_path             = path;
            ExternalDataSource = true;
            var           dsspath = new Hec.HecDssPath(path);
            DataQueryInfo info    = new DataQueryInfo(dsspath);

            Name             = info.Name;
            Parameter        = info.Parameter;
            Units            = info.Units;
            ConnectionString = "DssPath=" + m_path;
            base.Provider    = "UsaceSeries";
            Source           = "hecdss"; // for icon name
        }