Coverage for /opt/conda/envs/apienv/lib/python3.10/site-packages/daiquiri/core/hardware/bliss/actuator.py: 100%

8 statements  

« prev     ^ index     » next       coverage.py v7.6.5, created at 2024-11-15 02:12 +0000

1#!/usr/bin/env python 

2# -*- coding: utf-8 -*- 

3from daiquiri.core.hardware.abstract.actuator import Actuator as AbstractActuator 

4from daiquiri.core.hardware.bliss.object import BlissObject 

5from daiquiri.core.hardware.abstract import HardwareProperty 

6 

7import logging 

8 

9logger = logging.getLogger(__name__) 

10 

11 

12class Actuator(BlissObject, AbstractActuator): 

13 PROPERTY_MAP = {"state": HardwareProperty("state")} 

14 

15 CALLABLE_MAP = {"move_in": "open", "move_out": "close", "toggle": "toggle"}