-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
57 changed files
with
461 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docx/actions/system/OpenUri.md → docx/actions/system/OpenUrl.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# 布尔 | ||
定义一个 *布尔* 类型。 | ||
|
||
|
||
![TypeBoolean](./images/01.png ':size=90%') | ||
|
||
## 子流程 | ||
> 不支持 | ||
|
||
## 运行参数 | ||
|
||
* 值 | ||
> 布尔值。 | ||
## 输出 | ||
|
||
> 参考类型:[Boolean](./types/Boolean.md)。 | ||
|
||
## 脚本调用 | ||
|
||
```python | ||
|
||
b = True | ||
|
||
``` | ||
|
||
## 示例 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,36 @@ | ||
# 相机 | ||
定义相机类型,当前系统必须连接相机设备。工业 *GIGE* 接口的相机需要手动安装相应的驱动。 | ||
|
||
![TypeCamera](./images/15.png ':size=90%') | ||
|
||
## 权限 | ||
> 无要求 | ||
## 子流程 | ||
> 不支持 | ||
## 预览 | ||
> 可预览,默认 *6s* 之后停止。 | ||
## 运行参数 | ||
|
||
* [相机索引](./types/Number.md) | ||
> 默认值:0 | ||
* 相机 | ||
> 相机索引,默认值:`0`。 | ||
|
||
## 输出 | ||
|
||
> 相机对象 | ||
> 相机对象,参考:[VideoCapture](./types/VideoCapture.md)。 | ||
|
||
## 脚本调用 | ||
|
||
```python | ||
import simple; | ||
|
||
|
||
cap = VideoCapture(0) | ||
|
||
``` | ||
|
||
## 示例 | ||
## 示例 | ||
|
||
|
||
!> 预览该动作执行, *6s* 之后停止。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,29 @@ | ||
# 颜色 | ||
定义 *颜色* 类型 | ||
定义 *颜色* 类型的值。 | ||
|
||
![TypeColor](./images/13.png ':size=90%') | ||
|
||
## 子流程 | ||
> 不支持 | ||
|
||
## 运行参数 | ||
|
||
* Color:颜色 | ||
* 颜色 | ||
|
||
|
||
## 输出 | ||
|
||
> [Color](./types/Color.md) | ||
> 颜色,参考: [Color](./types/Color.md)。 | ||
|
||
## 脚本调用 | ||
|
||
```python | ||
import simple; | ||
|
||
c = simple.Color(255,255,255) | ||
|
||
``` | ||
|
||
## 示例 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,30 @@ | ||
# 文件夹 | ||
定义 *文件夹* 类型 | ||
定义 *文件夹* 类型。 | ||
|
||
![TypeFile](./images/07.png ':size=90%') | ||
|
||
## 子流程 | ||
> 不支持 | ||
|
||
## 运行参数 | ||
|
||
* Folder:文件夹 | ||
* 值 | ||
> 文件夹。 | ||
|
||
## 输出 | ||
|
||
|
||
> 文件夹,参考:[Path](./types/Path.md)。 | ||
|
||
## 脚本调用 | ||
|
||
```python | ||
import simple; | ||
|
||
p = simple.Path('c:/windows') | ||
|
||
``` | ||
|
||
## 示例 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# 主机地址 | ||
定义一个 *主机地址* 类型。主机地址通常包含*IP*地址和端口。 | ||
|
||
![TypeString](./images/18.png ':size=90%') | ||
|
||
## 子流程 | ||
> 不支持 | ||
|
||
## 运行参数 | ||
|
||
* 主机 | ||
> *ip* 地址。默认:`localhost`,本地回环地址,和 `127.0.0.1`对应。 | ||
* 端口 | ||
> 端口号,端口号的范围从`0`到`65535`。 | ||
## 输出 | ||
|
||
> 主机地址,参考: [HostAddress](./types/HostAddress.md)。 | ||
|
||
## 脚本调用 | ||
|
||
```python | ||
|
||
str = 'hello, winui++' | ||
|
||
``` | ||
|
||
## 示例 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# 列表 | ||
定义一个 *列表* 类型的值。 | ||
|
||
![TypeList](./images/20.png ':size=90%') | ||
|
||
## 子流程 | ||
> 不支持 | ||
|
||
## 运行参数 | ||
|
||
* 值 | ||
> *Python* 列表。 | ||
|
||
## 输出 | ||
|
||
> 列表,参考: [List](./types/List.md)。 | ||
|
||
## 脚本调用 | ||
|
||
```python | ||
|
||
fruits = ['orange', 'apple', 'pear', 'banana', 'kiwi', 'apple', 'banana'] | ||
|
||
``` | ||
|
||
## 示例 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.