Echelon LNS User Manual

Page 359

Advertising
background image

LNS Programmer's Guide

345

Table C.2 Example Network Management Application

Task

GUI Code

LNS Interface Code

Initialize and open the
LNS ObjectServer

CDlgInitialize

CDlgInitializeLicense

CDlgInitializeGeneral

CLcaHelper::OpenObjectServer

Create a network database
based on a database
template.

CDlgInitializeGeneral CLcaNetMgmtHelper::CreateNetwork()

Add an LNS Server
reference for a
Lightweight client
application.

CDlgInitializeGeneral CLcaNetMgmtHelper::CreateNetworkReference()

Open a network.

CDlgMain::OnInitDialog CLcaNetMgmtHelper::OpenNetwork

CLcaHelper::SetSelectedNetworkName(sNetworkName);

CLcaHelper::OpenNetwork()

Backup and validate a
network database.

CDlgMain::OnBtnBackup() CLcaNetMgmtHelper::NetworkBackup

Import external interface
files.

DlgUpgrade.xif

Create engineered mode
devices for which the
Neuron ID is provided by
user input, and the device
interface extracted from an
external interface file.

CDlgIdentify::OnOK CLcaNetMgmtHelper::CreateTemplateNetwork()

Create ad hoc devices for
which Neuron ID is
identified by a
OnSystemServicePin
event, or selected from a
list of discovered devices,
The device interface is
extracted from the self
documentation information
on the device.

CDlgIdentify::OnOK

Manual Neuron ID

entry.

CDlgIdentify_NidByTxt

Service-pin Neuron

ID discovery.

CDlgIdentify_NidByServicePin

CDlgIdentify_NidByDiscovery::

DiscoverDevices

CDlgIdentify_NidByServicePin::OnInitDialog
CDlgLcaEventHandlerContainer::OnCmdMsg

CDlgIdentify_NidByServicePin::OnSystemServicePin

CDlgIdentify_NidByServicePin::OnCancel

CLcaNetMgmtHelper::BeginChangeEvent

CLcaNetMgmtHelper::DiscoverDevices_Asynchronous

Advertising