Example #1
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
 }
Example #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
        }