AgGateway.ADAPT.ISOv4Plugin.ImportMappers.LogMappers.BinaryReader.SetSpatialValues C# (CSharp) Method

SetSpatialValues() private static method

private static SetSpatialValues ( TIM tim, ISOSpatialRow record, System binaryReader ) : void
tim TIM
record ISOSpatialRow
binaryReader System
return void
        private static void SetSpatialValues(TIM tim, ISOSpatialRow record, System.IO.BinaryReader binaryReader)
        {
            var numberOfDLVs = binaryReader.ReadByte();
            record.SpatialValues = new List<SpatialValue>();

            for (int i = 0; i < numberOfDLVs; i++)
            {
                var order = binaryReader.ReadByte();
                var value = binaryReader.ReadInt32();

                record.SpatialValues.Add(CreateSpatialValue(tim, order, value));
            }
        }