Clipsal C-Bus Betriebsanweisung Seite 47

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 60
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 46
cbus Documentation, Release 0.1-dev
Parameters
packet (cbus.protocol.base_packet.BasePacket) The packet that this SAL is to be included
in.
variable (int) – The variable being updated.
val (date or time) – The value of that variable. Dates are represented in native date format,
and times are represented in native time format.
classmethod decode(data, packet, command_code)
Do not call this method directly – use ClockSAL.decode
encode()
is_date
is_time
class cbus.protocol.application.clock.ClockRequestSAL(packet)
Bases: cbus.protocol.application.clock.ClockSAL
Clock request event SAL.
Requests network time.
Creates a new SAL Clock request message.
Parameters packet (cbus.protocol.base_packet.BasePacket) The packet that this SAL is to be
included in.
classmethod decode(data, packet, command_code)
Do not call this method directly – use ClockSAL.decode
encode()
Enable Control Application
The Enable Control Application is used to set network variables on CBus units.
This can change the behaviour of certain elements of the network, or allow some reprogramming of devices.
Please refer to this document in conjunction with the Enable Control Application Guide published by Clipsal.
class cbus.protocol.application.enable.EnableApplication
Bases: object
This class is called in the cbus.protocol.applications.APPLICATIONS dict in order to describe how to decode
enable broadcast application events recieved from the network.
Do not call this class directly.
classmethod decode_sal(data, packet)
Decodes a enable broadcast application packet and returns it’s SAL(s).
class cbus.protocol.application.enable.EnableSAL(packet=None)
Bases: object
Base type for enable control application SALs.
This should not be called directly by your code!
Use one of the subclasses of cbus.protocol.enable.EnableSAL instead.
8.1. cbus Package 43
Seitenansicht 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 59 60

Kommentare zu diesen Handbüchern

Keine Kommentare