private Dictionary <int, OwnerRequest> systemRequests; //reqId - flag,count,tmpcount public TradingSystem(ProductSupplySystem supplySystem, FinancialSystem financialSystem) { this.users = new Dictionary <int, User>(); this.stores = new Dictionary <int, Store>(); this.supplySystem = supplySystem; this.financialSystem = financialSystem; this.productCounter = 0; this.purchasePolicyCounter = 0; this.discountPolicyCounter = 0; this.encryption = new EncryptionImpl(); systemRequests = new Dictionary <int, OwnerRequest>(); }
public TradingSystem(ProductSupplySystem supplySystem, FinancialSystem financialSystem) { this.users = new Dictionary <int, User>(); this.stores = new Dictionary <int, Store>(); this.supplySystem = supplySystem; this.financialSystem = financialSystem; this.productCounter = 0; this.storeCounter = 0; this.userCounter = 0; this.purchasePolicyCounter = 0; this.discountPolicyCounter = 0; }