cbz
Module¶
cbus/toolkit/cbz.py Library for reading CBus Toolkit CBZ files.
Copyright 2012-2019 Michael Farrell <micolous+git@gmail.com>
This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library. If not, see <http://www.gnu.org/licenses/>.
-
class
cbus.toolkit.cbz.
Application
(oid: uuid.UUID, tag_name: str, address: int, description: str, groups: Sequence[cbus.toolkit.cbz.Group])¶
-
class
cbus.toolkit.cbz.
BaseCBZElement
(oid: uuid.UUID)¶ Bases:
cbus.toolkit.cbz._Element
-
class
cbus.toolkit.cbz.
BaseNetworkElement
(oid: uuid.UUID, tag_name: str, address: int, description: str)¶
-
class
cbus.toolkit.cbz.
CBZ
(fh: BinaryIO)¶ Bases:
object
Opens the file as a CBZ.
-
exception
cbus.toolkit.cbz.
CBZException
¶ Bases:
Exception
-
class
cbus.toolkit.cbz.
Group
(oid: uuid.UUID, tag_name: str, address: int, description: str, levels: Sequence[cbus.toolkit.cbz.Level])¶
-
class
cbus.toolkit.cbz.
Installation
(oid: uuid.UUID, db_version: str, version: str, modified: datetime.datetime, installation_detail: cbus.toolkit.cbz.InstallationDetail, project: cbus.toolkit.cbz.Project)¶
-
class
cbus.toolkit.cbz.
InstallationDetail
(oid: uuid.UUID, system_location: str, hardware_platform: str, hostname: str, os_name: str, os_version: str, hardware_location: str, installer: cbus.toolkit.cbz.Installer)¶
-
class
cbus.toolkit.cbz.
Installer
(oid: uuid.UUID, name: str)¶
-
class
cbus.toolkit.cbz.
Interface
(oid: uuid.UUID, interface_type: str, interface_address: str)¶
-
class
cbus.toolkit.cbz.
Level
(oid: uuid.UUID, tag_name: str, address: int, description: str, value: int)¶
-
class
cbus.toolkit.cbz.
Network
(oid: uuid.UUID, tag_name: str, address: int, description: str, network_number: int, interface: cbus.toolkit.cbz.Interface, applications: Sequence[cbus.toolkit.cbz.Application], units: Sequence[cbus.toolkit.cbz.Unit])¶
-
class
cbus.toolkit.cbz.
PP
(name: str, value: str)¶ Bases:
cbus.toolkit.cbz._Element
-
class
cbus.toolkit.cbz.
Project
(oid: uuid.UUID, tag_name: str, address: str, description: str, network: Sequence[cbus.toolkit.cbz.Network])¶
-
class
cbus.toolkit.cbz.
Unit
(oid: uuid.UUID, tag_name: str, address: int, description: str, unit_type: str, unit_name: str, serial_number: str, firmware_version: str, catalog_number: str, pp: Sequence[cbus.toolkit.cbz.PP])¶