beautypg.com

Echelon LonBridg Server User Manual

Page 61

background image

LonBridge Server User’s Guide

55

Figure 9. The switch_state_t Enumeration

For the nviValue network variable, a LonBridge application uses the

SW_SET_OFF and SW_SET_ON values, which are enumeration values 0 and 1.
For the nvoValueFb network variable, a LonBridge application receives the

SW_REPORT_OFF and SW_REPORT_ON values, which are enumeration values

2 and 3.

Thus, the enumerations of the elements for the

state

attribute within the

device class file includes the following information: