@@ -5,12 +5,12 @@ import { ServiceBase } from './ServiceBase';
55
66/**
77 * @class L.supermap.geoprocessingService
8- * @classdesc 地理处理服务接口类 。
8+ * @classdesc 处理自动化服务接口类 。
99 * @version 10.1.0
10- * @category iServer GeoprocessingService
10+ * @category iServer ProcessingAutomationService
1111 * @extends L.supermap.ServiceBase
1212 * @example
13- * //为了安全访问受保护的地理处理服务 ,必须通过传递iserver令牌(token),才能正确访问相关资源。
13+ * //为了安全访问受保护的处理自动化服务 ,必须通过传递iserver令牌(token),才能正确访问相关资源。
1414 * SuperMap.SecurityManager.registerToken(serviceUrl, token);
1515 * var geoprocessingService = new L.supermap.geoprocessingService("http://localhost:8090/iserver/services/geoprocessing/restjsr/gp/v2")
1616 geoprocessingService.submitJob(identifier,params, environments, function(serverResult) {
@@ -43,7 +43,7 @@ export const GeoprocessingService = ServiceBase.extend({
4343
4444 /**
4545 * @function L.supermap.geoprocessingService.prototype.getTools
46- * @description 获取地理处理工具列表 。
46+ * @description 获取处理自动化工具列表 。
4747 * @param {RequestCallback } callback 请求结果的回调函数。
4848 */
4949 getTools : function ( callback ) {
@@ -64,7 +64,7 @@ export const GeoprocessingService = ServiceBase.extend({
6464 /**
6565 * @function L.supermap.geoprocessingService.prototype.getTool
6666 * @description 获取工具的ID、名称、描述、输入参数、环境参数和输出结果等相关参数。
67- * @param {string } identifier - 地理处理工具ID 。
67+ * @param {string } identifier - 处理自动化工具ID 。
6868 * @param {RequestCallback } callback 请求结果的回调函数。
6969 */
7070 getTool : function ( identifier , callback ) {
@@ -84,10 +84,10 @@ export const GeoprocessingService = ServiceBase.extend({
8484
8585 /**
8686 * @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 - 处理自动化工具的环境参数 。
9191 * @param {RequestCallback } callback 回调函数。
9292 */
9393 execute : function ( identifier , parameter , environment , callback ) {
@@ -107,10 +107,10 @@ export const GeoprocessingService = ServiceBase.extend({
107107
108108 /**
109109 * @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 - 处理自动化工具的环境参数 。
114114 * @param {RequestCallback } callback 回调函数。
115115 */
116116 submitJob : function ( identifier , parameter , environment , callback ) {
@@ -130,9 +130,9 @@ export const GeoprocessingService = ServiceBase.extend({
130130
131131 /**
132132 * @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 。
136136 * @param {Object } options - 状态信息参数。
137137 * @param {number } options.interval - 定时器时间间隔。
138138 * @param {RequestCallback } options.statusCallback - 任务状态的回调函数。
@@ -155,9 +155,9 @@ export const GeoprocessingService = ServiceBase.extend({
155155
156156 /**
157157 * @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 。
161161 * @param {RequestCallback } callback 回调函数。
162162 */
163163 getJobInfo : function ( identifier , jobId , callback ) {
@@ -177,9 +177,9 @@ export const GeoprocessingService = ServiceBase.extend({
177177
178178 /**
179179 * @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 。
183183 * @param {RequestCallback } callback 回调函数。
184184 */
185185 cancelJob : function ( identifier , jobId , callback ) {
@@ -199,8 +199,8 @@ export const GeoprocessingService = ServiceBase.extend({
199199
200200 /**
201201 * @function L.supermap.geoprocessingService.prototype.getJobs
202- * @description 获取地理处理服务任务列表 。
203- * @param {string } identifier - 地理处理工具ID 。(传参代表identifier算子的任务列表,不传参代表所有任务的列表)
202+ * @description 获取处理自动化服务任务列表 。
203+ * @param {string } identifier - 处理自动化工具ID 。(传参代表identifier算子的任务列表,不传参代表所有任务的列表)
204204 * @param {RequestCallback } callback 回调函数。
205205 */
206206 getJobs : function ( identifier , callback ) {
@@ -220,10 +220,10 @@ export const GeoprocessingService = ServiceBase.extend({
220220
221221 /**
222222 * @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参数时对该处理自动化工具执行的结果进行过滤获取 ,不填参时显示所有的执行结果)
227227 * @param {RequestCallback } callback 请求结果的回调函数。
228228 */
229229 getResults : function ( identifier , jobId , filter , callback ) {
0 commit comments