-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #112 from epics-containers/signalr-default-widget
Fix validation of default SignalR.read_widget
- Loading branch information
Showing
4 changed files
with
181 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# yaml-language-server: $schema=../../../schemas/pvi.device.schema.json | ||
|
||
label: label | ||
children: | ||
|
||
- type: SignalR | ||
name: Read | ||
read_pv: Read | ||
|
||
- type: SignalW | ||
name: Write | ||
write_pv: Write | ||
|
||
- type: SignalRW | ||
name: ReadWriteSingle | ||
write_pv: ReadWriteSingle | ||
|
||
- type: SignalRW | ||
name: ReadWrite | ||
write_pv: ReadWrite | ||
read_pv: ReadWrite_RBV | ||
|
||
- type: SignalX | ||
name: Execute | ||
write_pv: Execute |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
<display version="2.0.0"> | ||
<name>Display</name> | ||
<x>0</x> | ||
<y use_class="true">0</y> | ||
<width>274</width> | ||
<height>150</height> | ||
<grid_step_x>4</grid_step_x> | ||
<grid_step_y>4</grid_step_y> | ||
<widget type="label" version="2.0.0"> | ||
<name>Title</name> | ||
<class>TITLE</class> | ||
<text>label</text> | ||
<x use_class="true">0</x> | ||
<y use_class="true">0</y> | ||
<width>274</width> | ||
<height>26</height> | ||
<font use_class="true"> | ||
<font name="Header 1" family="Liberation Sans" style="BOLD" size="22.0"> | ||
</font> | ||
</font> | ||
<foreground_color use_class="true"> | ||
<color name="Text" red="0" green="0" blue="0"> | ||
</color> | ||
</foreground_color> | ||
<transparent use_class="true">true</transparent> | ||
<horizontal_alignment>1</horizontal_alignment> | ||
</widget> | ||
<widget type="label" version="2.0.0"> | ||
<name>Label</name> | ||
<text>Read</text> | ||
<x>22</x> | ||
<y>30</y> | ||
<width>120</width> | ||
<height>20</height> | ||
</widget> | ||
<widget type="textupdate" version="2.0.0"> | ||
<name>TextUpdate</name> | ||
<pv_name>Read</pv_name> | ||
<x>146</x> | ||
<y>30</y> | ||
<width>124</width> | ||
<height>20</height> | ||
<font> | ||
<font name="Default Bold" family="Liberation Sans" style="BOLD" size="14.0"> | ||
</font> | ||
</font> | ||
<horizontal_alignment>1</horizontal_alignment> | ||
</widget> | ||
<widget type="label" version="2.0.0"> | ||
<name>Label</name> | ||
<text>Write</text> | ||
<x>22</x> | ||
<y>54</y> | ||
<width>120</width> | ||
<height>20</height> | ||
</widget> | ||
<widget type="textentry" version="3.0.0"> | ||
<name>TextEntry</name> | ||
<pv_name>Write</pv_name> | ||
<x>146</x> | ||
<y>54</y> | ||
<width>124</width> | ||
<height>20</height> | ||
<horizontal_alignment>1</horizontal_alignment> | ||
</widget> | ||
<widget type="label" version="2.0.0"> | ||
<name>Label</name> | ||
<text>Read Write Single</text> | ||
<x>22</x> | ||
<y>78</y> | ||
<width>120</width> | ||
<height>20</height> | ||
</widget> | ||
<widget type="textentry" version="3.0.0"> | ||
<name>TextEntry</name> | ||
<pv_name>ReadWriteSingle</pv_name> | ||
<x>146</x> | ||
<y>78</y> | ||
<width>124</width> | ||
<height>20</height> | ||
<horizontal_alignment>1</horizontal_alignment> | ||
</widget> | ||
<widget type="label" version="2.0.0"> | ||
<name>Label</name> | ||
<text>Read Write</text> | ||
<x>22</x> | ||
<y>102</y> | ||
<width>120</width> | ||
<height>20</height> | ||
</widget> | ||
<widget type="textentry" version="3.0.0"> | ||
<name>TextEntry</name> | ||
<pv_name>ReadWrite</pv_name> | ||
<x>146</x> | ||
<y>102</y> | ||
<width>60</width> | ||
<height>20</height> | ||
<horizontal_alignment>1</horizontal_alignment> | ||
</widget> | ||
<widget type="textupdate" version="2.0.0"> | ||
<name>TextUpdate</name> | ||
<pv_name>ReadWrite_RBV</pv_name> | ||
<x>210</x> | ||
<y>102</y> | ||
<width>60</width> | ||
<height>20</height> | ||
<font> | ||
<font name="Default Bold" family="Liberation Sans" style="BOLD" size="14.0"> | ||
</font> | ||
</font> | ||
<horizontal_alignment>1</horizontal_alignment> | ||
</widget> | ||
<widget type="label" version="2.0.0"> | ||
<name>Label</name> | ||
<text>Execute</text> | ||
<x>22</x> | ||
<y>126</y> | ||
<width>120</width> | ||
<height>20</height> | ||
</widget> | ||
<widget type="action_button" version="3.0.0"> | ||
<name>WritePV</name> | ||
<pv_name>Execute</pv_name> | ||
<actions> | ||
<action type="write_pv"> | ||
<pv_name>$(pv_name)</pv_name> | ||
<value>1</value> | ||
<description>$(name)</description> | ||
</action> | ||
</actions> | ||
<text>Go</text> | ||
<x>146</x> | ||
<y>126</y> | ||
<width>124</width> | ||
<height>20</height> | ||
<tooltip>$(actions)</tooltip> | ||
</widget> | ||
</display> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters