コード例 #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);
 }
コード例 #2
0
 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);
 }
コード例 #3
0
        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;
        }