Public Functions
- Last UpdatedJul 18, 2023
- 2 minute read
The Situational Awareness Include project, sa-include, contains public Cicode functions that can be used to customize your installation of Plant SCADA Studio, navigation, themes and workspaces. The following categories of functions are available:
-
Debugging functions: Allow you to trace the user's actions for a workspace and its components. Traced output is written to syslog.dat, which you can review to address any issues encountered.
-
Equipment functions: Allow you to pass or retrieve equipment context and retrieve workspace content using the equipment context.
-
Help functions: Allow you customize the display of help in a floating window or a pane within a workspace.
-
Navigation functions: Allow you to display a specific page in the workspace and add the transition to the navigation stack.
-
NavigationLink functions: Allow you to hide the navigation link genies on a page.
-
Security functions: Allow for security-related operations within workspaces and faceplates.
-
TabBar functions: Allow you to add tabs to a workspace and control the display if open items do not fit on the display.
-
Theme functions: Allow for set the basic theme of a workspace and its components, or add custom themes.
-
Workspace functions: Allow you to:
-
display customized content in any pane
-
set equipment-based context for a workspace
-
set the content type for a workspace pane
-
Below is a list of available functions:
|
Debugging Functions |
|
|
Equipment Functions |
|
|
Help Functions |
|
|
Navigation Functions |
|
|
Security Functions |
|
|
TabBar Functions |
|
|
Theme Functions |
Theme_Header_GetBackgroundColorIndex Theme_Header_GetForegroundColorIndex |
|
Workspace Functions |
Workspace_GetSelSecondaryContext Workspace_GetWorkspaceFromWindow |
Related Links
- Debug_SetTraceLevel
- Debug_Trace
- Equipment_GetContent
- Equipment_GetContext
- EquipmentStatus_Drive_GetValue
- EquipmentStatus_Meter_GetValue
- EquipmentStatus_Valve_GetValue
- GetPrivEx
- Help_DisplayFloating
- Help_DisplayInPane
- Navigation_ShowHomePage
- Navigation_ShowTargetPage
- NavigationLink_IsHidden
- TabBar_AddTab
- TabBar_GetTabCount
- TabBar_GetOpenItemsCount
- TabBar_ShowIcon
- Theme_Control_GetColorIndex
- Theme_Control_GetForegroundColorIndex
- Theme_Header_GetBackgroundColorIndex
- Theme_Header_GetColorIndex
- Theme_Header_GetForegroundColorIndex
- Theme_Header_GetMidColorIndex
- Theme_SetTheme
- Theme_ToggleButton_GetForegroundColorIndex
- Workspace_GetContext
- Workspace_GetEquipmentCluster
- Workspace_GetPageNameWithRes
- Workspace_GetResolution
- Workspace_GetSecondaryContext
- Workspace_GetSelContext
- Workspace_GetSelSecondaryContext
- Workspace_GetWindow
- Workspace_GetWorkspaceFromName
- Workspace_GetWorkspaceFromWindow
- Workspace_Init
- Workspace_IsSelContext
- Workspace_IsSystemInitialised
- Workspace_RightClickEquipment
- Workspace_SelectEquipment
- Workspace_SetContext
- Workspace_SetSelContext
- Workspace_ShowContent