Echelon LonBridg Server Manual de usuario Pagina 61

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 67
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 60
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 <nv> elements for the
state
attribute within the
device class file includes the following information:
<nv index="?" direction="input" size="3">
<byte index="0" length="1">
<attribute name="state" enum="true">
<enum input="off" output="0" />
<enum input="on" output="1" />
</attribute>
</byte>
<byte index="1" length="1">
<attribute name="state" enum="true">
<enum input="off" output="0" />
<enum input="on" output="200" />
</attribute>
</byte>
</nv>
Vista de pagina 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 67

Comentarios a estos manuales

Sin comentarios