fix bugs from new actions

This commit is contained in:
Junhan Chang
2025-07-08 17:25:42 +08:00
parent acc9e5ce0d
commit d82ccd5cf1
10 changed files with 1298 additions and 729 deletions

View File

@@ -842,11 +842,15 @@ mock_heater:
time: time
vessel: vessel
goal_default:
pressure: ''
purpose: ''
reflux_solvent: ''
stir: false
stir_speed: 0.0
temp: 0.0
temp_spec: ''
time: 0.0
time_spec: ''
vessel: ''
handles: []
result:
@@ -866,22 +870,34 @@ mock_heater:
goal:
description: Action 目标 - 从客户端发送到服务器
properties:
pressure:
type: string
purpose:
type: string
reflux_solvent:
type: string
stir:
type: boolean
stir_speed:
type: number
temp:
type: number
temp_spec:
type: string
time:
type: number
time_spec:
type: string
vessel:
type: string
required:
- vessel
- temp
- time
- temp_spec
- time_spec
- pressure
- reflux_solvent
- stir
- stir_speed
- purpose
@@ -890,13 +906,16 @@ mock_heater:
result:
description: Action 结果 - 完成后从服务器发送到客户端
properties:
message:
type: string
return_info:
type: string
success:
type: boolean
required:
- return_info
- success
- message
- return_info
title: HeatChill_Result
type: object
required:
@@ -1270,13 +1289,18 @@ mock_pump:
volume: volume
goal_default:
amount: ''
event: ''
flowrate: 0.0
from_vessel: ''
rate_spec: ''
rinsing_repeats: 0
rinsing_solvent: ''
rinsing_volume: 0.0
solid: false
through: ''
time: 0.0
to_vessel: ''
transfer_flowrate: 0.0
viscous: false
volume: 0.0
handles: []
@@ -1334,8 +1358,14 @@ mock_pump:
properties:
amount:
type: string
event:
type: string
flowrate:
type: number
from_vessel:
type: string
rate_spec:
type: string
rinsing_repeats:
maximum: 2147483647
minimum: -2147483648
@@ -1346,10 +1376,14 @@ mock_pump:
type: number
solid:
type: boolean
through:
type: string
time:
type: number
to_vessel:
type: string
transfer_flowrate:
type: number
viscous:
type: boolean
volume:
@@ -1365,6 +1399,11 @@ mock_pump:
- rinsing_volume
- rinsing_repeats
- solid
- flowrate
- transfer_flowrate
- rate_spec
- event
- through
title: PumpTransfer_Goal
type: object
result:
@@ -2281,6 +2320,7 @@ mock_separator:
goal_default:
from_vessel: ''
product_phase: ''
product_vessel: ''
purpose: ''
repeats: 0
separation_vessel: ''
@@ -2291,7 +2331,10 @@ mock_separator:
stir_time: 0.0
through: ''
to_vessel: ''
vessel: ''
volume: ''
waste_phase_to_vessel: ''
waste_vessel: ''
handles: []
result:
success: success
@@ -2349,6 +2392,8 @@ mock_separator:
type: string
product_phase:
type: string
product_vessel:
type: string
purpose:
type: string
repeats:
@@ -2371,8 +2416,14 @@ mock_separator:
type: string
to_vessel:
type: string
vessel:
type: string
volume:
type: string
waste_phase_to_vessel:
type: string
waste_vessel:
type: string
required:
- purpose
- product_phase
@@ -2387,18 +2438,25 @@ mock_separator:
- stir_time
- stir_speed
- settling_time
- vessel
- volume
- product_vessel
- waste_vessel
title: Separate_Goal
type: object
result:
description: Action 结果 - 完成后从服务器发送到客户端
properties:
message:
type: string
return_info:
type: string
success:
type: boolean
required:
- return_info
- success
- message
- return_info
title: Separate_Result
type: object
required:
@@ -3472,9 +3530,13 @@ mock_stirrer_new:
stir_speed: stir_speed
stir_time: stir_time
goal_default:
event: ''
settling_time: 0.0
stir_speed: 0.0
stir_time: 0.0
time: ''
time_spec: ''
vessel: ''
handles: []
result:
success: success
@@ -3493,13 +3555,25 @@ mock_stirrer_new:
goal:
description: Action 目标 - 从客户端发送到服务器
properties:
event:
type: string
settling_time:
type: number
stir_speed:
type: number
stir_time:
type: number
time:
type: string
time_spec:
type: string
vessel:
type: string
required:
- vessel
- time
- event
- time_spec
- stir_time
- stir_speed
- settling_time
@@ -3508,13 +3582,16 @@ mock_stirrer_new:
result:
description: Action 结果 - 完成后从服务器发送到客户端
properties:
message:
type: string
return_info:
type: string
success:
type: boolean
required:
- return_info
- success
- message
- return_info
title: Stir_Result
type: object
required: