Deprecated methods, objects, properties and events, Deprecated objects, Deprecated methods – Echelon LNS User Manual

Page 338

Advertising
background image

LNS Programmer's Guide

324

Deprecated Methods, Objects, Properties and Events

As of LNS Turbo Edition, some methods, objects, properties and events have been

deprecated. This section provides a list of those items. Some have been deprecated

because they were never implemented in LNS, or because they are no longer applicable
or useful. Others have been deprecated because they have been replaced by new features

with better functionality.

Note that many of the objects, methods, properties and events marked as deprecated in

the documentation are still implemented in LNS Turbo Edition to maintain backwards-

compatibility with applications running on previous versions of LNS. For example, many
of the methods of the ConfigProperty object have been deprecated as a result of the

new data point feature, including the GetElement(), GetElementFromDevice(),
SetElement(), and SetElementFromDevice() methods. You can still successfully use

these methods when running on LNS Turbo Edition. However, Echelon recommends that
you use the DataPoint object to read and write configuration properties, and so these

methods have been marked deprecated.

The following sections list the deprecated objects, properties, methods and events in LNS

Turbo Edition. The reason for deprecation can be determined using the following codes:

BA – Better Feature Available. The feature is still implemented in LNS for compatibility

purposes, but a more efficient way to achieve its purpose exists.

U – Unimplemented. The feature was never implemented in LNS.
NLA – No Longer Applicable. The feature is still implemented in LNS for compatibility

purposes, but is no longer useful or functional because of other changes to the LNS
implementation.

For more extensive details on why each of the items in the following list have been

deprecated (i.e. what feature to use for those marked BA), consult the LNS Object Server

Reference help file.

Deprecated Objects

The following objects have been deprecated for Turbo Edition. This means that you

should no longer use the object, or any of its properties and methods, in your

applications.

BuildTemplate Object (U)
BuildTemplates Object (U)
HardwareTemplate Object (U)
HardwareTemplates Object (U)
NetworkVariableField Object (BA)
ProgramTemplate Object (U)
ProgramTemplates Object (U)

Deprecated Methods

The following methods have been deprecated for Turbo Edition. Note that the objects

these methods apply to have not been deprecated, unless those objects are listed in the

Deprecated Objects section.

Advertising