- Replaced blocking Dispatcher.Invoke() calls with non-blocking Dispatcher.BeginInvoke() in MainViewModel, osBase, and ObjectManipulationManager to enhance responsiveness during simulations. - Added checks for Dispatcher availability to prevent crashes during application shutdown. - Implemented comprehensive error handling with try-catch blocks and logging for better debugging. - Corrected hydraulic connection logic to use component names instead of IDs for better accuracy in osHydPump. - Introduced methods for safe Dispatcher invocation with timeout handling in MCPServer. - Enhanced debug logging for better traceability of errors and server status. - Documented threading improvements and their impact on MCP stability in new markdown files. |
||
---|---|---|
.. | ||
FluidProperties.cs | ||
osHydPipe.cs | ||
osHydPump.cs | ||
osHydTank.cs | ||
ucHydPipe.xaml | ||
ucHydPipe.xaml.cs | ||
ucHydPump.xaml | ||
ucHydPump.xaml.cs | ||
ucHydTank.xaml | ||
ucHydTank.xaml.cs |