Exemple #1
0
        private Series GetIdahoPowerSeries()
        {
            var tokens = this.textBoxIdaCorp.Text.Split('/');

            if (tokens.Length != 2)
            {
                MessageBox.Show("Error:  site id should look  like this '13245000/Q'");
                return(new Series());
            }
            string id       = tokens[0];
            string ipcoType = tokens[1];
            var    s        = new Reclamation.TimeSeries.IdahoPower.IdahoPowerSeries(id, ipcoType, TimeInterval.Daily);

            return(s);
        }
Exemple #2
0
        private Series GetIdahoPowerSeries()
        {
            var s = new Reclamation.TimeSeries.IdahoPower.IdahoPowerSeries(textBoxIdaCorp.Text, TimeInterval.Daily);

            return(s);
        }