AgGateway.ADAPT.ISOv4Plugin.ImportMappers.LogMappers.CondensedStateMeterCreator.GetSectionValue C# (CSharp) Method

GetSectionValue() private method

private GetSectionValue ( uint value, int section ) : uint
value uint
section int
return uint
        private uint GetSectionValue(uint value, int section)
        {
            int zeroBasedSection = (section % 16) - 1;
            var sectionValue = value >> (zeroBasedSection * 2) & 0x03;
            return sectionValue;
        }