mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2026-02-09 00:15:10 +00:00
匹配init param schema格式
This commit is contained in:
@@ -12,23 +12,18 @@ chiller:
|
||||
handles: []
|
||||
result: {}
|
||||
schema:
|
||||
description: UniLabJsonCommand build_modbus_frame 的参数schema
|
||||
description: build_modbus_frame的参数schema
|
||||
properties:
|
||||
feedback: {}
|
||||
goal:
|
||||
description: UniLabJsonCommand build_modbus_frame 的参数schema
|
||||
properties:
|
||||
device_address:
|
||||
description: '参数: device_address'
|
||||
type: integer
|
||||
function_code:
|
||||
description: '参数: function_code'
|
||||
type: integer
|
||||
register_address:
|
||||
description: '参数: register_address'
|
||||
type: integer
|
||||
value:
|
||||
description: '参数: value'
|
||||
type: integer
|
||||
required:
|
||||
- device_address
|
||||
@@ -39,7 +34,7 @@ chiller:
|
||||
result: {}
|
||||
required:
|
||||
- goal
|
||||
title: build_modbus_frame 命令参数
|
||||
title: build_modbus_frame参数
|
||||
type: object
|
||||
type: UniLabJsonCommand
|
||||
auto-convert_temperature_to_modbus_value:
|
||||
@@ -51,18 +46,15 @@ chiller:
|
||||
handles: []
|
||||
result: {}
|
||||
schema:
|
||||
description: UniLabJsonCommand convert_temperature_to_modbus_value 的参数schema
|
||||
description: convert_temperature_to_modbus_value的参数schema
|
||||
properties:
|
||||
feedback: {}
|
||||
goal:
|
||||
description: UniLabJsonCommand convert_temperature_to_modbus_value 的参数schema
|
||||
properties:
|
||||
decimal_points:
|
||||
default: 1
|
||||
description: '参数: decimal_points'
|
||||
type: integer
|
||||
temperature:
|
||||
description: '参数: temperature'
|
||||
type: number
|
||||
required:
|
||||
- temperature
|
||||
@@ -70,7 +62,7 @@ chiller:
|
||||
result: {}
|
||||
required:
|
||||
- goal
|
||||
title: convert_temperature_to_modbus_value 命令参数
|
||||
title: convert_temperature_to_modbus_value参数
|
||||
type: object
|
||||
type: UniLabJsonCommand
|
||||
auto-modbus_crc:
|
||||
@@ -81,14 +73,12 @@ chiller:
|
||||
handles: []
|
||||
result: {}
|
||||
schema:
|
||||
description: UniLabJsonCommand modbus_crc 的参数schema
|
||||
description: modbus_crc的参数schema
|
||||
properties:
|
||||
feedback: {}
|
||||
goal:
|
||||
description: UniLabJsonCommand modbus_crc 的参数schema
|
||||
properties:
|
||||
data:
|
||||
description: '参数: data'
|
||||
type: string
|
||||
required:
|
||||
- data
|
||||
@@ -96,7 +86,7 @@ chiller:
|
||||
result: {}
|
||||
required:
|
||||
- goal
|
||||
title: modbus_crc 命令参数
|
||||
title: modbus_crc参数
|
||||
type: object
|
||||
type: UniLabJsonCommand
|
||||
auto-set_temperature:
|
||||
@@ -107,14 +97,12 @@ chiller:
|
||||
handles: []
|
||||
result: {}
|
||||
schema:
|
||||
description: UniLabJsonCommand set_temperature 的参数schema
|
||||
description: set_temperature的参数schema
|
||||
properties:
|
||||
feedback: {}
|
||||
goal:
|
||||
description: UniLabJsonCommand set_temperature 的参数schema
|
||||
properties:
|
||||
command:
|
||||
description: '参数: command'
|
||||
type: string
|
||||
required:
|
||||
- command
|
||||
@@ -122,7 +110,7 @@ chiller:
|
||||
result: {}
|
||||
required:
|
||||
- goal
|
||||
title: set_temperature 命令参数
|
||||
title: set_temperature参数
|
||||
type: object
|
||||
type: UniLabJsonCommand
|
||||
auto-stop:
|
||||
@@ -132,18 +120,17 @@ chiller:
|
||||
handles: []
|
||||
result: {}
|
||||
schema:
|
||||
description: UniLabJsonCommand stop 的参数schema
|
||||
description: stop的参数schema
|
||||
properties:
|
||||
feedback: {}
|
||||
goal:
|
||||
description: UniLabJsonCommand stop 的参数schema
|
||||
properties: {}
|
||||
required: []
|
||||
type: object
|
||||
result: {}
|
||||
required:
|
||||
- goal
|
||||
title: stop 命令参数
|
||||
title: stop参数
|
||||
type: object
|
||||
type: UniLabJsonCommand
|
||||
set_temperature:
|
||||
@@ -200,27 +187,20 @@ chiller:
|
||||
handles: []
|
||||
icon: ''
|
||||
init_param_schema:
|
||||
description: UniLabJsonCommand __init__ 的参数schema
|
||||
properties:
|
||||
feedback: {}
|
||||
goal:
|
||||
description: UniLabJsonCommand __init__ 的参数schema
|
||||
properties:
|
||||
port:
|
||||
description: '参数: port'
|
||||
type: string
|
||||
rate:
|
||||
default: 9600
|
||||
description: '参数: rate'
|
||||
type: integer
|
||||
required:
|
||||
- port
|
||||
type: object
|
||||
result: {}
|
||||
required:
|
||||
- goal
|
||||
title: __init__ 命令参数
|
||||
type: object
|
||||
config:
|
||||
properties:
|
||||
port:
|
||||
type: string
|
||||
rate:
|
||||
default: 9600
|
||||
type: string
|
||||
required:
|
||||
- port
|
||||
type: object
|
||||
data:
|
||||
properties: {}
|
||||
required: []
|
||||
type: object
|
||||
heaterstirrer.dalong:
|
||||
class:
|
||||
action_value_mappings:
|
||||
@@ -231,18 +211,17 @@ heaterstirrer.dalong:
|
||||
handles: []
|
||||
result: {}
|
||||
schema:
|
||||
description: UniLabJsonCommand close 的参数schema
|
||||
description: close的参数schema
|
||||
properties:
|
||||
feedback: {}
|
||||
goal:
|
||||
description: UniLabJsonCommand close 的参数schema
|
||||
properties: {}
|
||||
required: []
|
||||
type: object
|
||||
result: {}
|
||||
required:
|
||||
- goal
|
||||
title: close 命令参数
|
||||
title: close参数
|
||||
type: object
|
||||
type: UniLabJsonCommand
|
||||
auto-heatchill:
|
||||
@@ -258,33 +237,26 @@ heaterstirrer.dalong:
|
||||
handles: []
|
||||
result: {}
|
||||
schema:
|
||||
description: UniLabJsonCommand heatchill 的参数schema
|
||||
description: heatchill的参数schema
|
||||
properties:
|
||||
feedback: {}
|
||||
goal:
|
||||
description: UniLabJsonCommand heatchill 的参数schema
|
||||
properties:
|
||||
purpose:
|
||||
default: reaction
|
||||
description: '参数: purpose'
|
||||
type: string
|
||||
stir:
|
||||
default: true
|
||||
description: '参数: stir'
|
||||
type: boolean
|
||||
stir_speed:
|
||||
default: 300
|
||||
description: '参数: stir_speed'
|
||||
type: number
|
||||
temp:
|
||||
description: '参数: temp'
|
||||
type: number
|
||||
time:
|
||||
default: 3600
|
||||
description: '参数: time'
|
||||
type: number
|
||||
vessel:
|
||||
description: '参数: vessel'
|
||||
type: string
|
||||
required:
|
||||
- vessel
|
||||
@@ -293,7 +265,7 @@ heaterstirrer.dalong:
|
||||
result: {}
|
||||
required:
|
||||
- goal
|
||||
title: heatchill 命令参数
|
||||
title: heatchill参数
|
||||
type: object
|
||||
type: UniLabJsonCommand
|
||||
auto-set_stir_speed:
|
||||
@@ -304,14 +276,12 @@ heaterstirrer.dalong:
|
||||
handles: []
|
||||
result: {}
|
||||
schema:
|
||||
description: UniLabJsonCommand set_stir_speed 的参数schema
|
||||
description: set_stir_speed的参数schema
|
||||
properties:
|
||||
feedback: {}
|
||||
goal:
|
||||
description: UniLabJsonCommand set_stir_speed 的参数schema
|
||||
properties:
|
||||
speed:
|
||||
description: '参数: speed'
|
||||
type: number
|
||||
required:
|
||||
- speed
|
||||
@@ -319,7 +289,7 @@ heaterstirrer.dalong:
|
||||
result: {}
|
||||
required:
|
||||
- goal
|
||||
title: set_stir_speed 命令参数
|
||||
title: set_stir_speed参数
|
||||
type: object
|
||||
type: UniLabJsonCommand
|
||||
auto-set_temp_inner:
|
||||
@@ -331,18 +301,15 @@ heaterstirrer.dalong:
|
||||
handles: []
|
||||
result: {}
|
||||
schema:
|
||||
description: UniLabJsonCommand set_temp_inner 的参数schema
|
||||
description: set_temp_inner的参数schema
|
||||
properties:
|
||||
feedback: {}
|
||||
goal:
|
||||
description: UniLabJsonCommand set_temp_inner 的参数schema
|
||||
properties:
|
||||
temp:
|
||||
description: '参数: temp'
|
||||
type: number
|
||||
type:
|
||||
default: warning
|
||||
description: '参数: type'
|
||||
type: string
|
||||
required:
|
||||
- temp
|
||||
@@ -350,7 +317,7 @@ heaterstirrer.dalong:
|
||||
result: {}
|
||||
required:
|
||||
- goal
|
||||
title: set_temp_inner 命令参数
|
||||
title: set_temp_inner参数
|
||||
type: object
|
||||
type: UniLabJsonCommand
|
||||
auto-set_temp_target:
|
||||
@@ -361,14 +328,12 @@ heaterstirrer.dalong:
|
||||
handles: []
|
||||
result: {}
|
||||
schema:
|
||||
description: UniLabJsonCommand set_temp_target 的参数schema
|
||||
description: set_temp_target的参数schema
|
||||
properties:
|
||||
feedback: {}
|
||||
goal:
|
||||
description: UniLabJsonCommand set_temp_target 的参数schema
|
||||
properties:
|
||||
temp:
|
||||
description: '参数: temp'
|
||||
type: string
|
||||
required:
|
||||
- temp
|
||||
@@ -376,7 +341,7 @@ heaterstirrer.dalong:
|
||||
result: {}
|
||||
required:
|
||||
- goal
|
||||
title: set_temp_target 命令参数
|
||||
title: set_temp_target参数
|
||||
type: object
|
||||
type: UniLabJsonCommand
|
||||
auto-set_temp_warning:
|
||||
@@ -387,14 +352,12 @@ heaterstirrer.dalong:
|
||||
handles: []
|
||||
result: {}
|
||||
schema:
|
||||
description: UniLabJsonCommand set_temp_warning 的参数schema
|
||||
description: set_temp_warning的参数schema
|
||||
properties:
|
||||
feedback: {}
|
||||
goal:
|
||||
description: UniLabJsonCommand set_temp_warning 的参数schema
|
||||
properties:
|
||||
temp:
|
||||
description: '参数: temp'
|
||||
type: string
|
||||
required:
|
||||
- temp
|
||||
@@ -402,7 +365,7 @@ heaterstirrer.dalong:
|
||||
result: {}
|
||||
required:
|
||||
- goal
|
||||
title: set_temp_warning 命令参数
|
||||
title: set_temp_warning参数
|
||||
type: object
|
||||
type: UniLabJsonCommand
|
||||
heatchill:
|
||||
@@ -582,31 +545,38 @@ heaterstirrer.dalong:
|
||||
handles: []
|
||||
icon: ''
|
||||
init_param_schema:
|
||||
description: UniLabJsonCommand __init__ 的参数schema
|
||||
properties:
|
||||
feedback: {}
|
||||
goal:
|
||||
description: UniLabJsonCommand __init__ 的参数schema
|
||||
properties:
|
||||
baudrate:
|
||||
default: 9600
|
||||
description: '参数: baudrate'
|
||||
type: integer
|
||||
port:
|
||||
default: COM6
|
||||
description: '参数: port'
|
||||
type: string
|
||||
temp_warning:
|
||||
default: 50.0
|
||||
description: '参数: temp_warning'
|
||||
type: number
|
||||
required: []
|
||||
type: object
|
||||
result: {}
|
||||
required:
|
||||
- goal
|
||||
title: __init__ 命令参数
|
||||
type: object
|
||||
config:
|
||||
properties:
|
||||
baudrate:
|
||||
default: 9600
|
||||
type: integer
|
||||
port:
|
||||
default: COM6
|
||||
type: string
|
||||
temp_warning:
|
||||
default: 50.0
|
||||
type: string
|
||||
required: []
|
||||
type: object
|
||||
data:
|
||||
properties:
|
||||
status:
|
||||
type: string
|
||||
stir_speed:
|
||||
type: number
|
||||
temp:
|
||||
type: number
|
||||
temp_target:
|
||||
type: number
|
||||
temp_warning:
|
||||
type: number
|
||||
required:
|
||||
- status
|
||||
- stir_speed
|
||||
- temp
|
||||
- temp_warning
|
||||
- temp_target
|
||||
type: object
|
||||
tempsensor:
|
||||
class:
|
||||
action_value_mappings:
|
||||
@@ -621,23 +591,18 @@ tempsensor:
|
||||
handles: []
|
||||
result: {}
|
||||
schema:
|
||||
description: UniLabJsonCommand build_modbus_request 的参数schema
|
||||
description: build_modbus_request的参数schema
|
||||
properties:
|
||||
feedback: {}
|
||||
goal:
|
||||
description: UniLabJsonCommand build_modbus_request 的参数schema
|
||||
properties:
|
||||
device_id:
|
||||
description: '参数: device_id'
|
||||
type: string
|
||||
function_code:
|
||||
description: '参数: function_code'
|
||||
type: string
|
||||
register_address:
|
||||
description: '参数: register_address'
|
||||
type: string
|
||||
register_count:
|
||||
description: '参数: register_count'
|
||||
type: string
|
||||
required:
|
||||
- device_id
|
||||
@@ -648,7 +613,7 @@ tempsensor:
|
||||
result: {}
|
||||
required:
|
||||
- goal
|
||||
title: build_modbus_request 命令参数
|
||||
title: build_modbus_request参数
|
||||
type: object
|
||||
type: UniLabJsonCommand
|
||||
auto-calculate_crc:
|
||||
@@ -659,14 +624,12 @@ tempsensor:
|
||||
handles: []
|
||||
result: {}
|
||||
schema:
|
||||
description: UniLabJsonCommand calculate_crc 的参数schema
|
||||
description: calculate_crc的参数schema
|
||||
properties:
|
||||
feedback: {}
|
||||
goal:
|
||||
description: UniLabJsonCommand calculate_crc 的参数schema
|
||||
properties:
|
||||
data:
|
||||
description: '参数: data'
|
||||
type: string
|
||||
required:
|
||||
- data
|
||||
@@ -674,7 +637,7 @@ tempsensor:
|
||||
result: {}
|
||||
required:
|
||||
- goal
|
||||
title: calculate_crc 命令参数
|
||||
title: calculate_crc参数
|
||||
type: object
|
||||
type: UniLabJsonCommand
|
||||
auto-read_modbus_response:
|
||||
@@ -685,14 +648,12 @@ tempsensor:
|
||||
handles: []
|
||||
result: {}
|
||||
schema:
|
||||
description: UniLabJsonCommand read_modbus_response 的参数schema
|
||||
description: read_modbus_response的参数schema
|
||||
properties:
|
||||
feedback: {}
|
||||
goal:
|
||||
description: UniLabJsonCommand read_modbus_response 的参数schema
|
||||
properties:
|
||||
response:
|
||||
description: '参数: response'
|
||||
type: string
|
||||
required:
|
||||
- response
|
||||
@@ -700,7 +661,7 @@ tempsensor:
|
||||
result: {}
|
||||
required:
|
||||
- goal
|
||||
title: read_modbus_response 命令参数
|
||||
title: read_modbus_response参数
|
||||
type: object
|
||||
type: UniLabJsonCommand
|
||||
auto-send_prototype_command:
|
||||
@@ -711,14 +672,12 @@ tempsensor:
|
||||
handles: []
|
||||
result: {}
|
||||
schema:
|
||||
description: UniLabJsonCommand send_prototype_command 的参数schema
|
||||
description: send_prototype_command的参数schema
|
||||
properties:
|
||||
feedback: {}
|
||||
goal:
|
||||
description: UniLabJsonCommand send_prototype_command 的参数schema
|
||||
properties:
|
||||
command:
|
||||
description: '参数: command'
|
||||
type: string
|
||||
required:
|
||||
- command
|
||||
@@ -726,7 +685,7 @@ tempsensor:
|
||||
result: {}
|
||||
required:
|
||||
- goal
|
||||
title: send_prototype_command 命令参数
|
||||
title: send_prototype_command参数
|
||||
type: object
|
||||
type: UniLabJsonCommand
|
||||
auto-set_warning:
|
||||
@@ -737,14 +696,12 @@ tempsensor:
|
||||
handles: []
|
||||
result: {}
|
||||
schema:
|
||||
description: UniLabJsonCommand set_warning 的参数schema
|
||||
description: set_warning的参数schema
|
||||
properties:
|
||||
feedback: {}
|
||||
goal:
|
||||
description: UniLabJsonCommand set_warning 的参数schema
|
||||
properties:
|
||||
command:
|
||||
description: '参数: command'
|
||||
type: string
|
||||
required:
|
||||
- command
|
||||
@@ -752,7 +709,7 @@ tempsensor:
|
||||
result: {}
|
||||
required:
|
||||
- goal
|
||||
title: set_warning 命令参数
|
||||
title: set_warning参数
|
||||
type: object
|
||||
type: UniLabJsonCommand
|
||||
set_warning:
|
||||
@@ -810,32 +767,26 @@ tempsensor:
|
||||
handles: []
|
||||
icon: ''
|
||||
init_param_schema:
|
||||
description: UniLabJsonCommand __init__ 的参数schema
|
||||
properties:
|
||||
feedback: {}
|
||||
goal:
|
||||
description: UniLabJsonCommand __init__ 的参数schema
|
||||
properties:
|
||||
address:
|
||||
description: '参数: address'
|
||||
type: string
|
||||
baudrate:
|
||||
default: 9600
|
||||
description: '参数: baudrate'
|
||||
type: integer
|
||||
port:
|
||||
description: '参数: port'
|
||||
type: string
|
||||
warning:
|
||||
description: '参数: warning'
|
||||
type: string
|
||||
required:
|
||||
- port
|
||||
- warning
|
||||
- address
|
||||
type: object
|
||||
result: {}
|
||||
required:
|
||||
- goal
|
||||
title: __init__ 命令参数
|
||||
type: object
|
||||
config:
|
||||
properties:
|
||||
address:
|
||||
type: string
|
||||
baudrate:
|
||||
default: 9600
|
||||
type: string
|
||||
port:
|
||||
type: string
|
||||
warning:
|
||||
type: string
|
||||
required:
|
||||
- port
|
||||
- warning
|
||||
- address
|
||||
type: object
|
||||
data:
|
||||
properties:
|
||||
value:
|
||||
type: number
|
||||
required:
|
||||
- value
|
||||
type: object
|
||||
|
||||
Reference in New Issue
Block a user