public static ChannelListEntry Parse(CommandParameterGroup currrentParameterGroup, CommandParameterGroup firstParameterGroup)
        {
            if (currrentParameterGroup == null)
                throw new ArgumentNullException("currrentParameterGroup");

            ChannelListEntry result = new ChannelListEntry();
            result.FillFrom(currrentParameterGroup, firstParameterGroup);
            result.IsSubscribed = currrentParameterGroup.GetParameterValue<byte>("channel_flag_are_subscribed").ToBool();

            return result;
        }
예제 #2
0
        public static ChannelListEntry Parse(CommandParameterGroup currrentParameterGroup, CommandParameterGroup firstParameterGroup)
        {
            if (currrentParameterGroup == null)
            {
                throw new ArgumentNullException("currrentParameterGroup");
            }

            ChannelListEntry result = new ChannelListEntry();

            result.FillFrom(currrentParameterGroup, firstParameterGroup);
            result.IsSubscribed = currrentParameterGroup.GetParameterValue <byte>("channel_flag_are_subscribed").ToBool();

            return(result);
        }