Programming I!-Weather; I!-Weatherapplicationtest.axs / I!-Weatherapplicationmod.tko; Define Module - AMX I!-WEATHER Instruction Manual

Integration!solutions
Table of Contents

Advertisement

Programming i!-Weather

i!-Weather is comprised of the following files:
i!-WeatherApplicationTest.axs /
i!-WeatherApplicationMod.tko

Define Module

The entire application functionality of i!-Weather is contained in the
i!-WeatherApplicationMod.tko file. This file is distributed in a pre-compiled format. To include
the module in a program, an instance of the module must be defined in the parent program.
(Normally,
DEFINE_MODULE 'i!-WeatherApplicationMod' mdlWEATHER(
i!-Weather
i!-WeatherApplicationTest.axs (Application Test/Implementation)
i!-WeatherApplicationMod.tko (Application Module Definition)
i!-WeatherEngineTest.axs (Engine Test/Demo)
i!-WeatherEngineMod.tko (Engine Module Definition)
statements are listed following the
DEFINE_MODULE
Programming i!-Weather
section):
DEFINE_START
//i!-Weather Engine Devices
dvWEATHER_IP_CLIENT,
dvBROWSER_IP_CLIENT,
vdvWEATHER,
//i!-Weather User Interface
Device Arrays
dvUI,
dvDMS,
//i!-Weather DMS Keypad User
Interface Integer arrays
DMS_DISPLAY_FIELDS,
DMS_CONTROL_BUTTONS,
DMS_PRESET_BUTTONS,
//i!-Weather Touch Panel User
Interface Integer arrays
UI_CURRENT_WEATHER,
UI_FORCAST_DAY,
UI_FORCAST_CONDITION,
UI_FORCAST_HI,
UI_FORCAST_LO,
UI_FORCAST_COND_BMP,
UI_DISPLAY_FIELDS,
UI_UPDATE_WEATHER_DATA,
UI_WEATHER_BUSY_INDICATOR,
UI_PRESET_BUTTONS,
Continued
7

Advertisement

Table of Contents
loading

Table of Contents