which "design pattern" for data acquisition in C#?

Posted on 2008-11-13
Last Modified: 2013-11-11
I've got to test 32 different electronic products using data acquisition equipment, running various algorithms on them. The algorithms may vary per module, independently, at run time.

I also need to log results to a database.

Which of the 23 classic "design patterns" would be appropriate for this?
Question by:bmihura
    LVL 38

    Accepted Solution

    Any given task could make use of a number of patterns.  It depends on what classes you intend to create and what role you intend for them to play.

    On the surface, the strategy pattern looks like a match, mapping the same interface to separate functions for the different products

    But there could well be opportunities for other patterns as well.

    Author Closing Comment

    Wow! That's exactly the solution I independently chose, but this is my first time to ever use design patterns.  Thanks for the confirmation.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Introduction Many of the most common information processing tasks require sorting data sets.  For example, you may want to find the largest or smallest value in a collection.  Or you may want to order the data set in numeric or alphabetical order. …
    "Disruption" is the most feared word for C-level executives these days. They agonize over their industry being disturbed by another player - most likely by startups.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now