public OreDetailCalculator(CalculationType calcType, float conversionRate, int oreIndex)
        {
            this.calcType       = calcType;
            this.conversionRate = conversionRate;
            this.oreIndex       = oreIndex;

            stripper = new MarketDataStripper();
        }
        //
        //  Constructor
        //

        #region Constructor
        public OreDetailCalculator(CalculationType calcType, float conversionRate, MarketItem oreMarketData, MarketItem[] outputMarketData)
        {
            this.calcType         = calcType;
            this.conversionRate   = conversionRate;
            this.oreMarketData    = oreMarketData;
            this.outputMarketData = outputMarketData;

            oreIndex = OreDataProvider.GetOreIndex(oreMarketData.ID);
            stripper = new MarketDataStripper();
        }
Exemple #3
0
 public OreCalculator(CalculationType type, float oreConversionRate)
 {
     this.type = type;
     this.oreConversionRate = oreConversionRate;
     stripper = new MarketDataStripper();
 }