Coverage for /opt/conda/envs/apienv/lib/python3.10/site-packages/daiquiri/core/hardware/bliss/pusher.py: 0%
9 statements
« prev ^ index » next coverage.py v7.6.7, created at 2024-11-23 02:12 +0000
« prev ^ index » next coverage.py v7.6.7, created at 2024-11-23 02:12 +0000
1#!/usr/bin/env python
2# -*- coding: utf-8 -*-
3from daiquiri.core.hardware.abstract.pusher import (
4 Pusher as AbstractPusher,
5)
6from daiquiri.core.hardware.bliss.object import BlissObject
7from daiquiri.core.hardware.bliss.object import EnumProperty
8from tomo.controllers.pusher import PusherState
10import logging
12logger = logging.getLogger(__name__)
15class Pusher(BlissObject, AbstractPusher):
16 PROPERTY_MAP = {
17 "state": EnumProperty("state", enum_type=PusherState),
18 }
20 CALLABLE_MAP = {
21 "move_in": "move_in",
22 "move_out": "move_out",
23 "sync_hard": "sync_hard",
24 "push": "push",
25 }