Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

执行设备物模型中功能时,输入参数校验问题 #298

Open
tony358 opened this issue May 26, 2023 · 3 comments
Open

执行设备物模型中功能时,输入参数校验问题 #298

tony358 opened this issue May 26, 2023 · 3 comments

Comments

@tony358
Copy link

tony358 commented May 26, 2023

在设备物模型的功能定义中,添加功能时,配置了多个输入参数,因业务需要其中部分参数为非必填项。配置完成后,在设备功能界面中执行该功能时,所有参数都默认校验为必填项了。这样非必填参数,必须指定一个值才能下发。

输入参数是否支持指定参数的必填选项,这样执行时,再根据这个进行参数校验。
image

@bestfeng1020
Copy link
Contributor

我们在接下来的版本会优化这个功能

@tony358
Copy link
Author

tony358 commented Jun 1, 2023

我们在接下来的版本会优化这个功能

对于整型输入参数,还可以增加 限定取值范围配置,如最小值-最大值。

@bestfeng1020
Copy link
Contributor

这个需要结合其他业务一起使用才有意义,暂时不考虑

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants