private void ThreadFunc() { //Plaza2Connector = new CPlaza2Connector(); _dealingServer = new CCryptoDealingServer(); _dispatcher.BeginInvoke(DispatcherPriority.Normal, new Action(BindData)); _dealingServer.Process(); Thread.Sleep(100000); // Plaza2Connector.Process(); }
public void Test() { // Thread.CurrentThread.CurrentCulture = // new System.Globalization.CultureInfo("en-us"); TestGetPriceFromVolume(); TestGetOrderStatus(); TestGetRoundTo(); TestGetIntVolume(); TestBfxTimes(); TestPriceDecimals(); TestStepPrice(); TestGetDecimalVolume(); CCryptoDealingServer dealingServer = new CCryptoDealingServer(); dealingServer.Process(); Console.ReadKey(); }