public XbyYShearStationSummary(
            ISessionColumnCollection collection,
            DataView data,
            double wdbin,
            double wdrosebin,
            double wsbin,
            AbstractAlpha gridcollection
            )
        {
            _collection      = collection;
            _data            = data;
            _wdbin           = wdbin;
            _wdrosebin       = wdrosebin;
            _wsbin           = wsbin;
            _alphacollection = gridcollection;

            _ef            = new ExcelFile();
            _ef.LimitNear += new LimitEventHandler(_ef_LimitNear);

            //original data
            _shearWksht        = new MonthbyHourShearWorkSheet(_alphacollection, _ef);
            _monthHourWorksht  = new WindSpeedFrequencyMonthHourWorkSheet(collection, data.Table, _ef, SessionColumnType.WSAvgShear);
            _wSWDworkSht       = new WindSpeedFrequencyWDWSWorkSheet(collection, data, wdbin, wsbin, _ef, SessionColumnType.WSAvgShear);
            _wroseWksht        = new WindRoseWorkSheet(collection, data, wdrosebin, _ef, SessionColumnType.WSAvgShear);
            _dataRecoveryWksht = new DataRecoveryWorksheet(_ef, collection, data.Table);

            //built in order they will appear in work book
            _shearWksht.BuildWorkSheet();
            _monthHourWorksht.BuildWorkSheet();
            _wSWDworkSht.BuildWorkSheet();
            _wroseWksht.BuildWorkSheet();
            _dataRecoveryWksht.BuildWorkSheet();
        }
 void CreateShearGrids()
 {
     _shearWksht = new MonthbyHourShearWorkSheet(_alphacollection, _ef);
     _shearWksht.WriteNotification += new AbstractExcelWorkSheet.writeNotificationHandler(writeLog);
     _shearWksht.BuildWorkSheet();
 }
Exemplo n.º 3
0
 void CreateShearGrids()
 {
     _shearWksht = new MonthbyHourShearWorkSheet(_gridcollection, _ef);
     _shearWksht.BuildWorkSheet();
 }