View Single Post
Old 2006-10-28, 07:51   #8 (permalink)
frodo
Portal Developer
 
frodo's Avatar
 
Join Date: Apr 2004
Location: The Netherlands
Age: 36
Posts: 1,516
Thanks: 3
Thanked 119 Times in 44 Posts

Country:

My System

Default

IChannel is an generic interface
To see if its an analog channel try this:
Code:
AnalogChannel analogChannel=ichannelInterface as AnalogChannel;
if (analogChannel==null) return;
int channelNumber = analogChannel.ChannelNumber;
frodo is offline   Reply With Quote