mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2026-02-06 15:05:13 +00:00
709 lines
17 KiB
YAML
709 lines
17 KiB
YAML
mock_chiller:
|
|
description: Mock Chiller Device
|
|
class:
|
|
module: unilabos.devices.mock.mock_chiller:MockChiller
|
|
type: python
|
|
status_types:
|
|
current_temperature: Float64
|
|
target_temperature: Float64
|
|
status: String
|
|
power_on: Bool
|
|
is_cooling: Bool
|
|
is_heating: Bool
|
|
action_value_mappings:
|
|
set_temperature:
|
|
type: FloatSingleInput
|
|
goal:
|
|
float_in: temperature
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
power_on_off:
|
|
type: StrSingleInput
|
|
goal:
|
|
string: power_state
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
emergency_stop:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
schema:
|
|
type: object
|
|
properties:
|
|
current_temperature:
|
|
type: number
|
|
description: Current temperature of the chiller in °C
|
|
target_temperature:
|
|
type: number
|
|
description: Target temperature setting in °C
|
|
status:
|
|
type: string
|
|
description: Current status of the device
|
|
power_on:
|
|
type: boolean
|
|
description: Power state of the device
|
|
is_cooling:
|
|
type: boolean
|
|
description: Whether the device is actively cooling
|
|
is_heating:
|
|
type: boolean
|
|
description: Whether the device is actively heating
|
|
required:
|
|
- current_temperature
|
|
- target_temperature
|
|
- status
|
|
- power_on
|
|
additionalProperties: false
|
|
mock_filter:
|
|
description: Mock Filter Device
|
|
class:
|
|
module: unilabos.devices.mock.mock_filter:MockFilter
|
|
type: python
|
|
status_types:
|
|
status: String
|
|
is_filtering: Bool
|
|
filter_efficiency: Float64
|
|
flow_rate: Float64
|
|
pressure_drop: Float64
|
|
filter_life: Float64
|
|
power_on: Bool
|
|
action_value_mappings:
|
|
start_filtering:
|
|
type: FloatSingleInput
|
|
goal:
|
|
float_in: flow_rate
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
stop_filtering:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
power_on_off:
|
|
type: StrSingleInput
|
|
goal:
|
|
string: power_state
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
replace_filter:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
schema:
|
|
type: object
|
|
properties:
|
|
status:
|
|
type: string
|
|
description: Current status of the filter
|
|
is_filtering:
|
|
type: boolean
|
|
description: Whether the filter is actively filtering
|
|
filter_efficiency:
|
|
type: number
|
|
description: Filter efficiency percentage
|
|
flow_rate:
|
|
type: number
|
|
description: Current flow rate in L/min
|
|
pressure_drop:
|
|
type: number
|
|
description: Pressure drop across the filter in Pa
|
|
filter_life:
|
|
type: number
|
|
description: Remaining filter life percentage
|
|
power_on:
|
|
type: boolean
|
|
description: Power state of the device
|
|
required:
|
|
- status
|
|
- is_filtering
|
|
- filter_efficiency
|
|
- power_on
|
|
additionalProperties: false
|
|
mock_heater:
|
|
description: Mock Heater Device
|
|
class:
|
|
module: unilabos.devices.mock.mock_heater:MockHeater
|
|
type: python
|
|
status_types:
|
|
current_temperature: Float64
|
|
target_temperature: Float64
|
|
status: String
|
|
power_on: Bool
|
|
is_heating: Bool
|
|
heating_power: Float64
|
|
max_temperature: Float64
|
|
action_value_mappings:
|
|
set_temperature:
|
|
type: FloatSingleInput
|
|
goal:
|
|
float_in: temperature
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
set_heating_power:
|
|
type: FloatSingleInput
|
|
goal:
|
|
float_in: power
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
power_on_off:
|
|
type: StrSingleInput
|
|
goal:
|
|
string: power_state
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
schema:
|
|
type: object
|
|
properties:
|
|
current_temperature:
|
|
type: number
|
|
description: Current temperature of the heater
|
|
target_temperature:
|
|
type: number
|
|
description: Target temperature setting
|
|
status:
|
|
type: string
|
|
description: Current status of the device
|
|
power_on:
|
|
type: boolean
|
|
description: Power state of the device
|
|
is_heating:
|
|
type: boolean
|
|
description: Whether the device is actively heating
|
|
heating_power:
|
|
type: number
|
|
description: Current heating power percentage
|
|
max_temperature:
|
|
type: number
|
|
description: Maximum heating temperature limit
|
|
required:
|
|
- current_temperature
|
|
- target_temperature
|
|
- status
|
|
- power_on
|
|
additionalProperties: false
|
|
mock_pump:
|
|
description: Mock Pump Device
|
|
class:
|
|
module: unilabos.devices.mock.mock_pump:MockPump
|
|
type: python
|
|
status_types:
|
|
status: String
|
|
power_state: String
|
|
pump_state: String
|
|
flow_rate: Float64
|
|
target_flow_rate: Float64
|
|
pressure: Float64
|
|
total_volume: Float64
|
|
direction: String
|
|
max_flow_rate: Float64
|
|
max_pressure: Float64
|
|
action_value_mappings:
|
|
power_control:
|
|
type: StrSingleInput
|
|
goal:
|
|
string: power_state
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
set_flow_rate:
|
|
type: FloatSingleInput
|
|
goal:
|
|
float_in: flow_rate
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
start_pump:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
stop_pump:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
pause_pump:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
resume_pump:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
set_direction:
|
|
type: StrSingleInput
|
|
goal:
|
|
string: direction
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
reset_volume_counter:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
schema:
|
|
type: object
|
|
properties:
|
|
status:
|
|
type: string
|
|
description: Current status of the pump
|
|
power_state:
|
|
type: string
|
|
description: Power state (On/Off)
|
|
pump_state:
|
|
type: string
|
|
description: Pump operation state (Running/Stopped/Paused)
|
|
flow_rate:
|
|
type: number
|
|
description: Current flow rate in mL/min
|
|
target_flow_rate:
|
|
type: number
|
|
description: Target flow rate in mL/min
|
|
pressure:
|
|
type: number
|
|
description: Current pressure in bar
|
|
total_volume:
|
|
type: number
|
|
description: Total accumulated volume in mL
|
|
direction:
|
|
type: string
|
|
description: Pump direction (Forward/Reverse)
|
|
max_flow_rate:
|
|
type: number
|
|
description: Maximum flow rate in mL/min
|
|
max_pressure:
|
|
type: number
|
|
description: Maximum pressure in bar
|
|
required:
|
|
- status
|
|
- power_state
|
|
- pump_state
|
|
- flow_rate
|
|
additionalProperties: false
|
|
mock_rotavap:
|
|
description: Mock Rotavap Device
|
|
class:
|
|
module: unilabos.devices.mock.mock_rotavap:MockRotavap
|
|
type: python
|
|
status_types:
|
|
status: String
|
|
power_state: String
|
|
rotate_state: String
|
|
rotate_time: Float64
|
|
rotate_speed: Float64
|
|
pump_state: String
|
|
pump_time: Float64
|
|
vacuum_level: Float64
|
|
temperature: Float64
|
|
target_temperature: Float64
|
|
success: String
|
|
action_value_mappings:
|
|
set_timer:
|
|
type: StrSingleInput
|
|
goal:
|
|
string: command
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
power_control:
|
|
type: StrSingleInput
|
|
goal:
|
|
string: power_state
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
set_rotate_time:
|
|
type: FloatSingleInput
|
|
goal:
|
|
float_in: time_seconds
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
set_pump_time:
|
|
type: FloatSingleInput
|
|
goal:
|
|
float_in: time_seconds
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
set_rotate_speed:
|
|
type: FloatSingleInput
|
|
goal:
|
|
float_in: speed
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
set_temperature:
|
|
type: FloatSingleInput
|
|
goal:
|
|
float_in: temperature
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
start_rotation:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
start_pump:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
schema:
|
|
type: object
|
|
properties:
|
|
status:
|
|
type: string
|
|
description: Current status of the rotavap
|
|
power_state:
|
|
type: string
|
|
description: Power state (On/Off)
|
|
rotate_state:
|
|
type: string
|
|
description: Rotation state (Running/Stopped)
|
|
rotate_time:
|
|
type: number
|
|
description: Remaining rotation time in seconds
|
|
rotate_speed:
|
|
type: number
|
|
description: Rotation speed in rpm
|
|
pump_state:
|
|
type: string
|
|
description: Pump state (Running/Stopped)
|
|
pump_time:
|
|
type: number
|
|
description: Remaining pump time in seconds
|
|
vacuum_level:
|
|
type: number
|
|
description: Current vacuum level in mbar
|
|
temperature:
|
|
type: number
|
|
description: Current water bath temperature
|
|
target_temperature:
|
|
type: number
|
|
description: Target water bath temperature
|
|
success:
|
|
type: string
|
|
description: Operation success status
|
|
required:
|
|
- status
|
|
- rotate_time
|
|
- pump_time
|
|
- temperature
|
|
additionalProperties: false
|
|
mock_separator:
|
|
description: Simplified Mock Separator Device
|
|
class:
|
|
module: unilabos.devices.mock.mock_separator:MockSeparator
|
|
type: python
|
|
status_types:
|
|
status: String
|
|
power_state: String
|
|
settling_time: Float64
|
|
valve_state: String
|
|
shake_time: Float64
|
|
shake_status: String
|
|
action_value_mappings:
|
|
shake:
|
|
type: FloatSingleInput
|
|
goal:
|
|
float_in: shake_time
|
|
feedback:
|
|
status: status
|
|
result:
|
|
success: success
|
|
power_control:
|
|
type: StrSingleInput
|
|
goal:
|
|
string: power_state
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
stop_operations:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
schema:
|
|
type: object
|
|
properties:
|
|
status:
|
|
type: string
|
|
description: Current status of the separator
|
|
power_state:
|
|
type: string
|
|
description: Power state (On/Off)
|
|
settling_time:
|
|
type: number
|
|
description: Settling time in seconds
|
|
valve_state:
|
|
type: string
|
|
description: Valve state (Open/Closed)
|
|
shake_time:
|
|
type: number
|
|
description: Remaining shake time in seconds
|
|
shake_status:
|
|
type: string
|
|
description: Current shake state (e.g. Shaking, Settling, Idle)
|
|
required:
|
|
- status
|
|
- power_state
|
|
additionalProperties: false
|
|
mock_solenoid_valve:
|
|
description: Mock Solenoid Valve Device
|
|
class:
|
|
module: unilabos.devices.mock.mock_solenoid_valve:MockSolenoidValve
|
|
type: python
|
|
status_types:
|
|
status: String
|
|
valve_status: String
|
|
action_value_mappings:
|
|
set_valve_status:
|
|
type: StrSingleInput
|
|
goal:
|
|
string: status
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
open_valve:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
close_valve:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
schema:
|
|
type: object
|
|
properties:
|
|
status:
|
|
type: string
|
|
description: Current status of the valve
|
|
valve_status:
|
|
type: string
|
|
description: Valve status (Open/Closed)
|
|
required:
|
|
- status
|
|
- valve_status
|
|
additionalProperties: false
|
|
mock_stirrer:
|
|
description: Mock Stirrer Device
|
|
class:
|
|
module: unilabos.devices.mock.mock_stirrer:MockStirrer
|
|
type: python
|
|
status_types:
|
|
status: String
|
|
power_state: String
|
|
stir_speed: Float64
|
|
target_stir_speed: Float64
|
|
stir_state: String
|
|
temperature: Float64
|
|
target_temperature: Float64
|
|
heating_state: String
|
|
heating_power: Float64
|
|
max_stir_speed: Float64
|
|
max_temperature: Float64
|
|
action_value_mappings:
|
|
power_control:
|
|
type: StrSingleInput
|
|
goal:
|
|
string: power_state
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
set_stir_speed:
|
|
type: FloatSingleInput
|
|
goal:
|
|
float_in: speed
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
set_temperature:
|
|
type: FloatSingleInput
|
|
goal:
|
|
float_in: temperature
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
start_stirring:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
stop_stirring:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
heating_control:
|
|
type: StrSingleInput
|
|
goal:
|
|
string: heating_state
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
schema:
|
|
type: object
|
|
properties:
|
|
status:
|
|
type: string
|
|
description: Current status of the stirrer
|
|
power_state:
|
|
type: string
|
|
description: Power state (On/Off)
|
|
stir_speed:
|
|
type: number
|
|
description: Current stirring speed in rpm
|
|
target_stir_speed:
|
|
type: number
|
|
description: Target stirring speed in rpm
|
|
stir_state:
|
|
type: string
|
|
description: Stirring state (Running/Stopped)
|
|
temperature:
|
|
type: number
|
|
description: Current temperature in °C
|
|
target_temperature:
|
|
type: number
|
|
description: Target temperature in °C
|
|
heating_state:
|
|
type: string
|
|
description: Heating state (On/Off)
|
|
heating_power:
|
|
type: number
|
|
description: Current heating power percentage
|
|
max_stir_speed:
|
|
type: number
|
|
description: Maximum stirring speed in rpm
|
|
max_temperature:
|
|
type: number
|
|
description: Maximum temperature in °C
|
|
required:
|
|
- status
|
|
- stir_speed
|
|
- temperature
|
|
- power_state
|
|
additionalProperties: false
|
|
mock_vacuum:
|
|
description: Mock Vacuum Pump Device
|
|
class:
|
|
module: unilabos.devices.mock.mock_vacuum:MockVacuum
|
|
type: python
|
|
status_types:
|
|
status: String
|
|
power_state: String
|
|
pump_state: String
|
|
vacuum_level: Float64
|
|
target_vacuum: Float64
|
|
pump_speed: Float64
|
|
pump_efficiency: Float64
|
|
max_pump_speed: Float64
|
|
action_value_mappings:
|
|
power_control:
|
|
type: StrSingleInput
|
|
goal:
|
|
string: power_state
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
set_vacuum_level:
|
|
type: FloatSingleInput
|
|
goal:
|
|
float_in: vacuum_level
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
start_vacuum:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
stop_vacuum:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
pause_vacuum:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
resume_vacuum:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
vent_to_atmosphere:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result:
|
|
success: success
|
|
schema:
|
|
type: object
|
|
properties:
|
|
status:
|
|
type: string
|
|
description: Current status of the vacuum pump
|
|
power_state:
|
|
type: string
|
|
description: Power state (On/Off)
|
|
pump_state:
|
|
type: string
|
|
description: Pump operation state (Running/Stopped/Paused)
|
|
vacuum_level:
|
|
type: number
|
|
description: Current vacuum level in mbar
|
|
target_vacuum:
|
|
type: number
|
|
description: Target vacuum level in mbar
|
|
pump_speed:
|
|
type: number
|
|
description: Current pump speed in L/s
|
|
pump_efficiency:
|
|
type: number
|
|
description: Pump efficiency percentage
|
|
max_pump_speed:
|
|
type: number
|
|
description: Maximum pump speed in L/s
|
|
required:
|
|
- status
|
|
- power_state
|
|
- pump_state
|
|
- vacuum_level
|
|
additionalProperties: false
|