CN105511819B - 一种基于xml架构的材料定额管理系统 - Google Patents

一种基于xml架构的材料定额管理系统 Download PDF

Info

Publication number
CN105511819B
CN105511819B CN201510843716.2A CN201510843716A CN105511819B CN 105511819 B CN105511819 B CN 105511819B CN 201510843716 A CN201510843716 A CN 201510843716A CN 105511819 B CN105511819 B CN 105511819B
Authority
CN
China
Prior art keywords
module
quota
read
reading
write
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.)
Active
Application number
CN201510843716.2A
Other languages
English (en)
Other versions
CN105511819A (zh
Inventor
胡业火
王德细
俞开升
施晓东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guizhou Aerospace Fenghua Precision Equipment Co Ltd
Original Assignee
Guizhou Aerospace Fenghua Precision Equipment Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guizhou Aerospace Fenghua Precision Equipment Co Ltd filed Critical Guizhou Aerospace Fenghua Precision Equipment Co Ltd
Priority to CN201510843716.2A priority Critical patent/CN105511819B/zh
Publication of CN105511819A publication Critical patent/CN105511819A/zh
Application granted granted Critical
Publication of CN105511819B publication Critical patent/CN105511819B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1211Improving printing performance
    • G06F3/1215Improving printing performance achieving increased printing speed, i.e. reducing the time between printing start and printing end
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1244Job translation or job parsing, e.g. page banding
    • G06F3/1246Job translation or job parsing, e.g. page banding by handling markup languages, e.g. XSL, XML, HTML
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06313Resource 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架构的材料定额管理系统,特别是将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 (4)

1.一种基于XML架构的材料定额管理系统,包括数据读写与处理模块、材料定额计算模块、定额汇总模块、用户接口模块和打印输出模块,其特征在于:所述数据读写与处理模块负责System.ini程序配置文件的读写、xml格式材料定额文件的读写与分析、开目CAPP表格文件的读取与分析以及材料数据库文件的读写操作;所述材料定额计算模块负责各种材料类型的判断并依据材料数据库中的计算顺序依次调用算法命令行程序,并取得计算结果值;所述定额汇总模块依据材料数据库中的材料分类方法对明细表中的材料进行分类汇总;所述用户接口模块提供开目CAPP的编辑、操作方法和界面;所述打印输出模块将xml格式的材料定额文件转化为开目CAPP格式工艺文件进行打印;所述数据读写与处理模块加载时首先读取System.ini中的配置信息,根据配置信息读写表格库文件、材料数据库文件。
2.如权利要求1所述的基于XML架构的材料定额管理系统,其特征在于:所述定额汇总模块汇总时依次判定、汇总材料类别、材料名称、材料牌号、材料规格、生产厂家字段值。
3.如权利要求1所述的基于XML架构的材料定额管理系统,其特征在于:所述用户接口模块提供的编辑、操作方法包括表格编辑、复制、粘贴、撤销、重做。
4.如权利要求1所述的基于XML架构的材料定额管理系统,其特征在于:所述打印输出模块根据不同格式的表格输出不同的工艺文件。
CN201510843716.2A 2015-11-27 2015-11-27 一种基于xml架构的材料定额管理系统 Active CN105511819B (zh)

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 CN105511819A (zh) 2016-04-20
CN105511819B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113177331A (zh) * 2021-06-04 2021-07-27 中国船舶重工集团海装风电股份有限公司 一种基于特定数据模型的sn曲线自动生成方法和系统

Citations (2)

* Cited by examiner, † Cited by third party
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公司 存储设备固件以及制造软件

Patent Citations (2)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
《基于XML的冲压模具CAPP系统研究与开发》;高欣恒;《中国优秀硕士论文电子期刊网 工程科技Ⅰ辑》;20080831;正文第B022-91页 *

Also Published As

Publication number Publication date
CN105511819A (zh) 2016-04-20

Similar Documents

Publication Publication Date Title
CN1858786B (zh) 一种电子文档格式化批注系统与方法
Maybury New directions in question answering
CN1838111B (zh) 一种编辑文档并记录修改痕迹的方法
CN103778107B (zh) 一种基于excel快速动态生成表单的方法与平台
US7614000B2 (en) File formats, methods, and computer program products for representing presentations
CN110232177B (zh) 一种政务领域的标书生成系统及方法
US20060136433A1 (en) File formats, methods, and computer program products for representing workbooks
CN111400387B (zh) 导入导出数据的转换方法、装置、终端设备及存储介质
CN102880683B (zh) 一种可行性研究报告的自动网络生成系统及其生成方法
CN102207948A (zh) 一种事件陈述句素材库的生成方法
CN101174350A (zh) 一种票据处理装置及方法
JP2006178944A5 (zh)
CN102360274A (zh) 一种可变数据打印的模板实现装置及其应用方法
CN110211581A (zh) 一种实验室自动语音识别记录标识系统及方法
CN101398755A (zh) 一种基于模板的软件自动生成方法
CN105511819B (zh) 一种基于xml架构的材料定额管理系统
CN108733332B (zh) 一种通用的打印模板元数据设计方法
CN100514916C (zh) 安全管理中心系统中的日志格式化单元及方法
CN101025743A (zh) 一种电子文件及其编辑制作和读取呈现的方法
CN116090416B (zh) 基于标准知识图谱的标准编写方法、系统、设备及介质
CN109492196B (zh) 一种Excel表格数据提取的系统和方法
CN111523298A (zh) 记账凭证的生成方法及装置
CN115659920A (zh) 一种将Excel工艺转换成cxp工艺的方法及装置
CN110532535A (zh) 一种政务智能表单交互系统
CN111291074B (zh) 一种数据库查询方法、系统、介质及设备

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