Generation working and Compilation of MARTe components
This commit is contained in:
415
EC-GN-JA-PCF/target/main/boy/sysm/EC-GN-SYSM-CubicleDetails.opi
Executable file
415
EC-GN-JA-PCF/target/main/boy/sysm/EC-GN-SYSM-CubicleDetails.opi
Executable file
@@ -0,0 +1,415 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
SDD Generated Configuration
|
||||
CODAC-VERSION: 6.1.2
|
||||
WARNING: This is an automatically generated file. PLEASE DO NOT MODIFY.
|
||||
-->
|
||||
<display typeId="org.csstudio.opibuilder.Display" version="1.0">
|
||||
<widget_type>Display</widget_type>
|
||||
<macros>
|
||||
<include_parent_macros>true</include_parent_macros>
|
||||
<CBS1>EC</CBS1>
|
||||
<CBS2>GN</CBS2>
|
||||
<CBS3>SYSM</CBS3>
|
||||
</macros>
|
||||
<width>3236</width>
|
||||
<rules />
|
||||
<scripts />
|
||||
<show_ruler>true</show_ruler>
|
||||
<height>1760</height>
|
||||
<show_edit_range>true</show_edit_range>
|
||||
<name>EC-GN-SYSM</name>
|
||||
<grid_space>6</grid_space>
|
||||
<snap_to_geometry>true</snap_to_geometry>
|
||||
<show_grid>true</show_grid>
|
||||
<y>0</y>
|
||||
<actions hook="false" />
|
||||
<foreground_color>
|
||||
<color name="IO Foreground" />
|
||||
</foreground_color>
|
||||
<background_color>
|
||||
<color name="IO Background" />
|
||||
</background_color>
|
||||
<x>0</x>
|
||||
<auto_zoom_to_fit_all>false</auto_zoom_to_fit_all>
|
||||
|
||||
|
||||
<auto_scale_widgets>
|
||||
<auto_scale_widgets>false</auto_scale_widgets>
|
||||
<min_width>-1</min_width>
|
||||
<min_height>-1</min_height>
|
||||
</auto_scale_widgets>
|
||||
|
||||
<!-- ++++++++++ Start Top 2 Rows ++++++++++ -->
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.groupingContainer" version="1.0">
|
||||
<enabled>true</enabled>
|
||||
<widget_type>Grouping Container</widget_type>
|
||||
<macros>
|
||||
<include_parent_macros>true</include_parent_macros>
|
||||
</macros>
|
||||
<visible>true</visible>
|
||||
<border_style>0</border_style>
|
||||
<rules />
|
||||
<lock_children>true</lock_children>
|
||||
<scripts />
|
||||
<border_width>2</border_width>
|
||||
<name>groupHeading</name>
|
||||
<border_color>
|
||||
<color name="IO Border" red="0" green="0" blue="0" />
|
||||
</border_color>
|
||||
<transparent>true</transparent>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<show_scrollbar>false</show_scrollbar>
|
||||
<actions hook="false" />
|
||||
<y>0</y>
|
||||
<foreground_color>
|
||||
<color red="192" green="192" blue="192" />
|
||||
</foreground_color>
|
||||
<background_color>
|
||||
<color red="240" green="240" blue="240" />
|
||||
</background_color>
|
||||
<x>0</x>
|
||||
<tooltip />
|
||||
<width>1243</width>
|
||||
<height>50</height>
|
||||
</widget>
|
||||
<!-- ++++++++++ End Top 2 Rows ++++++++++ -->
|
||||
<!-- ************************************************************************************************************************************************ -->
|
||||
<!-- ++++++++++ Start Cubicle Details Section ++++++++++ -->
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.Label" version="1.0">
|
||||
<visible>true</visible>
|
||||
<vertical_alignment>1</vertical_alignment>
|
||||
<auto_size>true</auto_size>
|
||||
<scripts />
|
||||
<height>13</height>
|
||||
<name>CubicleDetailsLabel</name>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<transparent>true</transparent>
|
||||
<show_scrollbar>false</show_scrollbar>
|
||||
<background_color>
|
||||
<color blue="205" green="255" name="IO Background" red="255" />
|
||||
</background_color>
|
||||
<foreground_color>
|
||||
<color blue="92" green="32" name="IO Text Fg" red="0" />
|
||||
</foreground_color>
|
||||
<widget_type>Label</widget_type>
|
||||
<enabled>false</enabled>
|
||||
<text>Cubicle Details:</text>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono" height="10" style="0">IO Normal</opifont.name>
|
||||
</font>
|
||||
<width>40</width>
|
||||
<border_style>0</border_style>
|
||||
<rules />
|
||||
<border_width>2</border_width>
|
||||
<border_color>
|
||||
<color blue="215" green="215" name="IO Border" red="215" />
|
||||
</border_color>
|
||||
<horizontal_alignment>0</horizontal_alignment>
|
||||
<actions hook="false" hook_all="false" />
|
||||
<y>55</y>
|
||||
<wrap_words>true</wrap_words>
|
||||
<tooltip />
|
||||
<x>6</x>
|
||||
</widget>
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.ActionButton" version="2.0.0">
|
||||
<actions hook="false" hook_all="false">
|
||||
<action type="OPEN_DISPLAY">
|
||||
<path>/opt/codac/opi/epics-sysmon/boy/ITER-SYSM-CUB_Mimic.opi</path>
|
||||
<macros>
|
||||
<include_parent_macros>true</include_parent_macros>
|
||||
</macros>
|
||||
<mode>0</mode>
|
||||
<description />
|
||||
</action>
|
||||
</actions>
|
||||
<border_alarm_sensitive>false</border_alarm_sensitive>
|
||||
<border_color>
|
||||
<color name="IO Border" red="0" green="0" blue="0" />
|
||||
</border_color>
|
||||
<border_style>6</border_style>
|
||||
<border_width>2</border_width>
|
||||
<enabled>true</enabled>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono" height="12" style="0" pixels="false">IO Label</opifont.name>
|
||||
</font>
|
||||
<forecolor_alarm_sensitive>false</forecolor_alarm_sensitive>
|
||||
<foreground_color>
|
||||
<color name="IO Foreground" red="0" green="0" blue="0" />
|
||||
</foreground_color>
|
||||
<height>37</height>
|
||||
<image />
|
||||
<name>Action Button Template</name>
|
||||
<push_action_index>0</push_action_index>
|
||||
<pv_name />
|
||||
<pv_value />
|
||||
<rules />
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<scripts />
|
||||
<style>1</style>
|
||||
<text>More Details</text>
|
||||
<toggle_button>false</toggle_button>
|
||||
<tooltip>$(pv_name)
|
||||
$(pv_value)</tooltip>
|
||||
<visible>true</visible>
|
||||
<widget_type>Action Button</widget_type>
|
||||
<width>279</width>
|
||||
<wuid>6cb4f02d:15e5c6fbe55:-70fa</wuid>
|
||||
<x>200</x>
|
||||
<y>45</y>
|
||||
</widget>
|
||||
|
||||
<!-- ++++++++++ Cubicle Location - Bug 10878 ++++++++++ -->
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.Label" version="1.0">
|
||||
<visible>true</visible>
|
||||
<vertical_alignment>1</vertical_alignment>
|
||||
<auto_size>true</auto_size>
|
||||
<scripts />
|
||||
<height>13</height>
|
||||
<name>CubicleDetailsLabel</name>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<transparent>true</transparent>
|
||||
<show_scrollbar>false</show_scrollbar>
|
||||
<background_color>
|
||||
<color blue="205" green="255" name="IO Background" red="255" />
|
||||
</background_color>
|
||||
<foreground_color>
|
||||
<color blue="92" green="32" name="IO Text Fg" red="0" />
|
||||
</foreground_color>
|
||||
<widget_type>Label</widget_type>
|
||||
<enabled>false</enabled>
|
||||
<text>$(CUB_LOC)</text>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono" height="10" style="0">IO Normal</opifont.name>
|
||||
</font>
|
||||
<width>40</width>
|
||||
<border_style>0</border_style>
|
||||
<rules />
|
||||
<border_width>2</border_width>
|
||||
<border_color>
|
||||
<color blue="215" green="215" name="IO Border" red="215" />
|
||||
</border_color>
|
||||
<horizontal_alignment>0</horizontal_alignment>
|
||||
<actions hook="false" hook_all="false" />
|
||||
<y>55</y>
|
||||
<wrap_words>true</wrap_words>
|
||||
<tooltip />
|
||||
<x>600</x>
|
||||
</widget>
|
||||
|
||||
<!-- ++++++++++ Start Cubicle Details Table ++++++++++ -->
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.table" version="1.0">
|
||||
<visible>true</visible>
|
||||
<default_content>
|
||||
<row>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
</row>
|
||||
<row>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
</row>
|
||||
<row>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
</row>
|
||||
<row>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col>(ºC)</col>
|
||||
</row>
|
||||
<row>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
</row>
|
||||
</default_content>
|
||||
<scripts>
|
||||
<path pathString="scripts/CubiclesDetailsTableSelectionMonitor.js" checkConnect="true" sfe="false" seoe="false">
|
||||
<pv trig="true">1</pv>
|
||||
</path>
|
||||
<path pathString="scripts/DisplayPVValuesINCtrlUnitDetailTableTable.js" checkConnect="false" sfe="false" seoe="false">
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):CU$(NNNN)-HTH-CY1</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):CU$(NNNN)-HTH-CY2</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):CU$(NNNN)-HTH-FAN</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):CU$(NNNN)-HTH-TT</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):CU$(NNNN)-SHLT</pv>
|
||||
</path>
|
||||
</scripts>
|
||||
<height>1000</height>
|
||||
<name>CubicleDetailsTable</name>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<background_color>
|
||||
<color red="240" green="240" blue="240" />
|
||||
</background_color>
|
||||
<foreground_color>
|
||||
<color red="192" green="192" blue="192" />
|
||||
</foreground_color>
|
||||
<column_header_visible>true</column_header_visible>
|
||||
<widget_type>Table</widget_type>
|
||||
<enabled>true</enabled>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono-regular" height="10" style="0">IO Scale</opifont.name>
|
||||
</font>
|
||||
<width>1000</width>
|
||||
<border_style>0</border_style>
|
||||
<column_headers>
|
||||
<row>
|
||||
<col>Name</col>
|
||||
<col>200</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Value</col>
|
||||
<col>200</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Status</col>
|
||||
<col>100</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Severity</col>
|
||||
<col>100</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>EGU</col>
|
||||
<col>0</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
</column_headers>
|
||||
<editable>false</editable>
|
||||
<rules />
|
||||
<border_width>2</border_width>
|
||||
<border_color>
|
||||
<color name="IO Border" red="0" green="0" blue="0"/>
|
||||
</border_color>
|
||||
<columns_count>4</columns_count>
|
||||
<actions hook="false" hook_all="false" />
|
||||
<y>125</y>
|
||||
<tooltip></tooltip>
|
||||
<x>6</x>
|
||||
</widget>
|
||||
<!-- ++++++++++ End Cubicle Details Table ++++++++++ -->
|
||||
<!-- ++++++++++ End Cubicle Details Section ++++++++++ -->
|
||||
|
||||
<!-- ++++++++++ Start I&C Project Info Container ++++++++++ -->
|
||||
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.groupingContainer" version="1.0">
|
||||
<enabled>true</enabled>
|
||||
<widget_type>Grouping Container</widget_type>
|
||||
<macros>
|
||||
<include_parent_macros>true</include_parent_macros>
|
||||
</macros>
|
||||
<visible>true</visible>
|
||||
<width>1243</width>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<border_style>0</border_style>
|
||||
<rules />
|
||||
<lock_children>true</lock_children>
|
||||
<scripts />
|
||||
<height>26</height>
|
||||
<border_width>2</border_width>
|
||||
<name>groupICProjectInfo</name>
|
||||
<border_color>
|
||||
<color name="IO Border" red="0" green="0" blue="0" />
|
||||
</border_color>
|
||||
<transparent>true</transparent>
|
||||
<show_scrollbar>false</show_scrollbar>
|
||||
<actions hook="false" />
|
||||
<y>1500</y>
|
||||
<foreground_color>
|
||||
<color red="192" green="192" blue="192" />
|
||||
</foreground_color>
|
||||
<background_color>
|
||||
<color red="240" green="240" blue="240" />
|
||||
</background_color>
|
||||
<x>0</x>
|
||||
<tooltip />
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.Label" version="1.0.0">
|
||||
<actions hook="false" hook_all="false"/>
|
||||
<auto_size>true</auto_size>
|
||||
<background_color>
|
||||
<color blue="235" green="235" name="IO Background" red="235"/>
|
||||
</background_color>
|
||||
<border_color>
|
||||
<color blue="0" green="0" name="IO Border" red="0"/>
|
||||
</border_color>
|
||||
<border_style>0</border_style>
|
||||
<border_width>2</border_width>
|
||||
<enabled>false</enabled>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono" height="10" pixels="false" style="0">IO Label</opifont.name>
|
||||
</font>
|
||||
<foreground_color>
|
||||
<color blue="0" green="0" name="IO Text Fg" red="0"/>
|
||||
</foreground_color>
|
||||
<height>38</height>
|
||||
<horizontal_alignment>0</horizontal_alignment>
|
||||
<name>I&C Project Name: EC-GN, Version: 4</name>
|
||||
<rules/>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<scripts/>
|
||||
<show_scrollbar>false</show_scrollbar>
|
||||
<text>I&C Project Name: EC-GN, Version: 4</text>
|
||||
<tooltip/>
|
||||
<transparent>true</transparent>
|
||||
<vertical_alignment>1</vertical_alignment>
|
||||
<visible>true</visible>
|
||||
<widget_type>Label</widget_type>
|
||||
<width>3000</width>
|
||||
<wrap_words>true</wrap_words>
|
||||
|
||||
<x>40</x>
|
||||
<y>0</y>
|
||||
</widget>
|
||||
|
||||
</widget>
|
||||
|
||||
<!-- ++++++++++ End I&C Project Info Container ++++++++++ -->
|
||||
|
||||
<!-- ************************************************************************************************************************************************ -->
|
||||
</display>
|
||||
1471
EC-GN-JA-PCF/target/main/boy/sysm/EC-GN-SYSM-F0-PCFDetails.opi
Executable file
1471
EC-GN-JA-PCF/target/main/boy/sysm/EC-GN-SYSM-F0-PCFDetails.opi
Executable file
File diff suppressed because it is too large
Load Diff
1405
EC-GN-JA-PCF/target/main/boy/sysm/EC-GN-SYSM-H0-PSHDetails.opi
Executable file
1405
EC-GN-JA-PCF/target/main/boy/sysm/EC-GN-SYSM-H0-PSHDetails.opi
Executable file
File diff suppressed because it is too large
Load Diff
707
EC-GN-JA-PCF/target/main/boy/sysm/EC-GN-SYSM-P0-PLCDetails.opi
Executable file
707
EC-GN-JA-PCF/target/main/boy/sysm/EC-GN-SYSM-P0-PLCDetails.opi
Executable file
@@ -0,0 +1,707 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
SDD Generated Configuration
|
||||
CODAC-VERSION: 6.1.2
|
||||
WARNING: This is an automatically generated file. PLEASE DO NOT MODIFY.
|
||||
-->
|
||||
<display typeId="org.csstudio.opibuilder.Display" version="1.0">
|
||||
<widget_type>Display</widget_type>
|
||||
<macros>
|
||||
<include_parent_macros>true</include_parent_macros>
|
||||
<CU>P0</CU>
|
||||
<PHY_NAME>52RF01-PLC-4110</PHY_NAME>
|
||||
<FCT_NAME>EC-GN-SYSM</FCT_NAME>
|
||||
<PPPP>52RF</PPPP>
|
||||
<PP>01</PP>
|
||||
<NNNN>4110</NNNN>
|
||||
<TTT>PLC</TTT>
|
||||
<CBS1>EC</CBS1>
|
||||
<CBS2>GN</CBS2>
|
||||
<CBS3>SYSM</CBS3>
|
||||
</macros>
|
||||
<width>3236</width>
|
||||
<rules />
|
||||
<scripts />
|
||||
<show_ruler>true</show_ruler>
|
||||
<height>1760</height>
|
||||
<show_edit_range>true</show_edit_range>
|
||||
<name>EC-GN-SYSM</name>
|
||||
<grid_space>6</grid_space>
|
||||
<snap_to_geometry>true</snap_to_geometry>
|
||||
<show_grid>true</show_grid>
|
||||
<y>0</y>
|
||||
<actions hook="false" />
|
||||
<foreground_color>
|
||||
<color name="IO Foreground" />
|
||||
</foreground_color>
|
||||
<background_color>
|
||||
<color name="IO Background" />
|
||||
</background_color>
|
||||
<x>0</x>
|
||||
|
||||
<auto_zoom_to_fit_all>false</auto_zoom_to_fit_all>
|
||||
|
||||
|
||||
<auto_scale_widgets>
|
||||
<auto_scale_widgets>false</auto_scale_widgets>
|
||||
<min_width>-1</min_width>
|
||||
<min_height>-1</min_height>
|
||||
</auto_scale_widgets>
|
||||
|
||||
|
||||
|
||||
<!-- ++++++++++ Start Top 2 Rows ++++++++++ -->
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.groupingContainer" version="1.0">
|
||||
<enabled>true</enabled>
|
||||
<widget_type>Grouping Container</widget_type>
|
||||
<macros>
|
||||
<include_parent_macros>true</include_parent_macros>
|
||||
</macros>
|
||||
<visible>true</visible>
|
||||
<border_style>6</border_style>
|
||||
<rules />
|
||||
<lock_children>true</lock_children>
|
||||
<scripts />
|
||||
<border_width>2</border_width>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<name>groupHeading</name>
|
||||
<border_color>
|
||||
<color name="IO Border" red="0" green="0" blue="0" />
|
||||
</border_color>
|
||||
<transparent>true</transparent>
|
||||
<show_scrollbar>false</show_scrollbar>
|
||||
<actions hook="false" />
|
||||
<y>0</y>
|
||||
<foreground_color>
|
||||
<color red="192" green="192" blue="192" />
|
||||
</foreground_color>
|
||||
<background_color>
|
||||
<color red="240" green="240" blue="240" />
|
||||
</background_color>
|
||||
<x>0</x>
|
||||
<tooltip />
|
||||
<width>1243</width>
|
||||
<height>50</height>
|
||||
</widget>
|
||||
<!-- ++++++++++ End Top 2 Rows ++++++++++ -->
|
||||
<!-- ++++++++++ Start PLC Var Details Section ++++++++++ -->
|
||||
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.Label" version="1.0.0">
|
||||
<actions hook="false" hook_all="false"/>
|
||||
<auto_size>true</auto_size>
|
||||
<background_color>
|
||||
<color blue="235" green="235" name="IO Background" red="235"/>
|
||||
</background_color>
|
||||
<border_color>
|
||||
<color blue="0" green="0" name="IO Border" red="0"/>
|
||||
</border_color>
|
||||
<border_style>0</border_style>
|
||||
<border_width>2</border_width>
|
||||
<enabled>false</enabled>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono" height="10" pixels="false" style="0">IO Label</opifont.name>
|
||||
</font>
|
||||
<foreground_color>
|
||||
<color blue="0" green="0" name="IO Text Fg" red="0"/>
|
||||
</foreground_color>
|
||||
<height>13</height>
|
||||
<horizontal_alignment>0</horizontal_alignment>
|
||||
<name>Configuration Control:</name>
|
||||
<rules/>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<scripts/>
|
||||
<show_scrollbar>false</show_scrollbar>
|
||||
<text>Configuration Control:</text>
|
||||
<tooltip/>
|
||||
<transparent>true</transparent>
|
||||
<vertical_alignment>1</vertical_alignment>
|
||||
<visible>true</visible>
|
||||
<widget_type>Label</widget_type>
|
||||
<width>40</width>
|
||||
<wrap_words>true</wrap_words>
|
||||
|
||||
<x>6</x>
|
||||
<y>90</y>
|
||||
</widget>
|
||||
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.BoolButton" version="1.0.0">
|
||||
<actions hook="false" hook_all="false"/>
|
||||
<alarm_pulsing>false</alarm_pulsing>
|
||||
<backcolor_alarm_sensitive>true</backcolor_alarm_sensitive>
|
||||
<background_color>
|
||||
<color blue="178" green="178" name="IO Button" red="178"/>
|
||||
</background_color>
|
||||
<bit>0</bit>
|
||||
<border_alarm_sensitive>false</border_alarm_sensitive>
|
||||
<border_color>
|
||||
<color blue="0" green="0" name="IO Border" red="0"/>
|
||||
</border_color>
|
||||
<border_style>0</border_style>
|
||||
<border_width>2</border_width>
|
||||
<confirm_message>Are you sure you want to do this?</confirm_message>
|
||||
<data_type>0</data_type>
|
||||
<effect_3d>true</effect_3d>
|
||||
<enabled>true</enabled>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono" height="10" pixels="false" style="0">IO Label</opifont.name>
|
||||
</font>
|
||||
<forecolor_alarm_sensitive>false</forecolor_alarm_sensitive>
|
||||
<foreground_color>
|
||||
<color blue="0" green="0" name="IO InputPV Fg" red="0"/>
|
||||
</foreground_color>
|
||||
<height>38</height>
|
||||
<labels_from_pv>false</labels_from_pv>
|
||||
<name>boolButton$(FCT_NAME)-$(PPPP)-$(PP):$(TTT)$(NNNN)-CFGWRCNTR</name>
|
||||
<off_color>
|
||||
<color blue="71" green="125" name="IO PV OFF" red="149"/>
|
||||
</off_color>
|
||||
<off_label>Check Configuration</off_label>
|
||||
<on_color>
|
||||
<color blue="255" green="0" name="IO PV ON" red="0"/>
|
||||
</on_color>
|
||||
<on_label>Configuration OK</on_label>
|
||||
<password/>
|
||||
<push_action_index>0</push_action_index>
|
||||
<pv_name>$(FCT_NAME)-$(PPPP)-$(PP):$(TTT)$(NNNN)-CFGWRCNTR</pv_name>
|
||||
<pv_value/>
|
||||
<released_action_index>0</released_action_index>
|
||||
<rules/>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<scripts/>
|
||||
<show_boolean_label>true</show_boolean_label>
|
||||
<show_confirm_dialog>1</show_confirm_dialog>
|
||||
<show_led>true</show_led>
|
||||
<square_button>true</square_button>
|
||||
<toggle_button>true</toggle_button>
|
||||
<tooltip>$(pv_name) $(pv_value)</tooltip>
|
||||
<visible>true</visible>
|
||||
<widget_type>Boolean Button</widget_type>
|
||||
<width>210</width>
|
||||
|
||||
<x>250</x>
|
||||
<y>90</y>
|
||||
</widget>
|
||||
|
||||
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.Label" version="1.0.0">
|
||||
<actions hook="false" hook_all="false"/>
|
||||
<auto_size>true</auto_size>
|
||||
<background_color>
|
||||
<color blue="235" green="235" name="IO Background" red="235"/>
|
||||
</background_color>
|
||||
<border_color>
|
||||
<color blue="0" green="0" name="IO Border" red="0"/>
|
||||
</border_color>
|
||||
<border_style>0</border_style>
|
||||
<border_width>2</border_width>
|
||||
<enabled>false</enabled>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono" height="10" pixels="false" style="0">IO Label</opifont.name>
|
||||
</font>
|
||||
<foreground_color>
|
||||
<color blue="0" green="0" name="IO Text Fg" red="0"/>
|
||||
</foreground_color>
|
||||
<height>13</height>
|
||||
<horizontal_alignment>0</horizontal_alignment>
|
||||
<name>PLC Variable Communication:</name>
|
||||
<rules/>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<scripts/>
|
||||
<show_scrollbar>false</show_scrollbar>
|
||||
<text>PLC Variable Communication:</text>
|
||||
<tooltip/>
|
||||
<transparent>true</transparent>
|
||||
<vertical_alignment>1</vertical_alignment>
|
||||
<visible>true</visible>
|
||||
<widget_type>Label</widget_type>
|
||||
<width>40</width>
|
||||
<wrap_words>true</wrap_words>
|
||||
|
||||
<x>6</x>
|
||||
<y>240</y>
|
||||
</widget>
|
||||
|
||||
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.ActionButton" version="2.0.0">
|
||||
<actions hook="false" hook_all="false">
|
||||
<action type="OPEN_DISPLAY">
|
||||
<path>/opt/codac/opi/epics-sysmon/boy/ITER-SYSM-PLC_Mimic.opi</path>
|
||||
<macros>
|
||||
<include_parent_macros>true</include_parent_macros>
|
||||
</macros>
|
||||
<mode>0</mode>
|
||||
<description></description>
|
||||
</action>
|
||||
</actions>
|
||||
<border_alarm_sensitive>false</border_alarm_sensitive>
|
||||
<border_color>
|
||||
<color name="IO Border" red="0" green="0" blue="0" />
|
||||
</border_color>
|
||||
<border_style>6</border_style>
|
||||
<border_width>2</border_width>
|
||||
<enabled>true</enabled>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono" height="12" style="0" pixels="false">IO Label</opifont.name>
|
||||
</font>
|
||||
<forecolor_alarm_sensitive>false</forecolor_alarm_sensitive>
|
||||
<foreground_color>
|
||||
<color name="IO Foreground" red="0" green="0" blue="0" />
|
||||
</foreground_color>
|
||||
<height>37</height>
|
||||
<image></image>
|
||||
<name>Action Button Template</name>
|
||||
<push_action_index>0</push_action_index>
|
||||
<pv_name></pv_name>
|
||||
<pv_value />
|
||||
<rules />
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<scripts />
|
||||
<style>1</style>
|
||||
<text>More Details</text>
|
||||
<toggle_button>false</toggle_button>
|
||||
<tooltip>$(pv_name)
|
||||
$(pv_value)</tooltip>
|
||||
<visible>true</visible>
|
||||
<widget_type>Action Button</widget_type>
|
||||
<width>279</width>
|
||||
<wuid>6cb4f02d:15e5c6fbe55:-70fa</wuid>
|
||||
<x>400</x>
|
||||
<y>230</y>
|
||||
</widget>
|
||||
|
||||
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.table" version="1.0">
|
||||
<visible>true</visible>
|
||||
<default_content>
|
||||
<row>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
</row>
|
||||
</default_content>
|
||||
<scripts>
|
||||
<path pathString="scripts/PLCDetailsTableSelectionMonitor.js" checkConnect="true" sfe="false" seoe="false">
|
||||
<pv trig="true">1</pv>
|
||||
</path>
|
||||
<path pathString="scripts/DisplayPVValuesInGeneralTable.js" checkConnect="false" sfe="false" seoe="false">
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):$(TTT)$(NNNN)-CFGBC</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):$(TTT)$(NNNN)-CFGSTAT</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):$(TTT)$(NNNN)-CPU0-ALIVE</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):$(TTT)$(NNNN)-CPU0-MASTER</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):$(TTT)$(NNNN)-CPU0-RUN</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):$(TTT)$(NNNN)-CPU0-VALID</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):$(TTT)$(NNNN)-CPU1-ALIVE</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):$(TTT)$(NNNN)-CPU1-MASTER</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):$(TTT)$(NNNN)-CPU1-RUN</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):$(TTT)$(NNNN)-CPU1-VALID</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):$(TTT)$(NNNN)-FERROR</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):$(TTT)$(NNNN)-FLENGTH</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):$(TTT)$(NNNN)-FLOST</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):$(TTT)$(NNNN)-FVERS</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):$(TTT)$(NNNN)-SIM-NOPLC</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):$(TTT)$(NNNN)-TIME</pv>
|
||||
|
||||
</path>
|
||||
</scripts>
|
||||
<height>300</height>
|
||||
<name>GeneralTable</name>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<background_color>
|
||||
<color red="240" green="240" blue="240" />
|
||||
</background_color>
|
||||
<foreground_color>
|
||||
<color red="192" green="192" blue="192" />
|
||||
</foreground_color>
|
||||
<column_header_visible>true</column_header_visible>
|
||||
<widget_type>Table</widget_type>
|
||||
<enabled>true</enabled>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono-regular" height="10" style="0">IO Scale</opifont.name>
|
||||
</font>
|
||||
<width>2000</width>
|
||||
<border_style>6</border_style>
|
||||
<column_headers>
|
||||
<row>
|
||||
<col>Name</col>
|
||||
<col>250</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Value</col>
|
||||
<col>280</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Status</col>
|
||||
<col>200</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Severity</col>
|
||||
<col>140</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
</column_headers>
|
||||
<editable>false</editable>
|
||||
<rules />
|
||||
<border_width>2</border_width>
|
||||
<border_color>
|
||||
<color name="IO Border" red="0" green="0" blue="0"/>
|
||||
</border_color>
|
||||
<columns_count>4</columns_count>
|
||||
<actions hook="false" hook_all="false" />
|
||||
<y>290</y>
|
||||
<tooltip></tooltip>
|
||||
<x>6</x>
|
||||
</widget>
|
||||
<!-- ++++++++++ End PLC Var Details Section ++++++++++ -->
|
||||
<!-- ++++++++++ Start PLC Com Details Section ++++++++++ -->
|
||||
|
||||
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.Label" version="1.0.0">
|
||||
<actions hook="false" hook_all="false"/>
|
||||
<auto_size>true</auto_size>
|
||||
<background_color>
|
||||
<color blue="235" green="235" name="IO Background" red="235"/>
|
||||
</background_color>
|
||||
<border_color>
|
||||
<color blue="0" green="0" name="IO Border" red="0"/>
|
||||
</border_color>
|
||||
<border_style>0</border_style>
|
||||
<border_width>2</border_width>
|
||||
<enabled>false</enabled>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono" height="10" pixels="false" style="0">IO Label</opifont.name>
|
||||
</font>
|
||||
<foreground_color>
|
||||
<color blue="0" green="0" name="IO Text Fg" red="0"/>
|
||||
</foreground_color>
|
||||
<height>13</height>
|
||||
<horizontal_alignment>0</horizontal_alignment>
|
||||
<name>PLC Command Communication:</name>
|
||||
<rules/>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<scripts/>
|
||||
<show_scrollbar>false</show_scrollbar>
|
||||
<text>PLC Command Communication:</text>
|
||||
<tooltip/>
|
||||
<transparent>true</transparent>
|
||||
<vertical_alignment>1</vertical_alignment>
|
||||
<visible>true</visible>
|
||||
<widget_type>Label</widget_type>
|
||||
<width>40</width>
|
||||
<wrap_words>true</wrap_words>
|
||||
|
||||
<x>6</x>
|
||||
<y>640</y>
|
||||
</widget>
|
||||
|
||||
|
||||
|
||||
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.table" version="1.0">
|
||||
<visible>true</visible>
|
||||
<default_content>
|
||||
<row>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
</row>
|
||||
</default_content>
|
||||
<scripts>
|
||||
<path pathString="scripts/DisplayPVValuesInGeneralTable.js" checkConnect="false" sfe="false" seoe="false">
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):$(TTT)$(NNNN)-CMDBC</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):$(TTT)$(NNNN)-CMDSTAT</pv>
|
||||
|
||||
</path>
|
||||
</scripts>
|
||||
<height>300</height>
|
||||
<name>GeneralTable</name>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<background_color>
|
||||
<color red="240" green="240" blue="240" />
|
||||
</background_color>
|
||||
<foreground_color>
|
||||
<color red="192" green="192" blue="192" />
|
||||
</foreground_color>
|
||||
<column_header_visible>true</column_header_visible>
|
||||
<widget_type>Table</widget_type>
|
||||
<enabled>true</enabled>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono-regular" height="10" style="0">IO Scale</opifont.name>
|
||||
</font>
|
||||
<width>2000</width>
|
||||
<border_style>6</border_style>
|
||||
<column_headers>
|
||||
<row>
|
||||
<col>Name</col>
|
||||
<col>250</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Value</col>
|
||||
<col>280</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Status</col>
|
||||
<col>200</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Severity</col>
|
||||
<col>140</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
</column_headers>
|
||||
<editable>false</editable>
|
||||
<rules />
|
||||
<border_width>2</border_width>
|
||||
<border_color>
|
||||
<color name="IO Border" red="0" green="0" blue="0"/>
|
||||
</border_color>
|
||||
<columns_count>4</columns_count>
|
||||
<actions hook="false" hook_all="false" />
|
||||
<y>690</y>
|
||||
<tooltip></tooltip>
|
||||
<x>6</x>
|
||||
</widget>
|
||||
<!-- ++++++++++ End PLC Com Details Section ++++++++++ -->
|
||||
<!-- ++++++++++ Start PLC event Section ++++++++++ -->
|
||||
|
||||
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.Label" version="1.0.0">
|
||||
<actions hook="false" hook_all="false"/>
|
||||
<auto_size>true</auto_size>
|
||||
<background_color>
|
||||
<color blue="235" green="235" name="IO Background" red="235"/>
|
||||
</background_color>
|
||||
<border_color>
|
||||
<color blue="0" green="0" name="IO Border" red="0"/>
|
||||
</border_color>
|
||||
<border_style>0</border_style>
|
||||
<border_width>2</border_width>
|
||||
<enabled>false</enabled>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono" height="10" pixels="false" style="0">IO Label</opifont.name>
|
||||
</font>
|
||||
<foreground_color>
|
||||
<color blue="0" green="0" name="IO Text Fg" red="0"/>
|
||||
</foreground_color>
|
||||
<height>13</height>
|
||||
<horizontal_alignment>0</horizontal_alignment>
|
||||
<name>PLC Event Communication:</name>
|
||||
<rules/>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<scripts/>
|
||||
<show_scrollbar>false</show_scrollbar>
|
||||
<text>PLC Event Communication:</text>
|
||||
<tooltip/>
|
||||
<transparent>true</transparent>
|
||||
<vertical_alignment>1</vertical_alignment>
|
||||
<visible>true</visible>
|
||||
<widget_type>Label</widget_type>
|
||||
<width>40</width>
|
||||
<wrap_words>true</wrap_words>
|
||||
|
||||
<x>6</x>
|
||||
<y>1040</y>
|
||||
</widget>
|
||||
|
||||
|
||||
|
||||
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.table" version="1.0">
|
||||
<visible>true</visible>
|
||||
<default_content>
|
||||
<row>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
</row>
|
||||
</default_content>
|
||||
<scripts>
|
||||
<path pathString="scripts/DisplayPVValuesInGeneralTable.js" checkConnect="false" sfe="false" seoe="false">
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):$(TTT)$(NNNN)-EFLOST</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):$(TTT)$(NNNN)-EVTBC</pv>
|
||||
<pv trig="true">$(CBS1)-$(CBS2)-$(CBS3)-$(PPPP)-$(PP):$(TTT)$(NNNN)-EVTSTAT</pv>
|
||||
|
||||
</path>
|
||||
</scripts>
|
||||
<height>300</height>
|
||||
<name>GeneralTable</name>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<background_color>
|
||||
<color red="240" green="240" blue="240" />
|
||||
</background_color>
|
||||
<foreground_color>
|
||||
<color red="192" green="192" blue="192" />
|
||||
</foreground_color>
|
||||
<column_header_visible>true</column_header_visible>
|
||||
<widget_type>Table</widget_type>
|
||||
<enabled>true</enabled>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono-regular" height="10" style="0">IO Scale</opifont.name>
|
||||
</font>
|
||||
<width>2000</width>
|
||||
<border_style>6</border_style>
|
||||
<column_headers>
|
||||
<row>
|
||||
<col>Name</col>
|
||||
<col>250</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Value</col>
|
||||
<col>280</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Status</col>
|
||||
<col>200</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Severity</col>
|
||||
<col>140</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
</column_headers>
|
||||
<editable>false</editable>
|
||||
<rules />
|
||||
<border_width>2</border_width>
|
||||
<border_color>
|
||||
<color name="IO Border" red="0" green="0" blue="0"/>
|
||||
</border_color>
|
||||
<columns_count>4</columns_count>
|
||||
<actions hook="false" hook_all="false" />
|
||||
<y>1090</y>
|
||||
<tooltip></tooltip>
|
||||
<x>6</x>
|
||||
</widget>
|
||||
<!-- ++++++++++ End PLC events Details Section ++++++++++ -->
|
||||
<!-- ++++++++++ Start I&C Project Info Container ++++++++++ -->
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.groupingContainer" version="1.0">
|
||||
<enabled>true</enabled>
|
||||
<widget_type>Grouping Container</widget_type>
|
||||
<macros>
|
||||
<include_parent_macros>true</include_parent_macros>
|
||||
</macros>
|
||||
<visible>true</visible>
|
||||
<width>1243</width>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<border_style>6</border_style>
|
||||
<rules />
|
||||
<lock_children>true</lock_children>
|
||||
<scripts />
|
||||
<height>48</height>
|
||||
<border_width>2</border_width>
|
||||
<name>groupICProjectInfo</name>
|
||||
<border_color>
|
||||
<color name="IO Border" red="0" green="0" blue="0"/>
|
||||
</border_color>
|
||||
<transparent>true</transparent>
|
||||
<show_scrollbar>false</show_scrollbar>
|
||||
<actions hook="false" />
|
||||
<y>1500</y>
|
||||
<foreground_color>
|
||||
<color red="192" green="192" blue="192" />
|
||||
</foreground_color>
|
||||
<background_color>
|
||||
<color red="240" green="240" blue="240" />
|
||||
</background_color>
|
||||
<x>0</x>
|
||||
<tooltip />
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.Label" version="1.0.0">
|
||||
<actions hook="false" hook_all="false"/>
|
||||
<auto_size>true</auto_size>
|
||||
<background_color>
|
||||
<color blue="235" green="235" name="IO Background" red="235"/>
|
||||
</background_color>
|
||||
<border_color>
|
||||
<color blue="0" green="0" name="IO Border" red="0"/>
|
||||
</border_color>
|
||||
<border_style>0</border_style>
|
||||
<border_width>2</border_width>
|
||||
<enabled>false</enabled>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono" height="10" pixels="false" style="0">IO Label</opifont.name>
|
||||
</font>
|
||||
<foreground_color>
|
||||
<color blue="0" green="0" name="IO Text Fg" red="0"/>
|
||||
</foreground_color>
|
||||
<height>38</height>
|
||||
<horizontal_alignment>0</horizontal_alignment>
|
||||
<name>I&C Project Name: EC-GN, Version: 1</name>
|
||||
<rules/>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<scripts/>
|
||||
<show_scrollbar>false</show_scrollbar>
|
||||
<text>I&C Project Name: EC-GN, Version: 1</text>
|
||||
<tooltip/>
|
||||
<transparent>true</transparent>
|
||||
<vertical_alignment>1</vertical_alignment>
|
||||
<visible>true</visible>
|
||||
<widget_type>Label</widget_type>
|
||||
<width>3000</width>
|
||||
<wrap_words>true</wrap_words>
|
||||
|
||||
<x>40</x>
|
||||
<y>0</y>
|
||||
</widget>
|
||||
|
||||
</widget>
|
||||
<!-- ++++++++++ End I&C Project Info Container ++++++++++ -->
|
||||
<!-- ************************************************************************************************************************************************ -->
|
||||
</display>
|
||||
619
EC-GN-JA-PCF/target/main/boy/sysm/EC-GN-SYSM.opi
Executable file
619
EC-GN-JA-PCF/target/main/boy/sysm/EC-GN-SYSM.opi
Executable file
@@ -0,0 +1,619 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
SDD Generated Configuration
|
||||
CODAC-VERSION: 6.1.2
|
||||
WARNING: This is an automatically generated file. PLEASE DO NOT MODIFY.
|
||||
-->
|
||||
<display typeId="org.csstudio.opibuilder.Display" version="1.0">
|
||||
<widget_type>Display</widget_type>
|
||||
<macros>
|
||||
<include_parent_macros>true</include_parent_macros>
|
||||
</macros>
|
||||
<width>3236</width>
|
||||
<rules />
|
||||
<scripts />
|
||||
<show_ruler>true</show_ruler>
|
||||
<height>1760</height>
|
||||
<show_edit_range>true</show_edit_range>
|
||||
<name>EC-GN-SYSM</name>
|
||||
<grid_space>6</grid_space>
|
||||
<snap_to_geometry>true</snap_to_geometry>
|
||||
<show_grid>true</show_grid>
|
||||
<y>0</y>
|
||||
<actions hook="false" />
|
||||
<foreground_color>
|
||||
<color name="IO Foreground" />
|
||||
</foreground_color>
|
||||
<background_color>
|
||||
<color name="IO Background" />
|
||||
</background_color>
|
||||
<x>0</x>
|
||||
|
||||
<auto_zoom_to_fit_all>false</auto_zoom_to_fit_all>
|
||||
|
||||
|
||||
<auto_scale_widgets>
|
||||
<auto_scale_widgets>false</auto_scale_widgets>
|
||||
<min_width>-1</min_width>
|
||||
<min_height>-1</min_height>
|
||||
</auto_scale_widgets>
|
||||
|
||||
|
||||
|
||||
<!-- ************************************************************************************************************************************************ -->
|
||||
<!-- ++++++++++ Start Top 2 Rows ++++++++++ -->
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.groupingContainer" version="1.0">
|
||||
<enabled>true</enabled>
|
||||
<widget_type>Grouping Container</widget_type>
|
||||
<macros>
|
||||
<include_parent_macros>true</include_parent_macros>
|
||||
</macros>
|
||||
<visible>true</visible>
|
||||
<border_style>6</border_style>
|
||||
<rules />
|
||||
<lock_children>true</lock_children>
|
||||
<scripts />
|
||||
<border_width>2</border_width>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<name>groupHeading</name>
|
||||
<border_color>
|
||||
<color name="IO Border" red="0" green="0" blue="0" />
|
||||
</border_color>
|
||||
<transparent>true</transparent>
|
||||
<show_scrollbar>false</show_scrollbar>
|
||||
<actions hook="false" />
|
||||
<y>0</y>
|
||||
<foreground_color>
|
||||
<color red="192" green="192" blue="192" />
|
||||
</foreground_color>
|
||||
<background_color>
|
||||
<color red="240" green="240" blue="240" />
|
||||
</background_color>
|
||||
<x>0</x>
|
||||
<tooltip />
|
||||
<width>1243</width>
|
||||
<height>50</height>
|
||||
</widget>
|
||||
<!-- ++++++++++ End Top 2 Rows ++++++++++ -->
|
||||
<!-- ************************************************************************************************************************************************ -->
|
||||
<!-- ++++++++++ Start Cubicles Summary Table ++++++++++ -->
|
||||
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.Label" version="1.0.0">
|
||||
<actions hook="false" hook_all="false"/>
|
||||
<auto_size>true</auto_size>
|
||||
<background_color>
|
||||
<color blue="235" green="235" name="IO Background" red="235"/>
|
||||
</background_color>
|
||||
<border_color>
|
||||
<color blue="0" green="0" name="IO Border" red="0"/>
|
||||
</border_color>
|
||||
<border_style>0</border_style>
|
||||
<border_width>2</border_width>
|
||||
<enabled>false</enabled>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono" height="10" pixels="false" style="0">IO Label</opifont.name>
|
||||
</font>
|
||||
<foreground_color>
|
||||
<color blue="0" green="0" name="IO Text Fg" red="0"/>
|
||||
</foreground_color>
|
||||
<height>13</height>
|
||||
<horizontal_alignment>0</horizontal_alignment>
|
||||
<name>Label Template</name>
|
||||
<rules/>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<scripts/>
|
||||
<show_scrollbar>false</show_scrollbar>
|
||||
<text>Cubicles</text>
|
||||
<tooltip/>
|
||||
<transparent>true</transparent>
|
||||
<vertical_alignment>1</vertical_alignment>
|
||||
<visible>true</visible>
|
||||
<widget_type>Label</widget_type>
|
||||
<width>40</width>
|
||||
<wrap_words>true</wrap_words>
|
||||
|
||||
<x>6</x>
|
||||
<y>54</y>
|
||||
</widget>
|
||||
|
||||
|
||||
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.table" version="1.0">
|
||||
<visible>true</visible>
|
||||
<default_content>
|
||||
|
||||
|
||||
|
||||
</default_content>
|
||||
<scripts>
|
||||
<path pathString="scripts/CubiclesTableSelectionMonitor.js" checkConnect="true" sfe="false" seoe="false">
|
||||
<pv trig="true">1</pv>
|
||||
</path>
|
||||
<path pathString="scripts/DisplayPVValuesInCubicleOverview.js" checkConnect="false" sfe="false" seoe="false">
|
||||
|
||||
|
||||
|
||||
</path>
|
||||
</scripts>
|
||||
<height>200</height>
|
||||
<name>EC-GN-SYSM</name>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<background_color>
|
||||
<color red="240" green="240" blue="240" />
|
||||
</background_color>
|
||||
<foreground_color>
|
||||
<color red="192" green="192" blue="192" />
|
||||
</foreground_color>
|
||||
<column_header_visible>true</column_header_visible>
|
||||
<widget_type>Table</widget_type>
|
||||
<enabled>true</enabled>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono-regular" height="10" style="0">IO Scale</opifont.name>
|
||||
</font>
|
||||
<width>1400</width>
|
||||
<border_style>6</border_style>
|
||||
<column_headers>
|
||||
<row>
|
||||
<col>Name</col>
|
||||
<col>50</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Physical Name</col>
|
||||
<col>120</col>
|
||||
<col></col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Description</col>
|
||||
<col>120</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Cubicle health summary</col>
|
||||
<col>100</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>PLC health summary</col>
|
||||
<col>100</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Location</col>
|
||||
<col>100</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Macro PPPP</col>
|
||||
<col>0</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Macro PP</col>
|
||||
<col>0</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Macro NNNN</col>
|
||||
<col>0</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
</column_headers>
|
||||
<editable>false</editable>
|
||||
<rules />
|
||||
<border_width>2</border_width>
|
||||
<border_color>
|
||||
<color name="IO Border" red="0" green="0" blue="0"/>
|
||||
</border_color>
|
||||
<columns_count>7</columns_count>
|
||||
<actions hook="false" hook_all="false" />
|
||||
<y>90</y>
|
||||
<tooltip></tooltip>
|
||||
<x>6</x>
|
||||
</widget>
|
||||
<!-- ++++++++++ End Cubicles Summary Table ++++++++++ -->
|
||||
<!-- ++++++++++ Start PLCs Summary Table ++++++++++ -->
|
||||
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.Label" version="1.0.0">
|
||||
<actions hook="false" hook_all="false"/>
|
||||
<auto_size>true</auto_size>
|
||||
<background_color>
|
||||
<color blue="235" green="235" name="IO Background" red="235"/>
|
||||
</background_color>
|
||||
<border_color>
|
||||
<color blue="0" green="0" name="IO Border" red="0"/>
|
||||
</border_color>
|
||||
<border_style>0</border_style>
|
||||
<border_width>2</border_width>
|
||||
<enabled>false</enabled>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono" height="10" pixels="false" style="0">IO Label</opifont.name>
|
||||
</font>
|
||||
<foreground_color>
|
||||
<color blue="0" green="0" name="IO Text Fg" red="0"/>
|
||||
</foreground_color>
|
||||
<height>13</height>
|
||||
<horizontal_alignment>0</horizontal_alignment>
|
||||
<name>Label Template</name>
|
||||
<rules/>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<scripts/>
|
||||
<show_scrollbar>false</show_scrollbar>
|
||||
<text>PLCs</text>
|
||||
<tooltip/>
|
||||
<transparent>true</transparent>
|
||||
<vertical_alignment>1</vertical_alignment>
|
||||
<visible>true</visible>
|
||||
<widget_type>Label</widget_type>
|
||||
<width>26</width>
|
||||
<wrap_words>true</wrap_words>
|
||||
|
||||
<x>6</x>
|
||||
<y>320</y>
|
||||
</widget>
|
||||
|
||||
|
||||
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.table" version="1.0">
|
||||
<visible>true</visible>
|
||||
<default_content>
|
||||
|
||||
<row>
|
||||
<col>P0</col>
|
||||
<col>52RF01-PLC-4110</col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
</row>
|
||||
|
||||
|
||||
</default_content>
|
||||
<scripts>
|
||||
<path pathString="scripts/PLCsTableSelectionMonitor.js" checkConnect="true" sfe="false" seoe="false">
|
||||
<pv trig="true">1</pv>
|
||||
</path>
|
||||
<path pathString="scripts/DisplayPVValuesInPLCOverview.js" checkConnect="false" sfe="false" seoe="false">
|
||||
|
||||
|
||||
<pv trig="true">EC-GN-SYSM-52RF-01:PLC4110-PLCHLTS</pv>
|
||||
<pv trig="true">EC-GN-SYSM-52RF-01:PLC4110-EVTHLTS</pv>
|
||||
<pv trig="true">EC-GN-SYSM-52RF-01:PLC4110-FRAMEC</pv>
|
||||
|
||||
|
||||
</path>
|
||||
</scripts>
|
||||
<height>200</height>
|
||||
<name>EC-GN-SYSM</name>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<background_color>
|
||||
<color red="240" green="240" blue="240" />
|
||||
</background_color>
|
||||
<foreground_color>
|
||||
<color red="192" green="192" blue="192" />
|
||||
</foreground_color>
|
||||
<column_header_visible>true</column_header_visible>
|
||||
<widget_type>Table</widget_type>
|
||||
<enabled>true</enabled>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono-regular" height="10" style="0">IO Scale</opifont.name>
|
||||
</font>
|
||||
<width>1400</width>
|
||||
<border_style>6</border_style>
|
||||
<column_headers>
|
||||
<row>
|
||||
<col>Name</col>
|
||||
<col>50</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Physical Name</col>
|
||||
<col>120</col>
|
||||
<col></col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Description</col>
|
||||
<col>120</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>PLC health summary</col>
|
||||
<col>100</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>ALIVEC</col>
|
||||
<col>100</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Event health summary</col>
|
||||
<col>100</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>FRAMEC</col>
|
||||
<col>100</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
</column_headers>
|
||||
<editable>false</editable>
|
||||
<rules />
|
||||
<border_width>2</border_width>
|
||||
<border_color>
|
||||
<color name="IO Border" red="0" green="0" blue="0"/>
|
||||
</border_color>
|
||||
<columns_count>5</columns_count>
|
||||
<actions hook="false" hook_all="false" />
|
||||
<y>350</y>
|
||||
<tooltip></tooltip>
|
||||
<x>6</x>
|
||||
</widget>
|
||||
<!-- ++++++++++ End PLCs Summary Table ++++++++++ -->
|
||||
<!-- ++++++++++ Start Control Units Summary Table ++++++++++ -->
|
||||
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.Label" version="1.0.0">
|
||||
<actions hook="false" hook_all="false"/>
|
||||
<auto_size>true</auto_size>
|
||||
<background_color>
|
||||
<color blue="235" green="235" name="IO Background" red="235"/>
|
||||
</background_color>
|
||||
<border_color>
|
||||
<color blue="0" green="0" name="IO Border" red="0"/>
|
||||
</border_color>
|
||||
<border_style>0</border_style>
|
||||
<border_width>2</border_width>
|
||||
<enabled>false</enabled>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono" height="10" pixels="false" style="0">IO Label</opifont.name>
|
||||
</font>
|
||||
<foreground_color>
|
||||
<color blue="0" green="0" name="IO Text Fg" red="0"/>
|
||||
</foreground_color>
|
||||
<height>13</height>
|
||||
<horizontal_alignment>0</horizontal_alignment>
|
||||
<name>Label Template</name>
|
||||
<rules/>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<scripts/>
|
||||
<show_scrollbar>false</show_scrollbar>
|
||||
<text>Control Units</text>
|
||||
<tooltip/>
|
||||
<transparent>true</transparent>
|
||||
<vertical_alignment>1</vertical_alignment>
|
||||
<visible>true</visible>
|
||||
<widget_type>Label</widget_type>
|
||||
<width>59</width>
|
||||
<wrap_words>true</wrap_words>
|
||||
|
||||
<x>6</x>
|
||||
<y>570</y>
|
||||
</widget>
|
||||
|
||||
|
||||
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.table" version="1.0">
|
||||
<visible>true</visible>
|
||||
<default_content>
|
||||
|
||||
<row>
|
||||
<col>H0</col>
|
||||
<col>52RF01-PSH-4410</col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col>Plant System Host</col>
|
||||
</row>
|
||||
|
||||
|
||||
<row>
|
||||
<col>F0</col>
|
||||
<col>52RF01-PCF-4210</col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col></col>
|
||||
<col>Fast Controller</col>
|
||||
</row>
|
||||
|
||||
|
||||
</default_content>
|
||||
<scripts>
|
||||
<path pathString="scripts/ControlUnitsTableSelectionMonitor.js" checkConnect="true" sfe="false" seoe="false">
|
||||
<pv trig="true">1</pv>
|
||||
</path>
|
||||
<path pathString="scripts/DisplayPVValuesInOverview.js" checkConnect="false" sfe="false" seoe="false">
|
||||
|
||||
<pv trig="true">EC-GN-SYSM-52RF-01:PCF4210-SYSHLTS</pv>
|
||||
<pv trig="true">EC-GN-SYSM-52RF-01:PSH4410-SYSHLTS</pv>
|
||||
|
||||
|
||||
|
||||
</path>
|
||||
</scripts>
|
||||
<height>300</height>
|
||||
<name>EC-GN-SYSM</name>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<background_color>
|
||||
<color red="240" green="240" blue="240" />
|
||||
</background_color>
|
||||
<foreground_color>
|
||||
<color red="192" green="192" blue="192" />
|
||||
</foreground_color>
|
||||
<column_header_visible>true</column_header_visible>
|
||||
<widget_type>Table</widget_type>
|
||||
<enabled>true</enabled>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono-regular" height="10" style="0">IO Scale</opifont.name>
|
||||
</font>
|
||||
<width>1400</width>
|
||||
<border_style>6</border_style>
|
||||
<column_headers>
|
||||
<row>
|
||||
<col>Name</col>
|
||||
<col>50</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Physical Name</col>
|
||||
<col>120</col>
|
||||
<col></col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Description</col>
|
||||
<col>120</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Controller health summary</col>
|
||||
<col>150</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>PSH0CORE IOC health summary</col>
|
||||
<col>100</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Controller IOC health summary</col>
|
||||
<col>100</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>PLC IOC health summary</col>
|
||||
<col>100</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
<row>
|
||||
<col>Type</col>
|
||||
<col>100</col>
|
||||
<col>no</col>
|
||||
</row>
|
||||
</column_headers>
|
||||
<editable>false</editable>
|
||||
<rules />
|
||||
<border_width>2</border_width>
|
||||
<border_color>
|
||||
<color name="IO Border" red="0" green="0" blue="0"/>
|
||||
</border_color>
|
||||
<columns_count>7</columns_count>
|
||||
<actions hook="false" hook_all="false" />
|
||||
<y>600</y>
|
||||
<tooltip></tooltip>
|
||||
<x>6</x>
|
||||
</widget>
|
||||
<!-- ++++++++++ End Control Units Summary Table ++++++++++ -->
|
||||
<!-- ++++++++++ Start I&C Project Info Container ++++++++++ -->
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.groupingContainer" version="1.0">
|
||||
<enabled>true</enabled>
|
||||
<widget_type>Grouping Container</widget_type>
|
||||
<macros>
|
||||
<include_parent_macros>true</include_parent_macros>
|
||||
</macros>
|
||||
<visible>true</visible>
|
||||
<width>1243</width>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<border_style>6</border_style>
|
||||
<rules />
|
||||
<lock_children>true</lock_children>
|
||||
<scripts />
|
||||
<height>48</height>
|
||||
<border_width>2</border_width>
|
||||
<name>groupICProjectInfo</name>
|
||||
<border_color>
|
||||
<color name="IO Border" red="0" green="0" blue="0" />
|
||||
</border_color>
|
||||
<transparent>true</transparent>
|
||||
<show_scrollbar>false</show_scrollbar>
|
||||
<actions hook="false" />
|
||||
<y>1400</y>
|
||||
<foreground_color>
|
||||
<color red="192" green="192" blue="192" />
|
||||
</foreground_color>
|
||||
<background_color>
|
||||
<color red="240" green="240" blue="240" />
|
||||
</background_color>
|
||||
<x>0</x>
|
||||
<tooltip />
|
||||
<widget typeId="org.csstudio.opibuilder.widgets.Label" version="1.0.0">
|
||||
<actions hook="false" hook_all="false"/>
|
||||
<auto_size>true</auto_size>
|
||||
<background_color>
|
||||
<color blue="235" green="235" name="IO Background" red="235"/>
|
||||
</background_color>
|
||||
<border_color>
|
||||
<color blue="0" green="0" name="IO Border" red="0"/>
|
||||
</border_color>
|
||||
<border_style>0</border_style>
|
||||
<border_width>2</border_width>
|
||||
<enabled>false</enabled>
|
||||
<font>
|
||||
<opifont.name fontName="DejaVu Sans Mono" height="10" pixels="false" style="0">IO Label</opifont.name>
|
||||
</font>
|
||||
<foreground_color>
|
||||
<color blue="0" green="0" name="IO Text Fg" red="0"/>
|
||||
</foreground_color>
|
||||
<height>38</height>
|
||||
<horizontal_alignment>0</horizontal_alignment>
|
||||
<name>I&C Project Name: EC-GN, Version: 1</name>
|
||||
<rules/>
|
||||
<scale_options>
|
||||
<width_scalable>false</width_scalable>
|
||||
<height_scalable>false</height_scalable>
|
||||
<keep_wh_ratio>false</keep_wh_ratio>
|
||||
</scale_options>
|
||||
<scripts/>
|
||||
<show_scrollbar>false</show_scrollbar>
|
||||
<text>I&C Project Name: EC-GN, Version: 1</text>
|
||||
<tooltip/>
|
||||
<transparent>true</transparent>
|
||||
<vertical_alignment>1</vertical_alignment>
|
||||
<visible>true</visible>
|
||||
<widget_type>Label</widget_type>
|
||||
<width>3000</width>
|
||||
<wrap_words>true</wrap_words>
|
||||
|
||||
<x>40</x>
|
||||
<y>0</y>
|
||||
</widget>
|
||||
|
||||
</widget>
|
||||
<!-- ++++++++++ End I&C Project Info Container ++++++++++ -->
|
||||
<!-- ************************************************************************************************************************************************ -->
|
||||
</display>
|
||||
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
Copyright (c) : 2010-2019 ITER Organization,
|
||||
CS 90 046
|
||||
13067 St. Paul-lez-Durance Cedex
|
||||
France
|
||||
|
||||
This product is part of ITER CODAC software.
|
||||
For the terms and conditions of redistribution or use of this software
|
||||
refer to the file ITER-LICENSE.TXT located in the top level directory
|
||||
of the distribution package.
|
||||
*/
|
||||
|
||||
|
||||
importPackage(Packages.org.csstudio.opibuilder.scriptUtil);
|
||||
|
||||
var t = new Date(PVUtil.getTimeInMilliseconds(pvs[0])).toTimeString();
|
||||
var st = t.split(" ");
|
||||
|
||||
widget.setPropertyValue("on_label", st[0]);
|
||||
widget.setPropertyValue("off_label", st[0]);
|
||||
@@ -0,0 +1,14 @@
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.DataUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.PVUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.ScriptUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.ConsoleUtil);
|
||||
|
||||
var table = widget.getTable();
|
||||
var fct_name=display.getPropertyValue("name");
|
||||
var selectionChanged = new Packages.org.csstudio.swt.widgets.natives.SpreadSheetTable.ITableSelectionChangedListener() {
|
||||
selectionChanged: function(selection) {
|
||||
var macroInput = DataUtil.createMacrosInput(true)
|
||||
ScriptUtil.openOPI(display.getWidget("SystemDetailsTable"), "/opt/codac/opi/epics-sysmon/boy/ITER-SYSM-SYS_Mimic.opi", 1, macroInput);
|
||||
}
|
||||
};
|
||||
table.addSelectionChangedListener(selectionChanged);
|
||||
@@ -0,0 +1,51 @@
|
||||
|
||||
importClass(Packages.org.csstudio.swt.widgets.natives.SpreadSheetTable.ITableSelectionChangedListener);
|
||||
importPackage(Packages.org.csstudio.opibuilder.scriptUtil);
|
||||
|
||||
var table = widget.getTable();
|
||||
var fct_name=widget.getPropertyValue("name");
|
||||
|
||||
var selectionChanged = new Packages.org.csstudio.swt.widgets.natives.SpreadSheetTable.ITableSelectionChangedListener() {
|
||||
selectionChanged: function(selection) {
|
||||
var selectedrow= table.getSelection();
|
||||
var cuName=selectedrow[0][0];
|
||||
var phyName=selectedrow[0][1];
|
||||
var plcIocHlts =selectedrow[0][6];
|
||||
var cuType=selectedrow[0][7];
|
||||
// change $(CU) substitution
|
||||
macroInput = DataUtil.createMacrosInput(true)
|
||||
macroInput.put("CU", cuName)
|
||||
macroInput.put("PHY_NAME", phyName)
|
||||
macroInput.put("FCT_NAME", fct_name)
|
||||
macroInput.put("CU_TYPE", cuType)
|
||||
if (plcIocHlts == "") {
|
||||
macroInput.put("SHOW_PLC_IOC", "false")
|
||||
}
|
||||
else {
|
||||
macroInput.put("SHOW_PLC_IOC", "true")
|
||||
}
|
||||
// open OPI
|
||||
// see https://svnpub.iter.org/codac/iter/codac/dev/units/m-css-boy/trunk/org.csstudio.opibuilder/src/org/csstudio/opibuilder/scriptUtil/ScriptUtil.java
|
||||
if (cuType == "POC with CA") {
|
||||
ScriptUtil.openOPI(widget, fct_name + "-" + cuName + "-POCWithCADetails.opi", 1, macroInput)
|
||||
}
|
||||
else if (cuType == "POC without CA") {
|
||||
ScriptUtil.openOPI(widget, fct_name + "-" + cuName + "-POCWithoutCADetails.opi", 1, macroInput)
|
||||
}
|
||||
else if (cuType == "Plant System Host") {
|
||||
ScriptUtil.openOPI(widget, fct_name + "-" + cuName + "-PSHDetails.opi", 1, macroInput)
|
||||
}
|
||||
else if (cuType == "Fast Controller") {
|
||||
ScriptUtil.openOPI(widget, fct_name + "-" + cuName + "-PCFDetails.opi", 1, macroInput)
|
||||
}
|
||||
else if (cuType == "Server") {
|
||||
ScriptUtil.openOPI(widget, fct_name + "-" + cuName + "-SRVDetails.opi", 1, macroInput)
|
||||
}
|
||||
else {
|
||||
ScriptUtil.openOPI(widget, fct_name+"-CtrlUnitDetails.opi", 1, macroInput)
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
table.addSelectionChangedListener(selectionChanged);
|
||||
@@ -0,0 +1,38 @@
|
||||
from org.csstudio.opibuilder.scriptUtil import PVUtil
|
||||
from org.csstudio.opibuilder.scriptUtil import DataUtil
|
||||
from org.csstudio.opibuilder.scriptUtil import ScriptUtil
|
||||
from org.csstudio.swt.widgets.natives.SpreadSheetTable import ITableSelectionChangedListener
|
||||
from java.util import Arrays
|
||||
|
||||
table = widget.getTable()
|
||||
fct_name=display.getPropertyValue("name")
|
||||
class SelectionListener(ITableSelectionChangedListener):
|
||||
def selectionChanged(self, selection):
|
||||
cuName=""
|
||||
phyName=""
|
||||
plcIocHlts =""
|
||||
cuType=""
|
||||
for row in selection:
|
||||
phyName=row[1]
|
||||
cuName=row[0]
|
||||
plcIocHlts=row[6]
|
||||
cuType=row[7];
|
||||
# change $(CU) substitution
|
||||
macroInput = DataUtil.createMacrosInput(True)
|
||||
macroInput.put("CU", cuName)
|
||||
macroInput.put("PHY_NAME", phyName)
|
||||
macroInput.put("FCT_NAME", fct_name)
|
||||
macroInput.put("CU_TYPE", cuType)
|
||||
if plcIocHlts == "":
|
||||
macroInput.put("SHOW_PLC_IOC", "false")
|
||||
else:
|
||||
macroInput.put("SHOW_PLC_IOC", "true")
|
||||
# open OPI
|
||||
# see https://svnpub.iter.org/codac/iter/codac/dev/units/m-css-boy/trunk/org.csstudio.opibuilder/src/org/csstudio/opibuilder/scriptUtil/ScriptUtil.java
|
||||
if cuType == "POC with CA":
|
||||
ScriptUtil.openOPI(display.getWidget("Table"), fct_name+"-POCWithCADetails.opi", 1, macroInput)
|
||||
elif cuType == "POC without CA":
|
||||
ScriptUtil.openOPI(display.getWidget("Table"), fct_name+"-POCWithoutCADetails.opi", 1, macroInput)
|
||||
else:
|
||||
ScriptUtil.openOPI(display.getWidget("Table"), fct_name+"-CtrlUnitDetails.opi", 1, macroInput)
|
||||
table.addSelectionChangedListener(SelectionListener())
|
||||
@@ -0,0 +1,23 @@
|
||||
importClass(Packages.org.csstudio.swt.widgets.natives.SpreadSheetTable.ITableSelectionChangedListener);
|
||||
importPackage(Packages.org.csstudio.opibuilder.scriptUtil);
|
||||
|
||||
var table = widget.getTable();
|
||||
var fct_name = widget.getPropertyValue("name");
|
||||
|
||||
var selectionChanged = new Packages.org.csstudio.swt.widgets.natives.SpreadSheetTable.ITableSelectionChangedListener() {
|
||||
selectionChanged: function(selection) {
|
||||
var selectedrow= table.getSelection();
|
||||
var cuIndex=selectedrow[0][0];
|
||||
var phyName=selectedrow[0][1];
|
||||
|
||||
// change $(CU_INDEX) substitution
|
||||
var macroInput = DataUtil.createMacrosInput(true);
|
||||
macroInput.put("CUB", cuIndex);
|
||||
macroInput.put("PHY_NAME", phyName);
|
||||
macroInput.put("FCT_NAME", fct_name);
|
||||
// open OPI
|
||||
// see https://svnpub.iter.org/codac/iter/codac/dev/units/m-css-boy/trunk/org.csstudio.opibuilder/src/org/csstudio/opibuilder/scriptUtil/ScriptUtil.java
|
||||
ScriptUtil.openOPI(widget, fct_name+"-"+cuIndex+"-CubicleContents.opi", 1, macroInput);
|
||||
}
|
||||
};
|
||||
table.addSelectionChangedListener(selectionChanged);
|
||||
@@ -0,0 +1,24 @@
|
||||
from org.csstudio.opibuilder.scriptUtil import PVUtil
|
||||
from org.csstudio.opibuilder.scriptUtil import DataUtil
|
||||
from org.csstudio.opibuilder.scriptUtil import ScriptUtil
|
||||
from org.csstudio.swt.widgets.natives.SpreadSheetTable import ITableSelectionChangedListener
|
||||
from java.util import Arrays
|
||||
|
||||
table = widget.getTable()
|
||||
fct_name=display.getPropertyValue("name")
|
||||
class SelectionListener(ITableSelectionChangedListener):
|
||||
def selectionChanged(self, selection):
|
||||
cuIndex=""
|
||||
phyName=""
|
||||
for row in selection:
|
||||
cuIndex=row[0];
|
||||
phyName=row[1]
|
||||
# change $(CU_INDEX) substitution
|
||||
macroInput = DataUtil.createMacrosInput(True)
|
||||
macroInput.put("CUB", cuIndex)
|
||||
macroInput.put("PHY_NAME", phyName)
|
||||
macroInput.put("FCT_NAME", fct_name)
|
||||
# open OPI
|
||||
# see https://svnpub.iter.org/codac/iter/codac/dev/units/m-css-boy/trunk/org.csstudio.opibuilder/src/org/csstudio/opibuilder/scriptUtil/ScriptUtil.java
|
||||
ScriptUtil.openOPI(display.getWidget("Table"), fct_name+"-"+cuIndex+"-CubicleContents.opi", 1, macroInput)
|
||||
table.addSelectionChangedListener(SelectionListener())
|
||||
@@ -0,0 +1,14 @@
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.DataUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.PVUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.ScriptUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.ConsoleUtil);
|
||||
|
||||
var table = widget.getTable();
|
||||
var fct_name=display.getPropertyValue("name");
|
||||
var selectionChanged = new Packages.org.csstudio.swt.widgets.natives.SpreadSheetTable.ITableSelectionChangedListener() {
|
||||
selectionChanged: function(selection) {
|
||||
var macroInput = DataUtil.createMacrosInput(true)
|
||||
ScriptUtil.openOPI(display.getWidget("CubicleDetailsTable"), "/opt/codac/opi/epics-sysmon/boy/ITER-SYSM-CUB_Mimic.opi", 1, macroInput);
|
||||
}
|
||||
};
|
||||
table.addSelectionChangedListener(selectionChanged);
|
||||
@@ -0,0 +1,31 @@
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.DataUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.PVUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.ScriptUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.ConsoleUtil);
|
||||
|
||||
var table = widget.getTable();
|
||||
var fct_name=widget.getPropertyValue("name");
|
||||
var selectionChanged = new Packages.org.csstudio.swt.widgets.natives.SpreadSheetTable.ITableSelectionChangedListener() {
|
||||
selectionChanged: function(selection) {
|
||||
|
||||
var selectedrow= table.getSelection();
|
||||
var cuIndex=selectedrow[0][0];
|
||||
var phyName=selectedrow[0][1];
|
||||
var loc=selectedrow[0][5];
|
||||
var pppp=selectedrow[0][6];
|
||||
var pp=selectedrow[0][7];
|
||||
var nnnn=selectedrow[0][8];
|
||||
|
||||
var macroInput = DataUtil.createMacrosInput(true)
|
||||
macroInput.put("CUB", cuIndex)
|
||||
macroInput.put("PHY_NAME", phyName)
|
||||
macroInput.put("FCT_NAME", fct_name)
|
||||
macroInput.put("PPPP", pppp)
|
||||
macroInput.put("PP", pp)
|
||||
macroInput.put("NNNN", nnnn)
|
||||
macroInput.put("CUB_LOC", "Location: "+loc)
|
||||
|
||||
ScriptUtil.openOPI(widget, fct_name+"-CubicleDetails.opi", 1, macroInput);
|
||||
}
|
||||
};
|
||||
table.addSelectionChangedListener(selectionChanged);
|
||||
@@ -0,0 +1,24 @@
|
||||
from org.csstudio.opibuilder.scriptUtil import PVUtil
|
||||
from org.csstudio.opibuilder.scriptUtil import DataUtil
|
||||
from org.csstudio.opibuilder.scriptUtil import ScriptUtil
|
||||
from org.csstudio.swt.widgets.natives.SpreadSheetTable import ITableSelectionChangedListener
|
||||
from java.util import Arrays
|
||||
|
||||
table = widget.getTable()
|
||||
fct_name=display.getPropertyValue("name")
|
||||
class SelectionListener(ITableSelectionChangedListener):
|
||||
def selectionChanged(self, selection):
|
||||
cuIndex=""
|
||||
phyName=""
|
||||
for row in selection:
|
||||
cuIndex=row[0];
|
||||
phyName=row[1]
|
||||
# change $(CU_INDEX) substitution
|
||||
macroInput = DataUtil.createMacrosInput(True)
|
||||
macroInput.put("CUB", cuIndex)
|
||||
macroInput.put("PHY_NAME", phyName)
|
||||
macroInput.put("FCT_NAME", fct_name)
|
||||
# open OPI
|
||||
# see https://svnpub.iter.org/codac/iter/codac/dev/units/m-css-boy/trunk/org.csstudio.opibuilder/src/org/csstudio/opibuilder/scriptUtil/ScriptUtil.java
|
||||
ScriptUtil.openOPI(display.getWidget("Table"), fct_name+"-CubicleDetails.opi", 1, macroInput)
|
||||
table.addSelectionChangedListener(SelectionListener())
|
||||
@@ -0,0 +1,14 @@
|
||||
from org.csstudio.opibuilder.scriptUtil import PVUtil
|
||||
from org.csstudio.opibuilder.scriptUtil import ColorFontUtil
|
||||
|
||||
import datetime
|
||||
|
||||
pv = pvs[0]
|
||||
|
||||
s = PVUtil.getTimeInMilliseconds(pv)
|
||||
t = datetime.datetime.fromtimestamp(float(s)/1000.)
|
||||
|
||||
format = "%H:%M:%S"
|
||||
|
||||
widget.setPropertyValue("on_label", t.strftime(format))
|
||||
widget.setPropertyValue("off_label", t.strftime(format))
|
||||
@@ -0,0 +1,57 @@
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.PVUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.ColorFontUtil);
|
||||
|
||||
var table = widget.getTable();
|
||||
|
||||
//Fill PV Name only once
|
||||
if (widget.getVar("firstTime") == null) {
|
||||
widget.setVar("firstTime", true);
|
||||
// Fill table only with non EGU pv's
|
||||
for (var i=0;pv=pvs[i];i++) {
|
||||
// earlier when by default pv.getName() was giving name with 'epics://' prefix. Ripping it off before showing was done below
|
||||
table.setCellText(i, 0, pv.getName().trim());
|
||||
if (!pv.isConnected()) {
|
||||
table.setCellText(i/2, 1, "Disconnected");
|
||||
}
|
||||
}
|
||||
// Based on value of macro SHOW_PLC_IOC, enable visibility of PLCIOCDetailsTable
|
||||
if (widget.getPropertyValue("name") == 'PLCIOCDetailsTable') {
|
||||
if (display.getMacroValue("SHOW_PLC_IOC") == "true") {
|
||||
widget.setPropertyValue("visible", "true");
|
||||
display.getWidget("PLCIOCDetailsLabel").setPropertyValue("visible", "true");
|
||||
}
|
||||
}
|
||||
}
|
||||
//find index of the trigger PV
|
||||
var i=0;
|
||||
while (triggerPV != pvs[i]) {
|
||||
i+=1;
|
||||
}
|
||||
|
||||
var pvValue = PVUtil.getString(triggerPV).trim();
|
||||
var eugValue = table.getCellText(i, 4);
|
||||
if (eugValue != "") {
|
||||
pvValue = pvValue+" "+eugValue;
|
||||
}
|
||||
table.setCellText(i, 1, pvValue);
|
||||
table.setCellText(i, 2, PVUtil.getStatus(triggerPV).trim());
|
||||
table.setCellText(i, 3, PVUtil.getSeverityString(triggerPV).trim());
|
||||
|
||||
var s = PVUtil.getSeverity(triggerPV);
|
||||
|
||||
color = ColorFontUtil.WHITE;
|
||||
if( s == 0) {
|
||||
color = ColorFontUtil.GREEN;
|
||||
}
|
||||
else if( s == 1) {
|
||||
color = ColorFontUtil.RED;
|
||||
}
|
||||
else if( s == 2) {
|
||||
color = ColorFontUtil.YELLOW;
|
||||
}
|
||||
else if( s == 3) {
|
||||
color = ColorFontUtil.PINK;
|
||||
}
|
||||
|
||||
|
||||
table.setCellBackground(i, 3, color);
|
||||
@@ -0,0 +1,49 @@
|
||||
from org.csstudio.opibuilder.scriptUtil import PVUtil
|
||||
from org.csstudio.opibuilder.scriptUtil import ColorFontUtil
|
||||
# from org.csstudio.opibuilder.scriptUtil import ConsoleUtil
|
||||
|
||||
table = widget.getTable()
|
||||
|
||||
#Fill PV Name only once
|
||||
if widget.getVar("firstTime") == None:
|
||||
widget.setVar("firstTime", True)
|
||||
i=0
|
||||
# Fill table only with non EGU pv's
|
||||
for pv in pvs:
|
||||
# earlier when by default pv.getName() was giving name with 'epics://' prefix. Ripping it off before showing was done below
|
||||
table.setCellText(i, 0, pv.getName().strip())
|
||||
if not pv.isConnected():
|
||||
table.setCellText(i/2, 1, "Disconnected")
|
||||
i+=1
|
||||
# Based on value of macro SHOW_PLC_IOC, enable visibility of PLCIOCDetailsTable
|
||||
if widget.getPropertyValue("name") == 'PLCIOCDetailsTable':
|
||||
if display.getMacroValue("SHOW_PLC_IOC") == "true":
|
||||
widget.setPropertyValue("visible", "true")
|
||||
display.getWidget("PLCIOCDetailsLabel").setPropertyValue("visible", "true")
|
||||
|
||||
#find index of the trigger PV
|
||||
i=0
|
||||
while triggerPV != pvs[i]:
|
||||
i+=1
|
||||
|
||||
pvValue = PVUtil.getString(triggerPV).strip();
|
||||
eugValue = table.getCellText(i, 4);
|
||||
if eugValue != "":
|
||||
pvValue = pvValue+" "+eugValue;
|
||||
table.setCellText(i, 1, pvValue)
|
||||
table.setCellText(i, 2, PVUtil.getStatus(triggerPV).strip())
|
||||
table.setCellText(i, 3, PVUtil.getSeverityString(triggerPV).strip())
|
||||
|
||||
s = PVUtil.getSeverity(triggerPV)
|
||||
|
||||
color = ColorFontUtil.WHITE
|
||||
if s == 0:
|
||||
color = ColorFontUtil.GREEN
|
||||
elif s == 1:
|
||||
color = ColorFontUtil.RED
|
||||
elif s == 2:
|
||||
color = ColorFontUtil.YELLOW
|
||||
elif s == 3:
|
||||
color = ColorFontUtil.PINK
|
||||
|
||||
table.setCellBackground(i, 3, color)
|
||||
@@ -0,0 +1,92 @@
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.PVUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.ColorFontUtil);
|
||||
// from org.csstudio.opibuilder.scriptUtil import ConsoleUtil
|
||||
|
||||
var func = display.getPropertyValue("name");
|
||||
var type = widget.getPropertyValue("name");
|
||||
var widgetType = "ellipse";
|
||||
var varName = "XXXXXXX";
|
||||
|
||||
if (type.indexOf("PSH") != -1) {
|
||||
varName = "-SYSHLTS";
|
||||
}
|
||||
if (type.indexOf("PCF") != -1) {
|
||||
varName = "-SYSHLTS";
|
||||
}
|
||||
if (type.indexOf("SRV") != -1) {
|
||||
varName = "-SYSHLTS";
|
||||
}
|
||||
if (type.indexOf("PLC") != -1) {
|
||||
varName = "-PLCHLTS";
|
||||
}
|
||||
if (type.indexOf("COM") != -1) {
|
||||
varName = "-SYSHLTS";
|
||||
}
|
||||
if (type.indexOf("CHS") != -1) {
|
||||
varName = "-SYSHLTS";
|
||||
}
|
||||
// if ("IOM" in type.indexOf() != -1) {
|
||||
// varName = "-BS";
|
||||
if (type.indexOf("CUB") != -1) {
|
||||
varName = "-CUBHLTS";
|
||||
}
|
||||
if (type.indexOf("Box") != -1) {
|
||||
widgetType = "rectangle";
|
||||
}
|
||||
|
||||
if (triggerPV.getName().indexOf(varName) != -1) {
|
||||
// ConsoleUtil.writeInfo("Trigger PV found) { " +triggerPV.getName());
|
||||
|
||||
var s = PVUtil.getSeverity(triggerPV);
|
||||
|
||||
color = ColorFontUtil.WHITE;
|
||||
if( s == 0) {
|
||||
color = ColorFontUtil.GREEN;
|
||||
}
|
||||
else if( s == 1) {
|
||||
color = ColorFontUtil.RED;
|
||||
}
|
||||
else if( s == 2) {
|
||||
color = ColorFontUtil.YELLOW;
|
||||
}
|
||||
else if( s == 3) {
|
||||
color = ColorFontUtil.PINK;
|
||||
}
|
||||
|
||||
if ("ellipse" == widgetType) {
|
||||
widget.setPropertyValue("foreground_color", color);
|
||||
}
|
||||
|
||||
var tooltip = PVUtil.getString(triggerPV);
|
||||
widget.setPropertyValue("tooltip", tooltip);
|
||||
}
|
||||
|
||||
if (type.indexOf("IOM") != -1) {
|
||||
if (triggerPV.getName().indexOf(".SIMM") == -1) {
|
||||
var s = PVUtil.getSeverity(triggerPV);
|
||||
var color = ColorFontUtil.WHITE;
|
||||
if( s == 0) {
|
||||
color = ColorFontUtil.GREEN;
|
||||
}
|
||||
else if( s == 1) {
|
||||
color = ColorFontUtil.RED;
|
||||
}
|
||||
else if( s == 2) {
|
||||
color = ColorFontUtil.YELLOW;
|
||||
}
|
||||
else if( s == 3) {
|
||||
color = ColorFontUtil.PINK;
|
||||
}
|
||||
else if( s == 4) {
|
||||
color = ColorFontUtil.GREEN;
|
||||
}
|
||||
|
||||
widget.setPropertyValue("foreground_color", color);
|
||||
|
||||
var tooltip = PVUtil.getString(triggerPV);
|
||||
widget.setPropertyValue("tooltip", tooltip);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
from org.csstudio.opibuilder.scriptUtil import PVUtil
|
||||
from org.csstudio.opibuilder.scriptUtil import ColorFontUtil
|
||||
# from org.csstudio.opibuilder.scriptUtil import ConsoleUtil
|
||||
|
||||
func = display.getPropertyValue("name")
|
||||
type = widget.getPropertyValue("name")
|
||||
widgetType = "ellipse";
|
||||
varName = "XXXXXXX";
|
||||
|
||||
if "PSH" in type:
|
||||
varName = "-SYSHLTS";
|
||||
if "PCF" in type:
|
||||
varName = "-SYSHLTS";
|
||||
if "SRV" in type:
|
||||
varName = "-SYSHLTS";
|
||||
if "PLC" in type:
|
||||
varName = "-PLCHLTS";
|
||||
if "COM" in type:
|
||||
varName = "-SYSHLTS";
|
||||
if "CHS" in type:
|
||||
varName = "-SYSHLTS";
|
||||
# if "IOM" in type:
|
||||
# varName = "-BS";
|
||||
if "CUB" in type:
|
||||
varName = "-CUBHLTS";
|
||||
if "Box" in type:
|
||||
widgetType = "rectangle";
|
||||
|
||||
if varName in triggerPV.getName():
|
||||
# ConsoleUtil.writeInfo("Trigger PV found: " +triggerPV.getName());
|
||||
|
||||
s = PVUtil.getSeverity(triggerPV)
|
||||
|
||||
color = ColorFontUtil.WHITE
|
||||
if s == 0:
|
||||
color = ColorFontUtil.GREEN
|
||||
elif s == 1:
|
||||
color = ColorFontUtil.RED
|
||||
elif s == 2:
|
||||
color = ColorFontUtil.YELLOW
|
||||
elif s == 3:
|
||||
color = ColorFontUtil.PINK
|
||||
elif s == 4:
|
||||
color = ColorFontUtil.GREEN
|
||||
|
||||
if "ellipse" == widgetType:
|
||||
widget.setPropertyValue("foreground_color", color)
|
||||
|
||||
tooltip = PVUtil.getString(triggerPV)
|
||||
widget.setPropertyValue("tooltip", tooltip)
|
||||
|
||||
if "IOM" in type:
|
||||
if ".SIMM" not in triggerPV.getName():
|
||||
|
||||
s = PVUtil.getSeverity(triggerPV)
|
||||
color = ColorFontUtil.WHITE
|
||||
if s == 0:
|
||||
color = ColorFontUtil.GREEN
|
||||
elif s == 1:
|
||||
color = ColorFontUtil.RED
|
||||
elif s == 2:
|
||||
color = ColorFontUtil.YELLOW
|
||||
elif s == 3:
|
||||
color = ColorFontUtil.PINK
|
||||
elif s == 4:
|
||||
color = ColorFontUtil.GREEN
|
||||
|
||||
widget.setPropertyValue("foreground_color", color)
|
||||
|
||||
tooltip = PVUtil.getString(triggerPV)
|
||||
widget.setPropertyValue("tooltip", tooltip)
|
||||
@@ -0,0 +1,57 @@
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.PVUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.ColorFontUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.ConsoleUtil);
|
||||
|
||||
var table = widget.getTable();
|
||||
var nbColPVs=2;
|
||||
// find index of the trigger PV
|
||||
var i=0;
|
||||
while (i< pvs.length) {
|
||||
if(pvs[i].isConnected()==true){
|
||||
|
||||
|
||||
var s = PVUtil.getSeverity(pvs[i]);
|
||||
}else{
|
||||
|
||||
var s =3;
|
||||
}
|
||||
|
||||
var color = ColorFontUtil.WHITE;
|
||||
if( s == 0) {
|
||||
color = ColorFontUtil.GREEN;
|
||||
}
|
||||
else if( s == 1) {
|
||||
color = ColorFontUtil.RED;
|
||||
}
|
||||
else if( s == 2) {
|
||||
color = ColorFontUtil.YELLOW;
|
||||
}
|
||||
else if( s == 3) {
|
||||
color = ColorFontUtil.PINK;
|
||||
}
|
||||
else if( s == 3) {
|
||||
color = ColorFontUtil.PINK;
|
||||
}
|
||||
else if( s == 4) {
|
||||
color = ColorFontUtil.GREEN;
|
||||
}
|
||||
|
||||
|
||||
if (pvs[i].getName().indexOf("-CUBHLTS") != -1) {
|
||||
if(pvs[i].isConnected()==true){
|
||||
table.setCellText(i/nbColPVs, 3, PVUtil.getString(pvs[i]));
|
||||
}else{
|
||||
table.setCellText(i/nbColPVs, 3, "disconnected");
|
||||
}
|
||||
table.setCellBackground(i/nbColPVs, 3, color);
|
||||
}
|
||||
if (pvs[i].getName().indexOf("-PLCHLTS") != -1) {
|
||||
if(pvs[i].isConnected()==true){
|
||||
table.setCellText(i/nbColPVs, 4, PVUtil.getString(pvs[i]));
|
||||
}else{
|
||||
table.setCellText(i/nbColPVs, 4, "disconnected");
|
||||
}
|
||||
table.setCellBackground(i/nbColPVs, 4, color);
|
||||
}
|
||||
i=i+1;
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
from org.csstudio.opibuilder.scriptUtil import PVUtil
|
||||
from org.csstudio.opibuilder.scriptUtil import ColorFontUtil
|
||||
|
||||
|
||||
table = widget.getTable()
|
||||
nbColPVs=2
|
||||
#find index of the trigger PV
|
||||
i=0
|
||||
while triggerPV != pvs[i]:
|
||||
i+=1
|
||||
|
||||
s = PVUtil.getSeverity(triggerPV)
|
||||
|
||||
color = ColorFontUtil.WHITE
|
||||
if s == 0:
|
||||
color = ColorFontUtil.GREEN
|
||||
elif s == 1:
|
||||
color = ColorFontUtil.RED
|
||||
elif s == 2:
|
||||
color = ColorFontUtil.YELLOW
|
||||
elif s == 3:
|
||||
color = ColorFontUtil.PINK
|
||||
elif s == 4:
|
||||
color = ColorFontUtil.GREEN
|
||||
# table.setCellBackground(i/nbColPVs, i%nbColPVs + 3, color)
|
||||
if "-CUBHLTS" in triggerPV.getName():
|
||||
table.setCellText(i/nbColPVs, 3, PVUtil.getString(triggerPV))
|
||||
table.setCellBackground(i/nbColPVs, 3, color)
|
||||
if "-PLCHLTS" in triggerPV.getName():
|
||||
table.setCellText(i/nbColPVs, 4, PVUtil.getString(triggerPV))
|
||||
table.setCellBackground(i/nbColPVs, 4, color)
|
||||
@@ -0,0 +1,55 @@
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.PVUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.ColorFontUtil);
|
||||
|
||||
|
||||
var table = widget.getTable();
|
||||
|
||||
//Fill PV Name only once
|
||||
if (widget.getVar("firstTime") == null)
|
||||
{
|
||||
widget.setVar("firstTime", true);
|
||||
|
||||
for (var i=0;pv=pvs[i];i++) {
|
||||
// earlier when by default pv.getName() was giving name with 'epics://' prefix. Ripping it off before showing was done below
|
||||
table.setCellText(i, 0, pv.getName().trim())
|
||||
if (!pv.isConnected()) {
|
||||
table.setCellText(i, 1, "Disconnected");
|
||||
}
|
||||
}
|
||||
// Based on value of macro SHOW_PLC_IOC, enable visibility of PLCIOCDetailsTable
|
||||
if (widget.getPropertyValue("name") == 'PLCIOCDetailsTable') {
|
||||
if (display.getMacroValue("SHOW_PLC_IOC") == "true") {
|
||||
widget.setPropertyValue("visible", "true");
|
||||
display.getWidget("PLCIOCDetailsLabel").setPropertyValue("visible", "true");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//find index of the trigger PV
|
||||
var i=0;
|
||||
while (triggerPV != pvs[i]) {
|
||||
i+=1;
|
||||
}
|
||||
|
||||
table.setCellText(i, 1, PVUtil.getString(triggerPV).trim());
|
||||
table.setCellText(i, 2, PVUtil.getStatus(triggerPV).trim());
|
||||
table.setCellText(i, 3, PVUtil.getSeverityString(triggerPV).trim());
|
||||
|
||||
var s = PVUtil.getSeverity(triggerPV);
|
||||
|
||||
var color = ColorFontUtil.WHITE
|
||||
color = ColorFontUtil.WHITE;
|
||||
if( s == 0) {
|
||||
color = ColorFontUtil.GREEN;
|
||||
}
|
||||
else if( s == 1) {
|
||||
color = ColorFontUtil.RED;
|
||||
}
|
||||
else if( s == 2) {
|
||||
color = ColorFontUtil.YELLOW;
|
||||
}
|
||||
else if( s == 3) {
|
||||
color = ColorFontUtil.PINK;
|
||||
}
|
||||
table.setCellBackground(i, 3, color);
|
||||
@@ -0,0 +1,45 @@
|
||||
from org.csstudio.opibuilder.scriptUtil import PVUtil
|
||||
from org.csstudio.opibuilder.scriptUtil import ColorFontUtil
|
||||
|
||||
|
||||
table = widget.getTable()
|
||||
|
||||
#Fill PV Name only once
|
||||
if widget.getVar("firstTime") == None:
|
||||
widget.setVar("firstTime", True)
|
||||
i=0
|
||||
for pv in pvs:
|
||||
# earlier when by default pv.getName() was giving name with 'epics://' prefix. Ripping it off before showing was done below
|
||||
table.setCellText(i, 0, pv.getName().strip())
|
||||
if not pv.isConnected():
|
||||
table.setCellText(i, 1, "Disconnected")
|
||||
i+=1
|
||||
# Based on value of macro SHOW_PLC_IOC, enable visibility of PLCIOCDetailsTable
|
||||
if widget.getPropertyValue("name") == 'PLCIOCDetailsTable':
|
||||
if display.getMacroValue("SHOW_PLC_IOC") == "true":
|
||||
widget.setPropertyValue("visible", "true")
|
||||
display.getWidget("PLCIOCDetailsLabel").setPropertyValue("visible", "true")
|
||||
|
||||
|
||||
#find index of the trigger PV
|
||||
i=0
|
||||
while triggerPV != pvs[i]:
|
||||
i+=1
|
||||
|
||||
table.setCellText(i, 1, PVUtil.getString(triggerPV).strip())
|
||||
table.setCellText(i, 2, PVUtil.getStatus(triggerPV).strip())
|
||||
table.setCellText(i, 3, PVUtil.getSeverityString(triggerPV).strip())
|
||||
|
||||
s = PVUtil.getSeverity(triggerPV)
|
||||
|
||||
color = ColorFontUtil.WHITE
|
||||
if s == 0:
|
||||
color = ColorFontUtil.GREEN
|
||||
elif s == 1:
|
||||
color = ColorFontUtil.RED
|
||||
elif s == 2:
|
||||
color = ColorFontUtil.YELLOW
|
||||
elif s == 3:
|
||||
color = ColorFontUtil.PINK
|
||||
|
||||
table.setCellBackground(i, 3, color)
|
||||
@@ -0,0 +1,74 @@
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.PVUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.ColorFontUtil);
|
||||
importPackage(Packages.org.csstudio.opibuilder.scriptUtil.*);
|
||||
|
||||
var table = widget.getTable();
|
||||
var func = display.getPropertyValue("name");
|
||||
|
||||
var i = 0;
|
||||
var row = 0;
|
||||
var col = 3;
|
||||
// ConsoleUtil.writeInfo("Trigger PV : " + triggerPV.getName());
|
||||
while (triggerPV != pvs[i]) {
|
||||
// ConsoleUtil.writeInfo("pvs[i] : " + pvs[i].getName());
|
||||
if (col == 5) {
|
||||
if (pvs[i+1].getName().indexOf("PLC-IOCHLTS") != -1) {
|
||||
col = col+1;
|
||||
}
|
||||
else {
|
||||
col = 3
|
||||
row = row+1;
|
||||
}
|
||||
}
|
||||
else if (col == 3) {
|
||||
if ( (pvs[i+1].getName().indexOf("-SYSHLTS") != -1) || (pvs[i+1].getName().indexOf("-HLTS") != -1)) {
|
||||
col = 3;
|
||||
row = row+1;
|
||||
}
|
||||
else if (pvs[i+1].getName().indexOf("-IOCHLTS") != -1) {
|
||||
if (pvs[i+1].getName().indexOf("CORE-IOCHLTS") != -1) {
|
||||
col = 4;
|
||||
}
|
||||
else {
|
||||
col = 5;
|
||||
}
|
||||
}
|
||||
else {
|
||||
col += 1;
|
||||
if (col > 5) {
|
||||
row += 1;
|
||||
col = 3;
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
col += 1;
|
||||
if (col > 6) {
|
||||
row += 1;
|
||||
col = 3;
|
||||
}
|
||||
}
|
||||
i += 1;
|
||||
}
|
||||
|
||||
table.setCellText(row, col, PVUtil.getString(triggerPV))
|
||||
|
||||
var s = PVUtil.getSeverity(triggerPV)
|
||||
|
||||
color = ColorFontUtil.WHITE
|
||||
if( s == 0) {
|
||||
color = ColorFontUtil.GREEN
|
||||
}
|
||||
else if( s == 1) {
|
||||
color = ColorFontUtil.RED
|
||||
}
|
||||
else if( s == 2) {
|
||||
color = ColorFontUtil.YELLOW
|
||||
}
|
||||
else if( s == 3) {
|
||||
color = ColorFontUtil.PINK
|
||||
}
|
||||
else if( s == 3) {
|
||||
color = ColorFontUtil.PINK
|
||||
}
|
||||
table.setCellBackground(row, col, color)
|
||||
@@ -0,0 +1,55 @@
|
||||
from org.csstudio.opibuilder.scriptUtil import PVUtil
|
||||
from org.csstudio.opibuilder.scriptUtil import ColorFontUtil
|
||||
from org.csstudio.opibuilder.scriptUtil import ConsoleUtil
|
||||
|
||||
table = widget.getTable()
|
||||
func = display.getPropertyValue("name")
|
||||
|
||||
i = 0
|
||||
row = 0
|
||||
col = 3
|
||||
# ConsoleUtil.writeInfo("Trigger PV : " + triggerPV.getName());
|
||||
while triggerPV != pvs[i]:
|
||||
# ConsoleUtil.writeInfo("pvs[i] : " + pvs[i].getName());
|
||||
if col == 5:
|
||||
if "PLC-IOCHLTS" in pvs[i+1].getName():
|
||||
col = col+1
|
||||
else:
|
||||
col = 3
|
||||
row = row+1
|
||||
elif col == 3:
|
||||
if "-SYSHLTS" in pvs[i+1].getName() or "-HLTS" in pvs[i+1].getName():
|
||||
col =3
|
||||
row = row+1
|
||||
elif "-IOCHLTS" in pvs[i+1].getName():
|
||||
if "CORE-IOCHLTS" in pvs[i+1].getName():
|
||||
col = 4
|
||||
else:
|
||||
col = 5
|
||||
else:
|
||||
col += 1
|
||||
if col > 5:
|
||||
row += 1
|
||||
col = 3
|
||||
else:
|
||||
col += 1
|
||||
if col > 6:
|
||||
row += 1
|
||||
col = 3
|
||||
i += 1
|
||||
|
||||
table.setCellText(row, col, PVUtil.getString(triggerPV))
|
||||
|
||||
s = PVUtil.getSeverity(triggerPV)
|
||||
|
||||
color = ColorFontUtil.WHITE
|
||||
if s == 0:
|
||||
color = ColorFontUtil.GREEN
|
||||
elif s == 1:
|
||||
color = ColorFontUtil.RED
|
||||
elif s == 2:
|
||||
color = ColorFontUtil.YELLOW
|
||||
elif s == 3:
|
||||
color = ColorFontUtil.PINK
|
||||
|
||||
table.setCellBackground(row, col, color)
|
||||
@@ -0,0 +1,34 @@
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.PVUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.ColorFontUtil);
|
||||
importPackage(Packages.org.csstudio.opibuilder.scriptUtil.*);
|
||||
|
||||
var table = widget.getTable();
|
||||
var nbColPVs=4;
|
||||
|
||||
//find index of the trigger PV
|
||||
|
||||
var i=0;
|
||||
while (triggerPV != pvs[i]) {
|
||||
i+=1;
|
||||
}
|
||||
|
||||
table.setCellText(i/nbColPVs, i%nbColPVs +3, PVUtil.getString(triggerPV));
|
||||
|
||||
var s = PVUtil.getSeverity(triggerPV);
|
||||
|
||||
var color = ColorFontUtil.WHITE;
|
||||
if( s == 0) {
|
||||
color = ColorFontUtil.GREEN;
|
||||
}
|
||||
else if( s == 1) {
|
||||
color = ColorFontUtil.RED;
|
||||
}
|
||||
else if( s == 2) {
|
||||
color = ColorFontUtil.YELLOW;
|
||||
}
|
||||
else if( s == 3) {
|
||||
color = ColorFontUtil.PINK;
|
||||
}
|
||||
|
||||
table.setCellBackground(i/nbColPVs, i%nbColPVs + 3, color);
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
from org.csstudio.opibuilder.scriptUtil import PVUtil
|
||||
from org.csstudio.opibuilder.scriptUtil import ColorFontUtil
|
||||
|
||||
|
||||
table = widget.getTable()
|
||||
nbColPVs=4
|
||||
#find index of the trigger PV
|
||||
i=0
|
||||
while triggerPV != pvs[i]:
|
||||
i+=1
|
||||
|
||||
table.setCellText(i/nbColPVs, i%nbColPVs +3, PVUtil.getString(triggerPV))
|
||||
|
||||
s = PVUtil.getSeverity(triggerPV)
|
||||
|
||||
color = ColorFontUtil.WHITE
|
||||
if s == 0:
|
||||
color = ColorFontUtil.GREEN
|
||||
elif s == 1:
|
||||
color = ColorFontUtil.RED
|
||||
elif s == 2:
|
||||
color = ColorFontUtil.YELLOW
|
||||
elif s == 3:
|
||||
color = ColorFontUtil.PINK
|
||||
|
||||
table.setCellBackground(i/nbColPVs, i%nbColPVs + 3, color)
|
||||
@@ -0,0 +1,31 @@
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.PVUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.ColorFontUtil);
|
||||
|
||||
|
||||
var table = widget.getTable();
|
||||
var nbColPVs=3;
|
||||
//find index of the trigger PV
|
||||
var i=0;
|
||||
while (triggerPV != pvs[i]) {
|
||||
i+=1;
|
||||
}
|
||||
|
||||
table.setCellText(i/nbColPVs, i%nbColPVs +3, PVUtil.getString(triggerPV));
|
||||
|
||||
var s = PVUtil.getSeverity(triggerPV);
|
||||
|
||||
var color = ColorFontUtil.WHITE;
|
||||
if( s == 0) {
|
||||
color = ColorFontUtil.GREEN;
|
||||
}
|
||||
else if( s == 1) {
|
||||
color = ColorFontUtil.RED;
|
||||
}
|
||||
else if( s == 2) {
|
||||
color = ColorFontUtil.YELLOW;
|
||||
}
|
||||
else if( s == 3) {
|
||||
color = ColorFontUtil.PINK;
|
||||
}
|
||||
|
||||
table.setCellBackground(i/nbColPVs, i%nbColPVs + 3, color);
|
||||
@@ -0,0 +1,27 @@
|
||||
from org.csstudio.opibuilder.scriptUtil import PVUtil
|
||||
from org.csstudio.opibuilder.scriptUtil import ColorFontUtil
|
||||
|
||||
|
||||
table = widget.getTable()
|
||||
nbColPVs = 3
|
||||
#find index of the trigger PV
|
||||
i = 0
|
||||
while triggerPV != pvs[i]:
|
||||
i += 1
|
||||
|
||||
|
||||
table.setCellText(i / nbColPVs, i % nbColPVs + 3, PVUtil.getString(triggerPV))
|
||||
|
||||
s = PVUtil.getSeverity(triggerPV)
|
||||
|
||||
color = ColorFontUtil.WHITE
|
||||
if s == 0:
|
||||
color = ColorFontUtil.GREEN
|
||||
elif s == 1:
|
||||
color = ColorFontUtil.RED
|
||||
elif s == 2:
|
||||
color = ColorFontUtil.YELLOW
|
||||
elif s == 3:
|
||||
color = ColorFontUtil.PINK
|
||||
|
||||
table.setCellBackground(i / nbColPVs, i % nbColPVs + 3, color)
|
||||
@@ -0,0 +1,14 @@
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.DataUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.PVUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.ScriptUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.ConsoleUtil);
|
||||
|
||||
var table = widget.getTable();
|
||||
var fct_name=display.getPropertyValue("name");
|
||||
var selectionChanged = new Packages.org.csstudio.swt.widgets.natives.SpreadSheetTable.ITableSelectionChangedListener() {
|
||||
selectionChanged: function(selection) {
|
||||
var macroInput = DataUtil.createMacrosInput(true)
|
||||
ScriptUtil.openOPI(display.getWidget("SystemDetailsTable"), "/opt/codac/opi/epics-sysmon/boy/ITER-SYSM-IOC_Mimic.opi", 1, macroInput);
|
||||
}
|
||||
};
|
||||
table.addSelectionChangedListener(selectionChanged);
|
||||
@@ -0,0 +1,14 @@
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.DataUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.PVUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.ScriptUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.ConsoleUtil);
|
||||
|
||||
var table = widget.getTable();
|
||||
var fct_name=display.getPropertyValue("name");
|
||||
var selectionChanged = new Packages.org.csstudio.swt.widgets.natives.SpreadSheetTable.ITableSelectionChangedListener() {
|
||||
selectionChanged: function(selection) {
|
||||
var macroInput = DataUtil.createMacrosInput(true)
|
||||
ScriptUtil.openOPI(display.getWidget("GeneralTable"), "/opt/codac/opi/epics-sysmon/boy/ITER-SYSM-PLC_Mimic.opi", 1, macroInput);
|
||||
}
|
||||
};
|
||||
table.addSelectionChangedListener(selectionChanged);
|
||||
@@ -0,0 +1,29 @@
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.DataUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.PVUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.ScriptUtil);
|
||||
|
||||
var table = widget.getTable();
|
||||
var fct_name=widget.getPropertyValue("name");
|
||||
|
||||
var selectionListener = new Packages.org.csstudio.swt.widgets.natives.SpreadSheetTable.ITableSelectionChangedListener() {
|
||||
selectionChanged: function(selection) {
|
||||
var selectedrow= table.getSelection();
|
||||
var cuName=selectedrow[0][0];
|
||||
var phyName=selectedrow[0][1];
|
||||
|
||||
var macroInput = DataUtil.createMacrosInput(true);
|
||||
macroInput.put("CU", cuName);
|
||||
macroInput.put("PHY_NAME", phyName);
|
||||
macroInput.put("FCT_NAME", fct_name);
|
||||
// open OPI
|
||||
// see https://svnpub.iter.org/codac/iter/codac/dev/units/m-css-boy/trunk/org.csstudio.opibuilder/src/org/csstudio/opibuilder/scriptUtil/ScriptUtil.java
|
||||
if (cuName.indexOf("P") == 0) {
|
||||
ScriptUtil.openOPI(widget, fct_name + "-" + cuName + "-PLCDetails.opi", 1, macroInput);
|
||||
}
|
||||
else {
|
||||
ScriptUtil.openOPI(widget, fct_name+"-CubiclePLCDetails.opi", 0, macroInput);
|
||||
}
|
||||
}
|
||||
};
|
||||
table.addSelectionChangedListener(selectionListener);
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
from org.csstudio.opibuilder.scriptUtil import PVUtil
|
||||
from org.csstudio.opibuilder.scriptUtil import DataUtil
|
||||
from org.csstudio.opibuilder.scriptUtil import ScriptUtil
|
||||
from org.csstudio.swt.widgets.natives.SpreadSheetTable import ITableSelectionChangedListener
|
||||
from java.util import Arrays
|
||||
|
||||
table = widget.getTable()
|
||||
fct_name=display.getPropertyValue("name")
|
||||
class SelectionListener(ITableSelectionChangedListener):
|
||||
def selectionChanged(self, selection):
|
||||
cuName=""
|
||||
phyName=""
|
||||
for row in selection:
|
||||
phyName=row[1]
|
||||
cuName=row[0];
|
||||
# change $(CU) substitution
|
||||
macroInput = DataUtil.createMacrosInput(True)
|
||||
macroInput.put("CU", cuName)
|
||||
macroInput.put("PHY_NAME", phyName)
|
||||
macroInput.put("FCT_NAME", fct_name)
|
||||
# open OPI
|
||||
# see https://svnpub.iter.org/codac/iter/codac/dev/units/m-css-boy/trunk/org.csstudio.opibuilder/src/org/csstudio/opibuilder/scriptUtil/ScriptUtil.java
|
||||
if cuName.startswith('P'):
|
||||
ScriptUtil.openOPI(display.getWidget("Table"), fct_name+"-PLCDetails.opi", 1, macroInput)
|
||||
else:
|
||||
ScriptUtil.openOPI(display.getWidget("Table"), fct_name+"-CubiclePLCDetails.opi", 0, macroInput)
|
||||
table.addSelectionChangedListener(SelectionListener())
|
||||
@@ -0,0 +1,26 @@
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.DataUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.PVUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.ScriptUtil);
|
||||
importClass(Packages.org.csstudio.opibuilder.scriptUtil.ConsoleUtil);
|
||||
|
||||
var table = widget.getTable();
|
||||
var fct_name=widget.getPropertyValue("name");
|
||||
var selectionChanged = new Packages.org.csstudio.swt.widgets.natives.SpreadSheetTable.ITableSelectionChangedListener() {
|
||||
selectionChanged: function(selection) {
|
||||
|
||||
var selectedrow= table.getSelection();
|
||||
var cuName=selectedrow[0][0];
|
||||
var phyName=selectedrow[0][1];
|
||||
|
||||
// change $(CU) substitution
|
||||
var macroInput = DataUtil.createMacrosInput(true);
|
||||
macroInput.put("CU", cuName);
|
||||
macroInput.put("PHY_NAME", phyName)
|
||||
macroInput.put("FCT_NAME", fct_name);
|
||||
macroInput.put("SHOW_PLC_IOC", "false");
|
||||
// open OPI
|
||||
// see https://svnpub.iter.org/codac/iter/codac/dev/units/m-css-boy/trunk/org.csstudio.opibuilder/src/org/csstudio/opibuilder/scriptUtil/ScriptUtil.java
|
||||
ScriptUtil.openOPI(widget, fct_name+"-"+cuName+"-SRVDetails.opi", 1, macroInput);
|
||||
}
|
||||
};
|
||||
table.addSelectionChangedListener(selectionChanged);
|
||||
@@ -0,0 +1,26 @@
|
||||
from org.csstudio.opibuilder.scriptUtil import PVUtil
|
||||
from org.csstudio.opibuilder.scriptUtil import DataUtil
|
||||
from org.csstudio.opibuilder.scriptUtil import ScriptUtil
|
||||
from org.csstudio.swt.widgets.natives.SpreadSheetTable import ITableSelectionChangedListener
|
||||
from java.util import Arrays
|
||||
|
||||
table = widget.getTable()
|
||||
fct_name=display.getPropertyValue("name")
|
||||
class SelectionListener(ITableSelectionChangedListener):
|
||||
def selectionChanged(self, selection):
|
||||
cuName=""
|
||||
phyName=""
|
||||
for row in selection:
|
||||
phyName=row[1]
|
||||
cuName=row[0]
|
||||
|
||||
# change $(CU) substitution
|
||||
macroInput = DataUtil.createMacrosInput(True)
|
||||
macroInput.put("CU", cuName)
|
||||
macroInput.put("PHY_NAME", phyName)
|
||||
macroInput.put("FCT_NAME", fct_name)
|
||||
macroInput.put("SHOW_PLC_IOC", "false")
|
||||
# open OPI
|
||||
# see https://svnpub.iter.org/codac/iter/codac/dev/units/m-css-boy/trunk/org.csstudio.opibuilder/src/org/csstudio/opibuilder/scriptUtil/ScriptUtil.java
|
||||
ScriptUtil.openOPI(display.getWidget("Table"), fct_name+"-CtrlUnitDetails.opi", 1, macroInput)
|
||||
table.addSelectionChangedListener(SelectionListener())
|
||||
Reference in New Issue
Block a user