public BulkShearStationSummary(
            ISessionColumnCollection collection,
            DataView data,
            double wdbin,
            double wdrosebin,
            double wsbin
            )
        {
            _ef            = new ExcelFile();
            _ef.LimitNear += new LimitEventHandler(_ef_LimitNear);

            //original data
            SessionColumnType sheartype = SessionColumnType.WSAvgBulkShear;

            _monthHourWorksht = new WindSpeedFrequencyMonthHourWorkSheet(collection, data.Table, _ef, sheartype);
            _wSWDworkSht      = new WindSpeedFrequencyWDWSWorkSheet(collection, data, wdbin, wsbin, _ef, sheartype);
            _wroseWksht       = new WindRoseWorkSheet(collection, data, wdrosebin, _ef, sheartype);
            //datarecovery worksheet

            //built in order they will appear in work book

            _monthHourWorksht.BuildWorkSheet();
            _wSWDworkSht.BuildWorkSheet();
            _wroseWksht.BuildWorkSheet();
        }
        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 CreateMonthHourWorksheet()
 {
     _monthHourWorksht = new WindSpeedFrequencyMonthHourWorkSheet(_collection, _data.Table, _ef, SessionColumnType.WSAvgShear);
     _monthHourWorksht.WriteNotification += new AbstractExcelWorkSheet.writeNotificationHandler(writeLog);
     _monthHourWorksht.BuildWorkSheet();
 }
Ejemplo n.º 4
0
 void CreateMonthHourWorksheet()
 {
     _monthHourWorksht = new WindSpeedFrequencyMonthHourWorkSheet(_collection, _data.Table, _ef, SessionColumnType.WSAvgShear);
     _monthHourWorksht.BuildWorkSheet();
 }