CN105511819A - 一种基于xml架构的材料定额管理系统 - Google Patents
一种基于xml架构的材料定额管理系统 Download PDFInfo
- Publication number
- CN105511819A CN105511819A CN201510843716.2A CN201510843716A CN105511819A CN 105511819 A CN105511819 A CN 105511819A CN 201510843716 A CN201510843716 A CN 201510843716A CN 105511819 A CN105511819 A CN 105511819A
- Authority
- CN
- China
- Prior art keywords
- quota
- module
- management system
- xml
- reading
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1211—Improving printing performance
- G06F3/1215—Improving printing performance achieving increased printing speed, i.e. reducing the time between printing start and printing end
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1244—Job translation or job parsing, e.g. page banding
- G06F3/1246—Job translation or job parsing, e.g. page banding by handling markup languages, e.g. XSL, XML, HTML
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1253—Configuration of print job parameters, e.g. using UI at the client
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06313—Resource planning in a project environment
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Life Sciences & Earth Sciences (AREA)
- Educational Administration (AREA)
- Development Economics (AREA)
- Game Theory and Decision Science (AREA)
- Biodiversity & Conservation Biology (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明提供的一种基于XML架构的材料定额管理系统,包括数据读写与处理模块、材料定额计算模块、定额汇总模块、用户接口模块和打印输出模块;所述数据读写与处理模块负责System.ini程序配置文件的读写、xml格式材料定额文件的读写与分析、开目CAPP表格文件的读取与分析以及材料数据库文件的读写操作。本发明减轻了定额编制人员的劳动强度,减少了错误率,缩短了定额编制的时间,提高效率,加快了产品研制速度,同时利用计算机科学排料,能提高材料利用率;运行速度快,界面友好,打印方便、快捷,能满足现阶段的使用需求。
Description
技术领域
本发明涉及一种基于XML架构的材料定额管理系统,特别是将XML格式原始数据导入软件,输出成符合QJ903A报表格式的数据,实现与现有信息化软件无缝集成。
背景技术
材料消耗工艺定额是指在一定的生产、技术、组织条件下,根据产品设计图样、技术要求、标准、工艺方法和生产技术条件等规定,制造单位产品(或零件)所必须消耗材料的标准数量,材料消耗工艺定额文件的编制是一项重要的工艺技术工作,是制定材料供应定额、实行限额投料和产品成本核算的主要依据。
工厂使用DOS操作系统下的基于FoxPro编制的材料定额程序。该程序开发时间较早,系统陈旧,运行速度慢,故障频发,程序无输入输出转换接口,无法从相关文件中提取数据,人工输入工作量大,易出现错误;且该程序使用针式打印机,打印速度慢,噪音大,输出表格不符合标准。
发明内容
为解决上述技术问题,本发明提供了一种基于XML架构的材料定额管理系统,该基于XML架构的材料定额管理系统减轻了定额编制人员的劳动强度,减少了错误率,缩短了定额编制的时间,提高效率,加快了产品研制速度,同时利用计算机科学排料,能提高材料利用率。
本发明通过以下技术方案得以实现。
本发明提供的一种基于XML架构的材料定额管理系统,包括数据读写与处理模块、材料定额计算模块、定额汇总模块、用户接口模块和打印输出模块;所述数据读写与处理模块负责System.ini程序配置文件的读写、xml格式材料定额文件的读写与分析、开目CAPP表格文件的读取与分析以及材料数据库文件的读写操作;所述材料定额计算模块负责各种材料类型的判断并依据材料数据库中的计算顺序依次调用算法命令行程序,并取得计算结果值;所述定额汇总模块依据材料数据库中的材料分类方法对明细表中的材料进行分类汇总;所述用户接口模块提供开目CAPP的编辑、操作方法和界面;所述打印输出模块将xml格式的材料定额文件转化为开目CAPP格式工艺文件进行打印。
所述数据读写与处理模块加载时首先读取System.ini中的配置信息,根据配置信息读写表格库文件、材料数据库文件。
所述定额汇总模块汇总时依次判定、汇总材料类别、材料名称、材料牌号、材料规格、生产厂家字段值。
所述用户接口模块提供的编辑、操作方法包括表格编辑、复制、粘贴、撤销、重做。
所述打印输出模块根据不同格式的表格输出不同的工艺文件。
本发明的有益效果在于:减轻了定额编制人员的劳动强度,减少了错误率,缩短了定额编制的时间,提高效率,加快了产品研制速度,同时利用计算机科学排料,能提高材料利用率;运行速度快,界面友好,打印方便、快捷,能满足现阶段的使用需求。
附图说明
图1是本发明的原理示意图。
具体实施方式
下面进一步描述本发明的技术方案,但要求保护的范围并不局限于所述。
如图1所示的一种基于XML架构的材料定额管理系统,包括数据读写与处理模块、材料定额计算模块、定额汇总模块、用户接口模块和打印输出模块:
1.数据读写与处理模块
负责System.ini程序配置文件的读写、xml格式材料定额文件的读写与分析、开目CAPP表格文件的读取与分析以及材料数据库文件的读写操作,程序加载时首先读取System.ini中的配置信息,根据配置信息读写相关表格库文件、材料数据库文件。
2.材料定额计算模块
负责各种材料类型的判断并依据材料数据库中的计算顺序依次调用算法命令行程序,取得计算结果值。
3.定额汇总模块
依据材料数据库中的材料分类方法对明细表中的材料进行分类汇总。汇总时依次判定、汇总材料类别、材料名称、材料牌号、材料规格、生产厂家字段值。
4.用户接口模块
提供开目CAPP的编辑、操作方法,包括表格编辑功能、多记录的复制/粘贴功能、无限次数的撤销/重做功能等。
5.打印输出模块
提供将xml格式的材料定额文件转化为开目CAPP格式工艺文件进行打印的方法,根据格式不同的表格输出不同的工艺文件,这样保证了软件的通用性。
XML是一套元标记语言,定义了用于定义其他与特定领域有关的、语义的、结构化的标记语言的句法。XML最为显著的优点在于其开放性、可扩展性。XML格式读写简单,且大多数开发工具都提供了XML的开发包或函数库。因为XML为树状结构,所以在XML文件中添加节点、属性非常方便。因为XML的上述优点,故本文选择XML作为材料定额管理系统软件的文件数据格式。
由此,通过用户输入的零件信息查找材料库中的材料信息,并将此零件信息与材料类型库信息相匹配,查找合适的定额计算方法,进行定额计算,因为计算方法定义在软件之外,这能保证软件定额计算的通用性。软件在启动时读取开目CAPP表格文件,依据表格字段配置用户界面。输出打印时,软件依据开目CAPP表格文件输出明细表、汇总表,这样能保证输出文件的通用性。
Claims (5)
1.一种基于XML架构的材料定额管理系统,包括数据读写与处理模块、材料定额计算模块、定额汇总模块、用户接口模块和打印输出模块,其特征在于:所述数据读写与处理模块负责System.ini程序配置文件的读写、xml格式材料定额文件的读写与分析、开目CAPP表格文件的读取与分析以及材料数据库文件的读写操作;所述材料定额计算模块负责各种材料类型的判断并依据材料数据库中的计算顺序依次调用算法命令行程序,并取得计算结果值;所述定额汇总模块依据材料数据库中的材料分类方法对明细表中的材料进行分类汇总;所述用户接口模块提供开目CAPP的编辑、操作方法和界面;所述打印输出模块将xml格式的材料定额文件转化为开目CAPP格式工艺文件进行打印。
2.如权利要求1所述的基于XML架构的材料定额管理系统,其特征在于:所述数据读写与处理模块加载时首先读取System.ini中的配置信息,根据配置信息读写表格库文件、材料数据库文件。
3.如权利要求2所述的基于XML架构的材料定额管理系统,其特征在于:所述定额汇总模块汇总时依次判定、汇总材料类别、材料名称、材料牌号、材料规格、生产厂家字段值。
4.如权利要求2所述的基于XML架构的材料定额管理系统,其特征在于:所述用户接口模块提供的编辑、操作方法包括表格编辑、复制、粘贴、撤销、重做。
5.如权利要求2所述的基于XML架构的材料定额管理系统,其特征在于:所述打印输出模块根据不同格式的表格输出不同的工艺文件。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510843716.2A CN105511819B (zh) | 2015-11-27 | 2015-11-27 | 一种基于xml架构的材料定额管理系统 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510843716.2A CN105511819B (zh) | 2015-11-27 | 2015-11-27 | 一种基于xml架构的材料定额管理系统 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105511819A true CN105511819A (zh) | 2016-04-20 |
CN105511819B CN105511819B (zh) | 2018-11-02 |
Family
ID=55719838
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510843716.2A Active CN105511819B (zh) | 2015-11-27 | 2015-11-27 | 一种基于xml架构的材料定额管理系统 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105511819B (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113177331A (zh) * | 2021-06-04 | 2021-07-27 | 中国船舶重工集团海装风电股份有限公司 | 一种基于特定数据模型的sn曲线自动生成方法和系统 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102004950A (zh) * | 2005-04-25 | 2011-04-06 | 因文西斯系统公司 | 在工业过程控制环境中记录和跟踪非趋势生产数据和事件 |
CN103597443A (zh) * | 2011-11-14 | 2014-02-19 | Lsi公司 | 存储设备固件以及制造软件 |
-
2015
- 2015-11-27 CN CN201510843716.2A patent/CN105511819B/zh active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102004950A (zh) * | 2005-04-25 | 2011-04-06 | 因文西斯系统公司 | 在工业过程控制环境中记录和跟踪非趋势生产数据和事件 |
CN103597443A (zh) * | 2011-11-14 | 2014-02-19 | Lsi公司 | 存储设备固件以及制造软件 |
Non-Patent Citations (1)
Title |
---|
高欣恒: "《基于XML的冲压模具CAPP系统研究与开发》", 《中国优秀硕士论文电子期刊网 工程科技Ⅰ辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113177331A (zh) * | 2021-06-04 | 2021-07-27 | 中国船舶重工集团海装风电股份有限公司 | 一种基于特定数据模型的sn曲线自动生成方法和系统 |
Also Published As
Publication number | Publication date |
---|---|
CN105511819B (zh) | 2018-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106325969B (zh) | 需求变更的逆向追踪系统 | |
CN111400387B (zh) | 导入导出数据的转换方法、装置、终端设备及存储介质 | |
CN101667172A (zh) | 一种利用word制作电子报表的方法 | |
CN109726388A (zh) | Pdf文件解析方法、装置、设备及计算机可读存储介质 | |
CN105893340A (zh) | 一种检测分析过程中的数据高效处理系统 | |
CN106919612A (zh) | 一种上线结构化查询语言脚本的处理方法及装置 | |
CN102103659A (zh) | 测量数据分析处理装置及其程序 | |
CN103077192B (zh) | 一种数据处理方法及其系统 | |
CN108665244B (zh) | 基于61850模型的定值单自动生成方法及存储介质 | |
CN116126443A (zh) | 一种电子实验记录及报告可动态配置方法及系统 | |
CN104156198A (zh) | 一种自动生成软件集成版本更新说明方法及装置 | |
CN108733332B (zh) | 一种通用的打印模板元数据设计方法 | |
WO2019242125A1 (zh) | 企业上下游关系的获取方法、装置、终端设备及介质 | |
CN104123376B (zh) | 一种基于列模板的智能文本数据采集方法和系统 | |
CN105511819A (zh) | 一种基于xml架构的材料定额管理系统 | |
CN113536737A (zh) | 物料编码的生成方法及生成装置、电子设备 | |
CN110413659B (zh) | 通用购物小票数据精准提取方法 | |
CN113255310A (zh) | 一种医学检验lims系统中检验报告可视化配置方法 | |
US20140250124A1 (en) | Data editing device and data editing method | |
CN110348240A (zh) | 复印机离线数据提取解析方法及装置 | |
CN103136314A (zh) | 一种舆情监控中剪报生成方法及系统 | |
CN106776304A (zh) | 基于嵌入式Linux下多线程开发中控制打印输出信息的方法 | |
CN107844464A (zh) | 基于数据插入的文件生成系统及方法 | |
CN113177059A (zh) | 撮合平台sql脚本的生成方法及装置 | |
JP2020161024A (ja) | 仕訳データ作成装置、仕訳データ作成方法および仕訳データ作成プログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |