为改变目前船厂利用人工进行零件参数和partlist标准文件校对的现状,根据某船厂的实际需求,采用类和ArrayList动态数组结合建立型材存储模型的方法,对Tribon生成的型材下料表进行参数提取并保存到数据库中,然后对参数数据进行合并统计和校验.采用C#和ADO对该方法进行实现,克服Tribon数据开放性不足、与通用数据库没有接口的缺点.利用数据库完成参数的合并和校验,可以提高船厂的工作效率.
To change the status in shipyards that the parameters of components and the partlist standard files have to be manually checked, the method that the class and the dynamic array ArrayList are combined to establish the storage model for profiled bar is proposed according to the requirements of a shipyard. In the method, the parameters of machining list of profiled bar generated by Tribon are extracted and stored into database. Then the parameters are merged, collected and verified. C# and ADO are used to implement the method and the shortages that Tribon data lacks of openness and interfaces with general database are overcomed. The work efficiency of shipyard can be greatly improved by using the function of database to realize the merge and check parameters.