Skip to content

lib-finNetwork 库参考 ​

原文: https://finproducts.atlassian.net/wiki/spaces/JIDD3/pages/34793423215/FIN+5.3.1+lib-finNetwork 中文整理基于 FIN 5.3.1

导读: FIN 网络扩展

以下为 API 参考,保留英文以便对照源码;目录已列出(英文标题便于检索);概述已尽量中译。


目录(导读) ​

  • lib
  • meta
  • finSettings
  • finDropOverrides
  • funcs
  • def
  • supertypes
  • tags
  • enum
  • deviceOverview()
    • src
  • finNetworkBasicDragDrop(treeTag, treeRootId, targetId, targetRemote, targetTree, sourceIds, sourceRemotes, sourceTrees)
  • finNetworkConnectorsDragDrop(targetId, targetRemote, targetTree, sourceIds, sourceRemotes, sourceTrees)
  • finNetworkDragDrop(srcIds, srcRemotes, srcTree, destId, destRemote, destTree)
  • finNetworkEquipDragDrop(targetId, targetRemote, targetTree, sourceIds, sourceRemotes, sourceTrees)
  • finNetworkSettingsDragDrop(targetId, targetRemote, targetTree, sourceIds, sourceRemotes, sourceTrees)
  • finNetworkSnapshotsDragDrop(targetId, targetRemote, targetTree, sourceIds, sourceRemotes, sourceTrees)
  • finNetworkSyncUsers(conns)
  • finNetworkTopicDragDrop(targetId, targetRemote, targetTree, sourceIds, sourceRemotes, sourceTrees, topicOns: [,])
  • finNetworkTransferRecords(recs, from, to, makeDiffFn: null, binResolveFn: null)
  • finNetworkTree(isNext: null, conn: null, expr: null)

概述(中译) ​

FIN 网络扩展


API 正文(英文) ​

finSettings ​

alarmSyncEnableEnables or disables the alarm sync module
alarmSyncFilterWhich alarms should be synced to the project
snapshotSyncEnableEnables or disables the snapshot sync module
snapshotSyncExcludeWhich FIN Network nodes to exclude from the sync
snapshotSyncFreqWhen the snapshots get synced to the project
snapshotSyncNowWill execute the snapshot sync task immediately

finDropOverrides ​

finNetworkTree___connTuningFeature namespace of definitions formatted as feature:name
finNetworkTree___connectorsFeature namespace of definitions formatted as feature:name
finNetworkTree___equipTreeFeature namespace of definitions formatted as feature:name
finNetworkTree___finSettingsTreeFeature namespace of definitions formatted as feature:name
finNetworkTree___finSnapshotsTreeFeature namespace of definitions formatted as feature:name
finNetworkTree___graphicsFeature namespace of definitions formatted as feature:name
finNetworkTree___jobFeature namespace of definitions formatted as feature:name
finNetworkTree___programsFeature namespace of definitions formatted as feature:name
finNetworkTree___relationshipFeature namespace of definitions formatted as feature:name
finNetworkTree___savedQueryFilterFeature namespace of definitions formatted as feature:name
finNetworkTree___schedulesFeature namespace of definitions formatted as feature:name
finNetworkTree___tagBundleFeature namespace of definitions formatted as feature:name
finNetworkTree___templateFeature namespace of definitions formatted as feature:name
finNetworkTree___topicFeature namespace of definitions formatted as feature:name

funcs ​

deviceOverviewAxon function
finNetworkBasicDragDropExposes the functionality for basic drag and drop, like for programs and schedules and jobs
finNetworkConnectorsDragDropExposes the functionality for the connector tree drag and drop system
finNetworkDragDrop
finNetworkEquipDragDropExposes the functionality for the equip tree drag and drop system
finNetworkSettingsDragDropExposes the functionality for the settings tree drag and drop system
finNetworkSnapshotsDragDropExposes the functionality for the snapshots tree drag and drop system
finNetworkSyncUsersTakes a conn or list of conns (in a format used by toRecList) and syncs the users over to the children
finNetworkTopicDragDrop
finNetworkTransferRecords
finNetworkTree


def ​

finDropOverride:finNetworkTree___connTuning ​

Feature namespace of definitions formatted as feature:name


meta ​

deffinDropOverride:finNetworkTree___connTuning
finInteraction{type:js, action:let finNetworkRemotes = {{args.dragSource[finNetworkRemo...}
isfinDropOverride
liblib:finNetwork

supertypes ​

featureFeature namespace of definitions formatted as feature:name
finDropOverrideFeature namespace of definitions formatted as feature:name

tags ​

finInteractionMap of name/value tag pairs


def ​

finDropOverride:finNetworkTree___connectors ​

Feature namespace of definitions formatted as feature:name


meta ​

deffinDropOverride:finNetworkTree___connectors
finInteraction{type:js, action:let finNetworkRemotes = {{args.dragSource[finNetworkRemo...}
isfinDropOverride
liblib:finNetwork

supertypes ​

featureFeature namespace of definitions formatted as feature:name
finDropOverrideFeature namespace of definitions formatted as feature:name

tags ​

finInteractionMap of name/value tag pairs


def ​

finDropOverride:finNetworkTree___equipTree ​

Feature namespace of definitions formatted as feature:name


meta ​

deffinDropOverride:finNetworkTree___equipTree
finInteraction{type:js, action:let finNetworkRemotes = {{args.dragSource[finNetworkRemo...}
isfinDropOverride
liblib:finNetwork

supertypes ​

featureFeature namespace of definitions formatted as feature:name
finDropOverrideFeature namespace of definitions formatted as feature:name

tags ​

finInteractionMap of name/value tag pairs


def ​

finDropOverride:finNetworkTree___finSettingsTree ​

Feature namespace of definitions formatted as feature:name


meta ​

deffinDropOverride:finNetworkTree___finSettingsTree
finInteraction{type:js, action:let finNetworkRemotes = {{args.dragSource[finNetworkRemo...}
isfinDropOverride
liblib:finNetwork

supertypes ​

featureFeature namespace of definitions formatted as feature:name
finDropOverrideFeature namespace of definitions formatted as feature:name

tags ​

finInteractionMap of name/value tag pairs


def ​

finDropOverride:finNetworkTree___finSnapshotsTree ​

Feature namespace of definitions formatted as feature:name


meta ​

deffinDropOverride:finNetworkTree___finSnapshotsTree
finInteraction{type:js, action:let finNetworkRemotes = {{args.dragSource[finNetworkRemo...}
isfinDropOverride
liblib:finNetwork

supertypes ​

featureFeature namespace of definitions formatted as feature:name
finDropOverrideFeature namespace of definitions formatted as feature:name

tags ​

finInteractionMap of name/value tag pairs


def ​

finDropOverride:finNetworkTree___graphics ​

Feature namespace of definitions formatted as feature:name


meta ​

deffinDropOverride:finNetworkTree___graphics
finInteraction{type:js, action:let finNetworkRemotes = {{args.dragSource[finNetworkRemo...}
isfinDropOverride
liblib:finNetwork

supertypes ​

featureFeature namespace of definitions formatted as feature:name
finDropOverrideFeature namespace of definitions formatted as feature:name

tags ​

finInteractionMap of name/value tag pairs


def ​

finDropOverride:finNetworkTree___job ​

Feature namespace of definitions formatted as feature:name


meta ​

deffinDropOverride:finNetworkTree___job
finInteraction{type:js, action:let finNetworkRemotes = {{args.dragSource[finNetworkRemo...}
isfinDropOverride
liblib:finNetwork

supertypes ​

featureFeature namespace of definitions formatted as feature:name
finDropOverrideFeature namespace of definitions formatted as feature:name

tags ​

finInteractionMap of name/value tag pairs


def ​

finDropOverride:finNetworkTree___programs ​

Feature namespace of definitions formatted as feature:name


meta ​

deffinDropOverride:finNetworkTree___programs
finInteraction{type:js, action:let finNetworkRemotes = {{args.dragSource[finNetworkRemo...}
isfinDropOverride
liblib:finNetwork

supertypes ​

featureFeature namespace of definitions formatted as feature:name
finDropOverrideFeature namespace of definitions formatted as feature:name

tags ​

finInteractionMap of name/value tag pairs


def ​

finDropOverride:finNetworkTree___relationship ​

Feature namespace of definitions formatted as feature:name


meta ​

deffinDropOverride:finNetworkTree___relationship
finInteraction{type:js, action:let finNetworkRemotes = {{args.dragSource[finNetworkRemo...}
isfinDropOverride
liblib:finNetwork

supertypes ​

featureFeature namespace of definitions formatted as feature:name
finDropOverrideFeature namespace of definitions formatted as feature:name

tags ​

finInteractionMap of name/value tag pairs


def ​

finDropOverride:finNetworkTree___savedQueryFilter ​

Feature namespace of definitions formatted as feature:name


meta ​

deffinDropOverride:finNetworkTree___savedQueryFilter
finInteraction{type:js, action:let finNetworkRemotes = {{args.dragSource[finNetworkRemo...}
isfinDropOverride
liblib:finNetwork

supertypes ​

featureFeature namespace of definitions formatted as feature:name
finDropOverrideFeature namespace of definitions formatted as feature:name

tags ​

finInteractionMap of name/value tag pairs


def ​

finDropOverride:finNetworkTree___schedules ​

Feature namespace of definitions formatted as feature:name


meta ​

deffinDropOverride:finNetworkTree___schedules
finInteraction{type:js, action:let finNetworkRemotes = {{args.dragSource[finNetworkRemo...}
isfinDropOverride
liblib:finNetwork

supertypes ​

featureFeature namespace of definitions formatted as feature:name
finDropOverrideFeature namespace of definitions formatted as feature:name

tags ​

finInteractionMap of name/value tag pairs


def ​

finDropOverride:finNetworkTree___tagBundle ​

Feature namespace of definitions formatted as feature:name


meta ​

deffinDropOverride:finNetworkTree___tagBundle
finInteraction{type:js, action:let finNetworkRemotes = {{args.dragSource[finNetworkRemo...}
isfinDropOverride
liblib:finNetwork

supertypes ​

featureFeature namespace of definitions formatted as feature:name
finDropOverrideFeature namespace of definitions formatted as feature:name

tags ​

finInteractionMap of name/value tag pairs


def ​

finDropOverride:finNetworkTree___template ​

Feature namespace of definitions formatted as feature:name


meta ​

deffinDropOverride:finNetworkTree___template
finInteraction{type:js, action:let finNetworkRemotes = {{args.dragSource[finNetworkRemo...}
isfinDropOverride
liblib:finNetwork

supertypes ​

featureFeature namespace of definitions formatted as feature:name
finDropOverrideFeature namespace of definitions formatted as feature:name

tags ​

finInteractionMap of name/value tag pairs


def ​

finDropOverride:finNetworkTree___topic ​

Feature namespace of definitions formatted as feature:name


meta ​

deffinDropOverride:finNetworkTree___topic
finInteraction{type:js, action:let finNetworkRemotes = {{args.dragSource[finNetworkRemo...}
isfinDropOverride
liblib:finNetwork

supertypes ​

featureFeature namespace of definitions formatted as feature:name
finDropOverrideFeature namespace of definitions formatted as feature:name

tags ​

finInteractionMap of name/value tag pairs


def ​

finSetting:alarmSyncEnable ​

Enables or disables the alarm sync module


meta ​

deffinSetting:alarmSyncEnable
defValfalse
disEnable Alarm Sync
enumSee below
isfinSetting
kindBool
liblib:finNetwork
ordersync:0

enum ​

Disabled
Enabled

tags ​

adminRequires admin permission
defValDefault value
disDisplay name for an entity
enumDefines an eumeration of string key names
kindKind name used to identity a value data type
orderUsed to order definitions
suRequires superuser permission
unitUnit identifier from standard unit database


def ​

finSetting:alarmSyncFilter ​

Which alarms should be synced to the project


meta ​

deffinSetting:alarmSyncFilter
defValid
disAlarm Sync Filter
isfinSetting
kindStr
liblib:finNetwork
ordersync:1

tags ​

adminRequires admin permission
defValDefault value
disDisplay name for an entity
enumDefines an eumeration of string key names
kindKind name used to identity a value data type
orderUsed to order definitions
suRequires superuser permission
unitUnit identifier from standard unit database


def ​

finSetting:snapshotSyncEnable ​

Enables or disables the snapshot sync module


meta ​

deffinSetting:snapshotSyncEnable
defValfalse
disEnable Snapshot Sync
enumSee below
isfinSetting
kindBool
liblib:finNetwork
ordersync:0

enum ​

Disabled
Enabled

tags ​

adminRequires admin permission
defValDefault value
disDisplay name for an entity
enumDefines an eumeration of string key names
kindKind name used to identity a value data type
orderUsed to order definitions
suRequires superuser permission
unitUnit identifier from standard unit database


def ​

finSetting:snapshotSyncExclude ​

Which FIN Network nodes to exclude from the sync


meta ​

deffinSetting:snapshotSyncExclude
disSnapshot Sync Exclusions
filterfinNetwork and haystackConn
isfinSetting
kindRef[]
liblib:finNetwork
ordersync:3

tags ​

adminRequires admin permission
defValDefault value
disDisplay name for an entity
enumDefines an eumeration of string key names
kindKind name used to identity a value data type
orderUsed to order definitions
suRequires superuser permission
unitUnit identifier from standard unit database


def ​

finSetting:snapshotSyncFreq ​

When the snapshots get synced to the project


meta ​

deffinSetting:snapshotSyncFreq
defVal
disSnapshot Sync Frequency
isfinSetting
kindDict
liblib:finNetwork
ordersync:2

tags ​

adminRequires admin permission
defValDefault value
disDisplay name for an entity
enumDefines an eumeration of string key names
kindKind name used to identity a value data type
orderUsed to order definitions
suRequires superuser permission
unitUnit identifier from standard unit database


def ​

finSetting:snapshotSyncNow ​

Will execute the snapshot sync task immediately


meta ​

deffinSetting:snapshotSyncNow
defVal✓
disRun Snapshot Sync
isfinSetting
kindMarker
liblib:finNetwork
ordersync:1

tags ​

adminRequires admin permission
defValDefault value
disDisplay name for an entity
enumDefines an eumeration of string key names
kindKind name used to identity a value data type
orderUsed to order definitions
suRequires superuser permission
unitUnit identifier from standard unit database


def ​

func:deviceOverview ​

deviceOverview() ​

Axon function


meta ​

deffunc:deviceOverview
finStackMobileMenu✓
isfunc
liblib:finNetwork
namedeviceOverview
overridable✓

supertypes ​

featureFeature namespace of definitions formatted as feature:name
funcAxon function

src ​

() => do
  [{
    action: "top.app.LoadApplication('/pod/finNetworkExt/index.html');",
    appId: "deviceOverview",
    displayName: toLocale("finNetworkExt::deviceOverview"),
    hasBadge: false,
    icon: "icon-device-desktop",
    iconType: "class",
    level: 0,
    link: "#dashboard",
    order: 3,
    ui: "html"
  }].toGrid
end


def ​

func:finNetworkBasicDragDrop ​

finNetworkBasicDragDrop(treeTag, treeRootId, targetId, targetRemote, targetTree, sourceIds, sourceRemotes, sourceTrees) ​

Exposes the functionality for basic drag and drop, like for programs and schedules and jobs


meta ​

deffunc:finNetworkBasicDragDrop
isfunc
liblib:finNetwork
namefinNetworkBasicDragDrop

supertypes ​

featureFeature namespace of definitions formatted as feature:name
funcAxon function


def ​

func:finNetworkConnectorsDragDrop ​

finNetworkConnectorsDragDrop(targetId, targetRemote, targetTree, sourceIds, sourceRemotes, sourceTrees) ​

Exposes the functionality for the connector tree drag and drop system


meta ​

deffunc:finNetworkConnectorsDragDrop
isfunc
liblib:finNetwork
namefinNetworkConnectorsDragDrop

supertypes ​

featureFeature namespace of definitions formatted as feature:name
funcAxon function


def ​

func:finNetworkDragDrop ​

finNetworkDragDrop(srcIds, srcRemotes, srcTree, destId, destRemote, destTree) ​


meta ​

deffunc:finNetworkDragDrop
isfunc
liblib:finNetwork
namefinNetworkDragDrop

supertypes ​

featureFeature namespace of definitions formatted as feature:name
funcAxon function


def ​

func:finNetworkEquipDragDrop ​

finNetworkEquipDragDrop(targetId, targetRemote, targetTree, sourceIds, sourceRemotes, sourceTrees) ​

Exposes the functionality for the equip tree drag and drop system


meta ​

deffunc:finNetworkEquipDragDrop
isfunc
liblib:finNetwork
namefinNetworkEquipDragDrop

supertypes ​

featureFeature namespace of definitions formatted as feature:name
funcAxon function


def ​

func:finNetworkSettingsDragDrop ​

finNetworkSettingsDragDrop(targetId, targetRemote, targetTree, sourceIds, sourceRemotes, sourceTrees) ​

Exposes the functionality for the settings tree drag and drop system


meta ​

deffunc:finNetworkSettingsDragDrop
isfunc
liblib:finNetwork
namefinNetworkSettingsDragDrop

supertypes ​

featureFeature namespace of definitions formatted as feature:name
funcAxon function


def ​

func:finNetworkSnapshotsDragDrop ​

finNetworkSnapshotsDragDrop(targetId, targetRemote, targetTree, sourceIds, sourceRemotes, sourceTrees) ​

Exposes the functionality for the snapshots tree drag and drop system


meta ​

deffunc:finNetworkSnapshotsDragDrop
isfunc
liblib:finNetwork
namefinNetworkSnapshotsDragDrop

supertypes ​

featureFeature namespace of definitions formatted as feature:name
funcAxon function


def ​

func:finNetworkSyncUsers ​

finNetworkSyncUsers(conns) ​

Takes a conn or list of conns (in a format used by toRecList) and syncs the users over to the children


meta ​

admin✓
deffunc:finNetworkSyncUsers
isfunc
liblib:finNetwork
namefinNetworkSyncUsers

supertypes ​

featureFeature namespace of definitions formatted as feature:name
funcAxon function


def ​

func:finNetworkTopicDragDrop ​

finNetworkTopicDragDrop(targetId, targetRemote, targetTree, sourceIds, sourceRemotes, sourceTrees, topicOns: [,]) ​


meta ​

deffunc:finNetworkTopicDragDrop
isfunc
liblib:finNetwork
namefinNetworkTopicDragDrop

supertypes ​

featureFeature namespace of definitions formatted as feature:name
funcAxon function


def ​

func:finNetworkTransferRecords ​

finNetworkTransferRecords(recs, from, to, makeDiffFn: null, binResolveFn: null) ​


meta ​

deffunc:finNetworkTransferRecords
isfunc
liblib:finNetwork
namefinNetworkTransferRecords

supertypes ​

featureFeature namespace of definitions formatted as feature:name
funcAxon function


def ​

func:finNetworkTree ​

finNetworkTree(isNext: null, conn: null, expr: null) ​


meta ​

admin✓
deffunc:finNetworkTree
finNavTree✓
isfunc
liblib:finNetwork
namefinNetworkTree

supertypes ​

featureFeature namespace of definitions formatted as feature:name
funcAxon function