diff MetroWpf/Stocks.Service/StocksService.cs @ 23:399398841fd0

Working version for Stocks (including loosely coupled components
author adminsh@apollo
date Tue, 20 Mar 2012 16:53:29 +0000
parents dfc81f8bb838
children
line wrap: on
line diff
--- a/MetroWpf/Stocks.Service/StocksService.cs	Tue Mar 20 15:07:49 2012 +0000
+++ b/MetroWpf/Stocks.Service/StocksService.cs	Tue Mar 20 16:53:29 2012 +0000
@@ -130,7 +130,7 @@
                     continue;
                 }
 
-                if (!localPrice.Equals(webPrice))
+                if (localPrice.CurrentPrice != webPrice.CurrentPrice)
                     UpdateLocalPrice(webPrice, localPrice);
             }
         }