Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for obtaining grain testing index deduction amount ratio on the basis of JavaScript

A technology of grain and proportion, applied in the computer field, can solve problems such as poor integration ability, achieve clear division, strong practicability, and reduce errors

Inactive Publication Date: 2016-09-07
INSPUR COMMON SOFTWARE
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The transmission of metering equipment signals generally depends on RS-232 / 485 serial port communication. Although the structure of RS-232 / 485 serial port communication is simple and easy to use, relatively speaking, the integration ability is relatively poor

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for obtaining grain testing index deduction amount ratio on the basis of JavaScript
  • Method for obtaining grain testing index deduction amount ratio on the basis of JavaScript
  • Method for obtaining grain testing index deduction amount ratio on the basis of JavaScript

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0021] as attached figure 1 Shown, a kind of method of the present invention obtains the grain inspection index deduction ratio based on JavaScript, the design database storage structure master-slave table, can effectively support the difference deduction calculation requirement for different inspection results of the same variety and inventory property; The definition of deduction calculation formulas is realized through JavaScript functions; the deduction calculation formulas for different varieties and inventory properties can be dynamically configured, and dynamically obtained through SQL according to the current grain varieties and inventory properties.

[0022] Its implementation process is:

[0023] In the grain management system, the database is designed with a master-slave table structure, and one master table record corresponds to mu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for obtaining a grain testing index deduction amount ratio on the basis of JavaScript. The implementation process of the method comprises the following steps: in a grain management system, designing a database into a master and slave table structure, wherein one main table record corresponds to a plurality of slave table records; through a JavaScript function, defining a deduction amount calculation formula; and inputting the testing value of a corresponding testing item to retrieve a master table and a slave table to obtain the corresponding deduction amount calculation formula, and obtaining the deduction amount ratio in an operation interface according to the deduction amount calculation formula. Compared with the prior art, the method for obtaining the grain testing index deduction amount ratio on the basis of JavaScript automatically finishes the calculation of the deduction amount ratio for the quality price policy of grain purchase according to the testing index in a software system so as to lower errors which may be caused by manual calculation and effectively guarantee the benefit of a bank point operator. The method has the advantages of being clear in master-slave table structure and function division, convenient in quoting and integrating a JavaScript function, high in practicality and easy in popularization.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method for obtaining the deduction ratio of grain inspection indicators based on JavaScript. Background technique [0002] The transmission of metering equipment signals generally relies on RS-232 / 485 serial port communication. Although RS-232 / 485 serial port communication has a simple structure and is easy to use, relatively speaking, its integration ability is relatively poor. Now the management system of the enterprise is basically based on the TCP / IP network, and the metering equipment does not have a TCP / IP network interface. If the enterprise wants to realize the method of remote centralized metering to improve enterprise management and prevent cheating, then There must be a way to convert the signal of the metering device into a signal that can be recognized by TCP / IP, so as to facilitate the processing of the enterprise management software. [0003] Based on this, th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/245G06F16/2282
Inventor 邵辉曹雪韬汤海波曹鹏飞
Owner INSPUR COMMON SOFTWARE