-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make sure repeat values are evaluated in sub-entities
- Loading branch information
Showing
15 changed files
with
112 additions
and
107 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
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,8 @@ | ||
ioc_name: "{{ _global.get_env('IOC_NAME') }}" | ||
|
||
description: Example for testing ibek.repeat | ||
|
||
entities: | ||
- type: subentity.SubEntityTest | ||
count: 3 | ||
name: "subentity_test" |
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
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
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,28 @@ | ||
<display version="2.0.0"> | ||
<name>BL01T-EA-TST-02</name> | ||
<x>0</x> | ||
<y use_class="true">0</y> | ||
<width>10</width> | ||
<height>35</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>BL01T-EA-TST-02</text> | ||
<x use_class="true">0</x> | ||
<y use_class="true">0</y> | ||
<width>10</width> | ||
<height>25</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> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
############################################################################# | ||
# DB substitution file generated by http://github.com/epics-containers/ibek # | ||
############################################################################# |
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,12 @@ | ||
# EPICS IOC Startup Script generated by https://github.com/epics-containers/ibek | ||
|
||
cd "/epics/ioc" | ||
dbLoadDatabase dbd/ioc.dbd | ||
ioc_registerRecordDeviceDriver pdbbase | ||
|
||
Command number 1 for subentity_test | ||
Command number 2 for subentity_test | ||
Command number 3 for subentity_test | ||
|
||
dbLoadRecords /epics/runtime/ioc.db | ||
iocInit |
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,22 @@ | ||
module: subentity | ||
|
||
entity_models: | ||
- name: SubEntityTest | ||
description: Example for testing ibek.repeat | ||
parameters: | ||
count: | ||
description: Number of sub entities to create | ||
type: int | ||
default: 5 | ||
|
||
name: | ||
description: Name to use in the sub entities | ||
type: str | ||
|
||
sub_entities: | ||
- type: ibek.repeat | ||
values: "{{ range(count) | list }}" | ||
variable: number | ||
entity: | ||
type: epics.StartupCommand | ||
command: "Command number {{ number | int + 1}} for {{ name }}" |
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