Example #1
0
 public WindSpeedFrequencyMonthHourWorkSheet(
     ISessionColumnCollection collection,
     DataTable data,
     ExcelFile ef,
     SessionColumnType sheartype)
 {
     _ef        = ef;
     _monthgrid = new SummaryGrid(collection, data, sheartype, new MonthAxis(), SummaryType.Month);
     _hourgrid  = new SummaryGrid(collection, data, sheartype, new HourAxis(), SummaryType.Hour);
 }
 public WindRoseWorkSheet(
     ISessionColumnCollection collection,
     DataView data,
     double wdbinwidth,
     ExcelFile ef,
     SessionColumnType sheartype)
 {
     _ef        = ef;
     _wRoseGrid = new SummaryGrid(collection, data.Table, sheartype,
                                  new WindDirectionAxis(wdbinwidth), SummaryType.WDRose);
 }
        public WindSpeedFrequencyWDWSWorkSheet(
            ISessionColumnCollection collection,
            DataView data,
            double wdbinwidth,
            double wsbinwidth,
            ExcelFile ef,
            SessionColumnType sheartype,
            int shearidx)
        {
            DateTime start = (DateTime)data[0][collection.DateIndex];

            _WDgrid    = new SummaryGrid(collection, data.Table, sheartype, shearidx, new WindDirectionAxis(wdbinwidth), SummaryType.WD, false);
            _WSgrid    = new SummaryGrid(collection, data.Table, sheartype, shearidx, new WindSpeedAxis(wsbinwidth, data, collection.UpperWSComp(start)), SummaryType.WS, false);
            _excelfile = ef;
        }