Exemplo n.º 1
0
        public static SignalingHoldTime fromRaw(byte[] rawData)
        {
            SignalingHoldTime ps = new SignalingHoldTime();

            ps.Value = rawData[ps.offset];
            return(ps);
        }
Exemplo n.º 2
0
        private void setDataFromRawData()
        {
            name                  = Name.fromRaw(rawData);
            priorityChannel1      = PriorityChannelId.fromRaw(rawData, PriorityChannelId.CHANNEL1);
            priorityChannel2      = PriorityChannelId.fromRaw(rawData, PriorityChannelId.CHANNEL2);
            txDesignatedChannelId = TXDesignatedChannelId.fromRaw(rawData);
            signalingHoldTime     = SignalingHoldTime.fromRaw(rawData);
            prioritySampleTime    = PrioritySampleTime.fromRaw(rawData);

            for (int i = 0; i < ChannelId.MAX_ID; i++)
            {
                channelIDs[i] = ChannelId.fromRaw(rawData, i);
            }
        }