@@ -5,12 +5,12 @@ import { ServiceBase } from './ServiceBase';
5
5
6
6
/**
7
7
* @class L.supermap.geoprocessingService
8
- * @classdesc 地理处理服务接口类 。
8
+ * @classdesc 处理自动化服务接口类 。
9
9
* @version 10.1.0
10
- * @category iServer GeoprocessingService
10
+ * @category iServer ProcessingAutomationService
11
11
* @extends L.supermap.ServiceBase
12
12
* @example
13
- * //为了安全访问受保护的地理处理服务 ,必须通过传递iserver令牌(token),才能正确访问相关资源。
13
+ * //为了安全访问受保护的处理自动化服务 ,必须通过传递iserver令牌(token),才能正确访问相关资源。
14
14
* SuperMap.SecurityManager.registerToken(serviceUrl, token);
15
15
* var geoprocessingService = new L.supermap.geoprocessingService("http://localhost:8090/iserver/services/geoprocessing/restjsr/gp/v2")
16
16
geoprocessingService.submitJob(identifier,params, environments, function(serverResult) {
@@ -43,7 +43,7 @@ export const GeoprocessingService = ServiceBase.extend({
43
43
44
44
/**
45
45
* @function L.supermap.geoprocessingService.prototype.getTools
46
- * @description 获取地理处理工具列表 。
46
+ * @description 获取处理自动化工具列表 。
47
47
* @param {RequestCallback } callback 请求结果的回调函数。
48
48
*/
49
49
getTools : function ( callback ) {
@@ -64,7 +64,7 @@ export const GeoprocessingService = ServiceBase.extend({
64
64
/**
65
65
* @function L.supermap.geoprocessingService.prototype.getTool
66
66
* @description 获取工具的ID、名称、描述、输入参数、环境参数和输出结果等相关参数。
67
- * @param {string } identifier - 地理处理工具ID 。
67
+ * @param {string } identifier - 处理自动化工具ID 。
68
68
* @param {RequestCallback } callback 请求结果的回调函数。
69
69
*/
70
70
getTool : function ( identifier , callback ) {
@@ -84,10 +84,10 @@ export const GeoprocessingService = ServiceBase.extend({
84
84
85
85
/**
86
86
* @function L.supermap.geoprocessingService.prototype.execute
87
- * @description 同步执行地理处理工具 。
88
- * @param {string } identifier - 地理处理工具ID 。
89
- * @param {Object } parameter - 地理处理工具的输入参数 。
90
- * @param {Object } environment - 地理处理工具的环境参数 。
87
+ * @description 同步执行处理自动化工具 。
88
+ * @param {string } identifier - 处理自动化工具ID 。
89
+ * @param {Object } parameter - 处理自动化工具的输入参数 。
90
+ * @param {Object } environment - 处理自动化工具的环境参数 。
91
91
* @param {RequestCallback } callback 回调函数。
92
92
*/
93
93
execute : function ( identifier , parameter , environment , callback ) {
@@ -107,10 +107,10 @@ export const GeoprocessingService = ServiceBase.extend({
107
107
108
108
/**
109
109
* @function L.supermap.geoprocessingService.prototype.submitJob
110
- * @description 异步执行地理处理工具 。
111
- * @param {string } identifier - 地理处理工具ID 。
112
- * @param {Object } parameter - 地理处理工具的输入参数 。
113
- * @param {Object } environment - 地理处理工具的环境参数 。
110
+ * @description 异步执行处理自动化工具 。
111
+ * @param {string } identifier - 处理自动化工具ID 。
112
+ * @param {Object } parameter - 处理自动化工具的输入参数 。
113
+ * @param {Object } environment - 处理自动化工具的环境参数 。
114
114
* @param {RequestCallback } callback 回调函数。
115
115
*/
116
116
submitJob : function ( identifier , parameter , environment , callback ) {
@@ -130,9 +130,9 @@ export const GeoprocessingService = ServiceBase.extend({
130
130
131
131
/**
132
132
* @function L.supermap.geoprocessingService.prototype.waitForJobCompletion
133
- * @description 获取地理处理异步执行状态信息 。
134
- * @param {string } jobId - 地理处理任务ID 。
135
- * @param {string } identifier - 地理处理工具ID 。
133
+ * @description 获取处理自动化异步执行状态信息 。
134
+ * @param {string } jobId - 处理自动化任务ID 。
135
+ * @param {string } identifier - 处理自动化工具ID 。
136
136
* @param {Object } options - 状态信息参数。
137
137
* @param {number } options.interval - 定时器时间间隔。
138
138
* @param {RequestCallback } options.statusCallback - 任务状态的回调函数。
@@ -155,9 +155,9 @@ export const GeoprocessingService = ServiceBase.extend({
155
155
156
156
/**
157
157
* @function L.supermap.geoprocessingService.prototype.getJobInfo
158
- * @description 获取地理处理任务的执行信息 。
159
- * @param {string } identifier - 地理处理工具ID 。
160
- * @param {string } jobId - 地理处理任务ID 。
158
+ * @description 获取处理自动化任务的执行信息 。
159
+ * @param {string } identifier - 处理自动化工具ID 。
160
+ * @param {string } jobId - 处理自动化任务ID 。
161
161
* @param {RequestCallback } callback 回调函数。
162
162
*/
163
163
getJobInfo : function ( identifier , jobId , callback ) {
@@ -177,9 +177,9 @@ export const GeoprocessingService = ServiceBase.extend({
177
177
178
178
/**
179
179
* @function L.supermap.geoprocessingService.prototype.cancelJob
180
- * @description 取消地理处理任务的异步执行 。
181
- * @param {string } identifier - 地理处理工具ID 。
182
- * @param {string } jobId - 地理处理任务ID 。
180
+ * @description 取消处理自动化任务的异步执行 。
181
+ * @param {string } identifier - 处理自动化工具ID 。
182
+ * @param {string } jobId - 处理自动化任务ID 。
183
183
* @param {RequestCallback } callback 回调函数。
184
184
*/
185
185
cancelJob : function ( identifier , jobId , callback ) {
@@ -199,8 +199,8 @@ export const GeoprocessingService = ServiceBase.extend({
199
199
200
200
/**
201
201
* @function L.supermap.geoprocessingService.prototype.getJobs
202
- * @description 获取地理处理服务任务列表 。
203
- * @param {string } identifier - 地理处理工具ID 。(传参代表identifier算子的任务列表,不传参代表所有任务的列表)
202
+ * @description 获取处理自动化服务任务列表 。
203
+ * @param {string } identifier - 处理自动化工具ID 。(传参代表identifier算子的任务列表,不传参代表所有任务的列表)
204
204
* @param {RequestCallback } callback 回调函数。
205
205
*/
206
206
getJobs : function ( identifier , callback ) {
@@ -220,10 +220,10 @@ export const GeoprocessingService = ServiceBase.extend({
220
220
221
221
/**
222
222
* @function L.supermap.geoprocessingService.prototype.getResults
223
- * @description 地理处理工具异步执行的结果 ,支持结果过滤。
224
- * @param {string } identifier - 地理处理工具ID 。
225
- * @param {string } jobId - 地理处理任务ID 。
226
- * @param {string } filter - 输出异步结果的id。(可选,传入filter参数时对该地理处理工具执行的结果进行过滤获取 ,不填参时显示所有的执行结果)
223
+ * @description 处理自动化工具异步执行的结果 ,支持结果过滤。
224
+ * @param {string } identifier - 处理自动化工具ID 。
225
+ * @param {string } jobId - 处理自动化任务ID 。
226
+ * @param {string } filter - 输出异步结果的id。(可选,传入filter参数时对该处理自动化工具执行的结果进行过滤获取 ,不填参时显示所有的执行结果)
227
227
* @param {RequestCallback } callback 请求结果的回调函数。
228
228
*/
229
229
getResults : function ( identifier , jobId , filter , callback ) {
0 commit comments