Search
Preparing search index...
The search index is not available
@motor/core
Options
All
Public
Public/Protected
All
Inherited
Menu
@motor/core
default
MotorCore
NetMgr
Class NetMgr
Hierarchy
MotorObj
NetMgr
Index
Constructors
constructor
Properties
access
Token
app
Id
base
Url
proj
Mgr
req
Err
Event
res
Download
Url
res
Download
Url
Ary
Methods
create
Resource
create
Tag
custom
Bind
Key
ById
custom
Data
Delete
custom
Data
Update
custom
IdBy
Bind
Key
destroy
get
Base
Url
get
Path
Read
Base
Url
get
Path
Read
Url
get
Resource
Static
Url
get
TerminateUEResource
Url
getUEResource
is
Destroyed
is
Login
is
Login
Url
login
login
Token
login
Url
proj
Bim
IdDir
ByIndex
proj
Bim
Ids
ByDirs
proj
Bim
Ids
Dir
Map
proj
Bounding
Box
ByBim
Id
proj
Bounding
Box
ByDirs
proj
Comp
Indexes
ByBim
Properties
Like
proj
Comp
Indexes
ByBimid
proj
Comp
Indexes
ByDirs
proj
Comp
Indexes
ByDirs
Exact
proj
Compare
proj
Comps
ByBim
Ids
proj
Comps
ByBim
Ids
Ebs
Tree
proj
Comps
ByIndexes
proj
Comps
Dir
ByBimid
proj
Comps
Dir
ByDir
proj
Dirs
ByBim
Properties
proj
Mod
Page
proj
Mod
Upate
proj
Page
proj
Page
Filter
proj
Proj
Id
proj
Query
Extension
proj
Request
Generate
CompsJSON
proj
Upate
proj
Update
Extension
Batch
res
Down
Load
Url
tag
Detail
tag
Page
Custom
tag
Page
Filter
template
Page
template
Page
Custom
template
Page
Filter
template
Template
Id
terminateUEResource
Url
update
Tag
verify
View
Constructors
constructor
new
Net
Mgr
(
projMgr
:
ProjMgr
)
:
NetMgr
Parameters
projMgr:
ProjMgr
Returns
NetMgr
Properties
access
Token
access
Token
:
string
app
Id
app
Id
:
string
base
Url
base
Url
:
string
proj
Mgr
proj
Mgr
:
ProjMgr
req
Err
Event
req
Err
Event
:
Event
res
Download
Url
res
Download
Url
:
string
res
Download
Url
Ary
res
Download
Url
Ary
:
string
[]
Methods
create
Resource
create
Resource
(
path
:
string
, isAbsUrl
:
boolean
)
:
Resource
Parameters
path:
string
isAbsUrl:
boolean
Returns
Resource
create
Tag
create
Tag
(
tagOption
:
TagOption
)
:
Promise
<
string
>
Parameters
tagOption:
TagOption
Returns
Promise
<
string
>
custom
Bind
Key
ById
custom
Bind
Key
ById
(
customIdAry
:
string
[]
, isLikeQuery
?:
boolean
)
:
Promise
<
BindKey
[]
>
Parameters
customIdAry:
string
[]
Optional
isLikeQuery:
boolean
Returns
Promise
<
BindKey
[]
>
custom
Data
Delete
custom
Data
Delete
(
bindKeyAry
:
BindKey
[]
)
:
Promise
<
unknown
>
Parameters
bindKeyAry:
BindKey
[]
Returns
Promise
<
unknown
>
custom
Data
Update
custom
Data
Update
(
customDataAry
:
CustomData
[]
)
:
Promise
<
unknown
>
Parameters
customDataAry:
CustomData
[]
Returns
Promise
<
unknown
>
custom
IdBy
Bind
Key
custom
IdBy
Bind
Key
(
bindKeyAry
:
BindKey
[]
)
:
Promise
<
string
[]
>
Parameters
bindKeyAry:
BindKey
[]
Returns
Promise
<
string
[]
>
destroy
destroy
(
)
:
undefined
Returns
undefined
get
Base
Url
get
Base
Url
(
)
:
string
Returns
string
get
Path
Read
Base
Url
get
Path
Read
Base
Url
(
)
:
string
Returns
string
get
Path
Read
Url
get
Path
Read
Url
(
path
:
string
)
:
string
Parameters
path:
string
Returns
string
get
Resource
Static
Url
get
Resource
Static
Url
(
resourceName
:
string
)
:
string
Parameters
resourceName:
string
Returns
string
get
TerminateUEResource
Url
get
TerminateUEResource
Url
(
UEResourceId
:
string
)
:
string
Parameters
UEResourceId:
string
Returns
string
getUEResource
getUEResource
(
opts
:
{
appId
?:
string
;
projId
:
string
;
resolution
:
string
;
serviceIp
?:
null
|
string
}
)
:
Promise
<
UEResourceResponse
>
Parameters
opts:
{
appId
?:
string
;
projId
:
string
;
resolution
:
string
;
serviceIp
?:
null
|
string
}
Optional
app
Id
?:
string
proj
Id
:
string
resolution
:
string
Optional
service
Ip
?:
null
|
string
Returns
Promise
<
UEResourceResponse
>
is
Destroyed
is
Destroyed
(
)
:
boolean
Returns
boolean
is
Login
is
Login
(
)
:
boolean
Returns
boolean
is
Login
Url
is
Login
Url
(
)
:
boolean
Returns
boolean
login
login
(
baseUrl
:
string
, appIdIn
:
string
, secret
:
string
)
:
Promise
<
unknown
>
Parameters
baseUrl:
string
appIdIn:
string
secret:
string
Returns
Promise
<
unknown
>
login
Token
login
Token
(
baseUrl
:
string
, token
:
string
)
:
Promise
<
void
>
Parameters
baseUrl:
string
token:
string
Returns
Promise
<
void
>
login
Url
login
Url
(
baseUrl
:
string
)
:
Promise
<
void
>
Parameters
baseUrl:
string
Returns
Promise
<
void
>
proj
Bim
IdDir
ByIndex
proj
Bim
IdDir
ByIndex
(
projId
:
string
, idAry
:
number
[]
)
:
Promise
<
BimIdDirIndexSchema
[]
>
Parameters
projId:
string
idAry:
number
[]
Returns
Promise
<
BimIdDirIndexSchema
[]
>
proj
Bim
Ids
ByDirs
proj
Bim
Ids
ByDirs
(
projId
:
string
, dirAry
:
string
[]
)
:
Promise
<
string
[]
>
Parameters
projId:
string
dirAry:
string
[]
Returns
Promise
<
string
[]
>
proj
Bim
Ids
Dir
Map
proj
Bim
Ids
Dir
Map
(
projId
:
string
, dirAry
:
string
[]
)
:
Promise
<
{}
>
Parameters
projId:
string
dirAry:
string
[]
Returns
Promise
<
{}
>
proj
Bounding
Box
ByBim
Id
proj
Bounding
Box
ByBim
Id
(
projId
:
string
, bimIdAry
:
string
[]
)
:
Promise
<
BoxNumberAry
[]
>
Parameters
projId:
string
bimIdAry:
string
[]
Returns
Promise
<
BoxNumberAry
[]
>
proj
Bounding
Box
ByDirs
proj
Bounding
Box
ByDirs
(
projId
:
string
, dirAry
:
string
[]
)
:
Promise
<
BoxNumberAry
[]
>
Parameters
projId:
string
dirAry:
string
[]
Returns
Promise
<
BoxNumberAry
[]
>
proj
Comp
Indexes
ByBim
Properties
Like
proj
Comp
Indexes
ByBim
Properties
Like
(
projId
:
string
, name
:
string
)
:
Promise
<
number
[]
>
Parameters
projId:
string
name:
string
Returns
Promise
<
number
[]
>
proj
Comp
Indexes
ByBimid
proj
Comp
Indexes
ByBimid
(
projId
:
string
, bimIdAry
:
string
[]
)
:
Promise
<
number
[]
>
Parameters
projId:
string
bimIdAry:
string
[]
Returns
Promise
<
number
[]
>
proj
Comp
Indexes
ByDirs
proj
Comp
Indexes
ByDirs
(
projId
:
string
, dirAry
:
string
[]
)
:
Promise
<
number
[]
>
Parameters
projId:
string
dirAry:
string
[]
Returns
Promise
<
number
[]
>
proj
Comp
Indexes
ByDirs
Exact
proj
Comp
Indexes
ByDirs
Exact
(
projId
:
string
, dirAry
:
string
[]
)
:
Promise
<
number
[]
>
Parameters
projId:
string
dirAry:
string
[]
Returns
Promise
<
number
[]
>
proj
Compare
proj
Compare
(
projIdA
:
string
, projIdB
:
string
)
:
Promise
<
CompareModProjResult
>
Parameters
projIdA:
string
projIdB:
string
Returns
Promise
<
CompareModProjResult
>
proj
Comps
ByBim
Ids
proj
Comps
ByBim
Ids
(
projId
:
string
, bimIdAry
:
string
[]
)
:
Promise
<
CompOptions
[]
>
Parameters
projId:
string
bimIdAry:
string
[]
Returns
Promise
<
CompOptions
[]
>
proj
Comps
ByBim
Ids
Ebs
Tree
proj
Comps
ByBim
Ids
Ebs
Tree
(
projId
:
string
, bimIdAry
:
string
[]
)
:
Promise
<
CompOptions
[]
>
Parameters
projId:
string
bimIdAry:
string
[]
Returns
Promise
<
CompOptions
[]
>
proj
Comps
ByIndexes
proj
Comps
ByIndexes
(
projId
:
string
, compIndexAry
:
number
[]
)
:
Promise
<
CompOptions
[]
>
Parameters
projId:
string
compIndexAry:
number
[]
Returns
Promise
<
CompOptions
[]
>
proj
Comps
Dir
ByBimid
proj
Comps
Dir
ByBimid
(
projId
:
string
, bimIdAry
:
string
[]
)
:
Promise
<
CompsDirBimIdSchema
[]
>
Parameters
projId:
string
bimIdAry:
string
[]
Returns
Promise
<
CompsDirBimIdSchema
[]
>
proj
Comps
Dir
ByDir
proj
Comps
Dir
ByDir
(
projId
:
string
, dirAry
:
string
[]
)
:
Promise
<
CompsDirBimIdSchema
[]
>
Parameters
projId:
string
dirAry:
string
[]
Returns
Promise
<
CompsDirBimIdSchema
[]
>
proj
Dirs
ByBim
Properties
proj
Dirs
ByBim
Properties
(
projId
:
string
, bimProperties
:
BimProp
)
:
Promise
<
string
[]
>
Parameters
projId:
string
bimProperties:
BimProp
Returns
Promise
<
string
[]
>
proj
Mod
Page
proj
Mod
Page
(
projId
:
string
, pageNo
:
number
)
:
Promise
<
PageOptions
>
Parameters
projId:
string
pageNo:
number
Returns
Promise
<
PageOptions
>
proj
Mod
Upate
proj
Mod
Upate
(
projId
:
string
, modOptAry
:
ModOptions
[]
)
:
Promise
<
number
[]
>
Parameters
projId:
string
modOptAry:
ModOptions
[]
Returns
Promise
<
number
[]
>
proj
Page
proj
Page
(
pageNo
:
number
)
:
Promise
<
PageOptions
>
Parameters
pageNo:
number
Returns
Promise
<
PageOptions
>
proj
Page
Filter
proj
Page
Filter
(
pageReqInfo
:
PageReqInfo
, filterReqInfo
:
FilterReqInfo
)
:
Promise
<
PageCustomOptions
>
Parameters
pageReqInfo:
PageReqInfo
filterReqInfo:
FilterReqInfo
Returns
Promise
<
PageCustomOptions
>
proj
Proj
Id
proj
Proj
Id
(
id
:
string
)
:
Promise
<
ProjOptions
>
Parameters
id:
string
Returns
Promise
<
ProjOptions
>
proj
Query
Extension
proj
Query
Extension
(
opt
:
ExtensionOptions
)
:
Promise
<
ExtensionResponse
>
Parameters
opt:
ExtensionOptions
Returns
Promise
<
ExtensionResponse
>
proj
Request
Generate
CompsJSON
proj
Request
Generate
CompsJSON
(
projId
:
string
)
:
Promise
<
void
>
Parameters
projId:
string
Returns
Promise
<
void
>
proj
Upate
proj
Upate
(
projOptAry
:
ProjOptions
[]
)
:
Promise
<
number
[]
>
Parameters
projOptAry:
ProjOptions
[]
Returns
Promise
<
number
[]
>
proj
Update
Extension
Batch
proj
Update
Extension
Batch
(
opt
:
ExtensionBatchData
)
:
Promise
<
string
>
Parameters
opt:
ExtensionBatchData
Returns
Promise
<
string
>
res
Down
Load
Url
res
Down
Load
Url
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
tag
Detail
tag
Detail
(
tagId
:
string
)
:
Promise
<
TagOption
>
Parameters
tagId:
string
Returns
Promise
<
TagOption
>
tag
Page
Custom
tag
Page
Custom
(
pageCustomReqInfo
:
PageCustomReqInfo
)
:
Promise
<
PageCustomOptions
>
Parameters
pageCustomReqInfo:
PageCustomReqInfo
Returns
Promise
<
PageCustomOptions
>
tag
Page
Filter
tag
Page
Filter
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
template
Page
template
Page
(
pageNo
:
number
)
:
Promise
<
PageOptions
>
Parameters
pageNo:
number
Returns
Promise
<
PageOptions
>
template
Page
Custom
template
Page
Custom
(
pageCustomReqInfo
:
PageCustomReqInfo
)
:
Promise
<
PageCustomOptions
>
Parameters
pageCustomReqInfo:
PageCustomReqInfo
Returns
Promise
<
PageCustomOptions
>
template
Page
Filter
template
Page
Filter
(
pageReqInfo
:
PageReqInfo
, filterReqInfo
:
FilterReqInfo
)
:
Promise
<
PageCustomOptions
>
Parameters
pageReqInfo:
PageReqInfo
filterReqInfo:
FilterReqInfo
Returns
Promise
<
PageCustomOptions
>
template
Template
Id
template
Template
Id
(
id
:
string
)
:
Promise
<
TemplateOptions
>
Parameters
id:
string
Returns
Promise
<
TemplateOptions
>
terminateUEResource
Url
terminateUEResource
Url
(
UEResourceId
:
string
)
:
Promise
<
UEResourceResponse
>
Parameters
UEResourceId:
string
Returns
Promise
<
UEResourceResponse
>
update
Tag
update
Tag
(
tagOption
:
TagOption
)
:
Promise
<
string
>
Parameters
tagOption:
TagOption
Returns
Promise
<
string
>
verify
View
verify
View
(
token
?:
string
)
:
Promise
<
boolean
>
Parameters
Optional
token:
string
Returns
Promise
<
boolean
>
Exports
default
default.
Motor
Core
Net
Mgr
constructor
access
Token
app
Id
base
Url
proj
Mgr
req
Err
Event
res
Download
Url
res
Download
Url
Ary
create
Resource
create
Tag
custom
Bind
Key
ById
custom
Data
Delete
custom
Data
Update
custom
IdBy
Bind
Key
destroy
get
Base
Url
get
Path
Read
Base
Url
get
Path
Read
Url
get
Resource
Static
Url
get
TerminateUEResource
Url
getUEResource
is
Destroyed
is
Login
is
Login
Url
login
login
Token
login
Url
proj
Bim
IdDir
ByIndex
proj
Bim
Ids
ByDirs
proj
Bim
Ids
Dir
Map
proj
Bounding
Box
ByBim
Id
proj
Bounding
Box
ByDirs
proj
Comp
Indexes
ByBim
Properties
Like
proj
Comp
Indexes
ByBimid
proj
Comp
Indexes
ByDirs
proj
Comp
Indexes
ByDirs
Exact
proj
Compare
proj
Comps
ByBim
Ids
proj
Comps
ByBim
Ids
Ebs
Tree
proj
Comps
ByIndexes
proj
Comps
Dir
ByBimid
proj
Comps
Dir
ByDir
proj
Dirs
ByBim
Properties
proj
Mod
Page
proj
Mod
Upate
proj
Page
proj
Page
Filter
proj
Proj
Id
proj
Query
Extension
proj
Request
Generate
CompsJSON
proj
Upate
proj
Update
Extension
Batch
res
Down
Load
Url
tag
Detail
tag
Page
Custom
tag
Page
Filter
template
Page
template
Page
Custom
template
Page
Filter
template
Template
Id
terminateUEResource
Url
update
Tag
verify
View