Measurementunitssource – Echelon OpenLNS User Manual
Page 381
OpenLNS Programmer's Reference
344
0 lcaMeasurementUnitsSI
Displays the formatted values using
the metric measurement system.
1 lcaMeasurementUnitsUS
Displays the formatted values using
the U.S. measurement system.
Data Type
Long.
Read/Write
Read/write.
Added to API
LNS Release 3.20.
MeasurementUnitsSource
Summary
Determines whether OpenLNS should assign the
property a value automatically based on
the Windows control panel Regional Options settings.
Availability
Local, full, lightweight, and independent clients.
Syntax
formatLocale.MeasurementUnitsSource = source
Element
Description
formatLocale
The FormatLocale object being acted
upon.
source
The value of the
MeasurementUnitsSource property.
The possible values for this element,
which are contained in the
ConstFormatLocaleSource
constant,
are as follows:
0 lcaFormatLocaleSource
UserDefaultRegionalSetting
Select this value to have OpenLNS set
the associated property automatically,
based on the Windows regional
settings set by the user on the
computer running your application.
A user can change the regional
settings on a computer from the
system defaults using the Windows
control panel Regional Options applet.
This is the default.
1 lcaFormatLocaleSource
SystemDefaultRegionalSetting
Select this value to have OpenLNS set
the associated property automatically,
based on the system default Windows
regional settings of the computer