Skip to content

Commit

Permalink
Merge branch 'ControlSystemStudio:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
lcaouen authored Sep 1, 2023
2 parents 4b7035c + eaa692c commit d62c7fb
Show file tree
Hide file tree
Showing 24 changed files with 843 additions and 23 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Phoebus build

on: [push, pull_request]
on:
push:
branches-ignore:
- 'master'
pull_request:

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion app/alarm/datasource/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ to take a set of actions needed to effectively handle an alarm.

The alarm datasource provides a subsection of the alarm information and functionality.
This makes it possible for user to access beast alarm information of any other cs-studio application.
OPI screens can now embed informatino about from the alarm server, like the acknowledgement state of a pv, etc..
OPI screens can now embed information about from the alarm server, like the acknowledgement state of a pv, etc..

PV syntax
---------
Expand Down
3 changes: 0 additions & 3 deletions app/display/editor/doc/formula_functions.rst

This file was deleted.

31 changes: 30 additions & 1 deletion app/display/editor/doc/widgets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,38 @@ Widgets
=======

The Display Builder application supports a set of widgets which can be used to create control GUIs. The widgets are
organized based on functionality as shown below
organized according to the categories *Graphics*, *Monitors*, *Controls*, *Plots*, *Structure*, and *Miscellaneous*:

.. image:: images/widgets.png
:align: center

Each category corresponds to an intended use case of the widgets belonging to the category:

.. list-table::
:widths: 30 70
:header-rows: 1
:align: center

* - Widget Category
- Intended Use Case

* - `Graphics`
- Static graphical elements

* - `Monitors`
- Displaying values from PVs

* - `Controls`
- Writing values to PVs

* - `Plots`
- Plotting PV values

* - `Structure`
- Grouping widgets and embedding displays

* - `Miscellaneous`
- 3D Viewer, Web Browser

.. toctree::
:maxdepth: 1
Expand Down
32 changes: 30 additions & 2 deletions app/display/model/src/main/resources/examples/01_main.bob
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,34 @@ then press &lt;SPACE&gt; to activate button.</text>
<height>26</height>
<tooltip>$(actions)</tooltip>
</widget>
<widget type="action_button" version="3.0.0">
<name>Action Button_40</name>
<actions>
<action type="open_display">
<file>11_datasources.bob</file>
<target>replace</target>
<description>Datasources</description>
</action>
</actions>
<y>360</y>
<width>120</width>
<height>26</height>
<tooltip>$(actions)</tooltip>
</widget>
<widget type="action_button" version="3.0.0">
<name>Action Button_41</name>
<actions>
<action type="open_display">
<file>12_formulas.bob</file>
<target>replace</target>
<description>Formulas</description>
</action>
</actions>
<y>400</y>
<width>120</width>
<height>26</height>
<tooltip>$(actions)</tooltip>
</widget>
<widget type="action_button" version="3.0.0">
<name>Action Button_26</name>
<actions>
Expand All @@ -165,7 +193,7 @@ then press &lt;SPACE&gt; to activate button.</text>
<description>Enablement</description>
</action>
</actions>
<y>360</y>
<y>440</y>
<width>120</width>
<height>26</height>
<tooltip>$(actions)</tooltip>
Expand Down Expand Up @@ -819,4 +847,4 @@ then press &lt;SPACE&gt; to activate button.</text>
<height>26</height>
<tooltip>$(actions)</tooltip>
</widget>
</display>
</display>
2 changes: 1 addition & 1 deletion app/display/model/src/main/resources/examples/02_intro.bob
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<display version="1.0.0">
<name>Display</name>
<name>Introduction</name>
<x>-1</x>
<y>-1</y>
<widget type="label" version="2.0.0">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<display version="2.0.0">
<name>Display</name>
<name>Scripts</name>
<width>1150</width>
<height>2000</height>
<widget type="label" version="2.0.0">
Expand Down
13 changes: 13 additions & 0 deletions app/display/model/src/main/resources/examples/11_datasources.bob
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<display version="2.0.0">
<name>Datasources</name>
<widget type="label" version="2.0.0">
<name>Label_3</name>
<text>Datasources</text>
<width>210</width>
<font>
<font name="Header 1" family="Liberation Sans" style="BOLD" size="22.0">
</font>
</font>
</widget>
</display>
Loading

0 comments on commit d62c7fb

Please sign in to comment.