Class: FeatureSync

FeatureSync()

new FeatureSync()

要素同步编辑
Source:

Methods

(async, static) bindOfData(cls, strIGServerBaseURL, strDataURL) → {Promise.<int>}

捆绑
Parameters:
Name Type Description
cls IVectorCls 矢量类对象
strIGServerBaseURL String 地图服务基地址
strDataURL String 数据地址
Source:
Returns:
成功:>0;失败:<=0
Type
Promise.<int>

(async, static) bindOfDoc(cls, strIGServerBaseURL, strDocName, mapID, layerID) → {Promise.<int>}

捆绑
Parameters:
Name Type Description
cls IVectorCls 矢量类对象
strIGServerBaseURL String 地图服务基地址
strDocName String 地图文档名
mapID int 地图ID
layerID int 图层 ID
Source:
Returns:
成功:>0;失败:<=0
Type
Promise.<int>

(async, static) commitASync(cls) → {Promise.<int>}

提交异步执行
Parameters:
Name Type Description
cls IVectorCls 矢量类对象
Source:
Returns:
提交同步编号
Type
Promise.<int>

(async, static) downloadAllASyncByData(strIGServerBaseURL, strDataURL, database, clsType, clsName) → {Promise.<int>}

全图下载异步执行
Parameters:
Name Type Description
strIGServerBaseURL String 地图服务基地址
strDataURL String 数据地址
database DataBase 数据库对象
clsType XClsType 要素类类型
clsName String 类名
Source:
Returns:
下载同步编号
Type
Promise.<int>

(async, static) downloadAllASyncByDoc(strIGServerBaseURL, strDocName, mapID, layerID, database, clsType, clsName) → {Promise.<int>}

全图下载异步执行
Parameters:
Name Type Description
strIGServerBaseURL String 地图服务基地址
strDocName String 地图文档名
mapID int 地图ID
layerID int 图层 ID
database DataBase 数据库对象
clsType XClsType 要素类类型
clsName String 类名
Source:
Returns:
下载同步编号
Type
Promise.<int>

(async, static) downloadASyncByData(strIGServerBaseURL, strDataURL, extent, whereClause, database, clsType, clsName) → {Promise.<int>}

指定范围下载异步执行
Parameters:
Name Type Description
strIGServerBaseURL String 地图服务基地址
strDataURL String 数据地址
extent Rect 范围
whereClause String 属性条件
database DataBase 数据库对象
clsType XClsType 要素类类型
clsName String 类名
Source:
Returns:
下载同步编号
Type
Promise.<int>

(async, static) downloadASyncByDoc(strIGServerBaseURL, strDocName, mapID, layerID, extent, whereClause, database, clsType, clsName) → {Promise.<int>}

指定范围下载异步执行
Parameters:
Name Type Description
strIGServerBaseURL String 地图服务基地址
strDocName String 地图文档名
mapID int 地图ID
layerID int 图层 ID
extent Rect 范围
whereClause String 属性条件
database DataBase 数据库对象
clsType XClsType 要素类类型
clsName String 类名
Source:
Returns:
下载同步编号
Type
Promise.<int>

(async, static) stopASync(lSyncCode) → {Promise.<int>}

停止同步
Parameters:
Name Type Description
lSyncCode int 同步编号
Source:
Returns:
>0 成功; <=0 失败
Type
Promise.<int>

(async, static) updateASync(cls) → {Promise.<int>}

更新异步执行
Parameters:
Name Type Description
cls IVectorCls 矢量类对象
Source:
Returns:
更新同步编号
Type
Promise.<int>