mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2026-02-04 13:25:13 +00:00
Edit mock device yaml
This commit is contained in:
@@ -7,30 +7,35 @@ mock_chiller:
|
|||||||
current_temperature: Float64
|
current_temperature: Float64
|
||||||
target_temperature: Float64
|
target_temperature: Float64
|
||||||
status: String
|
status: String
|
||||||
power_on: Bool
|
|
||||||
is_cooling: Bool
|
is_cooling: Bool
|
||||||
is_heating: Bool
|
is_heating: Bool
|
||||||
|
vessel: String # 新增
|
||||||
|
purpose: String # 新增
|
||||||
action_value_mappings:
|
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:
|
emergency_stop:
|
||||||
type: EmptyIn
|
type: EmptyIn
|
||||||
goal: {}
|
goal: {}
|
||||||
feedback: {}
|
feedback: {}
|
||||||
result:
|
result:
|
||||||
success: success
|
success: success
|
||||||
|
heat_chill_start:
|
||||||
|
type: HeatChillStart
|
||||||
|
goal:
|
||||||
|
vessel: vessel
|
||||||
|
temp: temp
|
||||||
|
purpose: purpose
|
||||||
|
feedback: {}
|
||||||
|
result:
|
||||||
|
success: success
|
||||||
|
status: status
|
||||||
|
heat_chill_stop:
|
||||||
|
type: HeatChillStop
|
||||||
|
goal:
|
||||||
|
vessel: vessel
|
||||||
|
feedback: {}
|
||||||
|
result:
|
||||||
|
success: success
|
||||||
|
status: status
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@@ -43,20 +48,24 @@ mock_chiller:
|
|||||||
status:
|
status:
|
||||||
type: string
|
type: string
|
||||||
description: Current status of the device
|
description: Current status of the device
|
||||||
power_on:
|
|
||||||
type: boolean
|
|
||||||
description: Power state of the device
|
|
||||||
is_cooling:
|
is_cooling:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Whether the device is actively cooling
|
description: Whether the device is actively cooling
|
||||||
is_heating:
|
is_heating:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Whether the device is actively heating
|
description: Whether the device is actively heating
|
||||||
|
vessel: # 新增
|
||||||
|
type: string
|
||||||
|
description: Current vessel being processed
|
||||||
|
purpose: # 新增
|
||||||
|
type: string
|
||||||
|
description: Purpose of the current operation
|
||||||
required:
|
required:
|
||||||
- current_temperature
|
- current_temperature
|
||||||
- target_temperature
|
- target_temperature
|
||||||
- status
|
- status
|
||||||
- power_on
|
- vessel
|
||||||
|
- purpose
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
mock_filter:
|
mock_filter:
|
||||||
description: Mock Filter Device
|
description: Mock Filter Device
|
||||||
@@ -66,32 +75,43 @@ mock_filter:
|
|||||||
status_types:
|
status_types:
|
||||||
status: String
|
status: String
|
||||||
is_filtering: Bool
|
is_filtering: Bool
|
||||||
filter_efficiency: Float64
|
|
||||||
flow_rate: Float64
|
flow_rate: Float64
|
||||||
pressure_drop: Float64
|
pressure_drop: Float64
|
||||||
filter_life: Float64
|
filter_life: Float64
|
||||||
power_on: Bool
|
vessel: String
|
||||||
|
filtrate_vessel: String
|
||||||
|
filtered_volume: Float64
|
||||||
|
progress: Float64
|
||||||
|
stir: Bool
|
||||||
|
stir_speed: Float64
|
||||||
|
temperature: Float64
|
||||||
|
continue_heatchill: Bool
|
||||||
|
target_volume: Float64
|
||||||
action_value_mappings:
|
action_value_mappings:
|
||||||
start_filtering:
|
filter:
|
||||||
type: FloatSingleInput
|
type: Filter
|
||||||
goal:
|
goal:
|
||||||
float_in: flow_rate
|
vessel: vessel
|
||||||
feedback: {}
|
filtrate_vessel: filtrate_vessel
|
||||||
|
stir: stir
|
||||||
|
stir_speed: stir_speed
|
||||||
|
temp: temp
|
||||||
|
continue_heatchill: continue_heatchill
|
||||||
|
volume: volume
|
||||||
|
feedback:
|
||||||
|
progress: progress
|
||||||
|
current_temp: current_temp
|
||||||
|
filtered_volume: filtered_volume
|
||||||
|
current_status: current_status
|
||||||
result:
|
result:
|
||||||
success: success
|
success: success
|
||||||
|
message: message
|
||||||
stop_filtering:
|
stop_filtering:
|
||||||
type: EmptyIn
|
type: EmptyIn
|
||||||
goal: {}
|
goal: {}
|
||||||
feedback: {}
|
feedback: {}
|
||||||
result:
|
result:
|
||||||
success: success
|
success: success
|
||||||
power_on_off:
|
|
||||||
type: StrSingleInput
|
|
||||||
goal:
|
|
||||||
string: power_state
|
|
||||||
feedback: {}
|
|
||||||
result:
|
|
||||||
success: success
|
|
||||||
replace_filter:
|
replace_filter:
|
||||||
type: EmptyIn
|
type: EmptyIn
|
||||||
goal: {}
|
goal: {}
|
||||||
@@ -107,9 +127,6 @@ mock_filter:
|
|||||||
is_filtering:
|
is_filtering:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Whether the filter is actively filtering
|
description: Whether the filter is actively filtering
|
||||||
filter_efficiency:
|
|
||||||
type: number
|
|
||||||
description: Filter efficiency percentage
|
|
||||||
flow_rate:
|
flow_rate:
|
||||||
type: number
|
type: number
|
||||||
description: Current flow rate in L/min
|
description: Current flow rate in L/min
|
||||||
@@ -125,8 +142,12 @@ mock_filter:
|
|||||||
required:
|
required:
|
||||||
- status
|
- status
|
||||||
- is_filtering
|
- is_filtering
|
||||||
- filter_efficiency
|
- flow_rate
|
||||||
- power_on
|
- filter_life
|
||||||
|
- vessel
|
||||||
|
- filtrate_vessel
|
||||||
|
- filtered_volume
|
||||||
|
- progress
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
mock_heater:
|
mock_heater:
|
||||||
description: Mock Heater Device
|
description: Mock Heater Device
|
||||||
@@ -137,29 +158,48 @@ mock_heater:
|
|||||||
current_temperature: Float64
|
current_temperature: Float64
|
||||||
target_temperature: Float64
|
target_temperature: Float64
|
||||||
status: String
|
status: String
|
||||||
power_on: Bool
|
|
||||||
is_heating: Bool
|
is_heating: Bool
|
||||||
heating_power: Float64
|
heating_power: Float64
|
||||||
max_temperature: Float64
|
max_temperature: Float64
|
||||||
|
vessel: String
|
||||||
|
purpose: String
|
||||||
|
stir: Bool
|
||||||
|
stir_speed: Float64
|
||||||
action_value_mappings:
|
action_value_mappings:
|
||||||
set_temperature:
|
heat_chill_start:
|
||||||
type: FloatSingleInput
|
type: HeatChillStart
|
||||||
goal:
|
goal:
|
||||||
float_in: temperature
|
vessel: vessel
|
||||||
feedback: {}
|
temp: temp
|
||||||
|
purpose: purpose
|
||||||
|
feedback:
|
||||||
|
status: status
|
||||||
result:
|
result:
|
||||||
success: success
|
success: success
|
||||||
set_heating_power:
|
heat_chill_stop:
|
||||||
type: FloatSingleInput
|
type: HeatChillStop
|
||||||
goal:
|
goal:
|
||||||
float_in: power
|
vessel: vessel
|
||||||
feedback: {}
|
feedback:
|
||||||
|
status: status
|
||||||
result:
|
result:
|
||||||
success: success
|
success: success
|
||||||
power_on_off:
|
heat_chill:
|
||||||
type: StrSingleInput
|
type: HeatChill
|
||||||
goal:
|
goal:
|
||||||
string: power_state
|
vessel: vessel
|
||||||
|
temp: temp
|
||||||
|
time: time
|
||||||
|
stir: stir
|
||||||
|
stir_speed: stir_speed
|
||||||
|
purpose: purpose
|
||||||
|
feedback:
|
||||||
|
status: status
|
||||||
|
result:
|
||||||
|
success: success
|
||||||
|
emergency_stop:
|
||||||
|
type: EmptyIn
|
||||||
|
goal: {}
|
||||||
feedback: {}
|
feedback: {}
|
||||||
result:
|
result:
|
||||||
success: success
|
success: success
|
||||||
@@ -168,16 +208,13 @@ mock_heater:
|
|||||||
properties:
|
properties:
|
||||||
current_temperature:
|
current_temperature:
|
||||||
type: number
|
type: number
|
||||||
description: Current temperature of the heater
|
description: Current temperature of the heater in °C
|
||||||
target_temperature:
|
target_temperature:
|
||||||
type: number
|
type: number
|
||||||
description: Target temperature setting
|
description: Target temperature setting in °C
|
||||||
status:
|
status:
|
||||||
type: string
|
type: string
|
||||||
description: Current status of the device
|
description: Current status of the device
|
||||||
power_on:
|
|
||||||
type: boolean
|
|
||||||
description: Power state of the device
|
|
||||||
is_heating:
|
is_heating:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Whether the device is actively heating
|
description: Whether the device is actively heating
|
||||||
@@ -186,12 +223,25 @@ mock_heater:
|
|||||||
description: Current heating power percentage
|
description: Current heating power percentage
|
||||||
max_temperature:
|
max_temperature:
|
||||||
type: number
|
type: number
|
||||||
description: Maximum heating temperature limit
|
description: Maximum temperature limit
|
||||||
|
vessel:
|
||||||
|
type: string
|
||||||
|
description: Current vessel being heated
|
||||||
|
purpose:
|
||||||
|
type: string
|
||||||
|
description: Purpose of the heating operation
|
||||||
|
stir:
|
||||||
|
type: boolean
|
||||||
|
description: Whether stirring is enabled
|
||||||
|
stir_speed:
|
||||||
|
type: number
|
||||||
|
description: Current stirring speed
|
||||||
required:
|
required:
|
||||||
- current_temperature
|
- current_temperature
|
||||||
- target_temperature
|
- target_temperature
|
||||||
- status
|
- status
|
||||||
- power_on
|
- vessel
|
||||||
|
- purpose
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
mock_pump:
|
mock_pump:
|
||||||
description: Mock Pump Device
|
description: Mock Pump Device
|
||||||
@@ -200,42 +250,47 @@ mock_pump:
|
|||||||
type: python
|
type: python
|
||||||
status_types:
|
status_types:
|
||||||
status: String
|
status: String
|
||||||
power_state: String
|
|
||||||
pump_state: String
|
pump_state: String
|
||||||
flow_rate: Float64
|
flow_rate: Float64
|
||||||
target_flow_rate: Float64
|
target_flow_rate: Float64
|
||||||
pressure: Float64
|
pressure: Float64
|
||||||
total_volume: Float64
|
total_volume: Float64
|
||||||
direction: String
|
|
||||||
max_flow_rate: Float64
|
max_flow_rate: Float64
|
||||||
max_pressure: Float64
|
max_pressure: Float64
|
||||||
|
from_vessel: String
|
||||||
|
to_vessel: String
|
||||||
|
transfer_volume: Float64
|
||||||
|
amount: String
|
||||||
|
transfer_time: Float64
|
||||||
|
is_viscous: Bool
|
||||||
|
rinsing_solvent: String
|
||||||
|
rinsing_volume: Float64
|
||||||
|
rinsing_repeats: Int32
|
||||||
|
is_solid: Bool
|
||||||
|
time_spent: Float64
|
||||||
|
time_remaining: Float64
|
||||||
|
current_device: String
|
||||||
action_value_mappings:
|
action_value_mappings:
|
||||||
power_control:
|
pump_transfer:
|
||||||
type: StrSingleInput
|
type: PumpTransfer
|
||||||
goal:
|
goal:
|
||||||
string: power_state
|
from_vessel: from_vessel
|
||||||
feedback: {}
|
to_vessel: to_vessel
|
||||||
result:
|
volume: volume
|
||||||
success: success
|
amount: amount
|
||||||
set_flow_rate:
|
time: time
|
||||||
type: FloatSingleInput
|
viscous: viscous
|
||||||
goal:
|
rinsing_solvent: rinsing_solvent
|
||||||
float_in: flow_rate
|
rinsing_volume: rinsing_volume
|
||||||
feedback: {}
|
rinsing_repeats: rinsing_repeats
|
||||||
result:
|
solid: solid
|
||||||
success: success
|
feedback:
|
||||||
start_pump:
|
status: status
|
||||||
type: EmptyIn
|
current_device: current_device
|
||||||
goal: {}
|
time_spent: time_spent
|
||||||
feedback: {}
|
time_remaining: time_remaining
|
||||||
result:
|
result:
|
||||||
success: success
|
success: success
|
||||||
stop_pump:
|
|
||||||
type: EmptyIn
|
|
||||||
goal: {}
|
|
||||||
feedback: {}
|
|
||||||
result:
|
|
||||||
success: success
|
|
||||||
pause_pump:
|
pause_pump:
|
||||||
type: EmptyIn
|
type: EmptyIn
|
||||||
goal: {}
|
goal: {}
|
||||||
@@ -248,13 +303,6 @@ mock_pump:
|
|||||||
feedback: {}
|
feedback: {}
|
||||||
result:
|
result:
|
||||||
success: success
|
success: success
|
||||||
set_direction:
|
|
||||||
type: StrSingleInput
|
|
||||||
goal:
|
|
||||||
string: direction
|
|
||||||
feedback: {}
|
|
||||||
result:
|
|
||||||
success: success
|
|
||||||
reset_volume_counter:
|
reset_volume_counter:
|
||||||
type: EmptyIn
|
type: EmptyIn
|
||||||
goal: {}
|
goal: {}
|
||||||
@@ -267,9 +315,6 @@ mock_pump:
|
|||||||
status:
|
status:
|
||||||
type: string
|
type: string
|
||||||
description: Current status of the pump
|
description: Current status of the pump
|
||||||
power_state:
|
|
||||||
type: string
|
|
||||||
description: Power state (On/Off)
|
|
||||||
pump_state:
|
pump_state:
|
||||||
type: string
|
type: string
|
||||||
description: Pump operation state (Running/Stopped/Paused)
|
description: Pump operation state (Running/Stopped/Paused)
|
||||||
@@ -285,20 +330,51 @@ mock_pump:
|
|||||||
total_volume:
|
total_volume:
|
||||||
type: number
|
type: number
|
||||||
description: Total accumulated volume in mL
|
description: Total accumulated volume in mL
|
||||||
direction:
|
|
||||||
type: string
|
|
||||||
description: Pump direction (Forward/Reverse)
|
|
||||||
max_flow_rate:
|
max_flow_rate:
|
||||||
type: number
|
type: number
|
||||||
description: Maximum flow rate in mL/min
|
description: Maximum flow rate in mL/min
|
||||||
max_pressure:
|
max_pressure:
|
||||||
type: number
|
type: number
|
||||||
description: Maximum pressure in bar
|
description: Maximum pressure in bar
|
||||||
|
from_vessel:
|
||||||
|
type: string
|
||||||
|
description: Source vessel for transfer
|
||||||
|
to_vessel:
|
||||||
|
type: string
|
||||||
|
description: Target vessel for transfer
|
||||||
|
transfer_volume:
|
||||||
|
type: number
|
||||||
|
description: Volume to transfer in mL
|
||||||
|
amount:
|
||||||
|
type: string
|
||||||
|
description: Amount description
|
||||||
|
transfer_time:
|
||||||
|
type: number
|
||||||
|
description: Transfer time in seconds
|
||||||
|
is_viscous:
|
||||||
|
type: boolean
|
||||||
|
description: Whether the liquid is viscous
|
||||||
|
rinsing_solvent:
|
||||||
|
type: string
|
||||||
|
description: Solvent used for rinsing
|
||||||
|
rinsing_volume:
|
||||||
|
type: number
|
||||||
|
description: Volume used for rinsing
|
||||||
|
rinsing_repeats:
|
||||||
|
type: integer
|
||||||
|
description: Number of rinsing cycles
|
||||||
|
is_solid:
|
||||||
|
type: boolean
|
||||||
|
description: Whether transferring solid material
|
||||||
|
current_device:
|
||||||
|
type: string
|
||||||
|
description: Current device identifier
|
||||||
required:
|
required:
|
||||||
- status
|
- status
|
||||||
- power_state
|
|
||||||
- pump_state
|
- pump_state
|
||||||
- flow_rate
|
- flow_rate
|
||||||
|
- from_vessel
|
||||||
|
- to_vessel
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
mock_rotavap:
|
mock_rotavap:
|
||||||
description: Mock Rotavap Device
|
description: Mock Rotavap Device
|
||||||
@@ -307,7 +383,6 @@ mock_rotavap:
|
|||||||
type: python
|
type: python
|
||||||
status_types:
|
status_types:
|
||||||
status: String
|
status: String
|
||||||
power_state: String
|
|
||||||
rotate_state: String
|
rotate_state: String
|
||||||
rotate_time: Float64
|
rotate_time: Float64
|
||||||
rotate_speed: Float64
|
rotate_speed: Float64
|
||||||
@@ -325,13 +400,6 @@ mock_rotavap:
|
|||||||
feedback: {}
|
feedback: {}
|
||||||
result:
|
result:
|
||||||
success: success
|
success: success
|
||||||
power_control:
|
|
||||||
type: StrSingleInput
|
|
||||||
goal:
|
|
||||||
string: power_state
|
|
||||||
feedback: {}
|
|
||||||
result:
|
|
||||||
success: success
|
|
||||||
set_rotate_time:
|
set_rotate_time:
|
||||||
type: FloatSingleInput
|
type: FloatSingleInput
|
||||||
goal:
|
goal:
|
||||||
@@ -378,9 +446,6 @@ mock_rotavap:
|
|||||||
status:
|
status:
|
||||||
type: string
|
type: string
|
||||||
description: Current status of the rotavap
|
description: Current status of the rotavap
|
||||||
power_state:
|
|
||||||
type: string
|
|
||||||
description: Power state (On/Off)
|
|
||||||
rotate_state:
|
rotate_state:
|
||||||
type: string
|
type: string
|
||||||
description: Rotation state (Running/Stopped)
|
description: Rotation state (Running/Stopped)
|
||||||
@@ -421,12 +486,49 @@ mock_separator:
|
|||||||
type: python
|
type: python
|
||||||
status_types:
|
status_types:
|
||||||
status: String
|
status: String
|
||||||
power_state: String
|
|
||||||
settling_time: Float64
|
settling_time: Float64
|
||||||
valve_state: String
|
valve_state: String
|
||||||
shake_time: Float64
|
shake_time: Float64
|
||||||
shake_status: String
|
shake_status: String
|
||||||
|
current_device: String
|
||||||
|
purpose: String
|
||||||
|
product_phase: String
|
||||||
|
from_vessel: String
|
||||||
|
separation_vessel: String
|
||||||
|
to_vessel: String
|
||||||
|
waste_phase_to_vessel: String
|
||||||
|
solvent: String
|
||||||
|
solvent_volume: Float64
|
||||||
|
through: String
|
||||||
|
repeats: Int32
|
||||||
|
stir_time: Float64
|
||||||
|
stir_speed: Float64
|
||||||
|
time_spent: Float64
|
||||||
|
time_remaining: Float64
|
||||||
action_value_mappings:
|
action_value_mappings:
|
||||||
|
separate:
|
||||||
|
type: Separate
|
||||||
|
goal:
|
||||||
|
purpose: purpose
|
||||||
|
product_phase: product_phase
|
||||||
|
from_vessel: from_vessel
|
||||||
|
separation_vessel: separation_vessel
|
||||||
|
to_vessel: to_vessel
|
||||||
|
waste_phase_to_vessel: waste_phase_to_vessel
|
||||||
|
solvent: solvent
|
||||||
|
solvent_volume: solvent_volume
|
||||||
|
through: through
|
||||||
|
repeats: repeats
|
||||||
|
stir_time: stir_time
|
||||||
|
stir_speed: stir_speed
|
||||||
|
settling_time: settling_time
|
||||||
|
feedback:
|
||||||
|
status: status
|
||||||
|
current_device: current_device
|
||||||
|
time_spent: time_spent
|
||||||
|
time_remaining: time_remaining
|
||||||
|
result:
|
||||||
|
success: success
|
||||||
shake:
|
shake:
|
||||||
type: FloatSingleInput
|
type: FloatSingleInput
|
||||||
goal:
|
goal:
|
||||||
@@ -435,28 +537,25 @@ mock_separator:
|
|||||||
status: status
|
status: status
|
||||||
result:
|
result:
|
||||||
success: success
|
success: success
|
||||||
power_control:
|
|
||||||
type: StrSingleInput
|
|
||||||
goal:
|
|
||||||
string: power_state
|
|
||||||
feedback: {}
|
|
||||||
result:
|
|
||||||
success: success
|
|
||||||
stop_operations:
|
stop_operations:
|
||||||
type: EmptyIn
|
type: EmptyIn
|
||||||
goal: {}
|
goal: {}
|
||||||
feedback: {}
|
feedback: {}
|
||||||
result:
|
result:
|
||||||
success: success
|
success: success
|
||||||
|
set_valve:
|
||||||
|
type: StrSingleInput
|
||||||
|
goal:
|
||||||
|
string: command
|
||||||
|
feedback: {}
|
||||||
|
result:
|
||||||
|
success: success
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
status:
|
status:
|
||||||
type: string
|
type: string
|
||||||
description: Current status of the separator
|
description: Current status of the separator
|
||||||
power_state:
|
|
||||||
type: string
|
|
||||||
description: Power state (On/Off)
|
|
||||||
settling_time:
|
settling_time:
|
||||||
type: number
|
type: number
|
||||||
description: Settling time in seconds
|
description: Settling time in seconds
|
||||||
@@ -468,10 +567,27 @@ mock_separator:
|
|||||||
description: Remaining shake time in seconds
|
description: Remaining shake time in seconds
|
||||||
shake_status:
|
shake_status:
|
||||||
type: string
|
type: string
|
||||||
description: Current shake state (e.g. Shaking, Settling, Idle)
|
description: Current shake state
|
||||||
|
purpose:
|
||||||
|
type: string
|
||||||
|
description: Separation purpose (wash/extract)
|
||||||
|
product_phase:
|
||||||
|
type: string
|
||||||
|
description: Product phase (top/bottom)
|
||||||
|
from_vessel:
|
||||||
|
type: string
|
||||||
|
description: Source vessel
|
||||||
|
separation_vessel:
|
||||||
|
type: string
|
||||||
|
description: Vessel for separation
|
||||||
|
to_vessel:
|
||||||
|
type: string
|
||||||
|
description: Target vessel
|
||||||
required:
|
required:
|
||||||
- status
|
- status
|
||||||
- power_state
|
- valve_state
|
||||||
|
- shake_status
|
||||||
|
- current_device
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
mock_solenoid_valve:
|
mock_solenoid_valve:
|
||||||
description: Mock Solenoid Valve Device
|
description: Mock Solenoid Valve Device
|
||||||
@@ -521,7 +637,6 @@ mock_stirrer:
|
|||||||
type: python
|
type: python
|
||||||
status_types:
|
status_types:
|
||||||
status: String
|
status: String
|
||||||
power_state: String
|
|
||||||
stir_speed: Float64
|
stir_speed: Float64
|
||||||
target_stir_speed: Float64
|
target_stir_speed: Float64
|
||||||
stir_state: String
|
stir_state: String
|
||||||
@@ -532,13 +647,6 @@ mock_stirrer:
|
|||||||
max_stir_speed: Float64
|
max_stir_speed: Float64
|
||||||
max_temperature: Float64
|
max_temperature: Float64
|
||||||
action_value_mappings:
|
action_value_mappings:
|
||||||
power_control:
|
|
||||||
type: StrSingleInput
|
|
||||||
goal:
|
|
||||||
string: power_state
|
|
||||||
feedback: {}
|
|
||||||
result:
|
|
||||||
success: success
|
|
||||||
set_stir_speed:
|
set_stir_speed:
|
||||||
type: FloatSingleInput
|
type: FloatSingleInput
|
||||||
goal:
|
goal:
|
||||||
@@ -578,9 +686,6 @@ mock_stirrer:
|
|||||||
status:
|
status:
|
||||||
type: string
|
type: string
|
||||||
description: Current status of the stirrer
|
description: Current status of the stirrer
|
||||||
power_state:
|
|
||||||
type: string
|
|
||||||
description: Power state (On/Off)
|
|
||||||
stir_speed:
|
stir_speed:
|
||||||
type: number
|
type: number
|
||||||
description: Current stirring speed in rpm
|
description: Current stirring speed in rpm
|
||||||
@@ -614,6 +719,85 @@ mock_stirrer:
|
|||||||
- temperature
|
- temperature
|
||||||
- power_state
|
- power_state
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
|
mock_stirrer_new:
|
||||||
|
description: Mock Stirrer Device (Copy Version)
|
||||||
|
class:
|
||||||
|
module: unilabos.devices.mock.mock_stirrer_new:MockStirrer_new
|
||||||
|
type: python
|
||||||
|
status_types:
|
||||||
|
status: String
|
||||||
|
vessel: String
|
||||||
|
purpose: String
|
||||||
|
stir_speed: Float64
|
||||||
|
target_stir_speed: Float64
|
||||||
|
stir_state: String
|
||||||
|
stir_time: Float64
|
||||||
|
settling_time: Float64
|
||||||
|
progress: Float64
|
||||||
|
max_stir_speed: Float64
|
||||||
|
action_value_mappings:
|
||||||
|
start_stir:
|
||||||
|
type: StartStir
|
||||||
|
goal:
|
||||||
|
vessel: vessel
|
||||||
|
stir_speed: stir_speed
|
||||||
|
purpose: purpose
|
||||||
|
feedback:
|
||||||
|
progress: progress
|
||||||
|
current_speed: stir_speed
|
||||||
|
current_status: status
|
||||||
|
result:
|
||||||
|
success: success
|
||||||
|
message: message
|
||||||
|
stir:
|
||||||
|
type: Stir
|
||||||
|
goal:
|
||||||
|
stir_time: stir_time
|
||||||
|
stir_speed: stir_speed
|
||||||
|
settling_time: settling_time
|
||||||
|
feedback:
|
||||||
|
status: status
|
||||||
|
result:
|
||||||
|
success: success
|
||||||
|
stop_stir:
|
||||||
|
type: StopStir
|
||||||
|
goal:
|
||||||
|
vessel: vessel
|
||||||
|
feedback:
|
||||||
|
progress: progress
|
||||||
|
current_status: status
|
||||||
|
result:
|
||||||
|
success: success
|
||||||
|
message: message
|
||||||
|
schema:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
status:
|
||||||
|
type: string
|
||||||
|
vessel:
|
||||||
|
type: string
|
||||||
|
purpose:
|
||||||
|
type: string
|
||||||
|
stir_speed:
|
||||||
|
type: number
|
||||||
|
target_stir_speed:
|
||||||
|
type: number
|
||||||
|
stir_state:
|
||||||
|
type: string
|
||||||
|
stir_time:
|
||||||
|
type: number
|
||||||
|
settling_time:
|
||||||
|
type: number
|
||||||
|
progress:
|
||||||
|
type: number
|
||||||
|
max_stir_speed:
|
||||||
|
type: number
|
||||||
|
required:
|
||||||
|
- status
|
||||||
|
- stir_speed
|
||||||
|
- stir_state
|
||||||
|
- vessel
|
||||||
|
additionalProperties: false
|
||||||
mock_vacuum:
|
mock_vacuum:
|
||||||
description: Mock Vacuum Pump Device
|
description: Mock Vacuum Pump Device
|
||||||
class:
|
class:
|
||||||
|
|||||||
Reference in New Issue
Block a user