From: Neil C. <nc...@co...> - 2006-09-27 19:11:32
|
Matthew Williams wrote: > Gregg Liming wrote: >> Well, I'll plan to at least attempt to use Device_Item and the design >> patterns in place via X10_Interface and X10_Items for other classes. If >> it doesn't work out, then perhaps changes be considered or simply not >> use Device_Item. >> > > Definitely. Consider this the first phase of cleaning up some of the class > relationships. My goal was initially just to uncouple higher layer classes > from specific physical interfaces. The obvious example is that we now have > non serial port connected X10 interfaces. X10_Items being Serial_Items > didn't really make sense. > > Hopefully Device_Item is a good starting point for most locally connected > hardware. If anyone runs into limitations or has suggestions to improve any > of these new classes, be sure to speak up. What I'd like to see is a new that accepts a <FILE> (?) in addition to the other parameters that way it wouldn't have to open anything. This would cover any new interfaces until we get them built into the classes (a little bit of future proofing). -- Linux Home Automation Neil Cherry nc...@li... http://www.linuxha.com/ Main site http://linuxha.blogspot.com/ My HA Blog http://home.comcast.net/~ncherry/ Backup site |