✨ feat(tsl-api-reference): index class and unit APIs
Migrate reference pages to declaration-line storage and rebuild the 13-column index. Add qualified member lookup plus regression and end-to-end coverage.
This commit is contained in:
@@ -2,30 +2,40 @@
|
||||
|
||||
## `checkConnected()`
|
||||
|
||||
声明:function
|
||||
|
||||
检查是否和服务器已连接。
|
||||
|
||||
返回:bool
|
||||
|
||||
## `checkLogined()`
|
||||
|
||||
声明:function
|
||||
|
||||
检查是否已经登录上服务器。
|
||||
|
||||
返回:bool
|
||||
|
||||
## `disconnectServer()`
|
||||
|
||||
声明:function
|
||||
|
||||
断开服务器。
|
||||
|
||||
返回:any
|
||||
|
||||
## `loginedUser()`
|
||||
|
||||
声明:function
|
||||
|
||||
得到登录的用户名。
|
||||
|
||||
返回:string
|
||||
|
||||
## `sendExecuteAndWait(remote_exec, sys_param, exec_result, env_or_err, online)`
|
||||
|
||||
声明:function
|
||||
|
||||
递交请求给服务器执行,如果成功则返回0,否则返回错误代码。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -40,6 +50,8 @@
|
||||
|
||||
## `sendExecute(remote_exec, sys_param, call_back, online)`
|
||||
|
||||
声明:function
|
||||
|
||||
递交请求给服务器异步执行,如果成功则返回和服务器通讯的句柄。0为错误。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -53,6 +65,8 @@
|
||||
|
||||
## `setComputeService(service)`
|
||||
|
||||
声明:function
|
||||
|
||||
设置使用的计算的服务群。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -63,6 +77,8 @@
|
||||
|
||||
## `setComputebitsOption(v)`
|
||||
|
||||
声明:function
|
||||
|
||||
设置使用的计算的位选项。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -73,6 +89,8 @@
|
||||
|
||||
## `defaultConnectAndLogin(alias, err_msg)`
|
||||
|
||||
声明:function
|
||||
|
||||
连接并登录服务器,如果成功则返回0,否则返回出错代码。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -84,6 +102,8 @@
|
||||
|
||||
## `endExecute(exec_handle)`
|
||||
|
||||
声明:function
|
||||
|
||||
终止异步执行或者订阅。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -94,6 +114,8 @@
|
||||
|
||||
## `connectServer(address, port, proxy_info)`
|
||||
|
||||
声明:function
|
||||
|
||||
连接服务器。成功返回0,否则返回错误代码。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -131,6 +153,8 @@ echo "登陆失败,报错:(",c_ts,",",msg,")\r\n";
|
||||
|
||||
## `loginServer(user_name, password, err_msg)`
|
||||
|
||||
声明:function
|
||||
|
||||
登录服务器。成功返回0,否则返回错误代码。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -143,6 +167,8 @@ echo "登陆失败,报错:(",c_ts,",",msg,")\r\n";
|
||||
|
||||
## `remoteAddress()`
|
||||
|
||||
声明:function
|
||||
|
||||
第三方交互中得到远程登录的地址
|
||||
|
||||
返回:String
|
||||
@@ -166,12 +192,16 @@ ts.Disconnect() #断开连接
|
||||
|
||||
## `remotePort()`
|
||||
|
||||
声明:function
|
||||
|
||||
得到远程端口。
|
||||
|
||||
返回:Integer
|
||||
|
||||
## `tsTaskAdmin(command, cmd_return, broad_cast_msg, err_msg, wait_ms, data_recved_wait_ms)`
|
||||
|
||||
声明:function
|
||||
|
||||
向天软平台发送管理命令。本地函数调用时需要加上RDO2
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -195,12 +225,16 @@ return cmd_return;
|
||||
|
||||
## `getComputebitsOption()`
|
||||
|
||||
声明:function
|
||||
|
||||
获得使用的计算的位选项。
|
||||
|
||||
返回:Byte
|
||||
|
||||
## `getComputeService()`
|
||||
|
||||
声明:function
|
||||
|
||||
获得计算的服务群选择。
|
||||
|
||||
返回:String
|
||||
|
||||
Reference in New Issue
Block a user