Beispiel #1
0
        internal Mdf4Channel(Mdf4ChannelGroup channelGroup, Mdf4CNBlock cnBlock)
        {
            ChannelGroup = channelGroup;
            _cnBlock     = cnBlock;

            if (_cnBlock.Data.ChannelType == Mdf4CNBlock.ChannelType.Master)
            {
                channelGroup.MasterChannel = this;
            }

            if (cnBlock.Data.ChannelType == Mdf4CNBlock.ChannelType.VariableLength)
            {
                Check.NotImplementedSuppressed(new NotImplementedException("VariableLength Channel"));
            }
        }
Beispiel #2
0
 protected Mdf4Channel(Mdf4Channel adapter)
 {
     ChannelGroup = adapter.ChannelGroup;
     _cnBlock     = adapter._cnBlock;
 }