![Worth Data 7802 Скачать руководство пользователя страница 81](http://html.mh-extra.com/html/worth-data/7802/7802_owners-manual_998128081.webp)
Events
are function definitions placed in your application’s source code. The function definitions in your
source code are called Event Handlers. The skeleton structure of the event handler’s source code is
automatically generated. The code in the Event Handler is called ("fired") by the drop-in component when a
specific event occurs. An example of an event is when a terminal returns data and the
OnTermData
event is
fired.
The details of how to access Properties/Methods/Events varies between development platforms. Details of
how it works in some of the most popular platforms is illustrated in the samples included with the RF
Utilities CD or available for download from our website at
www.barcodehq.com
Properties – WD7802Term ActiveX
Properties are the various configuration variables used by the
WD7802Term
control. They are directly
assignable in your application (eg. "WD7802term.ServerOn = true") and can be set in your development
environment’s object browser.
Note that your development environment may show more properties for the
WD7802Term
control than are
listed here. This is normal. You may ignore properties you see listed in your development environment that
are not listed here.
ActiveTerminal
(deprecated)
Valid values:
0 -999
Definition: Provided for backwards compatibility. Terminal ID is now required as a parameter for
all relevant method calls so setting ActiveTerminal is redundant.
This is the terminal ID (0-999) to which method call instructions are directed. Terminal
ID "number" is mapped to actual terminal IP address dynamically.
See method "GetIPAddress" to get terminal IP address associated with an ID.
Keep in mind that unless your terminal is configured with a static IP address, each time
it is powered on it can have a different IP address (issued by your DHCP server). Also,
regardless of the terminal’s IP address, it can be assigned a different ID (by
WD7802Term) each time it Signs On to the server. Keep this in mind and design your
application accordingly if you require specific physical terminals to perform specific
individual tasks.
MaxPkgLen
Valid values: 255,1000
Function: Defaults to 1000. Set to limit prompt size sent to Active Terminal. Does not effect
SendBatchProgram
.
ServerPort
Valid values:
1-65536
Function: Use
ConnectionHostPort
instead. Set to 80 by default for standard internet operation.
Do not change unless you know exactly what you are doing. If you are not familiar with
IP ports, leave this value at the default setting.
81