StockControl Agent
Appearance
A StockControl Agent is a Windows program that is built based on the SvcControlForm
base class. They all have the same look and the same basic functionality.
The Window of a StockControl Agent has the following parts:
A
TabControl
that has at least the “Status” tab.A coloured bar showing the status of the agent. When green, the agent is initialised and running.
“Exit” and optional “Start/Stop” buttons.
The version number.
The last lines of the logfile. The number of lines logged in configurable in the config file.
Starting / stopping
An agent will start its processes immediately on startup. If you want to stop the process, you can use the Start/Stop button. However, these are usually not completely correctly implemented and they should be removed. Stopping should be done by completely closing the application.
To stop the application, click the “Exit” button on the “Status” tab. Using the X on the window border will cause the application to minimise to the system tray. This is implemented to prevent accidental stops by a user.
Configuration
Section | Name | Values | Description |
---|---|---|---|
|
| Error, Warning, Info, Debug, DDebug | What to log. |
|
| Integer | Number of lines to show in the agent’s window. |