Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# .NET WPF
I will be developing an app using WPF.I need some inputs for architecture and patterns to be used .
1.Application reads data continously from an hardware(3rd party DLL's are there to read data)
3.Data is read based on ID's which will diff .
Like ID=230 ,Data=Value to display gear indication.
2.Application has a main page which has elements like gear indicator,progress bar ,modes display etc to which data(decode the value and assign corresponding values to UI) has to be updated.
3.There are sub forms which has to be display data in textbox based on the ID's
4.The only user input in the application is button click to navigate to sub forms.
Please suggest any approaches on how to proceed
Posted 24-Sep-12 3:59am
Edited 24-Sep-12 18:03pm
v5

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You can use MVVM or PRISM. For status bar or progress bar that are being shared over multiple views, Sigleton approach will be great.
  Permalink  
Comments
rajeshlokayata at 24-Sep-12 9:11am
   
Hi shashi,Thanks for the reply.
 
There is need to read the data and process it continously .In which part this should be done in MVVM.
Progress bar is not shared over multiple views.
Read incoming data
----------process data based on ID
--------------------bind with UI(monitor continous changes in data and update in view)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web04 | 2.8.150129.1 | Last Updated 24 Sep 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100