Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 5th, 2006, 10:28 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 596
Thanks: 1
Thanked 3 Times in 3 Posts
Default Serail Port N-Tier Architecture

Hi All, I would like some assistance in the best design for my serial port communications application.

I have a situation where I would like to be able to send mesasges to a device via a serial cable.

I have constructed a BOL & DAL layers but I am not sure how to share an instance of the serial port as it lives at a higher level.

My structure is something like this.

I would like to be able to set a setting on a device through its DAL implimentation, how do I structure this so that This can be done using the same serial port for all device communications.

Should I pass a static serial connedtion to the DAL Object or should I push the message up and be sent from the DEVICEGROUPCOLLECTION

Is this a situation where an interface is requried?

They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad.
"They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad."

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keep 3 tier schema watxu BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 September 22nd, 2008 09:35 AM
Difference between 3 tier and N-Tier architecture Manoj Bisht ASP.NET 2.0 Professional 2 May 9th, 2008 08:42 AM
3 Tier example fj8283888 Pro VB.NET 2002/2003 1 August 2nd, 2006 03:44 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.