Echelon LonBridg Server Manual do Utilizador Página 61

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 67
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 67

Comentários a estes Manuais

Sem comentários