Patent ID: 8615522
Filing Date: 2013-12-24
Classification: G06F

Abstract:
1. A computing device, comprising: a storage system; at least one processor; and one or more programs that are stored in the storage system and executed by the at least one processor, the one or more programs comprising: a reading module that reads a dimension file of a workpiece from the storage system, and searches the dimension file for at least one dimension keyword; an extraction module that extracts dimension data from the dimension file according to the at least one dimension keyword using a predetermined extraction method, stores the dimension data as one or more structure variables into a structure array in the storage system, under the condition that the dimension file comprises the at least one dimension keyword, the predetermined extraction method comprising obtaining one or more dimension blocks in the dimension file if there is the next dimension keyword after the dimension keyword, the dimension blocks comprising lines of codes between the dimension keyword and the next dimension keyword, extracting the dimension data of the dimension block by reading codes in a line of a string “=” in the dimension block, converting formats of the dimension data from string types to float types, and storing the dimension data of the dimension block as the structure variable into the structure array; an addition module that adds each of the one or more structure variables into corresponding dimension fields in a preset general list; a setting module that sets an output position in an output report of each of the dimension fields; an output module that outputs each of the dimension fields in the preset general list to the output report according to the output position of each of the dimension fields and displays the output report on a display screen of the computing device.