Sections
Application Program contains 10 sections:
●
HEADER
– the section where you declare general information about Application
Project, like project name, date/time format, loading date and time, etc
This section must be placed in every Application Program
●
TABLE –
the section where you declare database column by column which will
be used in Application Project. Each line contains 7 parameters describing one
database column.
Amount of lines in TABLE section must be equal to amount of columns in User
input database. Type of column (date, transponder no, etc) is defined, this type
must agree to data in User input database.
●
LOG
– this section describes a LOG table, syntax is analogical to
TABLE
section.
●
GLOBAL
– this section contains global constants for Application Program, you can
use those “Globals” to save memory by placing a number of Global instead of long
value (farm number or veterinary number etc.) in database. In this way more data
can be stored in your HHR.
●
MESSAGE
– this section contains messages that you want to appear on LCD at
specified time during work with HHR, user can define the time when messages will
be shown on screen. Messages, can be saved in database in similar way like
Globals, the number of message is saved in database instead of any long value.
In this way more data can be saved in your HHR. Messages can also be used for
driving LEDs and Sound signal in HHR V2.
●
GSM -
This section contains SMS structures that will be send from HHR.
●
MACRO
– this section is the core of Application Project. User defines here how
HHR should behave after entering to specified menu item. You can write as many
macro as you want but you must remember that every macro takes space in
memory and there is one memory for Application Program and User input
database.
●
MENU
– the section where user declares menu, sub-menu, etc.
HHR functionality for each menu(sub-menu) is related macro.
●
START SCREEN
– this section describes what will be displayed on HHR's LCD
just after turning on.
●
WARNING
– this section contains standards warnings(messages) like “Turn on”,
“Please wait”, or “Stored”, user can use standard warnings or define his own.
Globals, basing on parameter in HEADER section, can be loaded from file or it will
be included in Application Program.
If you choose to load Globals from file you have to place a “
global in.txt
” file in the
same catalog with Application Program.
During receiving database globals will be automatically loaded from a HHR
to “global out.txt” this file will be placed in the same catalog with User
Output Database.
GL_file
indicates that globals will be loaded from a text file, and
GL_section
points that globals will be included to Application Program
(HHR App will not be looking for any file containing globals)
D01B2.4 HHR 3000 PRO Manual
13/75
Содержание HHR 3000 PRO
Страница 15: ...D01B2 4 HHR 3000 PRO Manual 15 75...
Страница 67: ...D01B2 4 HHR 3000 PRO Manual 67 75...