Coverage for /opt/conda/envs/apienv/lib/python3.10/site-packages/daiquiri/core/hardware/bliss/tango_attr_as_counter.py: 0%
8 statements
« prev ^ index » next coverage.py v7.6.4, created at 2024-11-14 02:13 +0000
« prev ^ index » next coverage.py v7.6.4, created at 2024-11-14 02:13 +0000
1#!/usr/bin/env python
2# -*- coding: utf-8 -*-
4from daiquiri.core.hardware.abstract import HardwareProperty
5from daiquiri.core.hardware.abstract.tango_attr_as_counter import (
6 Tango_Attr_As_Counter as AbstractTango_Attr_As_Counter,
7)
8from daiquiri.core.hardware.bliss.object import BlissObject
10import logging
12logger = logging.getLogger(__name__)
15class Tango_Attr_As_Counter(BlissObject, AbstractTango_Attr_As_Counter):
16 PROPERTY_MAP = {
17 "name": HardwareProperty("name"),
18 "attribute": HardwareProperty("attribute"),
19 "value": HardwareProperty("value"),
20 "unit": HardwareProperty("unit"),
21 }
23 CALLABLE_MAP = {
24 "get_metadata": "get_metadata",
25 }