DeductionScriptManager

new Cesium.DeductionScriptManager()

态势仿真脚本管理类

Methods

staticCesium.DeductionScriptManager.SimulationController#continue()

继续

staticCesium.DeductionScriptManager.SimulationController#pause()

暂停

staticCesium.DeductionScriptManager.SimulationController#reset()

复位

staticCesium.DeductionScriptManager.SimulationController#setExecutePassTimeOffset(passTimeOffset)

设置仿真时间偏移量
Name Type Description
passTimeOffset Number 时间偏移量

createScriptGroup(groupName)

添加脚本組
Name Type Description
groupName String 脚本组名

fromJson()

从脚本和分组信息json初始化脚本管理器
Name Type Description
options.deductionScriptJsons Map.<String, String> 脚本json数据
options.deductionScriptGroupJsons String 脚本分组json数据

getDeductionScriptGroups()

获取所有实体组
Returns:
实体组列表

getScriptGroupByUUID(UUID)DeductionScriptGroup

根据脚本组唯一标识获取脚本组
Name Type Description
UUID String 脚本组唯一标识
Returns:
脚本组

removeAllScriptGroup(是否保存到方案)

刪除所有脚本組
Name Type Description
是否保存到方案

removeScriptGroup(UUID)

根据脚本组唯一标识删除脚本组
Name Type Description
UUID String 脚本组唯一标识

toJson()Object

保存脚本和分组信息到json
Returns:
脚本(.deductionScriptJsons)和分组信息(.deductionScriptGroupJsons)json