VAGSuite.MapViewerEx.GetOpenLoopValue C# (CSharp) Method

GetOpenLoopValue() private method

private GetOpenLoopValue ( int index ) : int
index int
return int
        private int GetOpenLoopValue(int index)
        {
            index = (y_axisvalues.Length - 1) - index;
            //int retval = (int)open_loop[(open_loop.Length - e.RowHandle) - 1];
            int retval = 0;
            retval = Convert.ToInt32(open_loop.GetValue(index * 2));
            retval *= 256;
            retval += Convert.ToInt32(open_loop.GetValue((index * 2) + 1));

            return retval;
        }
MapViewerEx