Пример #1
0
def queue_execution_failed(entry):
    msg = {
        "Signal": qutils.queue_exec_state(),
        "Message": "Queue execution stopped"
    }

    safe_emit("queue", msg, namespace="/hwr")
Пример #2
0
def queue_execution_finished(entry, queue_state=None):
    state = queue_state if queue_state else qutils.queue_exec_state()
    msg = {"Signal": state, "Message": "Queue execution stopped"}

    qutils.enable_sample_entries(mxcube.TEMP_DISABLED, True)
    mxcube.TEMP_DISABLED = []

    safe_emit("queue", msg, namespace="/hwr")
Пример #3
0
def queue_execution_finished(entry, queue_state=None):
    state = queue_state if queue_state else qutils.queue_exec_state()
    msg = {"Signal": state, "Message": "Queue execution stopped"}

    qutils.enable_sample_entries(mxcube.TEMP_DISABLED, True)
    mxcube.TEMP_DISABLED = []

    safe_emit("queue", msg, namespace="/hwr")
Пример #4
0
def queue_execution_started(entry, queue_state=None):
    state = queue_state if queue_state else qutils.queue_exec_state()
    msg = {"Signal": state, "Message": "Queue execution started"}

    safe_emit("queue", msg, namespace="/hwr")
Пример #5
0
def queue_execution_failed(entry):
    msg = {"Signal": qutils.queue_exec_state(), "Message": "Queue execution stopped"}

    safe_emit("queue", msg, namespace="/hwr")
Пример #6
0
def queue_execution_started(entry, queue_state=None):
    state = queue_state if queue_state else qutils.queue_exec_state()
    msg = {"Signal": state, "Message": "Queue execution started"}

    safe_emit("queue", msg, namespace="/hwr")