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