diff --git a/NON-APPROVED/ts2-pss/TS2_PSS_Area.bob b/NON-APPROVED/ts2-pss/TS2_PSS_Area.bob index 1d56669c28a7c6c5c3e78d1acfba39c7676f7d58..df3d18a52080804a029853329ebec1fd7f3de2d0 100644 --- a/NON-APPROVED/ts2-pss/TS2_PSS_Area.bob +++ b/NON-APPROVED/ts2-pss/TS2_PSS_Area.bob @@ -600,9 +600,28 @@ </action> </actions> <x>420</x> - <y>34</y> + <y>10</y> + <width>150</width> + <height>37</height> + <tooltip>$(actions)</tooltip> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Open Trend</name> + <actions> + <action type="open_display"> + <file>popups/odh_trend.bob</file> + <macros> + <P>TS2</P> + <PLT>odh_trend_ts2.plt</PLT> + </macros> + <target>standalone</target> + <description>Open Trend Window</description> + </action> + </actions> + <x>420</x> + <y>57</y> <width>150</width> - <height>42</height> + <height>37</height> <tooltip>$(actions)</tooltip> </widget> </widget> diff --git a/NON-APPROVED/ts2-pss/popups/odh_trend.bob b/NON-APPROVED/ts2-pss/popups/odh_trend.bob index 7ecd69359e3dbaca6ae824790bd82f424a364b11..11c496767ece0a0b71a3f1095f490c37d801e088 100644 --- a/NON-APPROVED/ts2-pss/popups/odh_trend.bob +++ b/NON-APPROVED/ts2-pss/popups/odh_trend.bob @@ -32,7 +32,7 @@ </widget> <widget type="databrowser" version="2.0.0"> <name>Data Browser</name> - <file>odh_trend.plt</file> + <file>$(PLT=odh_trend.plt)</file> <x>20</x> <y>80</y> <width>2160</width> diff --git a/NON-APPROVED/ts2-pss/popups/odh_trend_ts2.plt b/NON-APPROVED/ts2-pss/popups/odh_trend_ts2.plt new file mode 100644 index 0000000000000000000000000000000000000000..cdd5731889466663ff66fcea96e449b04e097567 --- /dev/null +++ b/NON-APPROVED/ts2-pss/popups/odh_trend_ts2.plt @@ -0,0 +1,101 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<databrowser> + <title></title> + <save_changes>false</save_changes> + <show_legend>true</show_legend> + <show_toolbar>true</show_toolbar> + <grid>false</grid> + <scroll>true</scroll> + <update_period>3.0</update_period> + <scroll_step>5</scroll_step> + <start>-3.00 h</start> + <end>now</end> + <archive_rescale>NONE</archive_rescale> + <foreground> + <red>0</red> + <green>0</green> + <blue>0</blue> + </foreground> + <background> + <red>255</red> + <green>255</green> + <blue>255</blue> + </background> + <title_font>Liberation Sans|20|1</title_font> + <label_font>Liberation Sans|14|1</label_font> + <scale_font>Liberation Sans|12|0</scale_font> + <legend_font>Liberation Sans|14|1</legend_font> + <axes> + <axis> + <visible>true</visible> + <name>Oxygen concentration</name> + <use_axis_name>true</use_axis_name> + <use_trace_names>true</use_trace_names> + <right>false</right> + <color> + <red>0</red> + <green>0</green> + <blue>0</blue> + </color> + <min>0.0</min> + <max>23.0</max> + <grid>true</grid> + <autoscale>false</autoscale> + <log_scale>false</log_scale> + </axis> + </axes> + <annotations> + </annotations> + <pvlist> + <pv> + <display_name>1</display_name> + <visible>true</visible> + <name>KG-GTA:ODH-O2iM-1:O2Level</name> + <axis>0</axis> + <color> + <red>255</red> + <green>0</green> + <blue>0</blue> + </color> + <trace_type>LINES</trace_type> + <linewidth>1</linewidth> + <line_style>SOLID</line_style> + <point_type>NONE</point_type> + <point_size>2</point_size> + <waveform_index>0</waveform_index> + <period>0.0</period> + <ring_size>5000</ring_size> + <request>RAW</request> + <archive> + <name>ESS Archiver</name> + <url>pbraw://archiver-02.tn.esss.lu.se:17668/retrieval</url> + <key>1</key> + </archive> + </pv> + <pv> + <display_name>2</display_name> + <visible>true</visible> + <name>KG-GTA:ODH-O2iM-2:O2Level</name> + <axis>0</axis> + <color> + <red>0</red> + <green>255</green> + <blue>0</blue> + </color> + <trace_type>LINES</trace_type> + <linewidth>1</linewidth> + <line_style>SOLID</line_style> + <point_type>NONE</point_type> + <point_size>2</point_size> + <waveform_index>0</waveform_index> + <period>0.0</period> + <ring_size>5000</ring_size> + <request>RAW</request> + <archive> + <name>ESS Archiver</name> + <url>pbraw://archiver-02.tn.esss.lu.se:17668/retrieval</url> + <key>1</key> + </archive> + </pv> + </pvlist> +</databrowser>