CN104699063B - The implementation method that User Defined runtime macros operates in centralized control system - Google Patents

The implementation method that User Defined runtime macros operates in centralized control system Download PDF

Info

Publication number
CN104699063B
CN104699063B CN201510115878.4A CN201510115878A CN104699063B CN 104699063 B CN104699063 B CN 104699063B CN 201510115878 A CN201510115878 A CN 201510115878A CN 104699063 B CN104699063 B CN 104699063B
Authority
CN
China
Prior art keywords
grand
user
macroblock
macros
macro
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.)
Expired - Fee Related
Application number
CN201510115878.4A
Other languages
Chinese (zh)
Other versions
CN104699063A (en
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.)
Core Science And Technology Ltd Of Chengdu Wisdom
Original Assignee
Core Science And Technology Ltd Of Chengdu Wisdom
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 Core Science And Technology Ltd Of Chengdu Wisdom filed Critical Core Science And Technology Ltd Of Chengdu Wisdom
Priority to CN201510115878.4A priority Critical patent/CN104699063B/en
Publication of CN104699063A publication Critical patent/CN104699063A/en
Application granted granted Critical
Publication of CN104699063B publication Critical patent/CN104699063B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Abstract

The present invention provides the implementation method that User Defined runtime macros operates in a kind of centralized control system, this method belongs to centralized control system field, this method includes grand creation module, preserve macroblock, perform macroblock, delete macroblock and abandon macro operation module, this method can make User Defined macro name, and the equipment and the control instruction of generation for using user according to special-purpose and defined flow recorded in corresponding grand object, when user realizes the special-purpose again, only need user-defined macro name on clicking operation interface, just corresponding equipment can be automatically controlled according to the respective record in grand object, avoid the complicated operator scheme repeated, reduce the operating time of user, operated by User Defined macros, also system is relieved to rely on the height of programming personnel.

Description

The implementation method that User Defined runtime macros operates in centralized control system
Technical field
The present invention relates to centralized control system field, User Defined runtime grand life more particularly in centralized control system Make the implementation method of operation.
Background technology
Centralized control system refers to, carries out intelligent control to controlled plant using computer communication technology and management is System, the controlled plant of original decentralised control and management is carried out centralized control and management by it by this set system.In centralized Control In system, since in check equipment is more, user needs to operate some equipment, first has to what is shown from operating terminal In numerous equipment, find out corresponding equipment, then carry out relevant control, however, multiple controlled plants are needed according to stringent and The application scenario of complicated operating process operation or specific use pattern, if all carrying out in the manner described above successively, Jiu Huizeng Add operation time and corresponding operation complexity.
The content of the invention
The object of the present invention is to provide the realization that User Defined runtime macros in a kind of centralized control system operates Method, this method can make User Defined macro name, and need the control instruction for the equipment and generation used to remember user Record in corresponding grand object, when user realizes respective application again, it is only necessary to user-defined on clicking operation interface Macro name, just can automatically control corresponding equipment according to the respective record in grand object, avoid the complicated operation mould repeated Formula, reduces the operating time of user, is operated by User Defined runtime macros, also relieves system to programming personnel Height rely on.
To reach above-mentioned purpose, User Defined runtime macros is grasped in a kind of centralized control system provided by the invention The implementation method of work, adopts the following technical scheme that:
The implementation method that User Defined runtime macros operates in a kind of centralized control system, including:
Grand creation module:For creating a grand object, family macro name self-defined first is started with visioning procedure, then Corresponding grand recording status mark is set, creates grand object;
Preserve macroblock:For keeping records of the operational order in grand object, when the grand flow of preservation starts, sentence first Whether the grand object that breaks is empty, removes grand recording status mark if grand object is not for sky, updates corresponding grand record file, again Draw macro operation interface;
Perform macroblock:Grand, the taking-up accordingly corresponding node of grand record file, and take out grand record is selected according to user Instruction in file, enters instruction transmission flow;
Delete macroblock:User selects macro name to be deleted, and deletes corresponding node from grand record file, deletes Corresponding grand record file is updated after corresponding node, repaints macro operation interface;
Abandon macro operation module:When user create it is grand or preserve it is grand during, if be not desired to continue to create or preserve it is grand, Then carry out abandoning macro operation accordingly, including remove grand recording status mark and discharge grand object.
Further, in the preservation macroblock, when whether judge grand object is sky, if grand object is sky, discharge Corresponding grand object.
Further, in the execution macroblock, taking out the instruction in grand record file includes taking out first finger first Order, into corresponding instruction transmission flow, determines whether lower bar instruction, if not descending bar to instruct, performs grand process and complete, If there is lower bar to instruct, lower bar instruction is taken out, and enter instruction transmission flow.
The present invention provides the implementation method that User Defined runtime macros in a kind of centralized control system operates, and leads to Cross grand creation module, user can self-defined macro name, and create corresponding grand object, to carry out operation generation corresponding as user During control routine, by the switching of mode of operation, just the control instruction of generation can be recorded in corresponding grand object.Preserve grand Module removes grand recording status mark, updates corresponding grand record file, macro operation interface is repainted, so as to user's energy next time The rapidly corresponding equipment of centralized Control, avoids the complicated operating process repeated, reduces the operating time of user, by using The self-defined runtime macros operation in family, also relieves system and the height of programming personnel is relied on.In addition, deleted in this method grand Module, it is defined grand can to delete user.Abandon macro operation module, can realize user create it is grand or preserve it is grand during, If be not desired to continue to create or preserve it is grand, progress abandon macro operation accordingly.It this method increase the spirit of centralized control system Control performance living, makes it be more in line with user day with changeable needs.
Brief description of the drawings
Created in the implementation method that Fig. 1 operates for User Defined runtime macros in centralized control system of the present invention grand Block flow diagram;
Preserved in the implementation method that Fig. 2 operates for User Defined runtime macros in centralized control system of the present invention grand Block flow diagram;
Performed in the implementation method that Fig. 3 operates for User Defined runtime macros in centralized control system of the present invention grand Block flow diagram;
Deleted in the implementation method that Fig. 4 operates for User Defined runtime macros in centralized control system of the present invention grand Block flow diagram;
Abandoned in the implementation method that Fig. 5 operates for User Defined runtime macros in centralized control system of the present invention grand Block flow diagram.
Embodiment
Main idea is that:In centralized control system, some equipment for using are needed for user, if user All these equipment are individually operated respectively when using every time, not only program complexity is cumbersome, but also also needs to spend substantial amounts of Time, therefore the present invention proposes a kind of realization side of the User Defined runtime macros operation in centralized control system Method, needs the control instruction for the equipment and generation used to recorded in corresponding grand object user, when user behaviour's next time does During relevant device, it is only necessary to user-defined macro name on clicking operation interface, just can be according to the corresponding note in grand object Record automatically controls corresponding equipment, and all respectively these equipment are individually carried out with the inconvenience that operation is brought when being used every time with solution.
In order to enable those skilled in the art to further appreciate that the feature and technology contents of the present invention, below in conjunction with attached drawing and tool Body embodiment, is described in detail the present invention.
As shown in Figure 1, in grand creation module, visioning procedure starts with family macro name self-defined first, using this certainly The macro name of definition, operates the centralized Control of relevant device easy to user;Corresponding grand recording status mark, the mark are set again Will represents that the control instruction of user's operation generation is able to record in the grand object of establishment, can carry out grand record;Create grand Object, for recording the control instruction of user's operation generation.
The purpose for preserving macroblock is for keeping records of the operational order in grand object and repainting macro operation Interface.As shown in Fig. 2, when the grand flow of preservation starts, first determine whether grand object is empty, that is, judge that user creates grand right As inner corresponding operation control instruction whether is have recorded, if the corresponding operation control instruction of grand object record is not sky, Grand recording status mark is removed so that the grand object does not re-record operation control instruction, then updates corresponding grand record file, general The grand of generation is shown in operation interface, that is, completes to repaint macro operation interface;If judge grand object for sky, phase is discharged The grand object answered.
As shown in Fig. 3, perform in macroblock, according to the grand of user's selection, take out the accordingly corresponding section of grand record file Point, and the instruction in grand record file is taken out, enter instruction transmission flow.Wherein, the instruction bag in grand record file is taken out Include and take out first instruction first, into corresponding instruction transmission flow, lower bar instruction is determined whether, if not descending bar to refer to Order, then perform grand process and complete, if there is lower bar to instruct, takes out lower bar instruction, and enter instruction transmission flow.
Macro name to be deleted, and the deletion pair from grand record file are selected as shown in figure 4, deleting macroblock and including user The node answered, updates corresponding grand record file after deleting corresponding node, repaints macro operation interface;
As shown in figure 5, macro operation module is abandoned, for user during establishment is grand or preservation is grand, if being not desired to continue to create Build or preserve it is grand, then carry out it is corresponding abandons macro operation, including remove grand recording status mark and discharge grand object.

Claims (2)

1. the implementation method that User Defined runtime macros operates in centralized control system, it is characterised in that including:
Grand creation module:For creating a grand object, family macro name self-defined first is started with visioning procedure, then set Corresponding grand recording status mark, creates grand object;
Preserve macroblock:For keeping records of the operational order in grand object, when the grand flow of preservation starts, first determine whether grand Whether object is empty;Grand recording status mark is removed if grand object is not for sky, corresponding grand record file is updated, repaints Macro operation interface;If grand object is sky, corresponding grand object is discharged;
Perform macroblock:Grand, the taking-up accordingly corresponding node of grand record file, and take out grand record file is selected according to user In instruction, enter instruction transmission flow;
Delete macroblock:User selects macro name to be deleted, and deletes corresponding node from grand record file, deletes and corresponds to Corresponding grand record file is updated after node, repaints macro operation interface;
Abandon macro operation module:When user create it is grand or preserve it is grand during, if be not desired to continue to create or preserve it is grand, into Row is corresponding to abandon macro operation, including removes grand recording status mark and discharge grand object.
2. the implementation method of macros operation according to claim 1, it is characterised in that in the execution macroblock, take Going out grand record document order includes taking out first instruction first, into corresponding instruction transmission flow, determines whether down Bar instructs, if not descending bar to instruct, performs grand process and completes, if there is lower bar to instruct, takes out lower bar instruction, and enter finger Make transmission flow.
CN201510115878.4A 2015-03-17 2015-03-17 The implementation method that User Defined runtime macros operates in centralized control system Expired - Fee Related CN104699063B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510115878.4A CN104699063B (en) 2015-03-17 2015-03-17 The implementation method that User Defined runtime macros operates in centralized control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510115878.4A CN104699063B (en) 2015-03-17 2015-03-17 The implementation method that User Defined runtime macros operates in centralized control system

Publications (2)

Publication Number Publication Date
CN104699063A CN104699063A (en) 2015-06-10
CN104699063B true CN104699063B (en) 2018-04-27

Family

ID=53346292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510115878.4A Expired - Fee Related CN104699063B (en) 2015-03-17 2015-03-17 The implementation method that User Defined runtime macros operates in centralized control system

Country Status (1)

Country Link
CN (1) CN104699063B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6067478A (en) * 1996-10-29 2000-05-23 Philips Electronics North America Corporation Control system with macro creation based on recording responses
EP1579403A2 (en) * 2002-12-20 2005-09-28 Koninklijke Philips Electronics N.V. System with macrocommands
JP2004220232A (en) * 2003-01-14 2004-08-05 Mitsubishi Electric Corp Macro command definition and response system
US20090089671A1 (en) * 2007-09-28 2009-04-02 Rockwell Automation Technologies, Inc. Programmable controller programming with embedded macro capability
CN201508489U (en) * 2009-08-31 2010-06-16 比亚迪股份有限公司 Automatic centralized control system
CN103049280B (en) * 2011-10-14 2018-04-20 浪潮乐金数字移动通信有限公司 A kind of method and mobile terminal for realizing key macro definition function

Also Published As

Publication number Publication date
CN104699063A (en) 2015-06-10

Similar Documents

Publication Publication Date Title
CN103984532B (en) A kind of mobile terminal function arranges position method to set up and the device of key
JP2014210332A (en) Work change apparatus, work change method, and work change program
CN105653121A (en) Method for realizing Undo/Redo in text edition on the basis of android system
CN106445480B (en) Command Line Interface display methods and device
CN104571589B (en) A kind of data processing method and device based on input method
CN104699063B (en) The implementation method that User Defined runtime macros operates in centralized control system
CN104408150A (en) Data import/ export method and device adapted to a plurality of data formats of databases
CN102737108A (en) Method and device for processing flow diagram
CN106851757A (en) A kind of heterogeneous network switch method based on SDN and SDR
CN111880795A (en) Front-end interface generation method and device
CN110211617A (en) A kind of Hash hardware handles device and method
CN206519971U (en) A kind of avoidance robot
CN202206424U (en) Remote network monitoring system of rubber molding machine
CN104053252B (en) A kind of AT command processing methods, apparatus and system
CN206277772U (en) A kind of screen printing device
CN106339431B (en) Robot program's document handling method and system based on text block
CN210230753U (en) Dedicated cleaning device of computer keyboard
CN105892790A (en) Folder editing method and apparatus, and terminal device
CN207002018U (en) A kind of drilling hoisting tooling of convenient locking
CN106569811A (en) Data updating method and device
CN105117185B (en) A kind of auxiliary information display panel system of desktop system
CN106990750A (en) A kind of ladder diagram online editing system and method
CN110764759A (en) Data conversion method, storage medium and system
CN205912070U (en) Many owners in unmanned on duty electric substation become operation monitoring system
CN213214644U (en) Portable plantlet transplanting device for garden construction

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180427

Termination date: 20190317

CF01 Termination of patent right due to non-payment of annual fee