Exemplo n.º 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
 }
Exemplo n.º 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
        }