网络模型

下表列出 EMA 所支持的无线网络对象对应的符号常量。

表 36:无线网络对象

Object Type Symbolic Constant
mobile subnet OBJ_NT_SUBNET_MOB
satellite subnet OBJ_NT_SUBNET_SAT
mobile node OBJ_NT_NODE_MOBILE
satellite node OBJ_NT_NODE_SAT

表 37:移动子网对象属性

Name Alias Type Default
altitude double 0.0
altitude modeling string relative to subnet-platform
ascent rate string
attribute promotion toggle Disabled
bearing double 0.0
color integer ¹ OPC_GFX_COLOR_RGB003
doc file string nt_mobile_subnet
grid unit integer ² OPC_GRID_UNIT_NONE
ground speed string
icon name icon string ³ subnet (mobile)
iso-elev-map line threshold double 0.0
iso-elev-map list textlist
map string NONE
minimized icon string circle/#FF0000
name set-required string
outline color integer ¹ RGB003
pitch double 0.0
priority integer 0
roll double 0.0
subnet object ID ⁴
threshold double 0.0 (pixels/s.g.u.)
trajectory typed file NONE
trajectory color integer ¹ OPC_GFX_COLOR_WHITE
trajectory speed override double
ui status integer 0
user id integer 0
view string NTC_DEFAULT_VIEW_NAME_STR
view mode integer NtC_View_Mode_Physical
view positions object ID ⁵
view stack object ID ⁶
x position x center double 0.0 (subnet grid unit)
y position y center double 0.0 (subnet grid unit)
yaw double 0.0

注 1:该属性的符号常量取值见 Table 143“Graphics Color Symbolic Constants”第 89 页。

注 2:该属性的符号常量取值见 Table 141“Grid Unit Symbolic Constants”第 89 页。

注 3:图标数据库中的图标名称。

注 4:外围子网对象的对象 ID;若不存在外围子网,则设为 EMAC_NULL_OBJ_ID(即该对象为顶层子网,其 name 属性设为 top)。

注 5:视图位置对象的对象 ID。

注 6:子网视图对象的对象 ID。

表 38:卫星子网对象属性

Name Alias Type Default
altitude double 0.0
attribute promotion toggle Disabled
color integer ¹ OPC_GFX_COLOR_RGB331
doc file string nt_satellite_subnet
grid unit integer ² OPC_GRID_UNIT_NONE
icon name icon string ³ subnet (satellite)
iso-elev-map line threshold double 0.0
iso-elev-map list textlist
map string NONE
minimized icon string circle/#FF0000
name set-required string
orbit string
orbit color integer ¹ YELLOW
outline color integer ¹ RGB003
phase double 0.0
priority integer 0
subnet object ID ⁴
threshold double 0.0 (pixels/s.g.u.)
ui status integer 0
user id integer 0
view string NTC_DEFAULT_VIEW_NAME_STR
view mode integer NtC_View_Mode_Physical
view positions object ID ⁵
view stack object ID ⁶
x position longitude double 0.0 (subnet grid unit)
y position latitude double 0.0 (subnet grid unit)

注 1:该属性的符号常量取值见 Table 143“Graphics Color Symbolic Constants”第 89 页。

注 2:该属性的符号常量取值见 Table 141“Grid Unit Symbolic Constants”第 89 页。

注 3:图标数据库中的图标名称。

注 4:外围子网对象的对象 ID;若不存在外围子网,则设为 EMAC_NULL_OBJ_ID(即该对象为顶层子网,其 name 属性设为 top)。

注 5:视图位置对象的对象 ID。

注 6:子网视图对象的对象 ID。

表 39:移动节点对象属性

Name Alias Type Default
alias array of strings
altitude double 0.0 (subnet grid unit)
altitude modeling string relative to subnet-platform
ascent rate string
bearing double 0.0
color ¹ integer ² OPC_GFX_COLOR_WHITE
condition toggle EMAC_ENABLED
doc file string nt_node
financial cost string 0.00
ground speed string
icon name icon string ³ mobile_comm
minimized icon string circle/#708090
model set-required string ⁴
name set-required string
pitch double 0.0
priority integer 0
roll double 0.0
subnet set-required object ID ⁵
threshold double 0.0 (pixels/s.g.u.)
TIM source string none
tooltip string
trajectory string ⁶
trajectory speed override double
ui status integer 0
user id integer 0
view positions object ID ⁷
x position double 0.0 (subnet grid unit)
y position double 0.0 (subnet grid unit)
yaw double 0.0

注 1:移动节点轨迹的颜色。

注 2:该属性的符号常量见 Table 143“Graphics Color Symbolic Constants”第 89 页。

注 3:图标数据库中的图标名称。

注 4:节点模型名称,不含后缀。

注 5:外围子网对象的对象 ID。

注 6:轨迹文件名称,不含后缀。

注 7:视图位置对象的对象 ID。

表 40:卫星节点对象属性

Name Alias Type Default
alias array of strings
altitude double 0.0 (subnet grid unit)
color ¹ integer ² OPC_GFX_COLOR_RGB331
condition toggle EMAC_ENABLED
doc file string nt_node
financial cost string 0.00
icon name icon string ³ sat_comm
minimized icon string circle/#708090
model set-required string ⁴
name set-required string
orbit string ⁵
phase double 0.0 (sec)
priority integer 0
subnet set-required object ID ⁶
threshold double 0.0 (pixels/s.g.u.)
TIM source string none
tooltip string
ui status integer 0
user id integer 0
view positions object ID ⁷
x position longitude double 0.0 (subnet grid unit)
y position latitude double 0.0 (subnet grid unit)

注 1:卫星节点轨道的颜色。

注 2:该属性的符号常量见 Table 143“Graphics Color Symbolic Constants”第 89 页。

注 3:图标数据库中的图标名称。

注 4:节点模型名称,不含后缀。

注 5:轨道模型名称,不含后缀。

注 6:外围子网对象的对象 ID。

注 7:视图位置对象的对象 ID。