Owner manual

OpenLNS Programmer's Reference 446
acted upon.
deviceIndex
A Long value indicating the device index
number of the LonMarkObject to be
deleted.
removalFlags
The removal options to be used when
deleting the LonMarkObject. These
options determine whether or not
network variables assigned to the
LonMarkObject will be deleted.
The valid options for the removalFlags
element, which are contained in the
ConstLonMarkObjectRemoveFlags
constant, are as follows:
0 lcaLonMarkObjectRemoveObjectOnly
Leaves all member network variables
assigned to the LonMarkObject on the
interface containing the collection.
OpenLNS will mark these network
variables as not being assigned to a
LonMarkObject.
1 lcaLonMarkObjectRemoveNVs
Deletes all member network variables
assigned to the LonMarkObject.
However, if you select this option and
any of the network variables assigned to
the LonMark object are bound, the
operation will fail, and the NS, #287
lcaErrNsLmobjInUse exception is
thrown.
3 lcaLonMarkObjectRemoveAnd
DisconnectNVs
Deletes all member network variables
assigned to the LonMarkObject. If any of
the network variables are bound, they
will be disconnected before they are
deleted.
Added to API
LNS Release 3.20.
Properties
The LonMarkObjects object contains the following properties:
ClassId
Count
Item
Parent