Example #1
0
        /// <summary>
        /// Determines the size of the table.
        /// </summary>
        /// <param name="Table0">The Table 0 object for the current device.</param>
        /// <param name="table2409">The Table 61 object for the current device.</param>
        /// <param name="table2410"> The Table 62 object for the current device</param>
        /// <returns>The size of the table in bytes.</returns>
        // Revision History
        // MM/DD/YY who Version Issue# Description
        // -------- --- ------- ------ ---------------------------------------
        // 12/06/11 RCG 2.53.14 N/A    Created

        private static uint DetermineTableSize(CTable00 Table0, OpenWayMFGTable2409 table2409, OpenWayMFGTable2410 table2410)
        {
            uint uiTableSize = 0;

            uiTableSize += table2409.Set4ActualLimits.NumberOfBlocks
                           * LPBlockDataRecord.Size(Table0, table2409, table2410, LPDataSet.Set4);

            return(uiTableSize);
        }